master
xy 3 years ago
parent f1c9b20f10
commit aec5777cea

@ -40,6 +40,7 @@
import {getList as getProductType} from '@/api/productType'
import {getList, destroy} from '@/api/worker'
import {getparameter} from '@/api/system/dictionary'
import { getAuthAreas,getAuthTypes } from "@/utils/auth"
import addWorker from "@/views/worker/component/addWorker";
@ -155,15 +156,10 @@ export default {
},
methods: {
async getServeArea() {
const res = await getparameter({number: 'serveArea'})
this.serveArea = res.detail
this.serveArea = getAuthAreas(this)
},
async getProductType() {
const res = await getProductType({
page_size: 9999,
page: 1
})
this.productType = res.data
this.productType = getAuthTypes(this)
},
async getWorkers() {

Loading…
Cancel
Save