From 8d4ba9c213300465f7bb25bad4c8c47e05dbd16b Mon Sep 17 00:00:00 2001 From: wangxiaohua <1214073490@qq.com> Date: Wed, 8 Dec 2021 15:11:47 +0800 Subject: [PATCH] init --- src/views/Statistics/trend.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/views/Statistics/trend.vue b/src/views/Statistics/trend.vue index 8e84647..65992a1 100644 --- a/src/views/Statistics/trend.vue +++ b/src/views/Statistics/trend.vue @@ -422,6 +422,9 @@ export default { if(obj.orgType == 1){ obj.agentId=localStorage.getItem("agentId") } + if(obj.orgType==2){ + obj.orgCode=localStorage.getItem("orgCode") + } this.$api.api.receptionOverviewOfSystem(obj).then((res) => { this.compare = res.data.firstData; if (this.selectTime1) { @@ -447,6 +450,9 @@ export default { }; if(obj.orgType == 1){ obj.agentId=localStorage.getItem("agentId") + } + if(obj.orgType==2){ + obj.orgCode=localStorage.getItem("orgCode") } if (!this.selectTime1) { let res = await this.$api.api.receptionDataOfSystem(obj);