南昌市物联网技防平台-前端
zengh
2021-02-21 ab0598cc26762aedae33894fc78462989e8302b4
src/views/realTimePolice/real.vue
@@ -37,21 +37,18 @@
        <el-button
          v-bind:class=" activeClass==1 ? 'btn-color' : '' "
          size="small"
          type="primary"
          @click="getBZdata(1)"
        >本周
        </el-button>
        <el-button
          v-bind:class=" activeClass==2 ? 'btn-color' : '' "
          size="small"
          type="primary"
          @click="getBYdata(2)"
        >本月
        </el-button>
        <el-button
          v-bind:class=" activeClass==3 ? 'btn-color' : '' "
          size="small"
          type="primary"
          @click="getQBdata(3)"
        >全部
        </el-button>
@@ -291,7 +288,7 @@
      <iframe
        id="mapDiv"
        ref="mapDiv"
        src="http://36.134.81.48:18001/map/index.html"
        src=" http://192.168.0.107:1888/map/index.html?openid=ClientManagement"
        frameborder="0"
        width="100%"
        height="100%"
@@ -577,6 +574,7 @@
          });
      },
      searchReset() {
        this.activeClass = -1;
        this.query = {};
        this.onLoad(this.page);
      },
@@ -781,7 +779,6 @@
        }
      },
      handleStart(row) {
        debugger
        this.$router.push({
          path: `/real/video/${row.channelNumber}/${row.serialNumber}`
        });
@@ -791,6 +788,7 @@
      },
      handleMap(row) {
        this.showMap = true;
        debugger
        this.$nextTick(() => {
          this.$refs.mapDiv.onload = () => {
            window.frames[0].locationObj = {x: row.jd, y: row.wd};
@@ -1150,9 +1148,9 @@
  }
  .el-button.btn-color {
    background: #146ef6;
    border-color: #007aff;
    color: #FFF;
    color: rgb(255, 255, 255);
    background-color: rgb(64, 158, 255);
    border-color: rgb(64, 158, 255);
  }
</style>