Commit bd94c0a7 by 张晓玮

Merge branch 'zxw-v1.8.0' into 'v1.8.0'

bug 修改

See merge request !44
2 parents 314eae1c 86bd4179
......@@ -120,7 +120,7 @@ export default {
methods: {
// 重置
rest() {
this.searchForm = { dealStatus: "", alarmLevel: "", date: new Date() }
this.searchForm = { dealStatus: "", alarmLevel: "", date: moment().subtract(1, "days") }
this.$refs.glsxTable.restParams()
this.tableParams = this.getParams();
},
......
......@@ -87,7 +87,7 @@
<div class="cell">
<div class="name">是否产生断电报警:</div>
<div class="txt">
<span>{{detailInfo.isPowerOff === 1 ? '是' : detailInfo.isPowerOff == 0 ? '否' : '--'}}</span>
<span>{{detailInfo.isPowerOff === 1 && detailInfo.alarmStatus === 0 ? '是' : detailInfo.isPowerOff !== 1 || detailInfo.alarmStatus !== 0 ? '否' : '--'}}</span>
<el-button type="primary" size="mini" @click="goTamper" v-if="Object.keys(detailInfo).length" :disabled="detailInfo.isPowerOff !== 1 || detailInfo.alarmStatus !== 0" class="btn">详情</el-button>
</div>
</div>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!