From ecd5c7699880d8b97523b4e0026a72d4122e8494 Mon Sep 17 00:00:00 2001 From: a0049873 <79py69t9wb@privaterelay.appleid.com> Date: Thu, 30 Jun 2022 18:18:10 +0800 Subject: [PATCH] =?UTF-8?q?BUG=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/public/index.html | 6 +- front/src/api/home.js | 10 +++- .../components/ResourceAggregation.vue | 8 ++- .../Algorithm/AlgorithmUsageMode.vue | 3 +- .../components/Business/BusinessUsageMode.vue | 7 ++- front/src/views/home/DetailsPageconetent.vue | 13 ++-- front/src/views/home/components/header.vue | 2 +- .../home/components/searchResultList.vue | 25 ++++---- .../mynoticeView/components/NoticeList.vue | 53 +++++++++++------ .../components/CapabilityConvergence.vue | 59 ++++++++++++------- .../views/newHome/components/Navigation.vue | 12 ++-- 11 files changed, 125 insertions(+), 73 deletions(-) diff --git a/front/public/index.html b/front/public/index.html index 6353bd6c..ffd3a7ac 100644 --- a/front/public/index.html +++ b/front/public/index.html @@ -1,8 +1,8 @@ @@ -47,7 +47,7 @@ window.SITE_CONFIG['backUrl'] = 'http://15.2.21.238:9797'; window.SITE_CONFIG['previewUrl'] = 'http://15.2.21.238:9796/'; window.SITE_CONFIG['frontUrl'] = 'http://15.2.21.238:9796/document/#/devModelFile/'; - window.SITE_CONFIG['apiURL'] = 'http://15.2.21.238:8888/renren-admin'; + window.SITE_CONFIG['apiURL'] = 'http://15.2.21.239:8888/renren-admin'; window.SITE_CONFIG['POI_URL'] = 'http://15.2.21.238:8090/iserver/services/addressmatch-qingdaoPOI181015/restjsr/v1/address'; // 穿透版本 // window.SITE_CONFIG['backUrl'] = 'http://124.222.94.39:9797'; diff --git a/front/src/api/home.js b/front/src/api/home.js index 9f715249..fbc1578f 100644 --- a/front/src/api/home.js +++ b/front/src/api/home.js @@ -2,7 +2,7 @@ * @Author: hisense.wuhongjian * @Date: 2022-04-01 19:19:40 * @LastEditors: hisense.liangjunhua - * @LastEditTime: 2022-06-29 14:34:24 + * @LastEditTime: 2022-06-30 18:03:17 * @Description: 告诉大家这是什么 */ import request from '@/utils/request' @@ -314,3 +314,11 @@ export function queryPartAppByKeyId2(params) { }) } +//首页 基础设施 +export function selectInfrastructureList(params) { + return request({ + url: 'resource/selectInfrastructureList', + method: 'get', + params, + }) +} diff --git a/front/src/views/abilityStatistics/components/ResourceAggregation.vue b/front/src/views/abilityStatistics/components/ResourceAggregation.vue index ffb04a83..b71cd34d 100644 --- a/front/src/views/abilityStatistics/components/ResourceAggregation.vue +++ b/front/src/views/abilityStatistics/components/ResourceAggregation.vue @@ -287,6 +287,12 @@ } //来源部门漏斗图 const funnelPlot = (dataList) => { + let arr = ['0-5', '5-10', '10-15', '15-20', '20以上'] + dataList.sort((a, b) => { + console.log(arr.indexOf(a.fanwei), arr.indexOf(b.fanwei)) + return arr.indexOf(b.fanwei) - arr.indexOf(a.fanwei) + }) + console.log('============》', dataList) echarts.init(document.getElementById('right')).dispose() let chartDom = document.getElementById('right') let myChart = echarts.init(chartDom) @@ -334,7 +340,7 @@ max: 100, minSize: '0%', maxSize: '100%', - sort: 'ascending', + sort: 'none', gap: 2, label: { show: true, diff --git a/front/src/views/detailsAll/components/Algorithm/AlgorithmUsageMode.vue b/front/src/views/detailsAll/components/Algorithm/AlgorithmUsageMode.vue index 77edfd0b..f49ebce5 100644 --- a/front/src/views/detailsAll/components/Algorithm/AlgorithmUsageMode.vue +++ b/front/src/views/detailsAll/components/Algorithm/AlgorithmUsageMode.vue @@ -27,7 +27,7 @@