diff --git a/src/views/admin/dbop/dbop.ts b/src/views/admin/dbop/dbop.ts index c40598d7..1039c58f 100755 --- a/src/views/admin/dbop/dbop.ts +++ b/src/views/admin/dbop/dbop.ts @@ -7,6 +7,7 @@ import { useQuasar } from 'quasar' import { useI18n } from '@/boot/i18n' import { useUserStore } from '@store/UserStore' import { useGlobalStore } from '@store/globalStore' +import { useCircuitStore } from '@store/CircuitStore' import { tools } from '@store/Modules/tools' import { costanti } from '@costanti' import { shared_consts } from '@src/common/shared_vuejs' @@ -18,6 +19,7 @@ export default defineComponent({ setup() { const $q = useQuasar() const { t } = useI18n() + const circuitStore = useCircuitStore() const ris = ref('') const riga = ref(0) @@ -26,6 +28,7 @@ export default defineComponent({ const col = ref(0) const placca = ref('') const valmin = ref(200) + const circuitId = ref('') const valmax = ref(400) const defmin = ref(shared_consts.CIRCUIT_PARAMS.SCOPERTO_MIN_GRP) const defmax = ref(shared_consts.CIRCUIT_PARAMS.SCOPERTO_MAX_GRP) @@ -35,7 +38,7 @@ export default defineComponent({ const replace_username = ref('') const incaricamento = ref(false) - function EseguiFunz(miafunz: string, search_username?: string, replace_username?: string, valmin?: number, valmax?: number) { + function EseguiFunz(miafunz: string, search_username?: string, replace_username?: string, valmin?: number, valmax?: number, circuitId?: string) { const userStore = useUserStore() const globalStore = useGlobalStore() @@ -60,6 +63,7 @@ export default defineComponent({ replace_username, valmin: valmin, valmax: valmax, + circuitId, } incaricamento.value = true @@ -98,6 +102,8 @@ export default defineComponent({ defmax, defpersmin, defpersmax, + circuitId, + circuitStore, } }, }) diff --git a/src/views/admin/dbop/dbop.vue b/src/views/admin/dbop/dbop.vue index 04b387e0..ad5a5301 100755 --- a/src/views/admin/dbop/dbop.vue +++ b/src/views/admin/dbop/dbop.vue @@ -339,9 +339,7 @@
@@ -360,6 +358,32 @@ @click="EseguiFunz('ImpostaMinMaxPersonali', '', '', valmin, valmax)" > +
+ + + +
- +
@@ -396,13 +432,19 @@ label="DEFAULT Fiducia Concessa" style="width: 300px" > - +

@@ -446,11 +488,11 @@ - +