diff --git a/front/src/views/detailsAll/components/Application/ApplicationDeploymentAndSecurity.vue b/front/src/views/detailsAll/components/Application/ApplicationDeploymentAndSecurity.vue index 46a2b0ce..35ea7248 100644 --- a/front/src/views/detailsAll/components/Application/ApplicationDeploymentAndSecurity.vue +++ b/front/src/views/detailsAll/components/Application/ApplicationDeploymentAndSecurity.vue @@ -83,7 +83,7 @@ let obj = { attrType: '访问地址', - attrValue: props.dataList.link, + attrValue: props.dataList.link || '------', } dataFrom.value.content[0].childrenContent.push(obj) } @@ -124,7 +124,7 @@ } let obj = { attrType: '访问地址', - attrValue: props.dataList.link, + attrValue: props.dataList.link || '------', } dataFrom.value.content[0].childrenContent.push(obj) } diff --git a/front/src/views/detailsAll/components/Application/ApplicationOwningDepartmentAndServiceProvider.vue b/front/src/views/detailsAll/components/Application/ApplicationOwningDepartmentAndServiceProvider.vue index 229283a5..abb654d3 100644 --- a/front/src/views/detailsAll/components/Application/ApplicationOwningDepartmentAndServiceProvider.vue +++ b/front/src/views/detailsAll/components/Application/ApplicationOwningDepartmentAndServiceProvider.vue @@ -55,17 +55,17 @@ if (props.dataList.infoList) { let obj = { attrType: '部门名称', - attrValue: props.dataList.deptName, + attrValue: props.dataList.deptName || '------', } dataFrom.value.content[0].childrenContent[0] = obj let deptContacts = { attrType: '部门联系人', - attrValue: props.dataList.deptContacts, + attrValue: props.dataList.deptContacts || '------', } dataFrom.value.content[0].childrenContent[1] = deptContacts let deptPhone = { attrType: '部门联系人', - attrValue: props.dataList.deptPhone, + attrValue: props.dataList.deptPhone || '------', } dataFrom.value.content[0].childrenContent[2] = deptPhone props.dataList.infoList.map((item) => { @@ -94,17 +94,17 @@ // dataFrom.value.content[1].childrenContent = [] let obj = { attrType: '部门名称', - attrValue: props.dataList.deptName, + attrValue: props.dataList.deptName || '------', } dataFrom.value.content[0].childrenContent[0] = obj let deptContacts = { attrType: '部门联系人', - attrValue: props.dataList.deptContacts, + attrValue: props.dataList.deptContacts || '------', } dataFrom.value.content[0].childrenContent[1] = deptContacts let deptPhone = { attrType: '部门联系人', - attrValue: props.dataList.deptPhone, + attrValue: props.dataList.deptPhone || '------', } dataFrom.value.content[0].childrenContent[2] = deptPhone props.dataList.infoList.map((item) => {