diff --git a/front/src/api/home.js b/front/src/api/home.js index 6f560eb9..85da72ff 100644 --- a/front/src/api/home.js +++ b/front/src/api/home.js @@ -297,3 +297,11 @@ export function getDataResource(data) { data, }) } +//应用详情列表 +export function queryPartAppByKeyId(params) { + return request({ + url: 'dataResourceRel/queryPart4AppByKeyId', + method: 'get', + params, + }) +} diff --git a/front/src/views/detailsAll/AlgorithmDetails.vue b/front/src/views/detailsAll/AlgorithmDetails.vue index 911b4974..1bac95d9 100644 --- a/front/src/views/detailsAll/AlgorithmDetails.vue +++ b/front/src/views/detailsAll/AlgorithmDetails.vue @@ -21,6 +21,12 @@ id="algorithm-display" class="scrollBox" > + + + + diff --git a/front/src/views/detailsAll/components/Algorithm/AlgorithmNavigation.vue b/front/src/views/detailsAll/components/Algorithm/AlgorithmNavigation.vue index 96b831ab..bb2ac893 100644 --- a/front/src/views/detailsAll/components/Algorithm/AlgorithmNavigation.vue +++ b/front/src/views/detailsAll/components/Algorithm/AlgorithmNavigation.vue @@ -32,6 +32,10 @@ name: '算法优势', key: 'algorithm-advantage', }, + { + name: '关联能力', + key: 'algorithm-associated-ability', + }, { name: '应用场景', key: 'application-scenarios', @@ -87,6 +91,7 @@ list.value.push('使用方式') } }) + list.value.push('关联能力') navList.value.forEach((item) => { console.log(item) if (list.value.indexOf(item.name) > -1) { @@ -131,6 +136,7 @@ list.value.push('使用方式') } }) + list.value.push('关联能力') navList.value.forEach((item) => { console.log(item) if (list.value.indexOf(item.name) > -1) { diff --git a/front/src/views/detailsAll/components/Application/ApplicationAssociatedAbility.vue b/front/src/views/detailsAll/components/Application/ApplicationAssociatedAbility.vue new file mode 100644 index 00000000..4740f254 --- /dev/null +++ b/front/src/views/detailsAll/components/Application/ApplicationAssociatedAbility.vue @@ -0,0 +1,127 @@ + + + + + diff --git a/front/src/views/detailsAll/components/Application/ApplicationNavigation.vue b/front/src/views/detailsAll/components/Application/ApplicationNavigation.vue index a53358b2..3fc42394 100644 --- a/front/src/views/detailsAll/components/Application/ApplicationNavigation.vue +++ b/front/src/views/detailsAll/components/Application/ApplicationNavigation.vue @@ -36,6 +36,10 @@ name: '关联组件', key: 'application-associated-components', }, + { + name: '关联能力', + key: 'application-associated-ability', + }, { name: '使用能力', key: 'ability-to-use', @@ -77,6 +81,7 @@ list.value.push('应用展示') } }) + list.value.push('关联能力') navList.value.forEach((item) => { console.log(item) if (list.value.indexOf(item.name) > -1) { @@ -111,6 +116,7 @@ list.value.push('应用展示') } }) + list.value.push('关联能力') list.value.push('部署与安全') list.value.push('归属部门与服务商') navList.value.forEach((item) => { diff --git a/front/src/views/detailsAll/components/Business/BusinessAssociatedAbility.vue b/front/src/views/detailsAll/components/Business/BusinessAssociatedAbility.vue new file mode 100644 index 00000000..4740f254 --- /dev/null +++ b/front/src/views/detailsAll/components/Business/BusinessAssociatedAbility.vue @@ -0,0 +1,127 @@ + + + + + diff --git a/front/src/views/detailsAll/components/Business/BusinessNavigation.vue b/front/src/views/detailsAll/components/Business/BusinessNavigation.vue index e285dc53..fa9f6e76 100644 --- a/front/src/views/detailsAll/components/Business/BusinessNavigation.vue +++ b/front/src/views/detailsAll/components/Business/BusinessNavigation.vue @@ -36,6 +36,10 @@ name: '应用场景', key: 'application-scenarios', }, + { + name: '关联能力', + key: 'business-associated-ability', + }, { name: '应用案例', key: 'application-case', @@ -87,6 +91,7 @@ list.value.push('组件展示') } }) + list.value.push('关联能力') list.value.push('使用方式') navList.value.forEach((item) => { console.log(item) @@ -136,6 +141,7 @@ list.value.push('组件展示') } }) + list.value.push('关联能力') list.value.push('使用方式') navList.value.forEach((item) => { console.log(item) diff --git a/front/src/views/detailsAll/components/Developer/DeveloperAssociatedAbility.vue b/front/src/views/detailsAll/components/Developer/DeveloperAssociatedAbility.vue new file mode 100644 index 00000000..4740f254 --- /dev/null +++ b/front/src/views/detailsAll/components/Developer/DeveloperAssociatedAbility.vue @@ -0,0 +1,127 @@ + + + + + diff --git a/front/src/views/detailsAll/components/Developer/DeveloperNavigation.vue b/front/src/views/detailsAll/components/Developer/DeveloperNavigation.vue index 05b817f9..dc751b18 100644 --- a/front/src/views/detailsAll/components/Developer/DeveloperNavigation.vue +++ b/front/src/views/detailsAll/components/Developer/DeveloperNavigation.vue @@ -28,6 +28,10 @@ name: '组件展示', key: 'eveloper-presentation', }, + { + name: '关联能力', + key: 'developer-associated-ability', + }, { name: '功能介绍', key: 'function-introduction', @@ -66,7 +70,6 @@ if (props.dataList.infoList) { list.value = [] props.dataList.infoList.map((item) => { - debugger if ( item.attrType === '常见问题' || item.attrType === '应用案例' || @@ -77,6 +80,7 @@ list.value.push('组件展示') } }) + list.value.push('关联能力') navList.value.forEach((item) => { console.log(item) if (list.value.indexOf(item.name) > -1) { @@ -111,6 +115,7 @@ list.value.push('组件展示') } }) + list.value.push('关联能力') list.value.push('组件试用') list.value.push('使用方式') navList.value.forEach((item) => { diff --git a/front/src/views/detailsAll/components/LayerService/LayerServiceAssociatedAbility.vue b/front/src/views/detailsAll/components/LayerService/LayerServiceAssociatedAbility.vue new file mode 100644 index 00000000..4740f254 --- /dev/null +++ b/front/src/views/detailsAll/components/LayerService/LayerServiceAssociatedAbility.vue @@ -0,0 +1,127 @@ + + + + + diff --git a/front/src/views/detailsAll/components/LayerService/LayerServiceNavigation.vue b/front/src/views/detailsAll/components/LayerService/LayerServiceNavigation.vue index b6c96318..cdaa2258 100644 --- a/front/src/views/detailsAll/components/LayerService/LayerServiceNavigation.vue +++ b/front/src/views/detailsAll/components/LayerService/LayerServiceNavigation.vue @@ -32,6 +32,10 @@ name: '图层信息', key: 'service-information', }, + { + name: '关联能力', + key: 'layer-service-associated-ability', + }, { name: '应用场景', key: 'service-application-scenarios', @@ -117,7 +121,7 @@ list.value.push('使用方式') } }) - + list.value.push('关联能力') navList.value.forEach((item) => { console.log(item) if (list.value.indexOf(item.name) > -1) { @@ -192,6 +196,7 @@ list.value.push('使用方式') } }) + list.value.push('关联能力') list.value.push('图层信息') list.value.push('使用方式') navList.value.forEach((item) => { diff --git a/front/src/views/home/DetailsPageconetent.vue b/front/src/views/home/DetailsPageconetent.vue index 931abc69..5060a8ba 100644 --- a/front/src/views/home/DetailsPageconetent.vue +++ b/front/src/views/home/DetailsPageconetent.vue @@ -1018,7 +1018,6 @@ }) console.log('paramsGetResources', paramsGetResources) } - // debugger tecHnosphere = router.currentRoute.value.query.tecHnosphere appLiCation = router.currentRoute.value.query.appLiCation if (val.typeList && val.typeList.length > 6) { @@ -1099,7 +1098,6 @@ if (switchIndex != '分页查询') { paramsGetResources.pageNum = 1 } - debugger pageWithAttrs(paramsGetResources).then((res) => { console.log('查询列表============>', resourceList, res.data.data) resourceList.data = [] @@ -1193,7 +1191,6 @@ paramsGetResources.pageNum = val let params = '分页查询' //判断是否是点击下面的分页的调用模糊查询方法还是点击搜索调用模糊查询方法 getAppResources(params) - debugger } // const findZywMessage = () => { // zywMessage().then((res) => { @@ -1246,7 +1243,6 @@ router.currentRoute.value.query.appLiCation = '' tecHnosphere = router.currentRoute.value.query.tecHnosphere appLiCation = router.currentRoute.value.query.appLiCation - // debugger let newQuery = JSON.parse( JSON.stringify(router.currentRoute.value.query) ) diff --git a/front/src/views/home/apply.vue b/front/src/views/home/apply.vue index 5bf6df4d..0648e013 100644 --- a/front/src/views/home/apply.vue +++ b/front/src/views/home/apply.vue @@ -68,17 +68,17 @@ name="system" :rules="[{ required: true, message: '请输入申请应用' }]" > - -