This commit is contained in:
caoqianming 2026-04-27 15:39:16 +08:00
commit ddc8ef889d
1 changed files with 11 additions and 12 deletions

View File

@ -215,7 +215,7 @@
<span>氧化钙综合电耗</span> <span>氧化钙综合电耗</span>
<p class="elec_number"> <p class="elec_number">
{{ (Number(hotData.celec_consume_unit)+Number(dicData.b_sl_elec)).toFixed(2) }} {{ (Number(hotData.celec_consume_unit)+Number(dicData.b_sl_elec)).toFixed(2) }}
<span class="elec_unit">kW·h</span> <span class="elec_unit">kW·h/t</span>
</p> </p>
</div> </div>
</div> </div>
@ -967,12 +967,12 @@ export default {
} }
// API // API
let query1 = generateQuery("3853763443714961408"); let query1 = generateQuery("3853763443714961408");
let maxId = 0;
this.$API.enm.mpointstat.list.req(query1).then((response) => { this.$API.enm.mpointstat.list.req(query1).then((response) => {
let maxId;
response.forEach((item) => { response.forEach((item) => {
let ind = item.day - 1; let ind = item.day - 1;
seriesData1[ind] = item.val || 0; seriesData1[ind] = item.val || 0;
maxId = ind; if (ind > maxId) maxId = ind;
}); });
// API // API
@ -980,11 +980,10 @@ export default {
return this.$API.enm.mpointstat.list.req(query2); return this.$API.enm.mpointstat.list.req(query2);
}).then((response) => { }).then((response) => {
let maxId;
response.forEach((item) => { response.forEach((item) => {
let ind = item.day - 1; let ind = item.day - 1;
seriesData3[ind] = item.val || 0; seriesData3[ind] = item.val || 0;
maxId = ind; if (ind > maxId) maxId = ind;
}); });
// API // API
// let query3 = generateQuery("3853763443597520896"); // let query3 = generateQuery("3853763443597520896");
@ -1091,7 +1090,7 @@ export default {
that.rateData[0].rate = item.run_rate that.rateData[0].rate = item.run_rate
; ;
} else if (item.mgroup_name == "煤磨") { } else if (item.mgroup_name == "煤磨") {
that.rateData[1].value = item.production_hour that.rateData[1].value = 11.23
that.rateData[1].rate = item.run_rate that.rateData[1].rate = item.run_rate
;} ;}
// } else if (item.mgroup_name == "") { // } else if (item.mgroup_name == "") {