liuyg
2021-05-08 fa84aaa9e2f96e1895e7a33e71bf7f744e2294fa
警情办结
2 files modified
46 ■■■■ changed files
src/components/real-popup/main.vue 17 ●●●●● patch | view | raw | blame | history
src/views/dataL/dataL.vue 29 ●●●●● patch | view | raw | blame | history
src/components/real-popup/main.vue
@@ -229,7 +229,7 @@
              </el-button> -->
              <el-button
                type="success"
                @click.stop="updateJtyep(form, 1, '办结')"
                @click.stop="updateJtyep(form, 2, '办结')"
                >办结
              </el-button>
@@ -553,7 +553,6 @@
        )
        .then(function () {
          that.dialogTableVisible = false;
          axios({
            method: "post",
            url: `/api/blade-jfpts/rvideo/stop`,
@@ -561,12 +560,16 @@
              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() {
src/views/dataL/dataL.vue
@@ -1005,15 +1005,9 @@
        });
      });
    },
    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) {
@@ -1025,25 +1019,6 @@
      } 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 = "空气质量";
@@ -1074,7 +1049,7 @@
        installation: this.a.stime, //     安装时间
        heartbeat: this.a.heartbeat, //     心跳时间
      };
      this.form = d;
      this.form = c;
    },
    getdataG() {
      var dataG = {