|
@@ -547,7 +547,7 @@ export default {
|
|
|
},
|
|
|
/** 预览按钮操作 */
|
|
|
preview(cameraParam) {
|
|
|
- if (cameraParam.type == '大华') {
|
|
|
+ if (cameraParam.type == '1') {
|
|
|
getDahuaVideoServer().then(newResponse => {
|
|
|
console.log(newResponse)
|
|
|
this.ws.detectConnectQt().then(res => {
|
|
@@ -577,7 +577,7 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
})
|
|
|
- } else if (cameraParam.type == '海康') {
|
|
|
+ } else if (cameraParam.type == '0') {
|
|
|
let that = this
|
|
|
that.cameraVisible = true
|
|
|
getHaiKangVideoServer({ cameraCode: cameraParam.code }).then(newResponse => {
|