| | |
| | | </el-button> |
| | | </el-form> |
| | | </div> |
| | | <div id="gasChart" style="height: 500px;width: auto"></div> |
| | | <div :id="fluxChart" style="height: 500px;width: auto"></div> |
| | | <el-table :data="state.tableData.data" style="width: 100%" v-loading="loading"> |
| | | <el-table-column type="index" label="序号" width="80" /> |
| | | <el-table-column align="center" prop="time" label="采集时间"/> |
| | |
| | | |
| | | const loading = ref(false); |
| | | const myChart = shallowRef(null) |
| | | |
| | | const fluxChart =ref("eChartfluxN" + Date .now() + Math .random()) |
| | | const chooseTime = (val:any) => { |
| | | console.log("val",val) |
| | | let sTime = Date.parse(new Date(val[0])); |
| | |
| | | if (myChart.value != null && myChart.value != "" && myChart.value != undefined) { |
| | | myChart.value.dispose(); |
| | | } |
| | | myChart.value = echarts.init(document.getElementById('gasChart')); |
| | | myChart.value = echarts.init(document.getElementById(fluxChart.value)); |
| | | // 指定图表的配置项和数据 |
| | | const option = { |
| | | tooltip: { |