|
|
@ -119,10 +119,11 @@ export default { |
|
|
|
{ |
|
|
|
label: "影响车道:", |
|
|
|
key: "lane", |
|
|
|
type: "RadioGroup", |
|
|
|
type: "CheckboxGroup", |
|
|
|
options: { |
|
|
|
activeColor: "linear-gradient(180deg, #37E7FF 0%, #009BCC 100%)", |
|
|
|
// activeColor: "linear-gradient(180deg, #37E7FF 0%, #009BCC 100%)", |
|
|
|
options: LaneOccupancyList, |
|
|
|
gap: "12px" |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
@ -204,7 +205,7 @@ export default { |
|
|
|
// "latitude": "36.291145" |
|
|
|
// }; |
|
|
|
|
|
|
|
this.data = { ...data, roadName: null }; |
|
|
|
this.data = { ...data, roadName: null, lane: data.lane?.split(",") || [] }; |
|
|
|
|
|
|
|
this.formList[4].options.options = WarningSubclassList[data.warningType] || []; |
|
|
|
|
|
|
@ -240,7 +241,7 @@ export default { |
|
|
|
warningSubclass: this.data.warningSubclass, |
|
|
|
vehicleType: this.data.vehicleType, |
|
|
|
remark: this.data.remark, |
|
|
|
lane: this.data.lane |
|
|
|
lane: this.data.lane.join(",") |
|
|
|
} |
|
|
|
}) |
|
|
|
.then(() => { |
|
|
|