PCB lista categorie
This commit is contained in:
@@ -120,6 +120,7 @@ export const useGlobalStore = defineStore('GlobalStore', {
|
||||
workers: [],
|
||||
storehouses: [],
|
||||
departments: [],
|
||||
categories: [],
|
||||
sharewithus: [],
|
||||
TIMER: null,
|
||||
TIMEOUT: null,
|
||||
@@ -300,6 +301,7 @@ export const useGlobalStore = defineStore('GlobalStore', {
|
||||
else if (table === 'resps') ris = state.resps
|
||||
else if (table === 'workers') ris = state.workers
|
||||
else if (table === 'departments') ris = state.departments
|
||||
else if (table === 'categorys') ris = state.categories
|
||||
else if (table === 'sharewithus') ris = state.sharewithus
|
||||
else if (table === 'paymenttypes') ris = state.paymenttypes
|
||||
else if (table === 'circuits') ris = circuitStore.listcircuits
|
||||
@@ -1512,6 +1514,7 @@ export const useGlobalStore = defineStore('GlobalStore', {
|
||||
this.resps = (res.data.resps) ? [...res.data.resps] : []
|
||||
this.workers = (res.data.workers) ? [...res.data.workers] : []
|
||||
this.departments = (res.data.departments) ? [...res.data.departments] : []
|
||||
this.categories = (res.data.categories) ? [...res.data.categories] : []
|
||||
this.levels = (res.data.levels) ? [...res.data.levels] : []
|
||||
this.skills = (res.data.skills) ? [...res.data.skills] : []
|
||||
this.goods = (res.data.goods) ? [...res.data.goods] : []
|
||||
|
||||
Reference in New Issue
Block a user