- pagine admin: Accounts, Movements e Circuits.

- add change min e max range circuiti (per tutti i record).
This commit is contained in:
Surya Paolo
2023-02-06 22:58:18 +01:00
parent 0234e2323a
commit 5c2b28939b
24 changed files with 560 additions and 180 deletions

View File

@@ -9,6 +9,7 @@ import { useUserStore } from '@store/UserStore'
import { useGlobalStore } from '@store/globalStore'
import { tools } from '@store/Modules/tools'
import { costanti } from '@costanti'
import { shared_consts } from '@src/common/shared_vuejs'
export default defineComponent({
name: 'Dbop',
@@ -24,11 +25,17 @@ export default defineComponent({
const date_start = ref(new Date())
const col = ref(0)
const placca = ref('')
const valmin = ref(200)
const valmax = ref(400)
const defmin = ref(shared_consts.CIRCUIT_PARAMS.SCOPERTO_MIN_GRP)
const defmax = ref(shared_consts.CIRCUIT_PARAMS.SCOPERTO_MAX_GRP)
const defpersmin = ref(100)
const defpersmax = ref(200)
const search_username = ref('')
const replace_username = ref('')
const incaricamento = ref(false)
function EseguiFunz(miafunz: string, search_username?: string, replace_username?: string) {
function EseguiFunz(miafunz: string, search_username?: string, replace_username?: string, valmin?: number, valmax?: number) {
const userStore = useUserStore()
const globalStore = useGlobalStore()
@@ -51,6 +58,8 @@ export default defineComponent({
numpersone: numpersone,
search_username,
replace_username,
valmin: valmin,
valmax: valmax,
}
incaricamento.value = true
@@ -82,7 +91,13 @@ export default defineComponent({
tools,
costanti,
search_username,
replace_username
replace_username,
valmin,
valmax,
defmin,
defmax,
defpersmin,
defpersmax,
}
},
})