Ver Fonte

修复代码

tianyabing há 2 anos atrás
pai
commit
43a3115253
2 ficheiros alterados com 16 adições e 9 exclusões
  1. 6 6
      public/home.js
  2. 10 3
      src/components/home/HomeIndex.vue

+ 6 - 6
public/home.js

@@ -7,37 +7,37 @@ var platDesc = "基于全市“数字孪生”空间中心建设部署,打造
 var specialDesc = [
     {
         id: 1,
-        title: '支持供水专项,解决供水问题',
+        title: '支持供水专项,解决供水漏损等问题',
         image: '/img/special/gongshui.jpg',
         desc: '旨在解决供水漏损居高不下经济损失大,地下管网隐患感知不及时,缺乏精准定位,部门联动协同不高效,处置效率低等问题,构建供水安全监测感知网,依托城运中心,围绕保供、安全、节水三个场景,建设供水安全从监测-分析-预警-处置的全过程智能感知、智能分析、智能协同应用。',
     },
     {
         id: 2,
-        title: '支持排水专项,解决排水问题',
+        title: '支持排水专项,解决排水压力等问题',
         image: '/img/special/paishui.jpg',
         desc: '为了解决防汛排水压力大,违规排放防控难度大等问题,构建排水安全监测感知网,依托城运中心,围绕污水监测、防汛防台等场景,建设排水从监测-预警-溯源-处置的全过程智能感知、智能分析、智能协同应用。',
     },
     {
         id: 3,
-        title: '支持燃气专项,解决燃气问题',
+        title: '支持燃气专项,解决燃气安全等问题',
         image: '/img/special/ranqi.jpg',
         desc: '为了解决燃气管网地下隐患不清,泄露定位定位难,燃气终端防控防控难度大,入户沉降等问题,构建燃气安全监测感知网,通过燃气物联设备(阀门)等建设实现全管网的在线实时感知,智能远程启闭控制,进一步提高管线安全运行,保障安全供气。依托城运中心,围绕地下管网泄露、瓶装燃气、地面沉降导致管网风险等场景,建设燃气管网,用气终端,瓶装气从监测-预警-管理-处置的全过程智能感知、智能分析、智能协同应用。',
     },
     {
         id: 4,
-        title: '支持桥梁专项,解决桥梁问题',
+        title: '支持桥梁专项,解决安全监测等问题',
         image: '/img/special/qiaoliang.jpg',
         desc: '为了解决灵昆大桥健康监测缺设备,超载治理难处理,巡养防护任务重等问题,构建桥梁安全监测感知网,依托城运中心,围绕桥梁形变、桥梁老化、超载等场景,建设桥梁从监测-预警-养护-超载处置的全过程智能感知、智能分析、智能协同应用。',
     },
     {
         id: 5,
-        title: '支持海塘专项,解决海塘问题',
+        title: '支持海塘专项,解决安全感知等问题',
         image: '/img/special/haitang.jpg',
         desc: '为全面贯彻落实全省数字化改革整体部署和水利部智慧水利建设总体要求,保障温州海洋经济示范区人民生命和财产安全,提升人民幸福感。通过海塘安全感知设备迭代升级、海塘安全防潮风险研判建设、环岛水闸防汛调度风险研判建设、数字孪生海塘建设和多跨协同建设五个方面,实现海塘安全预报、预警、预演、预案和跨部门协作的管理能力。',
     },
     {
         id: 6,
-        title: '支持管廊专项,解决管廊问题',
+        title: '支持管廊专项,解决管廊健康等问题',
         image: '/img/special/guanlang.jpg',
         desc: '拟实时接入现有管廊综合管理系统的管廊结构收敛监测、位移监测和视频监控数据,同步监控管廊健康状况,统筹强化城市基础设施运行风险预警,防范安全事故,统一实现事故协同处置。',
     }

+ 10 - 3
src/components/home/HomeIndex.vue

@@ -43,7 +43,7 @@
             </div>
             <el-scrollbar :style="cardBodyStyle" style="display: inline-block; width: 55%;padding: 0px 2%">
               <div class="specialIntroduceRight">
-                <el-link style="display: block;font-size: 16px;margin-left: 10%;margin-bottom: 1%"
+                <el-link style="display: block;font-size: 16px;margin-left: 3%;margin-bottom: 1%"
                          @click="showSpecialDetail(item)"
                          v-for="(item, index) in specialDesc" :key="index"
                          :underline="false">
@@ -179,6 +179,13 @@ export default {
             trigger: 'axis',
             axisPointer: {
               type: 'shadow'
+            },
+            formatter:function(params){
+              let html = params[0].name
+              params.forEach((item,index)=>{
+                html+=(`: ${--item.value}`)
+              })
+              return html;
             }
           },
           grid: {
@@ -194,7 +201,7 @@ export default {
             data: ['二维', '三维', '业务', '模型', '元数据', '物联感知'],
           },
           yAxis: {
-            type: 'value',
+            type: 'log',
           },
           series: [
             {
@@ -261,7 +268,7 @@ export default {
           app.dataSum.total += twoCount+threeCount+baseCount+modelCount+metaCount+iotCount;
           app.systemOverviewOptions.dataDetail.series = [
             {
-              data: [twoCount,threeCount,baseCount,modelCount,metaCount,iotCount],
+              data: [twoCount+1,threeCount+1,baseCount+1,modelCount+1,metaCount+1,iotCount+1],
               type: 'bar'
             }
           ]