| | |
| | | <template> |
| | | <div id="Tab"> |
| | | <div class="infomation"> |
| | | <ul> |
| | | <li></li> |
| | | </ul> |
| | | <el-row> |
| | | <el-col :span="6"><div class="grid-content bg-purple">氮氧化物:29.93标准:100</div></el-col> |
| | | <el-col :span="6"><div class="grid-content bg-purple">二氧化硫:17.34标准:50</div></el-col> |
| | |
| | | |
| | | <script> |
| | | import PublicDetailedList from '@components/BaseNav/PublicBounced/GasComponents/PublicDetailedList' |
| | | // import dayjs from 'dayjs' |
| | | |
| | | export default { |
| | | name: 'ECharts', |
| | |
| | | formInline: { |
| | | user: '', |
| | | region: '' |
| | | } |
| | | }, |
| | | info: this.series |
| | | } |
| | | }, |
| | | methods: { |
| | |
| | | data: data[k] |
| | | }) |
| | | } |
| | | console.log(series) |
| | | // -------------------------- |
| | | var arr = [] |
| | | for (var x = 0; x < dataWatch.length; x++) { |
| | | arr.push(dataWatch[x].MonTimeStr) |
| | | } |
| | | console.log(arr) |
| | | const opitons = this.initOptions(dateDate, series) |
| | | this.myChart = this.$echarts.init(this.$refs.main) |
| | | this.myChart.setOption(opitons) |