| | |
| | | </div> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="确认告警时间" width="180px" align="center"> |
| | | <template slot-scope="scope"> |
| | | {{ scope.row.isalarm1?scope.row.monomers1:"" }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="确认告警" width="80px" align="center"> |
| | | <template slot-scope="scope"> |
| | | <el-checkbox v-model="scope.row.isalarm1" disabled></el-checkbox> |
| | |
| | | { |
| | | prop: "tester1", |
| | | label: "机房名称", |
| | | minWidth: 320 |
| | | minWidth: 220 |
| | | }, |
| | | { |
| | | prop: "alm_type", |
| | |
| | | label: "告警开始时间", |
| | | width: 180 |
| | | }, |
| | | { |
| | | prop: "monomers1", |
| | | label: "告警确认时间", |
| | | width: 180 |
| | | }, |
| | | |
| | | ], |
| | | datas: [] |
| | |
| | | } |
| | | ); |
| | | this.table.datas = alarmNes; |
| | | console.log(this.table.datas) |
| | | this.total = ssAlram[ssAlram.length - 1].usr_id; |
| | | // 关闭等待框 |
| | | this.$layer.close(loading); |
| | |
| | | const wk = await deviceOk([{ |
| | | stationname: vlas.tester1, |
| | | num: vlas.num, |
| | | alm_confirmed_time: vlas.monomers1, |
| | | alm_is_confirmed: vlas.alm_is_confirmed, |
| | | alm_confirmed_time: new Date().format('yyyy-MM-dd hh:mm:ss'), |
| | | alm_is_confirmed: 1, |
| | | note: "" |
| | | }]); |
| | | if (wk.data.result && JSON.parse(wk.data.result).code == 1) { |