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 {