|
@@ -330,7 +330,7 @@
|
|
|
<el-table-column
|
|
|
sortable
|
|
|
:formatter="filter_daynhxdssdl"
|
|
|
- prop="daynhxdssdl"
|
|
|
+ prop="daynhqfdl"
|
|
|
label="性能"
|
|
|
width="63"
|
|
|
>
|
|
@@ -532,6 +532,7 @@ export default {
|
|
|
lyl:[],
|
|
|
wtName:[],
|
|
|
total:[],
|
|
|
+ daynhwhssdl:[]
|
|
|
}
|
|
|
};
|
|
|
},
|
|
@@ -621,6 +622,7 @@ export default {
|
|
|
this.linechar_data.daynhxdssdl=[];
|
|
|
this.linechar_data.lyl=[];
|
|
|
this.linechar_data.wtName=[];
|
|
|
+ this.linechar_data.daynhwhssdl=[];
|
|
|
let queryAll_table = res.data.data.list;
|
|
|
let queryAll_table_lyl = res.data.data.lyl;
|
|
|
for(let i = 0;i < Object.keys(queryAll_table).length;i++){
|
|
@@ -634,6 +636,7 @@ export default {
|
|
|
that.linechar_data.lyl.push(queryAll_table[i].lyl.toFixed(2));
|
|
|
that.linechar_data.wtName.push(queryAll_table[i].wtName);
|
|
|
that.linechar_data.total.push(queryAll_table[i].total.toFixed(2));
|
|
|
+ that.linechar_data.daynhwhssdl.push(queryAll_table[i].daynhwhssdl.toFixed(2));
|
|
|
}
|
|
|
}
|
|
|
if (this.tableid === "fc") {
|
|
@@ -745,6 +748,7 @@ export default {
|
|
|
this.linechar_data.daynhxdssdl=[];
|
|
|
this.linechar_data.lyl=[];
|
|
|
this.linechar_data.wtName=[];
|
|
|
+ this.linechar_data.daynhwhssdl=[];
|
|
|
let queryAll_table = res.data.data.list;
|
|
|
let queryAll_table_lyl = res.data.data.lyl;
|
|
|
//this.query_lyl(queryAll_table);
|
|
@@ -759,6 +763,7 @@ export default {
|
|
|
that.linechar_data.lyl.push(queryAll_table[i].lyl.toFixed(2));
|
|
|
that.linechar_data.wtName.push(queryAll_table[i].wtName);
|
|
|
that.linechar_data.total.push(queryAll_table[i].total.toFixed(2));
|
|
|
+ that.linechar_data.daynhwhssdl.push(queryAll_table[i].daynhwhssdl.toFixed(2));
|
|
|
}
|
|
|
|
|
|
}
|
|
@@ -821,7 +826,7 @@ export default {
|
|
|
return parseFloat(cellValue.daynhcfdl).toFixed(2);
|
|
|
},
|
|
|
filter_daynhxdssdl(cellValue) {
|
|
|
- return parseFloat(cellValue.daynhxdssdl).toFixed(2);
|
|
|
+ return parseFloat(cellValue.daynhqfdl).toFixed(2);
|
|
|
},
|
|
|
filter_lyl(cellValue) {
|
|
|
return parseFloat(cellValue.lyl).toFixed(2);
|
|
@@ -890,6 +895,7 @@ export default {
|
|
|
},
|
|
|
xAxis: {
|
|
|
type: "value",
|
|
|
+ max: Math.ceil(Math.max.apply(null, date.total))+ Math.ceil((Math.max.apply(null, date.total))*0.08)
|
|
|
},
|
|
|
yAxis: {
|
|
|
type: "category",
|
|
@@ -966,7 +972,7 @@ export default {
|
|
|
emphasis: {
|
|
|
focus: "series",
|
|
|
},
|
|
|
- data: date.daynhxdssdl,
|
|
|
+ data: date.daynhqfdl,
|
|
|
},
|
|
|
//曲线
|
|
|
{
|
|
@@ -1011,7 +1017,7 @@ export default {
|
|
|
"#058DC7",
|
|
|
],
|
|
|
title: {
|
|
|
- text: "风机绩效榜单",
|
|
|
+ text: "项目绩效榜单",
|
|
|
left: 300,
|
|
|
top: -5,
|
|
|
textStyle: {
|
|
@@ -1046,7 +1052,8 @@ export default {
|
|
|
},
|
|
|
xAxis: {
|
|
|
type: "value",
|
|
|
- },
|
|
|
+ max: Math.ceil(Math.max.apply(null, date.total))+ Math.ceil((Math.max.apply(null, date.total))*0.08)
|
|
|
+ },
|
|
|
yAxis: {
|
|
|
type: "category",
|
|
|
data: date.wtName,
|
|
@@ -1122,7 +1129,7 @@ export default {
|
|
|
emphasis: {
|
|
|
focus: "series",
|
|
|
},
|
|
|
- data: date.daynhxdssdl,
|
|
|
+ data: date.daynhqfdl,
|
|
|
},
|
|
|
//曲线
|
|
|
{
|
|
@@ -1166,7 +1173,7 @@ export default {
|
|
|
"#058DC7",
|
|
|
],
|
|
|
title: {
|
|
|
- text: "风机绩效榜单",
|
|
|
+ text: "路线绩效榜单",
|
|
|
left: 300,
|
|
|
top: -5,
|
|
|
textStyle: {
|
|
@@ -1201,6 +1208,7 @@ export default {
|
|
|
},
|
|
|
xAxis: {
|
|
|
type: "value",
|
|
|
+ max: Math.ceil(Math.max.apply(null, date.total))+ Math.ceil((Math.max.apply(null, date.total))*0.08)
|
|
|
},
|
|
|
yAxis: {
|
|
|
type: "category",
|
|
@@ -1277,7 +1285,7 @@ export default {
|
|
|
emphasis: {
|
|
|
focus: "series",
|
|
|
},
|
|
|
- data: date.daynhxdssdl,
|
|
|
+ data: date.daynhqfdl,
|
|
|
},
|
|
|
//曲线
|
|
|
{
|