|
@@ -393,15 +393,15 @@ export default {
|
|
this.XdaysData1 = [] // x轴置空
|
|
this.XdaysData1 = [] // x轴置空
|
|
// 各回收物类型占比
|
|
// 各回收物类型占比
|
|
this.totalGroupRubbiData = {
|
|
this.totalGroupRubbiData = {
|
|
- cleanWeight: 0,
|
|
|
|
- cleanReportData: []
|
|
|
|
|
|
+ cleanWeight: 0,
|
|
|
|
+ cleanReportData: []
|
|
}
|
|
}
|
|
// 各清运司机占比
|
|
// 各清运司机占比
|
|
this.totalGroupUserData = {
|
|
this.totalGroupUserData = {
|
|
- cleanWeight: 0,
|
|
|
|
- cleanReportData: []
|
|
|
|
|
|
+ cleanWeight: 0,
|
|
|
|
+ cleanReportData: []
|
|
}
|
|
}
|
|
- // 重置清运量趋势图表数据
|
|
|
|
|
|
+ // 重置清运量趋势图表数据
|
|
this.clearnChartData[0].data = []
|
|
this.clearnChartData[0].data = []
|
|
this.clearnChartData[1].data = []
|
|
this.clearnChartData[1].data = []
|
|
// 重置各回收物类型清运数据
|
|
// 重置各回收物类型清运数据
|
|
@@ -434,8 +434,8 @@ export default {
|
|
findTotalGroupDate(params).then(res => {
|
|
findTotalGroupDate(params).then(res => {
|
|
console.log(res, '清运量趋势')
|
|
console.log(res, '清运量趋势')
|
|
if (res.status == 200) {
|
|
if (res.status == 200) {
|
|
- const a = res.data.cleanReportData
|
|
|
|
- const b = res.data.deliveryReportData
|
|
|
|
|
|
+ const a = res.data.deliveryReportData
|
|
|
|
+ const b = res.data.cleanReportData
|
|
for (const key in a) {
|
|
for (const key in a) {
|
|
const val = Number(a[key] / 1000).toFixed(3)
|
|
const val = Number(a[key] / 1000).toFixed(3)
|
|
this.clearnChartData[0].data.push(val)
|
|
this.clearnChartData[0].data.push(val)
|