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);