From 4e0d54efb1c9b1bad47029da9b636e72d85576fe Mon Sep 17 00:00:00 2001 From: "851673013@qq.com" <851673013@qq.com> Date: Fri, 22 Jul 2022 10:50:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BD=92=E5=B1=9E=E9=83=A8=E9=97=A8bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Algorithm/AlgorithmUsageMode.vue | 22 ++----------------- ...tionOwningDepartmentAndServiceProvider.vue | 4 ---- .../components/Business/BusinessUsageMode.vue | 22 ++----------------- .../LayerService/LayerServiceUsageMode.vue | 22 ++----------------- 4 files changed, 6 insertions(+), 64 deletions(-) diff --git a/front/src/views/detailsAll/components/Algorithm/AlgorithmUsageMode.vue b/front/src/views/detailsAll/components/Algorithm/AlgorithmUsageMode.vue index 567c9a2a..ae318480 100644 --- a/front/src/views/detailsAll/components/Algorithm/AlgorithmUsageMode.vue +++ b/front/src/views/detailsAll/components/Algorithm/AlgorithmUsageMode.vue @@ -173,16 +173,7 @@ }) const flag = ref(true) if (props.dataList.infoList) { - let obj = props.dataList.infoList.filter( - (item) => - item.attrType === '技术文档' || - item.attrType === '服务商' || - item.attrType === '服务商联系人' || - item.attrType === '使用手册' || - item.attrType === '服务接口' || - item.attrType === '样式服务地址' || - item.attrType === '服务商联系电话' - )[0] + let obj = true if (!obj) { flag.value = false } else { @@ -218,16 +209,7 @@ () => props.dataList, (val) => { if (val) { - let obj = val.infoList.filter( - (item) => - item.attrType === '技术文档' || - item.attrType === '服务商' || - item.attrType === '服务商联系人' || - item.attrType === '使用手册' || - item.attrType === '服务接口' || - item.attrType === '样式服务地址' || - item.attrType === '服务商联系电话' - )[0] + let obj = true if (!obj) { flag.value = false } else { diff --git a/front/src/views/detailsAll/components/Application/ApplicationOwningDepartmentAndServiceProvider.vue b/front/src/views/detailsAll/components/Application/ApplicationOwningDepartmentAndServiceProvider.vue index b9771e6f..e62b74a9 100644 --- a/front/src/views/detailsAll/components/Application/ApplicationOwningDepartmentAndServiceProvider.vue +++ b/front/src/views/detailsAll/components/Application/ApplicationOwningDepartmentAndServiceProvider.vue @@ -94,10 +94,6 @@ dataFrom.value.content[1].childrenContent[2].attrValue = '------' } } - } else if (item.attrType === '部门联系人') { - deptContacts.attrValue = item.attrValue || '------' - } else if (item.attrType === '部门联系人电话') { - deptPhone.attrValue = item.attrValue || '------' } }) diff --git a/front/src/views/detailsAll/components/Business/BusinessUsageMode.vue b/front/src/views/detailsAll/components/Business/BusinessUsageMode.vue index b317c7f2..76db9cfe 100644 --- a/front/src/views/detailsAll/components/Business/BusinessUsageMode.vue +++ b/front/src/views/detailsAll/components/Business/BusinessUsageMode.vue @@ -124,16 +124,7 @@ }) const flag = ref(true) if (props.dataList.infoList) { - let obj = props.dataList.infoList.filter( - (item) => - item.attrType === '技术文档' || - item.attrType === '服务商' || - item.attrType === '服务商联系人' || - item.attrType === '使用手册' || - item.attrType === '服务地址' || - item.attrType === '样式服务地址' || - item.attrType === '服务商联系电话' - )[0] + let obj = true if (!obj) { flag.value = false } else { @@ -162,16 +153,7 @@ () => props.dataList, (val) => { if (val) { - let obj = val.infoList.filter( - (item) => - item.attrType === '技术文档' || - item.attrType === '服务商' || - item.attrType === '服务商联系人' || - item.attrType === '使用手册' || - item.attrType === '服务地址' || - item.attrType === '样式服务地址' || - item.attrType === '服务商联系电话' - )[0] + let obj = true if (!obj) { flag.value = false } else { diff --git a/front/src/views/detailsAll/components/LayerService/LayerServiceUsageMode.vue b/front/src/views/detailsAll/components/LayerService/LayerServiceUsageMode.vue index 86ba9469..8ad4b92e 100644 --- a/front/src/views/detailsAll/components/LayerService/LayerServiceUsageMode.vue +++ b/front/src/views/detailsAll/components/LayerService/LayerServiceUsageMode.vue @@ -128,16 +128,7 @@ }) const flag = ref(true) if (props.dataList.infoList) { - let obj = props.dataList.infoList.filter( - (item) => - item.attrType === '技术文档' || - item.attrType === '服务商' || - item.attrType === '服务商联系人' || - item.attrType === '使用手册' || - item.attrType === '服务地址' || - item.attrType === '样式服务地址' || - item.attrType === '服务商联系电话' - )[0] + let obj = true if (!obj) { flag.value = false } else { @@ -168,16 +159,7 @@ () => props.dataList, (val) => { if (val) { - let obj = val.infoList.filter( - (item) => - item.attrType === '技术文档' || - item.attrType === '服务商' || - item.attrType === '服务商联系人' || - item.attrType === '使用手册' || - item.attrType === '服务地址' || - item.attrType === '样式服务地址' || - item.attrType === '服务商联系电话' - )[0] + let obj = true if (!obj) { flag.value = false } else {