| | |
| | | }, |
| | | mounted () { |
| | | this.$refs.Echatrs.CreateChart() |
| | | this.$refs.Echatrs.effChartShow() |
| | | }, |
| | | updated () { |
| | | this.$refs.Echats.CreateChart() |
| | | this.$refs.Echats.effChartShow() |
| | | }, |
| | | data () { |
| | | return { |
| | |
| | | current (currentTab) { |
| | | if (this.$attrs.value === 'feishui') { |
| | | currentTab = 'EChartsHourWasteWater' |
| | | console.log(currentTab) |
| | | } else { |
| | | currentTab = 'EChartsHour' |
| | | console.log(currentTab) |
| | | } |
| | | return currentTab |
| | | } |
| | |
| | | mounted () { |
| | | // this.formInline.timeEnd = dayjs().format('YYYY-MM-DD HH:mm:ss') |
| | | // this.formInline.timeStart = dayjs().subtract(12, 'hour').format('YYYY-MM-DD HH:mm:ss') |
| | | this.onSubmit() |
| | | // this.onSubmit() |
| | | }, |
| | | updated () { |
| | | this.onSubmit() |
| | |
| | | grid: { // 网格 |
| | | top: '20%', |
| | | left: '7%', |
| | | bottom: '10%' |
| | | bottom: '10%', |
| | | right: '5%' |
| | | }, |
| | | legend: { |
| | | data: legend |
| | |
| | | <!-- </el-table-column>--> |
| | | <!-- </el-table-column>--> |
| | | <!-- </el-table>--> |
| | | <div style="width: 766px"> |
| | | <div style="width: 755px"> |
| | | <el-table |
| | | :data="tableData" |
| | | max-height="260px" |
| | | max-height="255px" |
| | | style="width: 100%;height: 100%"> |
| | | <el-table-column |
| | | prop="date" |
| | | width="130" |
| | | label="检测时间"> |
| | | </el-table-column> |
| | | <el-table-column |