- Cataloghi: pagine, schede, formato

This commit is contained in:
Surya Paolo
2024-11-19 19:19:14 +01:00
parent 90ed545070
commit 5cd9bd40f6
103 changed files with 3593115 additions and 1603 deletions

View File

@@ -900,7 +900,7 @@ export const useUserStore = defineStore('UserStore', {
mydata.repeatPassword = ''
mydata.password = String(hashedPassword)
return Api.SendReq('/updatepwd', 'POST', mydata, true)
return Api.SendReq('/updatepwd', 'POST', mydata, true, false, 1)
.then((res) => {
return { code: res.data.code, msg: res.data.msg }
})
@@ -1425,7 +1425,7 @@ export const useUserStore = defineStore('UserStore', {
// console.log('executing login...')
return await Api.SendReq('/users/login', 'POST', usertosend, true)
return await Api.SendReq('/users/login', 'POST', usertosend, true, false, 0)
.then((res) => {
myres = res
@@ -1867,7 +1867,7 @@ export const useUserStore = defineStore('UserStore', {
},
async setCircuitCmd($q: any, t: any, usernameOrig: string, circuitname: string, cmd: number, value: any, extrarec?: any) {
return await Api.SendReq('/users/circuits/cmd', 'POST', { usernameOrig, circuitname, cmd, value, extrarec })
return await Api.SendReq('/users/circuits/cmd', 'POST', { usernameOrig, circuitname, cmd, value, extrarec }, false, false, 0)
.then((res) => {
this.updateTables = true
const notifStore = useNotifStore()