From 8eb1062d99a7f4071dff0a44ec0099329ca902f8 Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期五, 26 七月 2024 17:58:37 +0800 Subject: [PATCH] 修改温升热循环bug --- src/components/view/b3-classes.vue | 14 ++++++++++---- 1 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/components/view/b3-classes.vue b/src/components/view/b3-classes.vue index baa00dd..45d37c3 100644 --- a/src/components/view/b3-classes.vue +++ b/src/components/view/b3-classes.vue @@ -44,7 +44,7 @@ <el-button size="small" type="primary" @click="refreshTable()">鏌� 璇�</el-button> </div> <div class="search_thing btns" style="padding-left: 30px;"> - <el-button size="small" type="primary" v-if="downPower" @click="configTime" :loading="downLoading">鏃堕棿閰嶇疆</el-button> + <el-button size="small" type="primary" v-if="listPower" @click="configTime" :loading="downLoading">鏃堕棿閰嶇疆</el-button> <el-button size="small" type="primary" v-if="downPower" @click="handleDown" :loading="downLoading">瀵� 鍑�</el-button> <el-button size="small" type="primary" @click="schedulingVisible = true" v-if="addPower">鎺� 鐝�</el-button> </div> @@ -337,6 +337,7 @@ configTimeVisibleLoading: false, // 鏃堕棿閰嶇疆寮规loading timeTypeList: [], timeQuery: [], + listPower:false } }, watch: { @@ -375,7 +376,7 @@ this.monthList.push(i) } this.monthList.reverse() - // this.getPower() + this.getPower() }, methods: { refresh(){ @@ -547,20 +548,25 @@ let add = false let up = false let down = false + let listPower = false for (var i = 0; i < power.length; i++) { - if (power[i].menuMethod == 'update') { + if (power[i].menuMethod == 'performanceShiftUpdate') { up = true } if (power[i].menuMethod == 'delDeviceParameter') { down = true } - if (power[i].menuMethod == 'add') { + if (power[i].menuMethod == 'performanceShiftAdd') { add = true + } + if (power[i].menuMethod == 'shiftTimeList') { + listPower = true } } this.addPower = add this.upPower = up this.downPower = down + this.listPower = listPower }, onMouseEnter(index){ this.currentUserIndex = index -- Gitblit v1.9.3