- attivita
- gestione degli script sul server - creato websocket per interagire con gli script del server.
This commit is contained in:
@@ -33,6 +33,7 @@ import mixinEvents from '@src/mixins/mixin-events'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'CMyCardService',
|
||||
emits: ['showInMap'],
|
||||
components: {
|
||||
CProfile, CTitleBanner,
|
||||
CMyFieldDb, CDateTime, CMyPage, CMyFieldRec, CAccomodation,
|
||||
@@ -64,7 +65,7 @@ export default defineComponent({
|
||||
default: false,
|
||||
}
|
||||
},
|
||||
setup(props) {
|
||||
setup(props, { emit }) {
|
||||
|
||||
const userStore = useUserStore()
|
||||
const calendarStore = useCalendarStore()
|
||||
@@ -646,6 +647,11 @@ export default defineComponent({
|
||||
|
||||
}
|
||||
|
||||
function showInMap(rec: any) {
|
||||
// close dialo
|
||||
emit('showInMap', rec)
|
||||
}
|
||||
|
||||
onMounted(mounted)
|
||||
|
||||
return {
|
||||
@@ -701,6 +707,7 @@ export default defineComponent({
|
||||
cardRef,
|
||||
smallHeight,
|
||||
toggleShowScheda,
|
||||
showInMap,
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user