新建OD组件传值有问题

This commit is contained in:
qiudan 2023-12-15 14:52:59 +08:00
parent 0445b6a18f
commit 171574b13a
1 changed files with 11 additions and 4 deletions

View File

@ -1152,9 +1152,9 @@ export default {
'stream' + this.number,
'trajectory' + this.number,
'detection' + this.number,
'img' + this.number,
'TargetAnalysisStatusData',
'TrafficAnalysisStatusData',
'img' + this.number
];
// console.log('test1/indexnumber-',this.number)
window.PubScribe(this.topicSends, this.number, this.realInfo, false, this.$route.query.id);
@ -1162,10 +1162,15 @@ export default {
//
dataBoardTopicSends() {
this.topicSends = [
'stream' + this.number,
'trajectory' + this.number,
'detection' + this.number,
'TargetAnalysisStatusData',
'TrafficAnalysisStatusData',
'trigger-' + this.$route.query.id,
'cycle_time-' + this.$route.query.id,
'cycle_statistics-' + this.$route.query.id,
'cycle_accumulate-' + this.$route.query.id
'cycle_accumulate-' + this.$route.query.id,
];
// console.log('test1/indexnumber-',this.number)
window.PubScribe(this.topicSends, this.number, this.realInfo, false, this.$route.query.id);
@ -1798,6 +1803,7 @@ export default {
startSectionArr.push(items.graphicName);
});
this.componentForm.startSection = startSectionArr;
this.handleCheckedStartSection(startSectionArr)
}
if (res.data.data.endSectionIds != '') {
//console.log('endSectionIds', res.data.data.endSectionIds);
@ -1820,6 +1826,7 @@ export default {
endSectionArr.push(items.graphicName);
});
this.componentForm.endSection = endSectionArr;
this.handleCheckedendSection(endSectionArr)
}
if (this.componentForm.presentationForm != '') {
var arr = [];