修复计算问题
This commit is contained in:
		@@ -215,8 +215,8 @@ export default {
 | 
				
			|||||||
    monthOnMonth: v => calcComparePercent(v.sta.residentCountLastMonth, v.sta.residentCount),
 | 
					    monthOnMonth: v => calcComparePercent(v.sta.residentCountLastMonth, v.sta.residentCount),
 | 
				
			||||||
    yearOnYear: v => calcComparePercent(v.sta.residentCountLastYear, v.sta.residentCount),
 | 
					    yearOnYear: v => calcComparePercent(v.sta.residentCountLastYear, v.sta.residentCount),
 | 
				
			||||||
    workorderFinishedPercent: v => handlePercent(v.sta.workOrderCountFinish / v.sta.workOrderCount * 100),
 | 
					    workorderFinishedPercent: v => handlePercent(v.sta.workOrderCountFinish / v.sta.workOrderCount * 100),
 | 
				
			||||||
    spDistributionTotal: v => v.chartData.spDistribution?.reduce((a, b) => a.c + b.c, 0) || 0,
 | 
					    spDistributionTotal: v => v.chartData.spDistribution?.reduce((a, b) => a + b.c, 0) || 0,
 | 
				
			||||||
    wotDistributionTotal: v => v.chartData.wotDistribution?.reduce((a, b) => a.c + b.c, 0) || 0,
 | 
					    wotDistributionTotal: v => v.chartData.wotDistribution?.reduce((a, b) => a + b.c, 0) || 0,
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  watch: {
 | 
					  watch: {
 | 
				
			||||||
    integralOrderType() {
 | 
					    integralOrderType() {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user