|
@@ -246,7 +246,7 @@ export default {
|
246
|
246
|
}
|
247
|
247
|
}
|
248
|
248
|
|
249
|
|
- var arrtwo = this.arrayDate(counts,this.normData)
|
|
249
|
+ var arrtwo = this.arrayDate(counts,this.normData)
|
250
|
250
|
|
251
|
251
|
var hash = {};
|
252
|
252
|
var i = 0;
|
|
@@ -279,20 +279,10 @@ export default {
|
279
|
279
|
this.modesData.series.push(parseInt(item.Count));
|
280
|
280
|
})
|
281
|
281
|
|
282
|
|
-
|
283
|
282
|
for (const key in this.tableData) {
|
284
|
283
|
this.modesData.xAxis.push(this.tableData[key].project_name);
|
285
|
|
- // if (key in res) {
|
286
|
|
-
|
287
|
|
- // this.modesData.series.push(parseInt(res[key].Count));
|
288
|
|
- // // batotal += parseInt(res[key].Count);
|
289
|
|
- // } else {
|
290
|
|
- // this.modesData.series.push(0);
|
291
|
|
- // }
|
292
|
284
|
}
|
293
|
|
-
|
294
|
|
-
|
295
|
|
-
|
|
285
|
+
|
296
|
286
|
this.chart.series[0].data = this.modesData.series
|
297
|
287
|
this.chart.xAxis.data = this.modesData.xAxis
|
298
|
288
|
}
|
|
@@ -318,7 +308,8 @@ export default {
|
318
|
308
|
|
319
|
309
|
let time = new Date(this.listQuery.end_time) - new Date(this.listQuery.start_time)
|
320
|
310
|
let day = parseInt(time / (1000 * 60 * 60 * 24))
|
321
|
|
-
|
|
311
|
+ console.log("arr",arr)
|
|
312
|
+ console.log("tabledata",this.tableData)
|
322
|
313
|
for (const key in this.tableData) {
|
323
|
314
|
this.modesData.xAxis.push(this.tableData[key].project_name);
|
324
|
315
|
if (key in arr) {
|