From 64aa36be26507056543445cee849d8d14663deb6 Mon Sep 17 00:00:00 2001 From: wangxiaohua <1214073490@qq.com> Date: Fri, 26 Nov 2021 13:53:09 +0800 Subject: [PATCH] init --- src/views/Equipment/equipmentOnlineRecordList.vue | 4 ++-- src/views/Statistics/dataScreeSys.vue | 9 +-------- src/views/Statistics/trend.vue | 12 ++++++------ src/views/admin/user/index.vue | 2 +- src/views/building/index.vue | 13 ++++--------- vue.config.js | 4 ++-- 6 files changed, 16 insertions(+), 28 deletions(-) diff --git a/src/views/Equipment/equipmentOnlineRecordList.vue b/src/views/Equipment/equipmentOnlineRecordList.vue index 1cb0cd6..af60503 100644 --- a/src/views/Equipment/equipmentOnlineRecordList.vue +++ b/src/views/Equipment/equipmentOnlineRecordList.vue @@ -444,8 +444,8 @@ export default { console.log(this.activeTotal, "888888888888888888888"); var url = ""; let obj = { - pageNum: this.page.pageNum, - pageSize: this.page.pageSize, + current: this.page.pageNum, + size: this.page.pageSize, imei: this.page.imei, }; this.tableData = []; diff --git a/src/views/Statistics/dataScreeSys.vue b/src/views/Statistics/dataScreeSys.vue index a8688a5..70b9c08 100644 --- a/src/views/Statistics/dataScreeSys.vue +++ b/src/views/Statistics/dataScreeSys.vue @@ -368,10 +368,6 @@ export default { orgCode: this.selValue == 1 ? this.choicValue : null, }) .then((res) => { - // console.log(res); - // this.firstTab = res.data; - // 对数据进行处理 - // 将数据给一个指定值然后设置一个方法还进行tab切换的时候调用 this.secondTab = res.data; // 调用方法 this.getChars1(1); @@ -390,7 +386,7 @@ export default { .then((res) => { // console.log(res); this.thirdTab = res.data; - this.getChars2(1); + this.getChars2(this.cardindex); }); }, // echars生成 @@ -518,7 +514,6 @@ export default { orgCode: this.selValue == 1 ? this.choicValue : null, }) .then((res) => { - // console.log(res); this.firstTab = res.data; }); }, @@ -532,7 +527,6 @@ export default { }, confirmtime(e) { this.dateType = null; - this.dataOverviewWithSystemWithLook(); }, tabtimetap(i) { @@ -545,7 +539,6 @@ export default { }, //卡片下折线图 SwitchCARDS(arr, str, timeDate, Strname) { - // console.log(arr,str,timeDate,Strname); var chartDom = document.getElementById(str); var myChart = echarts.init(chartDom); var option; diff --git a/src/views/Statistics/trend.vue b/src/views/Statistics/trend.vue index 97f51aa..ef6cb3e 100644 --- a/src/views/Statistics/trend.vue +++ b/src/views/Statistics/trend.vue @@ -166,7 +166,7 @@ compare2.receptionCount >= 0 ? 'color:green;' : 'color:red;' " > - {{ compare2.receptionCount || 0 }} + {{ compare2.receptionCount || 0 }}% @@ -191,7 +191,7 @@
- {{ compare2.avgDuration || 0 }} + {{ compare2.avgDuration || 0 }}%
@@ -224,7 +224,7 @@ compare2.prohibitedCustomer >= 0 ? 'color:green;' : 'color:red;' " > - {{ compare2.prohibitedCustomer || 0 }} + {{ compare2.prohibitedCustomer || 0 }}% @@ -257,7 +257,7 @@ compare2.activeCustomer >= 0 ? 'color:green;' : 'color:red;' " > - {{ compare2.activeCustomer || 0 }} + {{ compare2.activeCustomer || 0 }}% @@ -290,7 +290,7 @@ compare2.activeCustomerRate >= 0 ? 'color:green;' : 'color:red;' " > - {{ compare2.activeCustomerRate || 0 }} + {{ compare2.activeCustomerRate || 0 }}% @@ -315,7 +315,7 @@
- {{ compare2.fraction || 0 }} + {{ compare2.fraction || 0 }}%
diff --git a/src/views/admin/user/index.vue b/src/views/admin/user/index.vue index ce46a14..6ebb67e 100644 --- a/src/views/admin/user/index.vue +++ b/src/views/admin/user/index.vue @@ -293,7 +293,7 @@ - +