fix:电石渣生产报告页面修改
This commit is contained in:
parent
dc42c40973
commit
c68eeee2f8
|
|
@ -55,19 +55,18 @@
|
||||||
<td class="numCell">{{ item[1] }}</td>
|
<td class="numCell">{{ item[1] }}</td>
|
||||||
<td
|
<td
|
||||||
class="numCell hoursItem"
|
class="numCell hoursItem"
|
||||||
@click="itemClick('day_s', item)"
|
|
||||||
>
|
>
|
||||||
{{ item[2] }}
|
{{ item[2] }}
|
||||||
</td>
|
</td>
|
||||||
<td
|
<td
|
||||||
class="numCell daysItem"
|
class="numCell daysItem"
|
||||||
@click="itemClick('month_s', item)"
|
@click="itemClick('day_s', item)"
|
||||||
>
|
>
|
||||||
{{ item[3] }}
|
{{ item[3] }}
|
||||||
</td>
|
</td>
|
||||||
<td
|
<td
|
||||||
class="numCell monthItem"
|
class="numCell monthItem"
|
||||||
@click="itemClick('year_s', item)"
|
@click="itemClick('month_s', item)"
|
||||||
>
|
>
|
||||||
{{ item[4] }}
|
{{ item[4] }}
|
||||||
</td>
|
</td>
|
||||||
|
|
@ -85,9 +84,9 @@
|
||||||
@change="typeRadioChange"
|
@change="typeRadioChange"
|
||||||
>
|
>
|
||||||
<el-radio-button label="month"
|
<el-radio-button label="month"
|
||||||
>本月</el-radio-button
|
>日</el-radio-button
|
||||||
>
|
>
|
||||||
<el-radio-button label="year">本年</el-radio-button>
|
<el-radio-button label="year">月</el-radio-button>
|
||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
<div style="position: absolute; right: 20px">
|
<div style="position: absolute; right: 20px">
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
|
|
@ -299,7 +298,7 @@ let yAxis = [
|
||||||
{
|
{
|
||||||
type: "value",
|
type: "value",
|
||||||
nameRotate: 45,
|
nameRotate: 45,
|
||||||
name: "分布电耗(KW.h)",
|
name: "分布电耗(KW.h/t)",
|
||||||
position: "left",
|
position: "left",
|
||||||
alignTicks: true,
|
alignTicks: true,
|
||||||
offset: 100,
|
offset: 100,
|
||||||
|
|
@ -858,17 +857,12 @@ export default {
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
itemClick(type, item) {
|
itemClick(type, item) {
|
||||||
|
console.log(item);
|
||||||
this.type = type;
|
this.type = type;
|
||||||
this.cate = item[1];
|
this.cate = item[1];
|
||||||
|
console.log(this.type);
|
||||||
this.asynDialog = true;
|
this.asynDialog = true;
|
||||||
},
|
},
|
||||||
itemClick1(type, item) {
|
|
||||||
this.chartShow = false;
|
|
||||||
this.$API.bi.dataset.exec.req("3322567213885833216").then((res) => {
|
|
||||||
this.myOption = JSON.parse(res.echart_options);
|
|
||||||
this.chartShow = true;
|
|
||||||
});
|
|
||||||
},
|
|
||||||
handlePrint() {
|
handlePrint() {
|
||||||
this.$PRINT("#myReport");
|
this.$PRINT("#myReport");
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue