From c6649d5feef2789d8209e2b2fd5aa3d78b9410aa Mon Sep 17 00:00:00 2001 From: gaoyuanwei <2826352639@qq.com> Date: Sun, 19 Jun 2022 17:56:21 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E8=B5=84=E6=BA=90?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E5=8F=8A=E6=8E=A5=E5=8F=A3ip=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/src/api/file.js | 24 ++--- .../components/DataResources.vue | 100 ++++++++++-------- .../components/KnowledgeBase.vue | 29 ++--- 3 files changed, 83 insertions(+), 70 deletions(-) diff --git a/front/src/api/file.js b/front/src/api/file.js index a51105be..bfec9b12 100644 --- a/front/src/api/file.js +++ b/front/src/api/file.js @@ -50,7 +50,7 @@ export function paddleocr(params) { // 能力云图-数据资源 export function count() { return axios.post( - 'http://10.10.30.24:30058/share-portal/platform/index/abilityMarket/count', + 'http://10.134.135.24:30058/share-portal/platform/index/abilityMarket/count', config2 ) } @@ -58,17 +58,17 @@ export function count() { export function getRecord(params) { return axios.get( 'http://10.134.135.24:30090/api/share-portal/platform/catalogue/query?serviceName=' + - params.serviceName + - '&orderField=' + - params.orderField + - '&orderType=' + - params.orderType + - '&pageNum=' + - params.pageNum + - '&pageSize=' + - params.pageSize + - '&serviceType=' + - params.serviceType, + params.serviceName + + '&orderField=' + + params.orderField + + '&orderType=' + + params.orderType + + '&pageNum=' + + params.pageNum + + '&pageSize=' + + params.pageSize + + '&serviceType=' + + params.serviceType, config2 ) } diff --git a/front/src/views/capabilityCloud/components/DataResources.vue b/front/src/views/capabilityCloud/components/DataResources.vue index ff8faee2..6229b5df 100644 --- a/front/src/views/capabilityCloud/components/DataResources.vue +++ b/front/src/views/capabilityCloud/components/DataResources.vue @@ -57,28 +57,28 @@ const assignRankings = ref([ { index: '1', - name: '0', - operation: '0', + name: ' ', + operation: ' ', }, { index: '2', - name: '0', - operation: '0', + name: ' ', + operation: ' ', }, { index: '3', - name: '0', - operation: '0', + name: ' ', + operation: ' ', }, { index: '4', - name: '0', - operation: '0', + name: ' ', + operation: ' ', }, { index: '5', - name: '0', - operation: '0', + name: ' ', + operation: ' ', }, ]) const columns = ref([ @@ -138,49 +138,50 @@ for (let i = 1; i < 6; i++) { assignRankings.value[i - 1].index = i assignRankings.value[i - 1].name = - contentData.value.list[i - 1].resourceTop5.service_name || '0' + contentData.value.list[i - 1].resourceTop5.service_name || ' ' assignRankings.value[i - 1].opacity = - contentData.value.list[i - 1].resourceTop5.count || '0' + contentData.value.list[i - 1].resourceTop5.count || ' ' } }) // 请求右侧数据结束 diff --git a/front/src/views/capabilityCloud/components/ComponentServices.vue b/front/src/views/capabilityCloud/components/ComponentServices.vue index 2ae1c3c3..0532f725 100644 --- a/front/src/views/capabilityCloud/components/ComponentServices.vue +++ b/front/src/views/capabilityCloud/components/ComponentServices.vue @@ -2,7 +2,7 @@ * @Author: hisense.liangjunhua * @Date: 2022-06-19 10:15:33 * @LastEditors: hisense.liangjunhua - * @LastEditTime: 2022-06-19 10:17:22 + * @LastEditTime: 2022-06-19 18:04:28 * @Description: 能力云图-组件服务 -->