|
|
|
|
145
|
async queryList() {
|
145
|
async queryList() {
|
146
|
let res1 = await getContractStatistic(this.addDateRange({}, this.dateRange));
|
146
|
let res1 = await getContractStatistic(this.addDateRange({}, this.dateRange));
|
147
|
let res2 = await getSubContractStatistic(this.addDateRange({}, this.dateRange));
|
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
|
if (this.dateRange) {
|
148
|
if (this.dateRange) {
|
152
|
this.contractYear = res1.data.monthCount[0];
|
149
|
this.contractYear = res1.data.monthCount[0];
|
153
|
this.contractAmount = res1.data.monthAmount[0];
|
150
|
this.contractAmount = res1.data.monthAmount[0];
|
|
|
|
|
159
|
this.paidAmount = res1.data.paidYearAmount[0];
|
156
|
this.paidAmount = res1.data.paidYearAmount[0];
|
160
|
this.paidYear = res1.data.paidYearCount[0];
|
157
|
this.paidYear = res1.data.paidYearCount[0];
|
161
|
}
|
158
|
}
|
162
|
- this.subCwAmount = res2.data.sourceAmount[0];
|
|
|
163
|
- this.subSource = res2.data.sourceCount[0];
|
|
|
164
|
if (this.dateRange) {
|
159
|
if (this.dateRange) {
|
165
|
this.subYearNum = res2.data.monthCount[0];
|
160
|
this.subYearNum = res2.data.monthCount[0];
|
166
|
this.subAmount = res2.data.monthAmount[0];
|
161
|
this.subAmount = res2.data.monthAmount[0];
|