File was renamed from src/components/BaseNav/PublicBounced/GasComponents/EChartsHour.vue |
| | |
| | | <div class="pickerData"> |
| | | <span> 开始时间:</span> |
| | | <span class="pickerTable"> |
| | | <el-date-picker type="datetime" v-model="formInline.timeStart"> |
| | | </el-date-picker> |
| | | </span> |
| | | <el-date-picker type="datetime" v-model="formInline.timeStart"></el-date-picker> |
| | | </span> |
| | | </div> |
| | | <div class="pickerData"> |
| | | <span >结束时间:</span> |
| | | <span class="pickerTable"> |
| | | <el-date-picker |
| | | type="datetime" |
| | | v-model="formInline.timeEnd" |
| | | > |
| | | </el-date-picker> |
| | | </span> |
| | | <el-date-picker type="datetime" v-model="formInline.timeEnd" ></el-date-picker> |
| | | </span> |
| | | </div> |
| | | </div> |
| | | <!-- <div>--> |
| | |
| | | <div class="detailbtn" @click="onSubmit">查询</div> |
| | | <div class="detailbtn" @click="dialogVisible = true" >明细表</div> |
| | | </div> |
| | | <!-- <div style="width: 5rem;height: 2rem">--> |
| | | <!-- <div style="width:100%;height:100%;" id="echarts" ref="main">–>--> |
| | | <!-- </div>--> |
| | | <div style="width:720px;height:252px;" id="echarts" ref="main"> |
| | | </div> |
| | | <div style="width:5rem;height:1.5rem;" id="echarts" ref="main"></div> |
| | | </div> |
| | | <!-- 明细弹框 --> |
| | | <el-dialog :visible.sync="dialogVisible" |
| | | :append-to-body="true" |
| | | :title="this.$attrs.value==='feiqi'?this.$attrs.getWasteGasDetails[0].OnLineMonEmissPointName:this.$attrs.getWasteWaterMonitoringDetails[0].OnLineMonEmissPointName" |
| | | width="68%" |
| | | center |
| | | v-dialogDrag |
| | |
| | | } |
| | | }, |
| | | created () { |
| | | // console.log(dayjs().format('YYYY-MM-DD HH:mm:ss')) |
| | | // this.$nextTick(() => { |
| | | // this.CreateChart(this.JsonCtarts.id, this.JsonCtarts.title, this.JsonCtarts.legend, this.JsonCtarts.xdata, this.JsonCtarts.ydatas, this.JsonCtarts.yname, this.JsonCtarts.id, this.JsonCtarts.datatype) |
| | | // } |
| | |
| | | this.onSubmit() |
| | | // this.CreateChart(this.JsonCtarts.id, this.JsonCtarts.title, this.JsonCtarts.legend, this.JsonCtarts.xdata, this.JsonCtarts.ydatas, this.JsonCtarts.yname, this.JsonCtarts.id, this.JsonCtarts.datatype) |
| | | }, |
| | | updated () { |
| | | this.onSubmit() |
| | | }, |
| | | methods: { |
| | | onSubmit () { |
| | | this.CreateChart() |