PASSAGGIO A VITE !

AGG. 1.1.23
This commit is contained in:
Surya Paolo
2025-03-01 14:14:43 +01:00
parent f0098e57b2
commit bc960d38a1
1044 changed files with 5323 additions and 10823777 deletions

View File

@@ -5,11 +5,11 @@ import { shared_consts } from '@src/common/shared_vuejs'
import { tools } from '@src/store/Modules/tools'
import { defineComponent, ref, onMounted, watch } from 'vue'
import { useI18n } from '@src/boot/i18n'
import { useI18n } from 'vue-i18n'
import { useUserStore } from '@store/UserStore'
import { useGlobalStore } from '@store/globalStore'
import { useQuasar } from 'quasar'
import { IMsgGlobParam } from 'model'
import type { IMsgGlobParam } from 'model'
export default defineComponent({
name: 'Sendpushnotif',
@@ -22,13 +22,13 @@ export default defineComponent({
const incaricamento = ref(false)
const title= ref('')
const content= ref('')
const openUrl= ref('')
const openUrl2= ref('')
const opz1= ref('')
const opz2= ref('')
const tag= ref('')
const title = ref('')
const content = ref('')
const openUrl = ref('')
const openUrl2 = ref('')
const opz1 = ref('')
const opz2 = ref('')
const tag = ref('')
const actiontype = ref(shared_consts.TypeMsg_Actions.NORMAL)
const whatMsg = ref(shared_consts.whatMsgToSend.MSG_TEXT)
const destination = ref(shared_consts.TypeMsg.SEND_TO_MYSELF)
@@ -68,7 +68,7 @@ export default defineComponent({
recMsgTempl.value = await globalStore.GetMsgTemplates()
for (const rec of recMsgTempl.value) {
arrTemplate.value.push({id: rec._id, value: rec._id, label: rec.title})
arrTemplate.value.push({ id: rec._id, value: rec._id, label: rec.title })
}
if (templmsgid.value) {
@@ -112,7 +112,7 @@ export default defineComponent({
const ris = await globalStore.sendPushNotif({ params })
if (!!ris.msg)
if (ris.msg)
tools.showPositiveNotif($q, ris.msg)
$q.loading.hide()
@@ -124,7 +124,7 @@ export default defineComponent({
function SendMsgToParam(typemsg: any, typesend: number = shared_consts.TypeSend.PUSH_NOTIFICATION, sendreally: any = false) {
let param: IMsgGlobParam = {
const param: IMsgGlobParam = {
typemsg,
title: title.value,
content: content.value,