|
@@ -47,9 +47,12 @@ import { ExpertStore } from '@/store/api/user/expert'
|
|
|
import { DictDataStore } from '@/store/api/system/dictData'
|
|
|
import { get, cloneDeep, isArray } from 'lodash-es'
|
|
|
import { RegionStore } from '@/store/api/system/region'
|
|
|
+import { SectorStore } from '@/store/api/system/sector'
|
|
|
import expertForm from './expert/form.vue'
|
|
|
const regionStore = RegionStore()
|
|
|
const store = ExpertStore()
|
|
|
+const sectorStore = SectorStore()
|
|
|
+
|
|
|
const dictDataStore = DictDataStore()
|
|
|
const $checkRes = inject('$checkRes')
|
|
|
let skip = 0
|
|
@@ -150,6 +153,7 @@ const cityList = ref([])
|
|
|
const fieldList = ref([])
|
|
|
const educationList = ref([])
|
|
|
const cardTypeList = ref([])
|
|
|
+const plateList = ref([])
|
|
|
const searchOther = async () => {
|
|
|
let result
|
|
|
result = await dictDataStore.query({ code: 'examStatus', is_use: '0' })
|
|
@@ -168,6 +172,9 @@ const searchOther = async () => {
|
|
|
// 证件类型
|
|
|
result = await dictDataStore.query({ code: 'cardType', is_use: '0' })
|
|
|
if ($checkRes(result)) cardTypeList.value = result.data
|
|
|
+ // 行业
|
|
|
+ result = await sectorStore.query({ is_use: '0' })
|
|
|
+ if (result.errcode == '0') plateList.value = result.data
|
|
|
}
|
|
|
provide('form', form)
|
|
|
provide('isUseList', isUseList)
|
|
@@ -175,6 +182,7 @@ provide('statusList', examStatusList)
|
|
|
provide('cityList', cityList)
|
|
|
provide('fieldList', fieldList)
|
|
|
provide('educationList', educationList)
|
|
|
+provide('plateList', plateList)
|
|
|
provide('cardTypeList', cardTypeList)
|
|
|
|
|
|
const getDict = (data, type) => {
|