diff --git a/src/views/index.vue b/src/views/index.vue index be19c3e5..9b2cfee6 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -276,7 +276,7 @@ export default { componentType: '', typeFiltering: '', typeData: [], - flowType:'出流' + FlowType:'出流' }, // typeData: ['小汽车', '公交车', '卡车', '非机动车', '行人'], @@ -540,7 +540,7 @@ export default { const u8arr = new Uint8Array(message); const temp = utf8decoder.decode(u8arr); // 将二进制数据转为字符串 const msg = JSON.parse(temp); //这一步报错则返回的是二进制流图片,不报错则返回的是JSON的错误提示数据 - console.log("msg",msg) + // console.log("msg",msg) // document.getElementById('mapModule').contentWindow.getDestination(JSON.stringify(msg)); if (msg.rate == 'high') { @@ -598,7 +598,7 @@ export default { const temp = utf8decoder.decode(u8arr); // 将二进制数据转为字符串 var detId = []; const msgN = JSON.parse(temp); - // console.log("trigger_msgN",msgN) + console.log("trigger_msgN",msgN) this.triggerListData = msgN; } catch (error) {} break; @@ -695,7 +695,7 @@ export default { this.componentForm.componentParameterId = res.data.data.componentParameterId; this.componentForm.cycleInterval = res.data.data.cycleInterval; this.componentForm.startSectionIds = res.data.data.startSectionIds; - this.componentForm.flowType = res.data.data.flowType; + // this.componentForm.FlowType = res.data.data.flowType; this.componentForm.startSectionNames = res.data.data.startSectionNames; this.componentForm.endSectionIds = res.data.data.endSectionIds; this.componentForm.endSectionNames = res.data.data.endSectionNames; @@ -1075,7 +1075,7 @@ export default { formData.append('startValue', componentForm.startValue); formData.append('timeMode', componentForm.timeMode); formData.append('presentationForm', componentForm.presentationForm); - formData.append('FlowType', componentForm.flowType); + formData.append('flowType', componentForm.FlowType); } axios({ method: 'post',