Bläddra i källkod

整体统计——合同统计中,选择日期范围时,下面饼图数据不变

余思翰 3 månader sedan
förälder
incheckning
bb606c7a88
1 ändrade filer med 0 tillägg och 5 borttagningar
  1. 0
    5
      oa-ui/src/views/statistics/components/contractStatistics.vue

+ 0
- 5
oa-ui/src/views/statistics/components/contractStatistics.vue Visa fil

@@ -145,9 +145,6 @@ export default {
145 145
     async queryList() {
146 146
       let res1 = await getContractStatistic(this.addDateRange({}, this.dateRange));
147 147
       let res2 = await getSubContractStatistic(this.addDateRange({}, this.dateRange));
148
-      this.contractAmount = res1.data.yearAmount[0];
149
-      this.contractCwAmount = res1.data.sourceAmount[0];
150
-      this.contractSource = res1.data.sourceCount[0];
151 148
       if (this.dateRange) {
152 149
         this.contractYear = res1.data.monthCount[0];
153 150
         this.contractAmount = res1.data.monthAmount[0];
@@ -159,8 +156,6 @@ export default {
159 156
         this.paidAmount = res1.data.paidYearAmount[0];
160 157
         this.paidYear = res1.data.paidYearCount[0];
161 158
       }
162
-      this.subCwAmount = res2.data.sourceAmount[0];
163
-      this.subSource = res2.data.sourceCount[0];
164 159
       if (this.dateRange) {
165 160
         this.subYearNum = res2.data.monthCount[0];
166 161
         this.subAmount = res2.data.monthAmount[0];

Loading…
Avbryt
Spara