diff --git a/front/src/views/detailsAll/components/Algorithm/AlgorithmNavigation.vue b/front/src/views/detailsAll/components/Algorithm/AlgorithmNavigation.vue index 32840092..9658235f 100644 --- a/front/src/views/detailsAll/components/Algorithm/AlgorithmNavigation.vue +++ b/front/src/views/detailsAll/components/Algorithm/AlgorithmNavigation.vue @@ -105,7 +105,12 @@ list.value.push('算法试用') } else if (item.attrType === '计费标准信息') { list.value.push('计费标准') - } else if (item.attrType === '技术文档') { + } else if ( + item.attrType === '技术文档' || + item.attrType === '服务商' || + item.attrType === '服务商联系人' || + item.attrType === '服务商联系电话' + ) { list.value.push('使用方式') } }) @@ -152,7 +157,12 @@ list.value.push('算法试用') } else if (item.attrType === '计费标准信息') { list.value.push('计费标准') - } else if (item.attrType === '技术文档') { + } else if ( + item.attrType === '技术文档' || + item.attrType === '服务商' || + item.attrType === '服务商联系人' || + item.attrType === '服务商联系电话' + ) { list.value.push('使用方式') } }) diff --git a/front/src/views/detailsAll/components/Algorithm/AlgorithmUsageMode.vue b/front/src/views/detailsAll/components/Algorithm/AlgorithmUsageMode.vue index ebd3e428..b1726bed 100644 --- a/front/src/views/detailsAll/components/Algorithm/AlgorithmUsageMode.vue +++ b/front/src/views/detailsAll/components/Algorithm/AlgorithmUsageMode.vue @@ -97,7 +97,11 @@ const flag = ref(true) if (props.dataList.infoList) { let obj = props.dataList.infoList.filter( - (item) => item.attrType === '技术文档' + (item) => + item.attrType === '技术文档' || + item.attrType === '服务商' || + item.attrType === '服务商联系人' || + item.attrType === '服务商联系电话' )[0] if (!obj) { flag.value = false @@ -130,7 +134,13 @@ () => props.dataList, (val) => { if (val) { - let obj = val.infoList.filter((item) => item.attrType === '技术文档')[0] + let obj = val.infoList.filter( + (item) => + item.attrType === '技术文档' || + item.attrType === '服务商' || + item.attrType === '服务商联系人' || + item.attrType === '服务商联系电话' + )[0] if (!obj) { flag.value = false } else {