fix:tku中的power更改

This commit is contained in:
shijing 2024-05-15 11:29:36 +08:00
parent 245c2b6155
commit bad6efb816
5 changed files with 23 additions and 8 deletions

View File

@ -52,21 +52,21 @@
<td
v-if="ind == 3"
class="numCell hoursItem"
@click="itemClick('hour_s', item1)"
@click="itemClick('hour_s', item)"
>
{{ item1 }}
</td>
<td
v-if="ind == 4"
class="numCell monthItem"
@click="itemClick('day_s', item1)"
@click="itemClick('day_s', item)"
>
{{ item1 }}
</td>
<td
v-if="ind == 5"
class="numCell yearItem"
@click="itemClick('month_s', item1)"
@click="itemClick('month_s', item)"
>
{{ item1 }}
</td>
@ -106,7 +106,7 @@
:title="title"
:cate="cate"
:apiObj="apiObj"
:mgroup="query.mgroup"
:mpoint="mpoint"
:modelValue="modelValue"
:showClose="showClose"
:echartType="echartType"
@ -189,6 +189,7 @@ export default {
query: {
mgroup: "",
},
mpoint: "",
tableName: "主要设备100KW以上单位产品电耗数据表",
tableDatas: [
["煤磨排风机主电机", "", "KW·h/t", "", "", ""],
@ -370,6 +371,7 @@ export default {
hourProduct
).toFixed(2);
that.tableDatas[i][5] = val;
that.tableDatas[i][6] = data2[i].mpoint;
}
});
}
@ -567,6 +569,7 @@ export default {
itemClick(type, item) {
this.type = type;
this.cate = item[0];
this.mpoint = item[6];
this.asynDialog = true;
},
handlePrint() {

View File

@ -106,7 +106,7 @@
:title="title"
:cate="cate"
:apiObj="apiObj"
:mgroup="query.mgroup"
:mpoint="mpoint"
:modelValue="modelValue"
:showClose="showClose"
:echartType="echartType"
@ -200,6 +200,7 @@ export default {
query: {
mgroup: "",
},
mpoint: "",
tableName: "主要设备100KW以上单位产品电耗数据表",
tableDatas: [
["高温风机", "", "KW·h/t", "", "", ""],
@ -484,6 +485,7 @@ export default {
allValMonth
).toFixed(2);
that.tableDatas[i][5] = val;
that.tableDatas[i][6] = data2[i].mpoint;
}
});
}
@ -765,6 +767,7 @@ export default {
itemClick(type, item) {
this.type = type;
this.cate = item[0];
this.mpoint = item[6];
this.asynDialog = true;
},
handlePrint() {

View File

@ -106,7 +106,7 @@
:title="title"
:cate="cate"
:apiObj="apiObj"
:mgroup="query.mgroup"
:mpoint="mpoint"
:modelValue="modelValue"
:showClose="showClose"
:echartType="echartType"
@ -198,6 +198,7 @@ export default {
query: {
mgroup: "",
},
mpoint: "",
tableName: "主要设备100KW以上单位产品电耗数据表",
tableDatas: [
["循环风机1906", "", "KW·h/t", "", "", ""],
@ -442,6 +443,7 @@ export default {
allValMonth
).toFixed(2);
that.tableDatas[i][5] = val;
that.tableDatas[i][6] = data2[i].mpoint;
}
debugger;
console.log(that.tableDatas);
@ -701,6 +703,7 @@ export default {
itemClick(type, item) {
this.type = type;
this.cate = item[0];
this.mpoint = item[6];
this.asynDialog = true;
},
handlePrint() {

View File

@ -106,7 +106,7 @@
:title="title"
:cate="cate"
:apiObj="apiObj"
:mgroup="query.mgroup"
:mpoint="mpoint"
:modelValue="modelValue"
:showClose="showClose"
:echartType="echartType"
@ -189,6 +189,7 @@ export default {
query: {
mgroup: "",
},
mpoint: "",
tableName: "主要设备100KW以上单位产品电耗数据表",
tableDatas: [
["立磨主电机", "", "KW·h/t", "", "", ""],
@ -419,6 +420,7 @@ export default {
hourProduct
).toFixed(2);
that.tableDatas[i][5] = val;
that.tableDatas[i][6] = data2[i].mpoint;
}
});
}
@ -651,6 +653,7 @@ export default {
itemClick(type, item) {
this.type = type;
this.cate = item[0];
this.mpoint = item[6];
this.asynDialog = true;
},
handlePrint() {

View File

@ -90,7 +90,7 @@
:title="title"
:cate="cate"
:apiObj="apiObj"
:mgroup="query.mgroup"
:mpoint="mpoint"
:modelValue="modelValue"
:showClose="showClose"
:echartType="echartType"
@ -163,6 +163,7 @@ export default {
query: {
mgroup: "",
},
mpoint: "",
tableName: "主要设备100KW以上单位产品电耗数据表",
tableDatas: [["烘干破主电机", "", "kw.h/t", "", "", ""]],
modelValue: true,
@ -296,6 +297,7 @@ export default {
allValMonth
).toFixed(2);
that.tableDatas[i][4] = val;
that.tableDatas[i][5] = data2[i].mpoint;
}
});
}
@ -405,6 +407,7 @@ export default {
itemClick(type, item) {
this.type = type;
this.cate = item[0];
this.mpoint = item[5];
this.asynDialog = true;
},
handlePrint() {