bug修改
This commit is contained in:
parent
ab89a21ac3
commit
33ea88f35e
|
@ -978,9 +978,9 @@ export default {
|
|||
},
|
||||
//感知编码开关事件
|
||||
showPerception(val) {
|
||||
if (val == 1) {
|
||||
this.$message.warning('必须填写完整感知编码!');
|
||||
}
|
||||
// if (val == 1) {
|
||||
// this.$message.warning('必须填写完整感知编码!');
|
||||
// }
|
||||
this.switchValue = val;
|
||||
this.perception.scene = ''; //场景
|
||||
this.perception.position = ''; //方位
|
||||
|
@ -1323,7 +1323,7 @@ export default {
|
|||
},
|
||||
//获取视频分析结果
|
||||
analysisData() {
|
||||
var ip = window.location.host.split(":")[0];
|
||||
var ip = window.location.host.split(':')[0];
|
||||
// var ip = '172.16.1.168'; //http://172.16.1.168
|
||||
console.log('ip', ip);
|
||||
getAnalysisData(this.$route.query.id, ip).then((res) => {
|
||||
|
@ -1363,7 +1363,7 @@ export default {
|
|||
|
||||
//分析结束传参
|
||||
postTraffic() {
|
||||
var ip = window.location.host.split(":")[0];
|
||||
var ip = window.location.host.split(':')[0];
|
||||
// var ip = '172.16.1.168'; //http://172.16.1.168:5000
|
||||
console.log('ip', ip);
|
||||
getAnalysisData(this.$route.query.id, ip).then((res) => {
|
||||
|
@ -1530,10 +1530,10 @@ export default {
|
|||
const temp = utf8decoder.decode(u8arr); // 将二进制数据转为字符串
|
||||
var detId = [];
|
||||
const msgN = JSON.parse(temp);
|
||||
console.log("周期统计实时累计数据主题",msgN)
|
||||
console.log('周期统计实时累计数据主题', msgN);
|
||||
this.cycleAccumulateData = msgN;
|
||||
} catch (error) {}
|
||||
break;
|
||||
break;
|
||||
case 'VideoStatusData':
|
||||
try {
|
||||
const utf8decoder = new TextDecoder();
|
||||
|
@ -1710,6 +1710,12 @@ export default {
|
|||
}
|
||||
});
|
||||
});
|
||||
} else {
|
||||
let startSectionArr = [];
|
||||
this.sectionals.forEach((items) => {
|
||||
startSectionArr.push(items.graphicName);
|
||||
});
|
||||
this.componentForm.startSection = startSectionArr;
|
||||
}
|
||||
if (res.data.data.endSectionIds != '') {
|
||||
console.log('endSectionIds', res.data.data.endSectionIds);
|
||||
|
@ -1726,6 +1732,12 @@ export default {
|
|||
}
|
||||
});
|
||||
});
|
||||
} else {
|
||||
let endSectionArr = [];
|
||||
this.sectionals.forEach((items) => {
|
||||
endSectionArr.push(items.graphicName);
|
||||
});
|
||||
this.componentForm.endSection = endSectionArr;
|
||||
}
|
||||
if (this.componentForm.presentationForm != '') {
|
||||
var arr = [];
|
||||
|
|
Loading…
Reference in New Issue