feat:修改水泥磨中水平涡流选粉机
This commit is contained in:
parent
918d45503e
commit
ab6e9ac889
|
@ -37,7 +37,7 @@
|
|||
>
|
||||
<thead class="myTableHead">
|
||||
<tr>
|
||||
<th colspan="19">水泥磨工段班组月度对比分析</th>
|
||||
<th colspan="18">水泥磨工段班组月度对比分析</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th rowspan="2">月份</th>
|
||||
|
@ -46,7 +46,7 @@
|
|||
<th>运转率</th>
|
||||
<th>成本</th>
|
||||
<th colspan="3">质量</th>
|
||||
<th colspan="9">单位产品电耗</th>
|
||||
<th colspan="8">单位产品电耗</th>
|
||||
<th rowspan="2">得分</th>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -59,7 +59,6 @@
|
|||
<th>掺量(%)</th>
|
||||
<th>循环风机1906(KW·h/t)</th>
|
||||
<th>系统风机(KW·h/t)</th>
|
||||
<th>水平涡流选粉机1915(KW·h/t)</th>
|
||||
<th>目标值(kW·h/t)</th>
|
||||
<th>当期与目标值差值(kW·h/t)</th>
|
||||
<th>环期值(kW·h/t)</th>
|
||||
|
@ -203,10 +202,10 @@ export default {
|
|||
item.系统风机_consume_unit != null
|
||||
? item.系统风机_consume_unit
|
||||
: "/";
|
||||
arr[11] =
|
||||
item.水平涡流选粉机1915_consume_unit != null
|
||||
? item.水平涡流选粉机1915_consume_unit
|
||||
: "/";
|
||||
// arr[11] =
|
||||
// item.水平涡流选粉机1915_consume_unit != null
|
||||
// ? item.水平涡流选粉机1915_consume_unit
|
||||
// : "/";
|
||||
// arr[12]=item.新增磨尾风机_consume_unit!=null?item.新增磨尾风机_consume_unit:'/';
|
||||
|
||||
// arr[13]=item.elec_consume_unit//当期值(KW·h/t)
|
||||
|
@ -215,11 +214,11 @@ export default {
|
|||
if (goalData.length > 0){
|
||||
goalData.forEach((item) => {
|
||||
if (item.goal_cate_name == "单位产品分布电耗(KW·h/t)"){
|
||||
arr[12] = item[keyVale]; //目标值(KW·h/t)//需要接口获取
|
||||
arr[11] = item[keyVale]; //目标值(KW·h/t)//需要接口获取
|
||||
}
|
||||
});
|
||||
};
|
||||
arr[13] = arr[12] - item.celec_consume_unit; //当期与目标差值(KW·h/t)
|
||||
arr[12] = item.celec_consume_unit - arr[11]; //当期与目标差值(KW·h/t)
|
||||
let ind_pre = 0,
|
||||
huanqi = 0,
|
||||
huanqicha = 0,
|
||||
|
@ -238,14 +237,14 @@ export default {
|
|||
}
|
||||
})
|
||||
}
|
||||
arr[14] = huanqi; //环期值(KW·h/t)上个月的值
|
||||
arr[13] = huanqi; //环期值(KW·h/t)上个月的值
|
||||
if (huanqi !== "/") {
|
||||
huanqicha = item.celec_consume_unit - huanqi;
|
||||
} else {
|
||||
huanqicha = item.celec_consume_unit;
|
||||
}
|
||||
arr[15] = huanqicha; //当期与环期差值(KW·h/t)
|
||||
arr[16] =
|
||||
arr[14] = huanqicha; //当期与环期差值(KW·h/t)
|
||||
arr[15] =
|
||||
huanqi != "/" ? (huanqicha / huanqi) * 100 : 0; //环比增长率(%)
|
||||
if (wrapArr0[n]) {
|
||||
tongqicha =
|
||||
|
@ -257,9 +256,9 @@ export default {
|
|||
tongqi = 0;
|
||||
}
|
||||
|
||||
arr[17] = tongqi; //同比增长率(%):本月-去年本月/去年
|
||||
arr[16] = tongqi; //同比增长率(%):本月-去年本月/去年
|
||||
// arr[18] = 0.0; //同比增长率(%)
|
||||
arr[18] = 0;
|
||||
arr[17] = 0;
|
||||
if (month_obj[n]) {
|
||||
const monthData = month_obj[n];
|
||||
const itemValue = item.elec_consume_unit; // 单位产品电耗的值
|
||||
|
@ -275,7 +274,7 @@ export default {
|
|||
} else if (index === 3) {
|
||||
elec_score= 0;
|
||||
}
|
||||
arr[18] += elec_score;
|
||||
arr[17] += elec_score;
|
||||
|
||||
const run_rate_itemValue = item.run_rate; // 运转率的值
|
||||
const run_rate_sortedData = monthData.sort((a, b) => parseFloat(b.run_rate) - parseFloat(a.run_rate));
|
||||
|
@ -290,7 +289,7 @@ export default {
|
|||
} else if (run_rate_index === 3) {
|
||||
run_rate_score= 0;
|
||||
}
|
||||
arr[18] += run_rate_score;
|
||||
arr[17] += run_rate_score;
|
||||
|
||||
const production_hour_itemValue = item.production_hour; // 台时产量的值
|
||||
const production_hour_sortedData = monthData.sort((a, b) => parseFloat(b.production_hour) - parseFloat(a.production_hour));
|
||||
|
@ -305,7 +304,7 @@ export default {
|
|||
} else if (production_hour_index === 3) {
|
||||
production_hour_score= 0;
|
||||
}
|
||||
arr[18] += production_hour_score;
|
||||
arr[17] += production_hour_score;
|
||||
|
||||
const production_cost_unit_itemValue = item.production_cost_unit; // 单位产品成本的值
|
||||
const production_cost_unit_sortedData = monthData.sort((a, b) => parseFloat(b.production_cost_unit) - parseFloat(a.production_cost_unit));
|
||||
|
@ -320,7 +319,7 @@ export default {
|
|||
} else if (production_cost_unit_index === 3) {
|
||||
production_cost_unit_score= 0;
|
||||
}
|
||||
arr[18] += production_cost_unit_score;
|
||||
arr[17] += production_cost_unit_score;
|
||||
|
||||
const surface_area_itemValue = item.出磨水泥_比表面积_rate_pass; // 比表面积的值
|
||||
const surface_area_sortedData = monthData.sort((a, b) => parseFloat(b.surface_area) - parseFloat(a.surface_area));
|
||||
|
@ -335,7 +334,7 @@ export default {
|
|||
} else if (surface_area_index === 3) {
|
||||
surface_area_score= 0;
|
||||
}
|
||||
arr[18] += surface_area_score;
|
||||
arr[17] += surface_area_score;
|
||||
|
||||
const SO3_itemValue = item.出磨水泥_SO3_rate_pass; // SO3的值
|
||||
const SO3_sortedData = monthData.sort((a, b) => parseFloat(b.SO3) - parseFloat(a.SO3));
|
||||
|
@ -350,7 +349,7 @@ export default {
|
|||
} else if (SO3_index === 3) {
|
||||
SO3_score= 0;
|
||||
}
|
||||
arr[18] += SO3_score;
|
||||
arr[17] += SO3_score;
|
||||
|
||||
const CLitemValue = item.出磨水泥_掺量_rate_pass; // SO3的值
|
||||
const CL_sortedData = monthData.sort((a, b) => parseFloat(b.chanliang) - parseFloat(a.chanliang));
|
||||
|
@ -365,7 +364,7 @@ export default {
|
|||
} else if (CL_index === 3) {
|
||||
CL_score= 0;
|
||||
}
|
||||
arr[18] += CL_score;
|
||||
arr[17] += CL_score;
|
||||
}
|
||||
wrapArr.push(arr);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue