diff --git a/front/src/views/detailsAll/components/Application/ApplicationDeploymentAndSecurity.vue b/front/src/views/detailsAll/components/Application/ApplicationDeploymentAndSecurity.vue index f5d5c2a8..02ac23fc 100644 --- a/front/src/views/detailsAll/components/Application/ApplicationDeploymentAndSecurity.vue +++ b/front/src/views/detailsAll/components/Application/ApplicationDeploymentAndSecurity.vue @@ -2,17 +2,10 @@ diff --git a/front/src/views/detailsAll/components/Application/ApplicationOwningDepartmentAndServiceProvider.vue b/front/src/views/detailsAll/components/Application/ApplicationOwningDepartmentAndServiceProvider.vue index 41e214bb..c878f35e 100644 --- a/front/src/views/detailsAll/components/Application/ApplicationOwningDepartmentAndServiceProvider.vue +++ b/front/src/views/detailsAll/components/Application/ApplicationOwningDepartmentAndServiceProvider.vue @@ -53,12 +53,12 @@ if (props.dataList.infoList) { dataFrom.value.content[0].childrenContent[0] = obj let deptContacts = { attrType: '部门联系人', - attrValue: props.dataList.deptContacts || '------', + attrValue: '', } dataFrom.value.content[0].childrenContent[1] = deptContacts let deptPhone = { attrType: '部门联系电话', - attrValue: props.dataList.deptPhone || '------', + attrValue: '', } dataFrom.value.content[0].childrenContent[2] = deptPhone props.dataList.infoList.map((item) => { @@ -87,8 +87,13 @@ if (props.dataList.infoList) { dataFrom.value.content[1].childrenContent[2].attrValue = '------' } } + } else if (item.attrType === '部门联系人') { + deptContacts.attrValue = item.attrValue || '------' + } else if (item.attrType === '部门联系人电话') { + deptPhone.attrValue = item.attrValue || '------' } }) + console.log('obj', dataFrom.value) } watch( @@ -147,6 +152,10 @@ watch( '------' } } + } else if (item.attrType === '部门联系人') { + deptContacts.attrValue = item.attrValue || '------' + } else if (item.attrType === '部门联系人电话') { + deptPhone.attrValue = item.attrValue || '------' } }) console.log('obj', dataFrom.value)