From 271b3b25112a17ebc7ed0fbf84334c92a0867737 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AA=86=E4=B9=90?= <342503599@qq.com> Date: Wed, 3 Aug 2022 11:08:45 +0800 Subject: [PATCH 1/6] =?UTF-8?q?=E6=B9=96=E9=87=8C=E5=A4=A7=E5=B1=8F(?= =?UTF-8?q?=E7=8E=AF=E5=A2=83=E7=AE=A1=E7=90=86):=E6=9B=B4=E6=94=B9?= =?UTF-8?q?=E9=A2=84=E8=AD=A6=E7=BB=9F=E8=AE=A1=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../projectHuScreen/envirManage/rightCenter.vue | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/views/projectAdmin/dataBoard/projectHuScreen/envirManage/rightCenter.vue b/src/views/projectAdmin/dataBoard/projectHuScreen/envirManage/rightCenter.vue index 9e27b979..0be12628 100644 --- a/src/views/projectAdmin/dataBoard/projectHuScreen/envirManage/rightCenter.vue +++ b/src/views/projectAdmin/dataBoard/projectHuScreen/envirManage/rightCenter.vue @@ -29,15 +29,16 @@ export default { const myChart = echarts.init(this.$refs.myChart); const option = { title: { - subtext: "报警数量", textAlign: 'center', x: '29%', - y: '43%', + y: '38%', + text:'27', textStyle: { fontSize: 20, fontWeight: 'normal', color: '#fff', }, + subtext: "报警数量", subtextStyle: { fontSize: 16, fontWeight: 'normal', @@ -50,7 +51,7 @@ export default { legend: { type: 'scroll', orient: 'vertical', - right: 50, + right: 30, top: 'center', itemWidth: 10, // 设置宽度 itemHeight: 10, // 设置高度 @@ -90,8 +91,8 @@ export default { show: false, }, data: [ - { value: 13, name: "扬尘噪声报警" }, - { value: 14, name: "PM2.5超标报警" }, + { value: 13, name: "扬尘噪声报警 : 13" }, + { value: 14, name: "PM2.5超标报警 : 14" }, ], }, ], From 48fac7a94ca89158e7271896bacae4466bf7a1ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AA=86=E4=B9=90?= <342503599@qq.com> Date: Wed, 3 Aug 2022 12:10:01 +0800 Subject: [PATCH 2/6] =?UTF-8?q?=E6=B9=96=E9=87=8C=E5=A4=A7=E5=B1=8F(?= =?UTF-8?q?=E7=8E=AF=E5=A2=83=E7=9B=91=E6=B5=8B)=EF=BC=9A=E7=A9=BA?= =?UTF-8?q?=E6=B0=94=E5=88=86=E6=9E=90=E6=A0=B7=E5=BC=8F=E6=9B=B4=E6=94=B9?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E5=AF=B9=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../projectHuScreen/envirManage/rightTop.vue | 81 ++++++++++++------- 1 file changed, 51 insertions(+), 30 deletions(-) diff --git a/src/views/projectAdmin/dataBoard/projectHuScreen/envirManage/rightTop.vue b/src/views/projectAdmin/dataBoard/projectHuScreen/envirManage/rightTop.vue index 162c1866..8f976a4a 100644 --- a/src/views/projectAdmin/dataBoard/projectHuScreen/envirManage/rightTop.vue +++ b/src/views/projectAdmin/dataBoard/projectHuScreen/envirManage/rightTop.vue @@ -2,14 +2,6 @@
{{ title }}
-
  • - {{ +
    + {{ $t("message.environmentalOverview.typeList")[0] }} - {{ airAnalysis.length > 0 ? airAnalysis[0].num : 0 }}{{ $t("message.environmentalOverview.Days") }}
  • - {{ +
    + {{ $t("message.environmentalOverview.typeList")[1] }} - {{ airAnalysis.length > 0 ? airAnalysis[1].num : 0 }}{{ $t("message.environmentalOverview.Days") }} @@ -87,16 +83,18 @@
  • - {{ +
    + {{ $t("message.environmentalOverview.typeList")[2] }} - {{ airAnalysis.length > 0 ? airAnalysis[2].num : 0 }}{{ $t("message.environmentalOverview.Days") }} @@ -104,22 +102,25 @@
  • - {{ +
    + {{ $t("message.environmentalOverview.typeList")[3] }} - {{ airAnalysis.length > 0 ? airAnalysis[3].num : 0 }}{{ $t("message.environmentalOverview.Days") }}
  • - {{ +
    + {{ $t("message.environmentalOverview.typeList")[4] }} - {{ airAnalysis.length > 0 ? airAnalysis[4].num : 0 }}{{ $t("message.environmentalOverview.Days") }}
  • - {{ +
    + {{ $t("message.environmentalOverview.typeList")[5] }} - {{ airAnalysis.length > 0 ? airAnalysis[5].num : 0 }}{{ $t("message.environmentalOverview.Days") }} @@ -172,21 +176,12 @@ export default { return { airType: 1, airAnalysis: [], - // customColor1:"#36cd81", - // customColor2:'#e2cd72', - // customColor3:'#cf8755', - // customColor4:'#6d70fb', - // customColor5:'#e5524a', - // customColor6:'#f84848' }; }, mounted(){ this.getAirQualityStatistics(); }, methods: { - // format(percentage) { - // return percentage === 100 ? "满" : `${percentage}%`; - // } //空气质量分析--统计 getAirQualityStatistics() { let data = { @@ -221,7 +216,33 @@ export default { } .progressBox{ - margin-top: 20px; + margin-top: 10px; + margin-left: 20px; + // width: 60%; + font-size: 12px; + .progressleft{ + display: inline-block; + height: 10px; + width:60%; + } + li{ + margin: 10px; + } + .point{ + display: inline-block; + width: 5px; + height: 5px; + margin-left: 10px; + border-radius: 50%; + background-color: #fff; + } + .types{ + margin-left: 15px; + width: 120px; + } + .day{ + margin-left: 30px; + } } } From 84344eb00b331380e33688b800d1283823e94d15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AA=86=E4=B9=90?= <342503599@qq.com> Date: Wed, 3 Aug 2022 14:33:21 +0800 Subject: [PATCH 3/6] =?UTF-8?q?=E6=B9=96=E9=87=8C=E5=A4=A7=E5=B1=8F(?= =?UTF-8?q?=E7=8E=AF=E5=A2=83=E7=AE=A1=E7=90=86):=E5=AE=9E=E6=97=B6?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../projectHuScreen/envirManage/centerTop.vue | 300 +++++++++++++++++- 1 file changed, 296 insertions(+), 4 deletions(-) diff --git a/src/views/projectAdmin/dataBoard/projectHuScreen/envirManage/centerTop.vue b/src/views/projectAdmin/dataBoard/projectHuScreen/envirManage/centerTop.vue index 5e872495..3849fe69 100644 --- a/src/views/projectAdmin/dataBoard/projectHuScreen/envirManage/centerTop.vue +++ b/src/views/projectAdmin/dataBoard/projectHuScreen/envirManage/centerTop.vue @@ -1,12 +1,13 @@ From 2874210f88b716908e9c402730732f735a835029 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AA=86=E4=B9=90?= <342503599@qq.com> Date: Wed, 3 Aug 2022 14:38:54 +0800 Subject: [PATCH 4/6] =?UTF-8?q?=E6=B9=96=E9=87=8C=E5=A4=A7=E5=B1=8F(?= =?UTF-8?q?=E7=8E=AF=E5=A2=83=E7=AE=A1=E7=90=86):=E7=8E=AF=E5=A2=83?= =?UTF-8?q?=E7=9B=91=E6=B5=8B=E6=A0=B7=E5=BC=8F=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../projectHuScreen/envirManage/leftTop.vue | 251 +----------------- 1 file changed, 6 insertions(+), 245 deletions(-) diff --git a/src/views/projectAdmin/dataBoard/projectHuScreen/envirManage/leftTop.vue b/src/views/projectAdmin/dataBoard/projectHuScreen/envirManage/leftTop.vue index ffffac93..f863b797 100644 --- a/src/views/projectAdmin/dataBoard/projectHuScreen/envirManage/leftTop.vue +++ b/src/views/projectAdmin/dataBoard/projectHuScreen/envirManage/leftTop.vue @@ -2,7 +2,9 @@
    {{ title }}
    - +
    + +
    @@ -20,227 +22,8 @@ export default { }, data() { return { - lineColor: "#1FCCC6", - todayAir: { - analysisData: "0", - analysisType: "优" - } - }; - }, - mounted() { - this.createdEcharts3(); - }, - methods: { - createdEcharts3() { - let that = this; - //项目进度 - let monitor = echarts.init(this.$refs.monitor); - this.chart = monitor; - monitor.clear(); - const option = { - title: { - show: true, - text: this.todayAir.analysisType, - x: "49%", - y: "55%", - z: 8, - textAlign: "center", - textStyle: { - color: " rgb(147,169,205) ", - fontSize: 12 - } - }, - series: [ - { - type: "gauge", - radius: "62%", - splitNumber: 10, - axisLine: { - lineStyle: { - color: [ - [this.todayAir.analysisData / 100, this.lineColor], - [1, "#111F42"] - ], - width: 6 - } - }, - axisLabel: { - show: false - }, - axisTick: { - show: false - }, - splitLine: { - show: false - }, - - pointer: { - show: false - } - }, - { - type: "gauge", - // center: ['20%', '50%'], - radius: "80%", - min: 0, //最小刻度 - max: 100, //最大刻度 - splitNumber: 10, //刻度数量 - startAngle: 225, - endAngle: -45, - axisLine: { - show: true, - lineStyle: { - width: 2, - color: [[1, "rgba(0,0,0,0)"]] - } - }, - //仪表盘轴线 - axisLabel: { - show: true, - color: "#4d5bd1" - }, //刻度标签。 - axisTick: { - show: true, - splitNumber: 7, - lineStyle: { - color: "#468EFD", - width: 2 - }, - length: -4 - }, //刻度样式 - splitLine: { - show: true, - length: -10, - lineStyle: { - color: "#468EFD" - } - }, //分隔线样式 - detail: { - show: false - }, - pointer: { - show: false - } - }, - /*内部*/ - { - type: "pie", - radius: ["0", "35%"], - center: ["50%", "50%"], - z: 8, - hoverAnimation: false, - data: [ - { - value: this.todayAir.analysisData, - itemStyle: { - normal: { - color: "#091F4B" - } - }, - label: { - normal: { - rich: { - a: { - color: this.lineColor, - align: "center", - fontSize: 31, - fontWeight: "bold" - } - }, - formatter: function(params) { - return "{a|" + params.value + "}"; - }, - position: "center", - show: true - } - }, - labelLine: { - show: false - } - } - ] - }, - /*外一层*/ - { - type: "pie", - radius: "40%", - startAngle: 220, - endAngle: -40, - hoverAnimation: false, - center: ["50%", "50%"], - avoidLabelOverlap: false, - label: { - show: false - }, - labelLine: { - show: false - }, - data: [ - { - value: 1 - } - ], - itemStyle: { - normal: { - color: "rgba(69, 161, 255,0.8)" - } - } - }, - //外二层圈 - { - type: "pie", - radius: "45%", - center: ["50%", "50%"], - avoidLabelOverlap: false, - z: 0, - hoverAnimation: false, - label: { - show: false - }, - labelLine: { - show: false - }, - data: [ - { - value: 1 - } - ], - itemStyle: { - normal: { - color: "rgba(69, 161, 255,0.5)" - } - } - }, - //最外层圈 - { - type: "pie", - radius: "50%", - center: ["50%", "50%"], - avoidLabelOverlap: false, - z: 0, - hoverAnimation: false, - label: { - show: false - }, - labelLine: { - show: false - }, - data: [ - { - value: 1 - } - ], - itemStyle: { - normal: { - color: "rgba(69, 161, 255,0.3)" - } - } - } - ] - }; - monitor.setOption(this.option); } - } + }, }; @@ -256,31 +39,9 @@ export default { margin-top: 5px; margin-left: 5px; } - .monitor { + .air{ width: 100%; - height: 100%; - } -} -.colour { - position: absolute; - bottom: 0; - width: 100%; - font-size: 10px; - left: 2%; - .colour_content { - width: 16%; - text-align: center; - float: left; - .bg { - width: 100%; - height: 5px; - } - .size { - width: 100%; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; - } + height: 85%; } } From 41e92e7735e5987fa44af52ac3a76d8b2472ea4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AA=86=E4=B9=90?= <342503599@qq.com> Date: Wed, 3 Aug 2022 15:21:22 +0800 Subject: [PATCH 5/6] =?UTF-8?q?=E6=B9=96=E9=87=8C=E5=A4=A7=E5=B1=8F(?= =?UTF-8?q?=E7=8E=AF=E5=A2=83=E7=AE=A1=E7=90=86):=E8=B6=8B=E5=8A=BF?= =?UTF-8?q?=E5=9B=BE=E5=88=87=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../envirManage/leftBottom.vue | 85 ++++++++++++++++--- 1 file changed, 71 insertions(+), 14 deletions(-) diff --git a/src/views/projectAdmin/dataBoard/projectHuScreen/envirManage/leftBottom.vue b/src/views/projectAdmin/dataBoard/projectHuScreen/envirManage/leftBottom.vue index 7f14d3e4..b9e1bc5b 100644 --- a/src/views/projectAdmin/dataBoard/projectHuScreen/envirManage/leftBottom.vue +++ b/src/views/projectAdmin/dataBoard/projectHuScreen/envirManage/leftBottom.vue @@ -2,7 +2,7 @@
    {{ title }}
    - +
    + + \ No newline at end of file diff --git a/src/views/projectAdmin/dataBoard/projectHuScreen/planProgress/centerBottom.vue b/src/views/projectAdmin/dataBoard/projectHuScreen/planProgress/centerBottom.vue index 5e134137..040961fa 100644 --- a/src/views/projectAdmin/dataBoard/projectHuScreen/planProgress/centerBottom.vue +++ b/src/views/projectAdmin/dataBoard/projectHuScreen/planProgress/centerBottom.vue @@ -1,14 +1,15 @@ diff --git a/src/views/projectAdmin/dataBoard/projectHuScreen/projectHuli/constructProgress.vue b/src/views/projectAdmin/dataBoard/projectHuScreen/projectHuli/constructProgress.vue index 66e8f88a..83610f0e 100644 --- a/src/views/projectAdmin/dataBoard/projectHuScreen/projectHuli/constructProgress.vue +++ b/src/views/projectAdmin/dataBoard/projectHuScreen/projectHuli/constructProgress.vue @@ -2,7 +2,8 @@
    {{ title }}
    -
    + +