From 0bc59716ad7840d02f19956ecd4fb6545dcbb98f Mon Sep 17 00:00:00 2001 From: "851673013@qq.com" <851673013@qq.com> Date: Tue, 14 Jun 2022 15:54:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=94=E7=94=A8=E8=B5=84=E6=BA=90bug?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Application/ApplicationDeploymentAndSecurity.vue | 4 ++-- ...ApplicationOwningDepartmentAndServiceProvider.vue | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) 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) => {