From a90d2303fda8f420ebb1b26467acd1dcc6a30045 Mon Sep 17 00:00:00 2001 From: wangxiaohua <1214073490@qq.com> Date: Tue, 7 Dec 2021 11:39:14 +0800 Subject: [PATCH] init --- src/views/Customer/AgentManagement.vue | 4 +-- src/views/Customer/CompanyRecord.vue | 4 +-- src/views/Customer/index.vue | 2 +- src/views/Statistics/ConsultantBrand.vue | 6 ++--- src/views/Statistics/TrendAnalysis.vue | 17 +++++++++--- src/views/Statistics/dataScreeAge.vue | 1 + src/views/Statistics/dataScreeSys.vue | 1 + src/views/Statistics/houseDataSys.vue | 2 ++ src/views/Statistics/trend.vue | 2 ++ src/views/admin/user/index.vue | 33 ++++++++---------------- src/views/building/Count.vue | 3 +++ 11 files changed, 42 insertions(+), 33 deletions(-) diff --git a/src/views/Customer/AgentManagement.vue b/src/views/Customer/AgentManagement.vue index f0a3258..1da9a57 100644 --- a/src/views/Customer/AgentManagement.vue +++ b/src/views/Customer/AgentManagement.vue @@ -218,7 +218,7 @@ --> - + - + - + - + { let obj={} if(type==1){ diff --git a/src/views/Statistics/TrendAnalysis.vue b/src/views/Statistics/TrendAnalysis.vue index 8e1528e..4e4e0cc 100644 --- a/src/views/Statistics/TrendAnalysis.vue +++ b/src/views/Statistics/TrendAnalysis.vue @@ -85,9 +85,13 @@
对比:{{cardobj.endSumCustomer ||0}}次 - {{cardobj.contrastSumCustomer ||0}}% + + {{cardobj.contrastSumCustomer}}% + {{cardobj.contrastSumCustomer}}% + {{cardobj.contrastSumCustomer}}%
+
@@ -100,9 +104,13 @@
对比:{{cardobj.endFraction ||0}}% - {{cardobj.contrastFraction ||0}}% + + {{cardobj.contrastFraction}}% + {{cardobj.contrastFraction}}% + {{cardobj.contrastFraction}}%
+
@@ -115,7 +123,10 @@
对比:{{cardobj.endSumDuration ||0}} - {{cardobj.contrastSumDuration ||0}}% + + {{cardobj.contrastSumDuration}}% + {{cardobj.contrastSumDuration}}% + {{cardobj.contrastSumDuration}}%
diff --git a/src/views/Statistics/dataScreeAge.vue b/src/views/Statistics/dataScreeAge.vue index 01f5afc..4fecee6 100644 --- a/src/views/Statistics/dataScreeAge.vue +++ b/src/views/Statistics/dataScreeAge.vue @@ -428,6 +428,7 @@ export default { // agentId: this.selValue == 0 ? this.choicValue : null, agentId: localStorage.getItem('agentId'), orgCode: this.selValue == 1 ? this.choicValue : null, + orgType: localStorage.getItem("orgType"), }) .then((res) => { // console.log(res); diff --git a/src/views/Statistics/dataScreeSys.vue b/src/views/Statistics/dataScreeSys.vue index c6a5aca..4592a78 100644 --- a/src/views/Statistics/dataScreeSys.vue +++ b/src/views/Statistics/dataScreeSys.vue @@ -535,6 +535,7 @@ export default { .dataOverViewWithSystem({ agentId: this.selValue == 0 ? this.choicValue : null, orgCode: this.selValue == 1 ? this.choicValue : null, + orgType: localStorage.getItem("orgType"), }) .then((res) => { this.firstTab = res.data; diff --git a/src/views/Statistics/houseDataSys.vue b/src/views/Statistics/houseDataSys.vue index 2e502b3..f29d9df 100644 --- a/src/views/Statistics/houseDataSys.vue +++ b/src/views/Statistics/houseDataSys.vue @@ -242,6 +242,7 @@ export default { // agentId: this.selValue == 0 ? this.choicValue : null, agentId: this.orgType==0?(this.selValue == 0 ? this.choicValue : null):localStorage.getItem('agentId'), orgCode: this.selValue == 1 ? this.choicValue : null, + orgType: localStorage.getItem("orgType"), }) .then((res) => { this.firstTab = res.data; @@ -260,6 +261,7 @@ export default { // agentId: this.selValue == 0 ? this.choicValue : null, agentId: this.orgType==0?(this.selValue == 0 ? this.choicValue : null):localStorage.getItem('agentId'), orgCode: this.selValue == 1 ? this.choicValue : null, + orgType: localStorage.getItem("orgType"), }) .then((res) => { // 数据处理 diff --git a/src/views/Statistics/trend.vue b/src/views/Statistics/trend.vue index fc1517a..4b7e261 100644 --- a/src/views/Statistics/trend.vue +++ b/src/views/Statistics/trend.vue @@ -419,6 +419,7 @@ export default { agentId: this.selValue == 0 ? this.choicValue : null, orgCode: this.selValue == 1 ? this.choicValue : null, houseId: this.selValue == 2 ? this.choicValue : null, + orgType: localStorage.getItem("orgType"), }; this.$api.api.receptionOverviewOfSystem(obj).then((res) => { this.compare = res.data.firstData; @@ -441,6 +442,7 @@ export default { agentId: this.selValue == 0 ? this.choicValue : null, orgCode: this.selValue == 1 ? this.choicValue : null, houseId: this.selValue == 2 ? this.choicValue : null, + orgType: localStorage.getItem("orgType"), }; if (!this.selectTime1) { let res = await this.$api.api.receptionDataOfSystem(obj); diff --git a/src/views/admin/user/index.vue b/src/views/admin/user/index.vue index 7e41d15..890d442 100644 --- a/src/views/admin/user/index.vue +++ b/src/views/admin/user/index.vue @@ -182,9 +182,9 @@
- + - - - +
+ - - + @@ -357,6 +342,7 @@ +
diff --git a/src/views/building/Count.vue b/src/views/building/Count.vue index 7c6cf39..837e6e9 100644 --- a/src/views/building/Count.vue +++ b/src/views/building/Count.vue @@ -207,6 +207,9 @@ label="平均执行率" align="center" > +