ZZJ
2022-06-21 644e6bac8cd089c691d83fe092502261ba416283
添加联动场景
4个文件已修改
19 ■■■■■ 已修改文件
src/views/hashrate/CameraManage/CameraRules/index.vue 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/search/components/imgDown.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/search/components/wasmPlayer/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
vue.config.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/hashrate/CameraManage/CameraRules/index.vue
@@ -901,13 +901,20 @@
      };
      if (this.addData.type === "linkage") {
        this.addData.cameras = [];
        this.linkageRule[index].camera_polygons.forEach((item) => {
        this.Carmeras.forEach((camera) => {
          this.addData.cameras.push({
            polygonData: camera.polygonData,
            cameraName: camera.cameraName,
            cameraId: camera.cameraId,
          });
        });
        /*   this.linkageRule[index].camera_polygons.forEach((item) => {
          this.addData.cameras.push({
            polygonData: item.polygon,
            cameraName: item.camera_name,
            cameraId: item.camera_id,
          });
        });
        }); */
      }
      this.showSdkBox = false;
      this.showSdkSettingBox = true;
src/views/search/components/imgDown.vue
@@ -7,7 +7,7 @@
      preview
    />
    <img :src="'http://' + url" v-if="!isPreview" />
    <el-button class="btn" @click="downloadIamge('http://' + url)">
    <el-button class="btn" @click="downloadIamge('/httpImage/' + url)">
      <i class="iconfont iconxiazai"></i>
    </el-button>
  </div>
src/views/search/components/wasmPlayer/index.vue
@@ -456,7 +456,7 @@
        url = this.videoUrl;
      } else {
        url = "http://" + this.videoUrls[this.playerIndex];
        url = "/httpImage/" + this.videoUrls[this.playerIndex];
      }
      this.videoLoading = true;
vue.config.js
@@ -26,13 +26,13 @@
        // target: "http://222.128.87.51:7003",
        // target: "http://192.168.20.10:7009",
        // target: "http://192.168.20.189:7009",
        target: "http://192.168.20.117:7080",
        target: "http://192.168.20.235:7070",
        changeOrigin: true, //开启代理
      },
      "/ws": {
        target: "http://192.168.20.189:7009",
        target: "http://192.168.20.235:7070",
        // ws: true,
        changeOrigin: true,
      },