| | |
| | | </el-button> --> |
| | | <el-button |
| | | type="success" |
| | | @click.stop="updateJtyep(form, 1, '办结')" |
| | | @click.stop="updateJtyep(form, 2, '办结')" |
| | | >办结 |
| | | </el-button> |
| | | |
| | |
| | | ) |
| | | .then(function () { |
| | | that.dialogTableVisible = false; |
| | | |
| | | axios({ |
| | | method: "post", |
| | | url: `/api/blade-jfpts/rvideo/stop`, |
| | |
| | | jid: row.id, |
| | | }, |
| | | }).then((resdata) => {}); |
| | | |
| | | // that.onLoad(that.page, that.query); |
| | | that.$router.push({ |
| | | path: "/policeTracking/track", |
| | | query: that.form, |
| | | }); |
| | | if (t == "办结") { |
| | | console.log(t, 354343); |
| | | location.reload(); |
| | | } else { |
| | | that.$router.push({ |
| | | path: "/policeTracking/track", |
| | | query: that.form, |
| | | }); |
| | | } |
| | | }); |
| | | }, |
| | | getDate() { |
| | |
| | | }); |
| | | }); |
| | | }, |
| | | stetDetails(d, imgdata) { |
| | | stetDetails(c, imgdata) { |
| | | this.name = "无数据" && this.a.deviceName; |
| | | //设备状态 |
| | | // [grey,green,red][ |
| | | // onlineStatus = 0, |
| | | // onlineStatus = 1, |
| | | // state!= "", |
| | | // jtype != 2 |
| | | // ] |
| | | var states, |
| | | d = this.a.dtype; |
| | | if (d == 0) { |
| | |
| | | } else if (d == 2) { |
| | | states = "预警"; |
| | | } |
| | | |
| | | // if (s != "") { |
| | | // states = "故障"; |
| | | // } else { |
| | | // if (j != 1) { |
| | | // if (o == 1) { |
| | | // states = "正常"; |
| | | // } else { |
| | | // states = "掉线"; |
| | | // } |
| | | // } else { |
| | | // states = "预警"; |
| | | // } |
| | | // } |
| | | // console.log(o, 1000); |
| | | // console.log(s, 1000); |
| | | // console.log(j, 1000); |
| | | |
| | | // console.log(states, 1000); |
| | | this.state = states; |
| | | |
| | | this.evaluate = "空气质量"; |
| | |
| | | installation: this.a.stime, // 安装时间 |
| | | heartbeat: this.a.heartbeat, // 心跳时间 |
| | | }; |
| | | this.form = d; |
| | | this.form = c; |
| | | }, |
| | | getdataG() { |
| | | var dataG = { |