From 2a6ba2659416e91f0b81e8d8aeeca3455ccc33ec Mon Sep 17 00:00:00 2001 From: "851673013@qq.com" <851673013@qq.com> Date: Wed, 29 Jun 2022 16:56:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B3=E8=81=94=E8=83=BD=E5=8A=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/src/api/home.js | 8 ++ .../src/views/detailsAll/AlgorithmDetails.vue | 23 +++- .../views/detailsAll/ApplicationDetails.vue | 23 +++- .../src/views/detailsAll/BusinessDetails.vue | 23 +++- .../views/detailsAll/DeveloperComponents.vue | 23 +++- front/src/views/detailsAll/LayerService.vue | 23 +++- .../Algorithm/AlgorithmAssociatedAbility.vue | 127 ++++++++++++++++++ .../Algorithm/AlgorithmNavigation.vue | 6 + .../ApplicationAssociatedAbility.vue | 127 ++++++++++++++++++ .../Application/ApplicationNavigation.vue | 6 + .../Business/BusinessAssociatedAbility.vue | 127 ++++++++++++++++++ .../Business/BusinessNavigation.vue | 6 + .../Developer/DeveloperAssociatedAbility.vue | 127 ++++++++++++++++++ .../Developer/DeveloperNavigation.vue | 7 +- .../LayerServiceAssociatedAbility.vue | 127 ++++++++++++++++++ .../LayerService/LayerServiceNavigation.vue | 7 +- front/src/views/home/DetailsPageconetent.vue | 4 - 17 files changed, 783 insertions(+), 11 deletions(-) create mode 100644 front/src/views/detailsAll/components/Algorithm/AlgorithmAssociatedAbility.vue create mode 100644 front/src/views/detailsAll/components/Application/ApplicationAssociatedAbility.vue create mode 100644 front/src/views/detailsAll/components/Business/BusinessAssociatedAbility.vue create mode 100644 front/src/views/detailsAll/components/Developer/DeveloperAssociatedAbility.vue create mode 100644 front/src/views/detailsAll/components/LayerService/LayerServiceAssociatedAbility.vue 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) )