This commit is contained in:
parent
895c0c8c62
commit
18c14241cb
File diff suppressed because it is too large
Load Diff
|
@ -55,6 +55,7 @@ const searchSecurityUnitId = debounce(async () => {
|
|||
const res = await axios.get(`https://www.hnjinglian.cn:5678/common/querySecurityNumberByIdCard?idCard=${_formParams.idCard}`)
|
||||
if (res.data?.data?.hasOwnProperty('bayzh')) {
|
||||
_formParams.securityNumber = res.data.data.bayzh
|
||||
_formParams.name = res.data.name
|
||||
message.success(res.data.message)
|
||||
} else {
|
||||
message.error('未查询到保安证件号')
|
||||
|
@ -64,6 +65,7 @@ const searchSecurityUnitId = debounce(async () => {
|
|||
console.log(res)
|
||||
if (res.data?.hasOwnProperty('bayzh')) {
|
||||
_formParams.securityNumber = res.data.bayzh
|
||||
_formParams.name = res.data.name
|
||||
message.success(res.message)
|
||||
} else {
|
||||
message.error('未查询到保安证件号')
|
||||
|
@ -125,7 +127,7 @@ const saveOrUpdateEnterprisesUnit = (callback: Function, params, type: string) =
|
|||
telephone: {
|
||||
type: 'input',
|
||||
label: '手机号',
|
||||
required: true,
|
||||
// required: true,
|
||||
},
|
||||
sex: {
|
||||
type: 'radioGroup',
|
||||
|
|
Loading…
Reference in New Issue