| | |
| | | <!-- 状态 --> |
| | | <div class="btn_sub_grp"> |
| | | <div class="row" v-for="idx of max_button_num" :key="idx"> |
| | | <div class="lay_label vertical_middle" v-if="idx <= item.FZ_button_num">KM{{idx}}</div> |
| | | <div class="lay_label vertical_middle" v-if="idx <= item.FZ_button_num">KM{{idx}} ({{item['FZ_b' + idx + '_power']}}KVA)</div> |
| | | <div class="lay_label vertical_middle" v-else></div> |
| | | <div class="lay_content"> |
| | | <div class="vertical_middle"> |
| | |
| | | <el-dialog |
| | | :title="confirmTxt" |
| | | :visible.sync="confirmVisible" |
| | | width="30%"> |
| | | width="300px"> |
| | | <!-- <span>{{}}</span> --> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button @click="confirmVisible = false">取 消</el-button> |
| | |
| | | this.$api.load.getManualStatus().then((res) => { |
| | | let re = JSON.parse(res.data.result); |
| | | let list = []; |
| | | // console.log(re); |
| | | // console.log(re, 999999); |
| | | if (re.code) { |
| | | this.info.forEach((v, idx) => { |
| | | list[idx] = {}; |
| | |
| | | let data = re.data[i]; |
| | | |
| | | // 更改 FZ_b 的值 2,0 => false 1 => true |
| | | let reg = /^FZ_b\d+/; |
| | | let reg = /^FZ_b\d+$/; |
| | | Object.keys(data).forEach((val) => { |
| | | if (reg.test(val)) { |
| | | if (this.checkFzBIgnore(data.dev_id, val)) { |