| | |
| | | }; |
| | | 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; |
| | |
| | | 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> |
| | |
| | | |
| | | url = this.videoUrl; |
| | | } else { |
| | | url = "http://" + this.videoUrls[this.playerIndex]; |
| | | url = "/httpImage/" + this.videoUrls[this.playerIndex]; |
| | | } |
| | | |
| | | this.videoLoading = true; |
| | |
| | | // 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, |
| | | }, |