From 9a7a37389c784684cb848d86817fcc15f22e0f4a Mon Sep 17 00:00:00 2001 From: chenzeping <ChenZeping02609@163.com> Date: 星期三, 21 四月 2021 14:31:58 +0800 Subject: [PATCH] 弹框废气相关修改 --- src/components/BaseNav/WasteGas/HourData.vue | 30 +++++++++++++++++------------- 1 files changed, 17 insertions(+), 13 deletions(-) diff --git a/src/components/BaseNav/WasteGas/HourData.vue b/src/components/BaseNav/WasteGas/HourData.vue index e34fd9e..832658b 100644 --- a/src/components/BaseNav/WasteGas/HourData.vue +++ b/src/components/BaseNav/WasteGas/HourData.vue @@ -19,26 +19,25 @@ </div> </div> <div class="detailbtn">鏌ヨ</div> - <div class="detailbtn">鏄庣粏琛�</div> + <div class="detailbtn" @click="ScheduleShow">鏄庣粏琛�</div> </div> <div style="width:5rem;height:1.5rem;" id="echarts" ref="wastegashour"></div> </div> - <!-- 鏄庣粏寮规 --> - <!-- <el-dialog :visible.sync="dialogVisible"--> - <!-- :append-to-body="true"--> - <!-- width="68%"--> - <!-- center--> - <!-- v-dialogDrag--> - <!-- >--> - <!-- <div class="el-dialog-div" style="height: 500px">--> - <!-- <public-detailed-list v-bind="$attrs"></public-detailed-list>--> - <!-- </div>--> - <!-- </el-dialog>--> +<!-- 鏄庣粏寮规--> + <el-dialog :visible.sync="showSchedule" + :modal="false" + v-dialogDrag + > + <div class="el-dialog-div" style="height: 200px"> + <Scheduleof></Scheduleof> + </div> + </el-dialog> </div> </template> <script> // import PublicDetailedList from '@components/BaseNav/PublicBounced/common/echarts/PublicDetailedList' +import Scheduleof from '@components/BaseNav/WasteGas/Scheduleof' import PublicDataStandard from '../PublicDataStandard' import dayjs from 'dayjs' @@ -48,7 +47,8 @@ name: 'HourData', components: { // PublicDetailedList - PublicDataStandard + PublicDataStandard, + Scheduleof }, data () { return { @@ -98,6 +98,7 @@ timeStart: null, timeEnd: null }, + showSchedule: false, dataType: 2, myChart: null, exhbzz: null, @@ -111,6 +112,9 @@ }) }, methods: { + ScheduleShow () { + this.showSchedule = !this.showSchedule + }, async initnData () { // 鐢ㄤ簬鎺ュ彛鏁版嵁璇锋眰鐨勫弬鏁� 寮�濮�/缁撴潫鏃堕棿 || 鍙�夋嫨鏌ヨ鐨勫紑濮�/缁撴潫鏃堕棿 this.formInline.timeEnd = dayjs().format('YYYY-MM-DD HH:mm:ss') -- Gitblit v1.8.0