修改图表id
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="n_container">
|
||||
<div class="n_header">
|
||||
<h1>晟华大</h1>
|
||||
<h1>晟华生产数</h1>
|
||||
</div>
|
||||
<div class="n_body_container">
|
||||
<div class="n_body_container_wraper">
|
||||
@@ -15,7 +15,7 @@
|
||||
<div class="item_title">混料</div>
|
||||
<div class="right_1_up_left">
|
||||
<div class="echart_d3_wrap">
|
||||
<div id="echart_d01" style="width: 100%; height: 100%"></div>
|
||||
<div id="echart_01" style="width: 100%; height: 100%"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="right_1_up_right">
|
||||
@@ -40,7 +40,7 @@
|
||||
<div class="item_title">成型</div>
|
||||
<div class="right_1_up_left">
|
||||
<div class="echart_d3_wrap">
|
||||
<div id="echart_d02" style="width: 100%; height: 100%"></div>
|
||||
<div id="echart_02" style="width: 100%; height: 100%"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="right_1_up_right">
|
||||
@@ -63,7 +63,7 @@
|
||||
<div class="item_tip_left">当日混料生产</div>
|
||||
</div>
|
||||
<div class="item_content item_content_3">
|
||||
<div id="echart_d03" style="width: 100%; height: 100%"></div>
|
||||
<div id="echart_03" style="width: 100%; height: 100%"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item_wrap">
|
||||
@@ -81,7 +81,7 @@
|
||||
<div class="item_tip_left">本周混料生产</div>
|
||||
</div>
|
||||
<div class="item_content item_content_3">
|
||||
<div id="echart_d05" style="width: 100%; height: 100%"></div>
|
||||
<div id="echart_05" style="width: 100%; height: 100%"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item_wrap">
|
||||
@@ -201,7 +201,7 @@ export default {
|
||||
}
|
||||
]
|
||||
}
|
||||
let echart = document.getElementById('echart_d01')
|
||||
let echart = document.getElementById('echart_01')
|
||||
// if (this.myCharts01 !== '') {
|
||||
// this.myCharts01.dispose()
|
||||
// }
|
||||
@@ -288,7 +288,7 @@ export default {
|
||||
}
|
||||
]
|
||||
}
|
||||
let echart = document.getElementById('echart_d02')
|
||||
let echart = document.getElementById('echart_02')
|
||||
// if (this.myCharts02 !== '') {
|
||||
// this.myCharts02.dispose()
|
||||
// }
|
||||
@@ -398,7 +398,7 @@ export default {
|
||||
}
|
||||
]
|
||||
}
|
||||
let echart = document.getElementById('echart_d03')
|
||||
let echart = document.getElementById('echart_03')
|
||||
if (this.myCharts03 !== '') {
|
||||
this.myCharts03.dispose()
|
||||
}
|
||||
@@ -645,7 +645,7 @@ export default {
|
||||
}
|
||||
]
|
||||
}
|
||||
let echart = document.getElementById('echart_d05')
|
||||
let echart = document.getElementById('echart_05')
|
||||
if (this.myCharts05 !== '') {
|
||||
this.myCharts05.dispose()
|
||||
}
|
||||
@@ -902,7 +902,7 @@ export default {
|
||||
}
|
||||
]
|
||||
}
|
||||
let echart = document.getElementById('echart_d10')
|
||||
let echart = document.getElementById('echart_10')
|
||||
this.myCharts10 = this.$echarts.init(echart)
|
||||
this.myCharts10.setOption(option)
|
||||
// this.autoMove(option, 3)
|
||||
|
||||
Reference in New Issue
Block a user