From dbf952c67ec63c5f3dc8cdd16664fa1b3d895e1d Mon Sep 17 00:00:00 2001 From: douzhuo <17611323298@163.com> Date: Wed, 27 Apr 2022 13:47:09 +0800 Subject: [PATCH 1/7] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/inspection/ProhibitedList.vue | 398 +++++++++++++++++++++++- 1 file changed, 393 insertions(+), 5 deletions(-) diff --git a/src/views/inspection/ProhibitedList.vue b/src/views/inspection/ProhibitedList.vue index 67c6bf9..5056779 100644 --- a/src/views/inspection/ProhibitedList.vue +++ b/src/views/inspection/ProhibitedList.vue @@ -1,16 +1,404 @@ - From 2286d12d9fd78d312b43c4672d474bdfe9dc178a Mon Sep 17 00:00:00 2001 From: douzhuo <17611323298@163.com> Date: Mon, 9 May 2022 23:15:10 +0800 Subject: [PATCH 2/7] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Statistics/ConsultantBrand.vue | 27 +- src/views/Statistics/ReceptionStatistical.vue | 327 ++++++++++-------- src/views/Statistics/TrendAnalysis.vue | 4 +- src/views/inspection/ProhibitedList.vue | 6 +- vue.config.js | 3 +- 5 files changed, 204 insertions(+), 163 deletions(-) diff --git a/src/views/Statistics/ConsultantBrand.vue b/src/views/Statistics/ConsultantBrand.vue index 3cb0738..610d4ee 100644 --- a/src/views/Statistics/ConsultantBrand.vue +++ b/src/views/Statistics/ConsultantBrand.vue @@ -98,7 +98,12 @@ - + { @@ -610,7 +618,7 @@ export default { obj.name = item.accountName; obj.zxl = Math.floor(item.sumDuration / 60); if (max < obj.zxl) { - max = obj.zxl + max = obj.zxl; } arr.push(obj); } else if (type == 3) { @@ -625,10 +633,10 @@ export default { }); } - if(type == 2) { + if (type == 2) { arr.forEach((item) => { - item.percentage = (item.zxl/max)*100 - }) + item.percentage = (item.zxl / max) * 100; + }); } if (type == 3) { @@ -636,7 +644,10 @@ export default { } if (type == 4) { - console.log(arr, 'arr4,ajdklsajkldjaskldjakslajdklsajkldjaskldjakslajdklsajkldjaskldjakslajdklsajkldjaskldjakslajdklsajkldjaskldjakslajdklsajkldjaskldjaksl') + console.log( + arr, + "arr4,ajdklsajkldjaskldjakslajdklsajkldjaskldjakslajdklsajkldjaskldjakslajdklsajkldjaskldjakslajdklsajkldjaskldjakslajdklsajkldjaskldjaksl" + ); arr = this.dealData(arr); } return arr; diff --git a/src/views/Statistics/ReceptionStatistical.vue b/src/views/Statistics/ReceptionStatistical.vue index 0e5e7cb..da7b260 100644 --- a/src/views/Statistics/ReceptionStatistical.vue +++ b/src/views/Statistics/ReceptionStatistical.vue @@ -1,98 +1,108 @@