南昌市物联网技防平台-前端
shuishen
2021-02-04 a7a86324ae4e519b8ee0a3fa3038f3afa2e14dec
src/views/realTimePolice/real.vue
@@ -281,7 +281,8 @@
    >
      <iframe
        id="mapDiv"
        src="https://s16s652780.51mypc.cn/jfpt/map/index.html"
        ref="mapDiv"
        src="http://s16s652780.51mypc.cn/jfpt/map/index.html"
        frameborder="0"
        width="100%"
        height="100%"
@@ -776,9 +777,11 @@
    },
    handleMap(row) {
      this.showMap = true;
      debugger;
      var sddsds = document.getElementById("mapDiv");
      document.getElementById("mapDiv").contentWindow.dw(row.jd,row.wd)
      this.$nextTick(() => {
        this.$refs.mapDiv.onload = () => {
          window.frames[0].locationObj = {x:row.jd,y:row.wd};
        };
      })
    },
    handleManage(row) {
      this.form = row;
@@ -794,7 +797,7 @@
      } else {
        axios({
          url:
            "https://s16s652780.51mypc.cn/api/blade-jfpts/jingdan/jingdan/submit",
            "/api/blade-jfpts/jingdan/jingdan/submit",
          method: "post",
          data: {
            rName: row.rname,
@@ -836,7 +839,7 @@
      var that = this;
      axios({
        url:
          "https://s16s652780.51mypc.cn/api/blade-jfpts/alarm/alarm/deletejj?id=" +
          "/api/blade-jfpts/alarm/alarm/deletejj?id=" +
          row.id,
        method: "post"
      }).then(function() {
@@ -848,7 +851,7 @@
      var that = this;
      axios({
        url:
          "https://s16s652780.51mypc.cn/api/blade-jfpts/alarm/alarm/updateJtype?id=" +
          "/api/blade-jfpts/alarm/alarm/updateJtype?id=" +
          row.id +
          "&czTime=" +
          row.czTime +