Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
849ae8593c
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}`)
|
const res = await axios.get(`https://www.hnjinglian.cn:5678/common/querySecurityNumberByIdCard?idCard=${_formParams.idCard}`)
|
||||||
if (res.data?.data?.hasOwnProperty('bayzh')) {
|
if (res.data?.data?.hasOwnProperty('bayzh')) {
|
||||||
_formParams.securityNumber = res.data.data.bayzh
|
_formParams.securityNumber = res.data.data.bayzh
|
||||||
|
_formParams.name = res.data.name
|
||||||
message.success(res.data.message)
|
message.success(res.data.message)
|
||||||
} else {
|
} else {
|
||||||
message.error('未查询到保安证件号')
|
message.error('未查询到保安证件号')
|
||||||
|
@ -64,6 +65,7 @@ const searchSecurityUnitId = debounce(async () => {
|
||||||
console.log(res)
|
console.log(res)
|
||||||
if (res.data?.hasOwnProperty('bayzh')) {
|
if (res.data?.hasOwnProperty('bayzh')) {
|
||||||
_formParams.securityNumber = res.data.bayzh
|
_formParams.securityNumber = res.data.bayzh
|
||||||
|
_formParams.name = res.data.name
|
||||||
message.success(res.message)
|
message.success(res.message)
|
||||||
} else {
|
} else {
|
||||||
message.error('未查询到保安证件号')
|
message.error('未查询到保安证件号')
|
||||||
|
@ -125,7 +127,7 @@ const saveOrUpdateEnterprisesUnit = (callback: Function, params, type: string) =
|
||||||
telephone: {
|
telephone: {
|
||||||
type: 'input',
|
type: 'input',
|
||||||
label: '手机号',
|
label: '手机号',
|
||||||
required: true,
|
// required: true,
|
||||||
},
|
},
|
||||||
sex: {
|
sex: {
|
||||||
type: 'radioGroup',
|
type: 'radioGroup',
|
||||||
|
|
|
@ -369,9 +369,9 @@ const formParams = ref<{
|
||||||
remark?: string
|
remark?: string
|
||||||
}>({
|
}>({
|
||||||
name: '',
|
name: '',
|
||||||
enterprisesUnitId: null,
|
enterprisesUnitId: '',
|
||||||
type: 'security',
|
type: 'security',
|
||||||
securityUnitId: null,
|
securityUnitId: '',
|
||||||
})
|
})
|
||||||
const securityUnitIdList = ref<any>([])
|
const securityUnitIdList = ref<any>([])
|
||||||
const formItemOptions = ref<FormProMaxItemOptions<serviceProjectSaveOrUpdateParams_>>({
|
const formItemOptions = ref<FormProMaxItemOptions<serviceProjectSaveOrUpdateParams_>>({
|
||||||
|
@ -547,13 +547,13 @@ const expandedRowRender: TableProMaxProps['expandedRowRender'] = ({ record }) =>
|
||||||
{
|
{
|
||||||
dataIndex: 'serviceArea',
|
dataIndex: 'serviceArea',
|
||||||
title: '服务区域面积',
|
title: '服务区域面积',
|
||||||
width: 60,
|
width: 120,
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
dataIndex: 'buildingTotal',
|
dataIndex: 'buildingTotal',
|
||||||
title: '楼栋数量',
|
title: '楼栋数量',
|
||||||
width: 60,
|
width: 100,
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -566,13 +566,13 @@ const expandedRowRender: TableProMaxProps['expandedRowRender'] = ({ record }) =>
|
||||||
{
|
{
|
||||||
dataIndex: 'staffTotal',
|
dataIndex: 'staffTotal',
|
||||||
title: '工作人员数量',
|
title: '工作人员数量',
|
||||||
width: 60,
|
width: 120,
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
dataIndex: 'securityUserTotal',
|
dataIndex: 'securityUserTotal',
|
||||||
title: '保安人员数量',
|
title: '保安人员数量',
|
||||||
width: 60,
|
width: 120,
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue