fixd:系统图标中单位更正

This commit is contained in:
shijing 2023-08-16 10:57:55 +08:00
parent fafe94dc91
commit 2d6ad430a4
17 changed files with 148 additions and 150 deletions

View File

@ -25,7 +25,6 @@
<tr> <tr>
<th>设备名称</th> <th>设备名称</th>
<th>设备编号</th> <th>设备编号</th>
<th>总电耗</th>
<th>单位</th> <th>单位</th>
<th>上个小时</th> <th>上个小时</th>
<th>昨日</th> <th>昨日</th>
@ -35,10 +34,10 @@
<tbody> <tbody>
<tr v-for="item in tableDatas" :key="item"> <tr v-for="item in tableDatas" :key="item">
<template v-for="(item1,ind) in item" :key="item1"> <template v-for="(item1,ind) in item" :key="item1">
<td v-if="ind==0||ind==1||ind==2||ind==3" class="numCell">{{item1}}</td> <td v-if="ind==0||ind==1||ind==2" class="numCell">{{item1}}</td>
<td v-if="ind==4" class="numCell hoursItem" @click="itemClick('hours',item1)">{{item1}}</td> <td v-if="ind==3" class="numCell hoursItem" @click="itemClick('hours',item1)">{{item1}}</td>
<td v-if="ind==5" class="numCell monthItem" @click="itemClick('month',item1)">{{item1}}</td> <td v-if="ind==4" class="numCell monthItem" @click="itemClick('month',item1)">{{item1}}</td>
<td v-if="ind==6" class="numCell yearItem" @click="itemClick1('year',item1)">{{item1}}</td> <td v-if="ind==5" class="numCell yearItem" @click="itemClick1('year',item1)">{{item1}}</td>
</template> </template>
</tr> </tr>
</tbody> </tbody>
@ -187,8 +186,8 @@ const colors =['#647bfe','#8698fe','#a9b6fe','#cbd3fe','#91CC75','#EE6666'];
}, },
tableName:'主要设备100KW以上单位产品电耗数据表', tableName:'主要设备100KW以上单位产品电耗数据表',
tableDatas:[ tableDatas:[
['煤磨排风机主电机','','KW.h','','','',''], ['煤磨排风机主电机','','KW·h/t','','',''],
['煤磨主电机','','KW.h','','','',''], ['煤磨主电机','','KW·h/t','','',''],
], ],
modelValue:true, modelValue:true,
type:'hours', type:'hours',
@ -328,10 +327,9 @@ const colors =['#647bfe','#8698fe','#a9b6fe','#cbd3fe','#91CC75','#EE6666'];
that.tableDatas[i]=[]; that.tableDatas[i]=[];
that.tableDatas[i][0]=data2[i].ep_monitored_name; that.tableDatas[i][0]=data2[i].ep_monitored_name;
that.tableDatas[i][1]=data2[i].ep_monitored_number; that.tableDatas[i][1]=data2[i].ep_monitored_number;
that.tableDatas[i][2]='KW.h'; that.tableDatas[i][2]='KW·h/t';
that.tableDatas[i][3]=data2[i].val;
let val = hourProduct==0?'/':(data2[i].val/hourProduct).toFixed(2); let val = hourProduct==0?'/':(data2[i].val/hourProduct).toFixed(2);
that.tableDatas[i][6]=val; that.tableDatas[i][5]=val;
} }
}) })
} }
@ -352,7 +350,7 @@ const colors =['#647bfe','#8698fe','#a9b6fe','#cbd3fe','#91CC75','#EE6666'];
let data3 = res3; let data3 = res3;
for (let j = 0; j < data3.length; j++) { for (let j = 0; j < data3.length; j++) {
let val = hourProduct==0?'/':(data3[j].val/hourProduct).toFixed(2); let val = hourProduct==0?'/':(data3[j].val/hourProduct).toFixed(2);
that.tableDatas[j][5]=val; that.tableDatas[j][4]=val;
} }
}) })
} }
@ -374,7 +372,7 @@ const colors =['#647bfe','#8698fe','#a9b6fe','#cbd3fe','#91CC75','#EE6666'];
let data4 = res4; let data4 = res4;
for (let k = 0; k < data4.length; k++) { for (let k = 0; k < data4.length; k++) {
let val = hourProduct==0?'/':(data4[k].val/hourProduct).toFixed(2); let val = hourProduct==0?'/':(data4[k].val/hourProduct).toFixed(2);
that.tableDatas[k][4]=val; that.tableDatas[k][3]=val;
} }
}) })
} }

View File

@ -42,7 +42,7 @@
<td class="numCell hoursItem" @click="itemClick('hours',item)">{{item[2]}}</td> <td class="numCell hoursItem" @click="itemClick('hours',item)">{{item[2]}}</td>
<td class="numCell daysItem" @click="itemClick('days',item)">{{item[3]}}</td> <td class="numCell daysItem" @click="itemClick('days',item)">{{item[3]}}</td>
<td class="numCell monthItem" @click="itemClick('month',item)">{{item[4]}}</td> <td class="numCell monthItem" @click="itemClick('month',item)">{{item[4]}}</td>
<td class="numCell yearItem" @click="itemClick1('year',item)">{{item[5]}}</td> <td class="numCell yearItem" @click="itemClick('year',item)">{{item[5]}}</td>
<td class="numCell">{{item[6]}}</td> <td class="numCell">{{item[6]}}</td>
<td class="numCell">{{item[7]}}</td> <td class="numCell">{{item[7]}}</td>
<td class="numCell">{{item[8]}}</td> <td class="numCell">{{item[8]}}</td>

View File

@ -39,7 +39,7 @@
<table border="1" cellspacing="0" :key="timeStamp" id="myTable" class="myTable"> <table border="1" cellspacing="0" :key="timeStamp" id="myTable" class="myTable">
<thead class="myTableHead"> <thead class="myTableHead">
<tr> <tr>
<th colspan="19">煤磨工段班组月度对比分析</th> <th colspan="20">煤磨工段班组月度对比分析</th>
</tr> </tr>
<tr> <tr>
<th rowspan="2">月份</th> <th rowspan="2">月份</th>
@ -49,17 +49,18 @@
<th rowspan="2">运转率%</th> <th rowspan="2">运转率%</th>
<th colspan="2">质量</th> <th colspan="2">质量</th>
<th colspan="8">单位产品电耗</th> <th colspan="8">单位产品电耗</th>
<th rowspan="2">得分</th>
</tr> </tr>
<tr> <tr>
<th>细度%</th> <th>细度%</th>
<th>水分%</th> <th>水分%</th>
<th>煤磨排风机主电机单位产品电耗KW·h/t</th> <th>煤磨排风机主电机KW·h/t</th>
<th>当期单位产品电耗kW·h/h</th> <th>当期kW·h/t</th>
<th>单位产品电耗目标值kW·h/h</th> <th>目标值kW·h/t</th>
<th>当期单位产品电耗与目标值差值kW·h/h</th> <th>当期与目标值差值kW·h/t</th>
<th>环期单位产品电耗kW·h/h</th> <th>环期kW·h/t</th>
<th>当期单位产品电耗与环期差值kW·h/h</th> <th>当期与环期差值kW·h/t</th>
<th>当期单位产品电耗环比增长率%</th> <th>环比增长率%</th>
<th>同比增长率%</th> <th>同比增长率%</th>
</tr> </tr>
</thead> </thead>

View File

@ -26,7 +26,6 @@
<th>设备名称</th> <th>设备名称</th>
<th>设备编号</th> <th>设备编号</th>
<th>单位</th> <th>单位</th>
<th>总电耗</th>
<th>上个小时</th> <th>上个小时</th>
<th>昨日</th> <th>昨日</th>
<th>本月</th> <th>本月</th>
@ -35,10 +34,10 @@
<tbody> <tbody>
<tr v-for="item in tableDatas" :key="item"> <tr v-for="item in tableDatas" :key="item">
<template v-for="(item1,ind) in item" :key="item1"> <template v-for="(item1,ind) in item" :key="item1">
<td v-if="ind==0||ind==1||ind==2||ind==3" class="numCell">{{item1}}</td> <td v-if="ind==0||ind==1||ind==2" class="numCell">{{item1}}</td>
<td v-if="ind==4" class="numCell hoursItem" @click="itemClick('hours',item1)">{{item1}}</td> <td v-if="ind==3" class="numCell hoursItem" @click="itemClick('hours',item1)">{{item1}}</td>
<td v-if="ind==5" class="numCell monthItem" @click="itemClick('month',item1)">{{item1}}</td> <td v-if="ind==4" class="numCell monthItem" @click="itemClick('month',item1)">{{item1}}</td>
<td v-if="ind==6" class="numCell yearItem" @click="itemClick1('year',item1)">{{item1}}</td> <td v-if="ind==5" class="numCell yearItem" @click="itemClick1('year',item1)">{{item1}}</td>
</template> </template>
</tr> </tr>
</tbody> </tbody>
@ -187,6 +186,8 @@
}, },
tableName:'主要设备100KW以上单位产品电耗数据表', tableName:'主要设备100KW以上单位产品电耗数据表',
tableDatas:[ tableDatas:[
['高温风机','','KW·h/t','','',''],
['窑主电机','','KW·h/t','','',''],
// {name:'',number:'NM001',unit:'KW·h/t',hours:'1',days:'24',month:'720'}, // {name:'',number:'NM001',unit:'KW·h/t',hours:'1',days:'24',month:'720'},
// {name:'',number:'NM002',unit:'KW·h/t',hours:'1',days:'24',month:'720'}, // {name:'',number:'NM002',unit:'KW·h/t',hours:'1',days:'24',month:'720'},
// {name:'',number:'NM003',unit:'KW·h/t',hours:'1',days:'24',month:'720'}, // {name:'',number:'NM003',unit:'KW·h/t',hours:'1',days:'24',month:'720'},
@ -431,10 +432,9 @@
that.tableDatas[i]=[]; that.tableDatas[i]=[];
that.tableDatas[i][0]=data2[i].ep_monitored_name; that.tableDatas[i][0]=data2[i].ep_monitored_name;
that.tableDatas[i][1]=data2[i].ep_monitored_number; that.tableDatas[i][1]=data2[i].ep_monitored_number;
that.tableDatas[i][2]='KW.h'; that.tableDatas[i][2]='KW·h/t';
that.tableDatas[i][3]=data2[i].val;
let val = allValMonth==0?'/':(data2[i].val/allValMonth).toFixed(2); let val = allValMonth==0?'/':(data2[i].val/allValMonth).toFixed(2);
that.tableDatas[i][6]=val; that.tableDatas[i][5]=val;
} }
}) })
} }
@ -455,7 +455,7 @@
let data3 = res3; let data3 = res3;
for (let j = 0; j < data3.length; j++) { for (let j = 0; j < data3.length; j++) {
let val = allValDays==0?'/':(data3[j].val/allValDays).toFixed(2); let val = allValDays==0?'/':(data3[j].val/allValDays).toFixed(2);
that.tableDatas[j][5]=val; that.tableDatas[j][4]=val;
} }
}) })
} }
@ -477,7 +477,7 @@
let data4 = res4; let data4 = res4;
for (let k = 0; k < data4.length; k++) { for (let k = 0; k < data4.length; k++) {
let val = hourProduct==0?'/':(data4[k].val/hourProduct).toFixed(2); let val = hourProduct==0?'/':(data4[k].val/hourProduct).toFixed(2);
that.tableDatas[k][4]=val; that.tableDatas[k][3]=val;
} }
}) })

View File

@ -43,7 +43,7 @@
<td class="numCell hoursItem" @click="itemClick('hours',item)" >{{item[2]}}</td> <td class="numCell hoursItem" @click="itemClick('hours',item)" >{{item[2]}}</td>
<td class="numCell daysItem" @click="itemClick('days',item)">{{item[3]}}</td> <td class="numCell daysItem" @click="itemClick('days',item)">{{item[3]}}</td>
<td class="numCell monthItem" @click="itemClick('month',item)">{{item[4]}}</td> <td class="numCell monthItem" @click="itemClick('month',item)">{{item[4]}}</td>
<td class="numCell yearItem" @click="itemClick1('year',item)">{{item[5]}}</td> <td class="numCell yearItem" @click="itemClick('year',item)">{{item[5]}}</td>
<td class="numCell">{{item[6]}}</td> <td class="numCell">{{item[6]}}</td>
<td class="numCell">{{item[7]}}</td> <td class="numCell">{{item[7]}}</td>
<td class="numCell">{{item[8]}}</td> <td class="numCell">{{item[8]}}</td>

View File

@ -47,8 +47,9 @@
<th colspan="2">产量</th> <th colspan="2">产量</th>
<th>运转率</th> <th>运转率</th>
<th>成本</th> <th>成本</th>
<th colspan="8">质量</th> <th colspan="6">质量</th>
<th colspan="17">产品单位能耗</th> <th colspan="12">单位产品标煤耗</th>
<th colspan="7">产品单位电耗</th>
<th rowspan="2">得分</th> <th rowspan="2">得分</th>
</tr> </tr>
<tr> <tr>
@ -62,24 +63,25 @@
<th>水分%</th> <th>水分%</th>
<th>立升重%</th> <th>立升重%</th>
<th>f-CaO%</th> <th>f-CaO%</th>
<th>高温风机单位产品标煤耗kgce/t</th> <th>高温风机kgce/t</th>
<th>篦冷机一室风机电机单位产品标煤耗kgce/t</th> <th>篦冷机一室风机电机kgce/t</th>
<th>篦冷机三室风机电机单位产品标煤耗kgce/t</th> <th>篦冷机三室风机电机kgce/t</th>
<th>篦冷机二室风机电机单位产品标煤耗kgce/t</th> <th>篦冷机二室风机电机kgce/t</th>
<th>窑头排风机主电机单位产品标煤耗kgce/t</th> <th>窑头排风机主电机kgce/t</th>
<th>当期单位产品标煤耗kgce/t</th> <th>当期值kgce/t</th>
<th>单位产品标煤耗目标值kgce/t</th> <th>目标值kgce/t</th>
<th>当期单位产品标煤耗与目标差值kgce/t</th> <th>当期与目标差值kgce/t</th>
<th>环期单位产品标煤耗kgce/t</th> <th>环期值kgce/t</th>
<th>当期单位产品标煤耗与环期差值kgce/t</th> <th>当期与环期差值kgce/t</th>
<th>单位产品标煤耗环比增长率%</th> <th>环比增长率%</th>
<th>单位产品标煤耗同比增长率%</th> <th>同比增长率%</th>
<th>当期单位产品电耗kW·h/h</th>
<th>单位产品电耗目标值kW·h/h</th> <th>当期值kW·h/t</th>
<th>当期单位产品电耗与目标值差值kW·h/h</th> <th>目标值kW·h/t</th>
<th>环期单位产品电耗kW·h/h</th> <th>当期与目标差值kW·h/t</th>
<th>当期单位产品电耗与环期差值kW·h/h</th> <th>环期值kW·h/t</th>
<th>当期单位产品电耗环比增长率%</th> <th>当期与环期差值kW·h/t</th>
<th>环比增长率%</th>
<th>同比增长率%</th> <th>同比增长率%</th>
</tr> </tr>
</thead> </thead>

View File

@ -26,7 +26,6 @@
<th>设备名称</th> <th>设备名称</th>
<th>设备编号</th> <th>设备编号</th>
<th>单位</th> <th>单位</th>
<th>总电耗</th>
<th>上个小时</th> <th>上个小时</th>
<th>昨日</th> <th>昨日</th>
<th>本月</th> <th>本月</th>
@ -35,10 +34,10 @@
<tbody> <tbody>
<tr v-for="item in tableDatas" :key="item"> <tr v-for="item in tableDatas" :key="item">
<template v-for="(item1,ind) in item" :key="item1"> <template v-for="(item1,ind) in item" :key="item1">
<td v-if="ind==0||ind==1||ind==2||ind==3" class="numCell">{{item1}}</td> <td v-if="ind==0||ind==1||ind==2" class="numCell">{{item1}}</td>
<td v-if="ind==4" class="numCell hoursItem" @click="itemClick('hours',item1)">{{item1}}</td> <td v-if="ind==3" class="numCell hoursItem" @click="itemClick('hours',item1)">{{item1}}</td>
<td v-if="ind==5" class="numCell monthItem" @click="itemClick('month',item1)">{{item1}}</td> <td v-if="ind==4" class="numCell monthItem" @click="itemClick('month',item1)">{{item1}}</td>
<td v-if="ind==6" class="numCell yearItem" @click="itemClick1('year',item1)">{{item1}}</td> <td v-if="ind==5" class="numCell yearItem" @click="itemClick1('year',item1)">{{item1}}</td>
</template> </template>
</tr> </tr>
</tbody> </tbody>
@ -187,6 +186,8 @@ const colors =['#647bfe','#8698fe','#a9b6fe','#cbd3fe','#91CC75','#EE6666'];
}, },
tableName:'主要设备100KW以上单位产品电耗数据表', tableName:'主要设备100KW以上单位产品电耗数据表',
tableDatas:[ tableDatas:[
['循环风机1906','','KW·h/t','','',''],
['系统风机','','KW·h/t','','',''],
// {name:'1906',number:'NM001',unit:'KW·h/t',hours:'',days:'',month:''}, // {name:'1906',number:'NM001',unit:'KW·h/t',hours:'',days:'',month:''},
// {name:'',number:'NM002',unit:'KW·h/t',hours:'',days:'',month:''}, // {name:'',number:'NM002',unit:'KW·h/t',hours:'',days:'',month:''},
// {name:'1915',number:'NM002',unit:'KW·h/t',hours:'',days:'',month:''}, // {name:'1915',number:'NM002',unit:'KW·h/t',hours:'',days:'',month:''},
@ -411,10 +412,9 @@ const colors =['#647bfe','#8698fe','#a9b6fe','#cbd3fe','#91CC75','#EE6666'];
that.tableDatas[i]=[]; that.tableDatas[i]=[];
that.tableDatas[i][0]=data2[i].ep_monitored_name; that.tableDatas[i][0]=data2[i].ep_monitored_name;
that.tableDatas[i][1]=data2[i].ep_monitored_number; that.tableDatas[i][1]=data2[i].ep_monitored_number;
that.tableDatas[i][2]='KW.h'; that.tableDatas[i][2]='KW·h/t';
that.tableDatas[i][3]=data2[i].val;
let val = allValMonth==0?'/':(data2[i].val/allValMonth).toFixed(2); let val = allValMonth==0?'/':(data2[i].val/allValMonth).toFixed(2);
that.tableDatas[i][6]=val; that.tableDatas[i][5]=val;
} }
debugger; debugger;
console.log(that.tableDatas) console.log(that.tableDatas)
@ -437,7 +437,7 @@ const colors =['#647bfe','#8698fe','#a9b6fe','#cbd3fe','#91CC75','#EE6666'];
let data3 = res3; let data3 = res3;
for (let j = 0; j < data3.length; j++) { for (let j = 0; j < data3.length; j++) {
let val = allValDays==0?'/':(data3[j].val/allValDays).toFixed(2); let val = allValDays==0?'/':(data3[j].val/allValDays).toFixed(2);
that.tableDatas[j][5]=val; that.tableDatas[j][4]=val;
} }
}) })
} }
@ -459,7 +459,7 @@ const colors =['#647bfe','#8698fe','#a9b6fe','#cbd3fe','#91CC75','#EE6666'];
let data4 = res4; let data4 = res4;
for (let k = 0; k < data4.length; k++) { for (let k = 0; k < data4.length; k++) {
let val = hourProduct==0?'/':(data4[k].val/hourProduct).toFixed(2); let val = hourProduct==0?'/':(data4[k].val/hourProduct).toFixed(2);
that.tableDatas[k][4]=val; that.tableDatas[k][3]=val;
} }
}) })
} }

View File

@ -42,7 +42,7 @@
<td class="numCell hoursItem" @click="itemClick('hours',item)">{{item[2]}}</td> <td class="numCell hoursItem" @click="itemClick('hours',item)">{{item[2]}}</td>
<td class="numCell daysItem" @click="itemClick('days',item)">{{item[3]}}</td> <td class="numCell daysItem" @click="itemClick('days',item)">{{item[3]}}</td>
<td class="numCell monthItem" @click="itemClick('month',item)">{{item[4]}}</td> <td class="numCell monthItem" @click="itemClick('month',item)">{{item[4]}}</td>
<td class="numCell yearItem" @click="itemClick1('year',item)">{{item[5]}}</td> <td class="numCell yearItem" @click="itemClick('year',item)">{{item[5]}}</td>
<td class="numCell">{{item[6]}}</td> <td class="numCell">{{item[6]}}</td>
<td class="numCell">{{item[7]}}</td> <td class="numCell">{{item[7]}}</td>
<td class="numCell">{{item[8]}}</td> <td class="numCell">{{item[8]}}</td>
@ -265,7 +265,7 @@ const colors =['#647bfe','#8698fe','#a9b6fe','#cbd3fe','#91CC75','#EE6666'];
['运转时间','运转时间h','/',0,0,0,0,0,0,0], ['运转时间','运转时间h','/',0,0,0,0,0,0,0],
['运转时间','运转率(%','/',0,0,0,0,0,0,0], ['运转时间','运转率(%','/',0,0,0,0,0,0,0],
['能耗','单位产品分布电耗KW·h/t',0,0,0,0,0,0,0,0], ['能耗','单位产品分布电耗KW·h/t',0,0,0,0,0,0,0,0],
['能耗','单位产品综合能耗(kce/t',0,0,0,0,0,0,0,0], ['能耗','单位产品综合能耗(KW·h/t',0,0,0,0,0,0,0,0],
['成本','单位产品成本(元/吨)',0,0,0,0,0,0,0,0], ['成本','单位产品成本(元/吨)',0,0,0,0,0,0,0,0],
], ],
tableName:'生产报告', tableName:'生产报告',

View File

@ -39,7 +39,7 @@
<table border="1" cellspacing="0" :key="timeStamp" id="myTable" class="myTable"> <table border="1" cellspacing="0" :key="timeStamp" id="myTable" class="myTable">
<thead class="myTableHead"> <thead class="myTableHead">
<tr> <tr>
<th colspan="19">水泥磨工段班组月度对比分析</th> <th colspan="20">水泥磨工段班组月度对比分析</th>
</tr> </tr>
<tr> <tr>
<th rowspan="2">月份</th> <th rowspan="2">月份</th>
@ -49,6 +49,7 @@
<th>成本</th> <th>成本</th>
<th colspan="3">质量</th> <th colspan="3">质量</th>
<th colspan="10">单位产品电耗</th> <th colspan="10">单位产品电耗</th>
<th rowspan="2">得分</th>
</tr> </tr>
<tr> <tr>
<th>总产量t</th> <th>总产量t</th>
@ -58,13 +59,13 @@
<th>比表面积%</th> <th>比表面积%</th>
<th>SO3%</th> <th>SO3%</th>
<th>掺量%</th> <th>掺量%</th>
<th>循环风机1906单位产品电耗KW·h/t</th> <th>循环风机1906KW·h/t</th>
<th>系统风机单位产品电耗KW·h/t</th> <th>系统风机KW·h/t</th>
<th>水平涡流选粉机1915电耗单位产品电耗KW·h/t</th> <th>水平涡流选粉机1915KW·h/t</th>
<th>目标值kW·h/h</th> <th>目标值kW·h/t</th>
<th>当期与目标值差值kW·h/h</th> <th>当期与目标值差值kW·h/t</th>
<th>环期值kW·h/h</th> <th>环期值kW·h/t</th>
<th>当期与环期差值kW·h/h</th> <th>当期与环期差值kW·h/t</th>
<th>环比增长率%</th> <th>环比增长率%</th>
<th>同比增长率%</th> <th>同比增长率%</th>
</tr> </tr>

View File

@ -41,7 +41,7 @@
<td class="numCell hoursItem" @click="itemClick('hours',item)">{{item[2]}}</td> <td class="numCell hoursItem" @click="itemClick('hours',item)">{{item[2]}}</td>
<td class="numCell daysItem" @click="itemClick('days',item)">{{item[3]}}</td> <td class="numCell daysItem" @click="itemClick('days',item)">{{item[3]}}</td>
<td class="numCell monthItem" @click="itemClick('month',item)">{{item[4]}}</td> <td class="numCell monthItem" @click="itemClick('month',item)">{{item[4]}}</td>
<td class="numCell yearItem" @click="itemClick1('year',item)">{{item[5]}}</td> <td class="numCell yearItem" @click="itemClick('year',item)">{{item[5]}}</td>
<td class="numCell">{{item[6]}}</td> <td class="numCell">{{item[6]}}</td>
<td class="numCell">{{item[7]}}</td> <td class="numCell">{{item[7]}}</td>
<td class="numCell">{{item[8]}}</td> <td class="numCell">{{item[8]}}</td>

View File

@ -42,17 +42,20 @@
<th colspan="11">电水泥包装工段班组月度对比分析</th> <th colspan="11">电水泥包装工段班组月度对比分析</th>
</tr> </tr>
<tr> <tr>
<th>月份</th> <th rowspan="2">月份</th>
<th>班组</th> <th rowspan="2">班组</th>
<th>总产量t</th> <th rowspan="2">总产量t</th>
<th>当期单位产品电耗kW·h/h</th> <th colspan="7">当期单位产品电耗</th>
<th>单位产品电耗目标值kW·h/h</th> <th rowspan="2">得分</th>
<th>当期单位产品电耗与目标值差值kW·h/h</th> </tr>
<th>环期单位产品电耗kW·h/h</th> <tr>
<th>当期单位产品电耗与环期差值kW·h/h</th> <th>当期值kW·h/t</th>
<th>当期单位产品电耗环比增长率%</th> <th>目标值kW·h/t</th>
<th>当期与目标值差值kW·h/t</th>
<th>环期值kW·h/t</th>
<th>当期与环期差值kW·h/t</th>
<th>环比增长率%</th>
<th>同比增长率%</th> <th>同比增长率%</th>
<th>得分</th>
</tr> </tr>
</thead> </thead>
<tr v-for="(item,index) in tableDatas" :key="index"> <tr v-for="(item,index) in tableDatas" :key="index">

View File

@ -26,7 +26,6 @@
<th>设备名称</th> <th>设备名称</th>
<th>设备编号</th> <th>设备编号</th>
<th>单位</th> <th>单位</th>
<th>总电耗</th>
<th>上个小时</th> <th>上个小时</th>
<th>昨日</th> <th>昨日</th>
<th>本月</th> <th>本月</th>
@ -35,10 +34,10 @@
<tbody> <tbody>
<tr v-for="item in tableDatas" :key="item"> <tr v-for="item in tableDatas" :key="item">
<template v-for="(item1,ind) in item" :key="item1"> <template v-for="(item1,ind) in item" :key="item1">
<td v-if="ind==0||ind==1||ind==2||ind==3" class="numCell">{{item1}}</td> <td v-if="ind==0||ind==1||ind==2" class="numCell">{{item1}}</td>
<td v-if="ind==4" class="numCell hoursItem" @click="itemClick('hours',item1)">{{item1}}</td> <td v-if="ind==3" class="numCell hoursItem" @click="itemClick('hours',item1)">{{item1}}</td>
<td v-if="ind==5" class="numCell monthItem" @click="itemClick('month',item1)">{{item1}}</td> <td v-if="ind==4" class="numCell monthItem" @click="itemClick('month',item1)">{{item1}}</td>
<td v-if="ind==6" class="numCell yearItem" @click="itemClick1('year',item1)">{{item1}}</td> <td v-if="ind==5" class="numCell yearItem" @click="itemClick1('year',item1)">{{item1}}</td>
</template> </template>
</tr> </tr>
</tbody> </tbody>
@ -135,7 +134,7 @@
let grid={ let grid={
right: '10%', right: '10%',
left:'10%', left:'10%',
top:'15%' top:'20%'
}; };
let toolbox={ let toolbox={
right:'5%', right:'5%',
@ -145,7 +144,7 @@
} }
}; };
let legend= { let legend= {
top:'5%', top:'8%',
data:['立磨主电机', '循环风机', '烘干破主', '废气风机', '尾排风机'] data:['立磨主电机', '循环风机', '烘干破主', '废气风机', '尾排风机']
}; };
let yAxis= { let yAxis= {
@ -185,11 +184,11 @@
}, },
tableName:'主要设备100KW以上单位产品电耗数据表', tableName:'主要设备100KW以上单位产品电耗数据表',
tableDatas:[ tableDatas:[
['立磨主电机','','KW.h','','','',''], ['立磨主电机','','KW·h/t','','',''],
['循环风机','','KW.h','','','',''], ['循环风机','','KW·h/t','','',''],
['烘干破主','','KW.h','','','',''], // ['','','KW·h/t','','',''],
['废气风机','','KW.h','','','',''], // ['','','KW·h/t','','',''],
['尾排风机','','KW.h','','','',''], // ['','','KW·h/t','','',''],
], ],
modelValue:true, modelValue:true,
@ -203,6 +202,10 @@
allValDays:0, allValDays:0,
allValMonth:0, allValMonth:0,
option1:{ option1:{
title: {
text: '小时生产参数统计图',
x: 'center'
},
color: colors, color: colors,
tooltip:tooltip, tooltip:tooltip,
grid: grid, grid: grid,
@ -246,6 +249,10 @@
] ]
}, },
option2:{ option2:{
title: {
text: '本月生产参数统计图',
x: 'center'
},
color: colors, color: colors,
tooltip:tooltip, tooltip:tooltip,
grid: grid, grid: grid,
@ -289,6 +296,10 @@
] ]
}, },
option3:{ option3:{
title: {
text: '本年生产参数统计图',
x: 'center'
},
color: colors, color: colors,
tooltip:tooltip, tooltip:tooltip,
grid: grid, grid: grid,
@ -375,10 +386,9 @@
that.tableDatas[i]=[]; that.tableDatas[i]=[];
that.tableDatas[i][0]=data2[i].ep_monitored_name; that.tableDatas[i][0]=data2[i].ep_monitored_name;
that.tableDatas[i][1]=data2[i].ep_monitored_number; that.tableDatas[i][1]=data2[i].ep_monitored_number;
that.tableDatas[i][2]='KW.h'; that.tableDatas[i][2]='KW·h/t';
that.tableDatas[i][3]=data2[i].val;
let val = hourProduct==0?'/':(data2[i].val/hourProduct).toFixed(2); let val = hourProduct==0?'/':(data2[i].val/hourProduct).toFixed(2);
that.tableDatas[i][6]=val; that.tableDatas[i][5]=val;
} }
}) })
} }
@ -399,7 +409,7 @@
let data3 = res3; let data3 = res3;
for (let j = 0; j < data3.length; j++) { for (let j = 0; j < data3.length; j++) {
let val = hourProduct==0?'/':(data3[j].val/hourProduct).toFixed(2); let val = hourProduct==0?'/':(data3[j].val/hourProduct).toFixed(2);
that.tableDatas[j][5]=val; that.tableDatas[j][4]=val;
} }
}) })
} }
@ -421,7 +431,7 @@
let data4 = res4; let data4 = res4;
for (let k = 0; k < data4.length; k++) { for (let k = 0; k < data4.length; k++) {
let val = hourProduct==0?'/':(data4[k].val/hourProduct).toFixed(2); let val = hourProduct==0?'/':(data4[k].val/hourProduct).toFixed(2);
that.tableDatas[k][4]=val; that.tableDatas[k][3]=val;
} }
}) })
} }
@ -495,7 +505,6 @@
let seriesData0 = [],seriesData1 = [], seriesData2 = [],seriesData3 = [],seriesData4 = []; let seriesData0 = [],seriesData1 = [], seriesData2 = [],seriesData3 = [],seriesData4 = [];
let data = response; let data = response;
data.forEach(item => { data.forEach(item => {
// debugger;
let ind = item.day_s; let ind = item.day_s;
let val=0; let val=0;
if(that.allValDays==0){ if(that.allValDays==0){

View File

@ -42,7 +42,7 @@
<td class="numCell hoursItem" @click="itemClick('hours',item)">{{item[2]}}</td> <td class="numCell hoursItem" @click="itemClick('hours',item)">{{item[2]}}</td>
<td class="numCell daysItem" @click="itemClick('days',item)">{{item[3]}}</td> <td class="numCell daysItem" @click="itemClick('days',item)">{{item[3]}}</td>
<td class="numCell monthItem" @click="itemClick('month',item)">{{item[4]}}</td> <td class="numCell monthItem" @click="itemClick('month',item)">{{item[4]}}</td>
<td class="numCell yearItem" @click="itemClick1('year',item)">{{item[5]}}</td> <td class="numCell yearItem" @click="itemClick('year',item)">{{item[5]}}</td>
<td class="numCell">{{item[6]}}</td> <td class="numCell">{{item[6]}}</td>
<td class="numCell">{{item[7]}}</td> <td class="numCell">{{item[7]}}</td>
<td class="numCell">{{item[8]}}</td> <td class="numCell">{{item[8]}}</td>

View File

@ -44,15 +44,15 @@
<th>Fe₂O₃%</th> <th>Fe₂O₃%</th>
<th>水分%</th> <th>水分%</th>
<th>CaO%</th> <th>CaO%</th>
<th>循环风机单位产品电耗KW·h/t</th> <th>循环风机KW·h/t</th>
<th>尾排风机单位产品电耗KW·h/t</th> <th>尾排风机KW·h/t</th>
<th>废气风机单位产品电耗KW·h/t</th> <th>废气风机KW·h/t</th>
<th>当期值kW·h/h</th> <th>当期值KW·h/t</th>
<th>目标值kW·h/h</th> <th>目标值KW·h/t</th>
<th>当期与目标差值kW·h/h</th> <th>当期与目标差值KW·h/t</th>
<th>环期值kW·h/h</th> <th>环期值KW·h/t</th>
<th>当期与环期差值kW·h/h</th> <th>当期与环期差值KW·h/t</th>
<th>环比增长率%</th> <th>环比增长率%</th>
<th>同比增长率%</th> <th>同比增长率%</th>
</tr> </tr>

View File

@ -26,7 +26,6 @@
<th>设备名称</th> <th>设备名称</th>
<th>设备编号</th> <th>设备编号</th>
<th>单位</th> <th>单位</th>
<th>总电耗</th>
<th>上个小时</th> <th>上个小时</th>
<th>昨日</th> <th>昨日</th>
<th>本月</th> <th>本月</th>
@ -35,10 +34,10 @@
<tbody> <tbody>
<tr v-for="item in tableDatas" :key="item"> <tr v-for="item in tableDatas" :key="item">
<template v-for="(item1,ind) in item" :key="item1"> <template v-for="(item1,ind) in item" :key="item1">
<td v-if="ind==0||ind==1||ind==2||ind==3" class="numCell">{{item1}}</td> <td v-if="ind==0||ind==1||ind==2" class="numCell">{{item1}}</td>
<td v-if="ind==4" class="numCell hoursItem" @click="itemClick('hours',item1)">{{item1}}</td> <td v-if="ind==3" class="numCell hoursItem" @click="itemClick('hours',item1)">{{item1}}</td>
<td v-if="ind==5" class="numCell monthItem" @click="itemClick('month',item1)">{{item1}}</td> <td v-if="ind==4" class="numCell monthItem" @click="itemClick('month',item1)">{{item1}}</td>
<td v-if="ind==6" class="numCell yearItem" @click="itemClick1('year',item1)">{{item1}}</td> <td v-if="ind==5" class="numCell yearItem" @click="itemClick1('year',item1)">{{item1}}</td>
</template> </template>
</tr> </tr>
</tbody> </tbody>
@ -181,7 +180,7 @@
}, },
tableName:'主要设备100KW以上单位产品电耗数据表', tableName:'主要设备100KW以上单位产品电耗数据表',
tableDatas:[ tableDatas:[
// {name:'',number:'NM001',unit:'KW·h/t',hours:'120',days:'2000',month:'60000'}, ['烘干破主电机','','kw.h/t','','',''],
], ],
modelValue:true, modelValue:true,
type:'hours', type:'hours',
@ -278,10 +277,9 @@
that.tableDatas[i]=[]; that.tableDatas[i]=[];
that.tableDatas[i][0]=data2[i].ep_monitored_name; that.tableDatas[i][0]=data2[i].ep_monitored_name;
that.tableDatas[i][1]=data2[i].ep_monitored_number; that.tableDatas[i][1]=data2[i].ep_monitored_number;
that.tableDatas[i][2]='KW.h'; that.tableDatas[i][2]='KW·h/t';
that.tableDatas[i][3]=data2[i].val;
let val = allValMonth==0?'/':(data2[i].val/allValMonth).toFixed(2); let val = allValMonth==0?'/':(data2[i].val/allValMonth).toFixed(2);
that.tableDatas[i][6]=val; that.tableDatas[i][5]=val;
} }
}) })
} }
@ -302,7 +300,7 @@
let data3 = res3; let data3 = res3;
for (let j = 0; j < data3.length; j++) { for (let j = 0; j < data3.length; j++) {
let val = allValDays==0?'/':(data3[j].val/allValDays).toFixed(2); let val = allValDays==0?'/':(data3[j].val/allValDays).toFixed(2);
that.tableDatas[j][5]=val; that.tableDatas[j][4]=val;
} }
}) })
} }
@ -325,7 +323,7 @@
let data4 = res4; let data4 = res4;
for (let k = 0; k < data4.length; k++) { for (let k = 0; k < data4.length; k++) {
let val = hourProduct==0?'/':(data4[k].val/hourProduct).toFixed(2); let val = hourProduct==0?'/':(data4[k].val/hourProduct).toFixed(2);
that.tableDatas[k][4]=val; that.tableDatas[k][3]=val;
} }
}) })

View File

@ -41,7 +41,7 @@
<td class="numCell hoursItem" @click="itemClick('hours',item)" >{{item[2]}}</td> <td class="numCell hoursItem" @click="itemClick('hours',item)" >{{item[2]}}</td>
<td class="numCell daysItem" @click="itemClick('days',item)">{{item[3]}}</td> <td class="numCell daysItem" @click="itemClick('days',item)">{{item[3]}}</td>
<td class="numCell monthItem" @click="itemClick('month',item)">{{item[4]}}</td> <td class="numCell monthItem" @click="itemClick('month',item)">{{item[4]}}</td>
<td class="numCell yearItem" @click="itemClick1('year',item)">{{item[5]}}</td> <td class="numCell yearItem" @click="itemClick('year',item)">{{item[5]}}</td>
<td class="numCell">{{item[6]}}</td> <td class="numCell">{{item[6]}}</td>
<td class="numCell">{{item[7]}}</td> <td class="numCell">{{item[7]}}</td>
<td class="numCell">{{item[8]}}</td> <td class="numCell">{{item[8]}}</td>

View File

@ -42,36 +42,22 @@
<th colspan="12">电石渣工段班组月度对比分析</th> <th colspan="12">电石渣工段班组月度对比分析</th>
</tr> </tr>
<tr> <tr>
<th>月份</th> <th rowspan="2">月份</th>
<th>班组</th> <th rowspan="2">班组</th>
<th>总产量t</th> <th rowspan="2">总产量t</th>
<th>单位产品成本</th> <th rowspan="2">单位产品成本/</th>
<th>当期单位产品电耗kW·h/h</th> <th colspan="7">产品单位电耗</th>
<th>单位产品电耗目标值kW·h/h</th> <th rowspan="2">得分</th>
<th>当期单位产品电耗与目标值差值kW·h/h</th>
<th>环期单位产品电耗kW·h/h</th>
<th>当期单位产品电耗与环期差值kW·h/h</th>
<th>当期单位产品电耗环比增长率%</th>
<th>同比增长率%</th>
<th>得分</th>
</tr> </tr>
<!-- <tr> <tr>
<th>总产量t</th> <th>当期值kKW·h/t</th>
<th>台时产量t/h</th> <th>目标值kKW·h/t</th>
<th>运转率%</th> <th>当期与目标值差值KW·h/t</th>
<th>单位产品成本/</th> <th>环期值KW·h/t</th>
<th>细度%</th> <th>当期与环期值差值KW·h/t</th>
<th>Fe₂O₃%</th> <th>环比增长率%</th>
<th>水分%</th>
<th>CaO%</th>
<th>当期单位产品电耗kW·h/h</th>
<th>单位产品电耗目标值kW·h/h</th>
<th>当期单位产品电耗与目标值差值kW·h/h</th>
<th>环期单位产品电耗kW·h/h</th>
<th>当期单位产品电耗与环期差值kW·h/h</th>
<th>当期单位产品电耗环比增长率%</th>
<th>同比增长率%</th> <th>同比增长率%</th>
</tr> --> </tr>
</thead> </thead>
<tr v-for="(item,index) in tableDatas" :key="index"> <tr v-for="(item,index) in tableDatas" :key="index">
<td v-for="(item0,index0) in item" :key="index0" class="numCell">{{item0}}</td> <td v-for="(item0,index0) in item" :key="index0" class="numCell">{{item0}}</td>