Compare commits
2 Commits
0978f5d2bf
...
56a5e93bb4
Author | SHA1 | Date |
---|---|---|
|
56a5e93bb4 | |
|
443908dddb |
|
@ -276,7 +276,7 @@ export default {
|
||||||
componentType: '',
|
componentType: '',
|
||||||
typeFiltering: '',
|
typeFiltering: '',
|
||||||
typeData: [],
|
typeData: [],
|
||||||
flowType:'出流'
|
FlowType:'出流'
|
||||||
|
|
||||||
},
|
},
|
||||||
// typeData: ['小汽车', '公交车', '卡车', '非机动车', '行人'],
|
// typeData: ['小汽车', '公交车', '卡车', '非机动车', '行人'],
|
||||||
|
@ -540,7 +540,7 @@ export default {
|
||||||
const u8arr = new Uint8Array(message);
|
const u8arr = new Uint8Array(message);
|
||||||
const temp = utf8decoder.decode(u8arr); // 将二进制数据转为字符串
|
const temp = utf8decoder.decode(u8arr); // 将二进制数据转为字符串
|
||||||
const msg = JSON.parse(temp); //这一步报错则返回的是二进制流图片,不报错则返回的是JSON的错误提示数据
|
const msg = JSON.parse(temp); //这一步报错则返回的是二进制流图片,不报错则返回的是JSON的错误提示数据
|
||||||
console.log("msg",msg)
|
// console.log("msg",msg)
|
||||||
// document.getElementById('mapModule').contentWindow.getDestination(JSON.stringify(msg));
|
// document.getElementById('mapModule').contentWindow.getDestination(JSON.stringify(msg));
|
||||||
|
|
||||||
if (msg.rate == 'high') {
|
if (msg.rate == 'high') {
|
||||||
|
@ -598,7 +598,7 @@ export default {
|
||||||
const temp = utf8decoder.decode(u8arr); // 将二进制数据转为字符串
|
const temp = utf8decoder.decode(u8arr); // 将二进制数据转为字符串
|
||||||
var detId = [];
|
var detId = [];
|
||||||
const msgN = JSON.parse(temp);
|
const msgN = JSON.parse(temp);
|
||||||
// console.log("trigger_msgN",msgN)
|
console.log("trigger_msgN",msgN)
|
||||||
this.triggerListData = msgN;
|
this.triggerListData = msgN;
|
||||||
} catch (error) {}
|
} catch (error) {}
|
||||||
break;
|
break;
|
||||||
|
@ -695,7 +695,7 @@ export default {
|
||||||
this.componentForm.componentParameterId = res.data.data.componentParameterId;
|
this.componentForm.componentParameterId = res.data.data.componentParameterId;
|
||||||
this.componentForm.cycleInterval = res.data.data.cycleInterval;
|
this.componentForm.cycleInterval = res.data.data.cycleInterval;
|
||||||
this.componentForm.startSectionIds = res.data.data.startSectionIds;
|
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.startSectionNames = res.data.data.startSectionNames;
|
||||||
this.componentForm.endSectionIds = res.data.data.endSectionIds;
|
this.componentForm.endSectionIds = res.data.data.endSectionIds;
|
||||||
this.componentForm.endSectionNames = res.data.data.endSectionNames;
|
this.componentForm.endSectionNames = res.data.data.endSectionNames;
|
||||||
|
@ -1075,7 +1075,7 @@ export default {
|
||||||
formData.append('startValue', componentForm.startValue);
|
formData.append('startValue', componentForm.startValue);
|
||||||
formData.append('timeMode', componentForm.timeMode);
|
formData.append('timeMode', componentForm.timeMode);
|
||||||
formData.append('presentationForm', componentForm.presentationForm);
|
formData.append('presentationForm', componentForm.presentationForm);
|
||||||
formData.append('FlowType', componentForm.flowType);
|
formData.append('flowType', componentForm.FlowType);
|
||||||
}
|
}
|
||||||
axios({
|
axios({
|
||||||
method: 'post',
|
method: 'post',
|
||||||
|
|
Loading…
Reference in New Issue