This commit is contained in:
TimSpan 2024-12-18 19:10:35 +08:00
parent 895c0c8c62
commit 18c14241cb
2 changed files with 1126 additions and 2154 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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',