修改图表id

This commit is contained in:
2023-05-30 16:37:45 +08:00
parent 88ae189840
commit 716c85a674
2 changed files with 23 additions and 23 deletions

View File

@@ -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)

View File

@@ -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="two_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" style="backgroundImage: none;">
<div class="echart_d3_wrap">
<div id="echart_02" style="width: 130%; height: 130%; top: -12px;"></div>
<div id="two_echart_02" style="width: 130%; height: 130%; top: -12px;"></div>
</div>
</div>
<div class="right_1_up_right right_1_up_right__h3">
@@ -67,7 +67,7 @@
<div class="item_tip_left">当日包装生产</div>
</div>
<div class="item_content item_content_3">
<div id="echart_03" style="width: 100%; height: 100%"></div>
<div id="two_echart_03" style="width: 100%; height: 100%"></div>
</div>
</div>
<div class="item_wrap">
@@ -75,7 +75,7 @@
<div class="item_tip_left">当日成品进出存</div>
</div>
<div class="item_content item_content_3">
<div id="echart_04" style="width: 100%; height: 100%"></div>
<div id="two_echart_04" style="width: 100%; height: 100%"></div>
</div>
</div>
</div>
@@ -85,7 +85,7 @@
<div class="item_tip_left">本周包装生产</div>
</div>
<div class="item_content item_content_3">
<div id="echart_05" style="width: 100%; height: 100%"></div>
<div id="two_echart_05" style="width: 100%; height: 100%"></div>
</div>
</div>
<div class="item_wrap">
@@ -93,7 +93,7 @@
<div class="item_tip_left">本周成品进出存</div>
</div>
<div class="item_content item_content_3">
<div id="echart_06" style="width: 100%; height: 100%"></div>
<div id="two_echart_06" style="width: 100%; height: 100%"></div>
</div>
</div>
</div>
@@ -204,7 +204,7 @@ export default {
}
]
}
let echart = document.getElementById('echart_d01')
let echart = document.getElementById('two_echart_01')
// if (this.myCharts01 !== '') {
// this.myCharts01.dispose()
// }
@@ -399,7 +399,7 @@ export default {
}
]
}
let echart = document.getElementById('echart_02')
let echart = document.getElementById('two_echart_02')
// if (this.myCharts02 !== '') {
// this.myCharts02.dispose()
// }
@@ -536,7 +536,7 @@ export default {
}
]
}
let echart = document.getElementById('echart_03')
let echart = document.getElementById('two_echart_03')
// if (this.myCharts03 !== '') {
// this.myCharts03.dispose()
// }
@@ -695,7 +695,7 @@ export default {
}
]
}
let echart = document.getElementById('echart_04')
let echart = document.getElementById('two_echart_04')
// if (this.myCharts04 !== '') {
// this.myCharts04.dispose()
// }
@@ -832,7 +832,7 @@ export default {
}
]
}
let echart = document.getElementById('echart_05')
let echart = document.getElementById('two_echart_05')
// if (this.myCharts05 !== '') {
// this.myCharts05.dispose()
// }
@@ -991,7 +991,7 @@ export default {
}
]
}
let echart = document.getElementById('echart_06')
let echart = document.getElementById('two_echart_06')
// if (this.myCharts06 !== '') {
// this.myCharts06.dispose()
// }