'考试管理人员管理'
This commit is contained in:
@ -17,7 +17,7 @@ export function getDict(...args) {
|
||||
getSysDictByCode({
|
||||
dictCode: d
|
||||
}).then(result => {
|
||||
result.itemList.forEach(p => {
|
||||
result?.itemList?.forEach(p => {
|
||||
p.label = p.zdmc
|
||||
p.value = p.dm
|
||||
p.id = p.dm
|
||||
@ -27,7 +27,7 @@ export function getDict(...args) {
|
||||
}
|
||||
p.children = p.itemList
|
||||
})
|
||||
res.value[d] = result.itemList
|
||||
res.value[d] = result?.itemList
|
||||
})
|
||||
})
|
||||
return toRefs(res.value);
|
||||
@ -66,9 +66,9 @@ export function setCascader(id, array, childDeptList = 'childDeptList', fun) {
|
||||
}
|
||||
/**
|
||||
* 当type=1时获取出生日期,type=2时获取性别,type=3时获取年龄 all
|
||||
* @param {*} IdCard
|
||||
* @param {*} type
|
||||
* @returns
|
||||
* @param {*} IdCard
|
||||
* @param {*} type
|
||||
* @returns
|
||||
*/
|
||||
export function IdCard(IdCard, type) {
|
||||
let user = {
|
||||
|
||||
Reference in New Issue
Block a user