|
|
@ -19,104 +19,6 @@ import request from "@/utils/request"; |
|
|
|
import { tabConfigList } from "./data.js"; |
|
|
|
import { Message } from "element-ui"; |
|
|
|
|
|
|
|
const eventInfo = { |
|
|
|
id: "60f022d95a7c4b6cada2d780246543d8", |
|
|
|
deptId: null, |
|
|
|
deptName: null, |
|
|
|
stakeMark: "k103+900", |
|
|
|
endStakeMark: null, |
|
|
|
direction: "菏泽方向", |
|
|
|
userId: 1, |
|
|
|
startTime: null, |
|
|
|
endTime: null, |
|
|
|
estimatedEndTime: "2024-02-22 10:44:27", |
|
|
|
eventLevel: 1, |
|
|
|
eventType: 1, |
|
|
|
stringEventType: "交通事故", |
|
|
|
eventSubclass: "其他事故", |
|
|
|
eventCause: "其他事故", |
|
|
|
description: "其他事故", |
|
|
|
eventState: 0, |
|
|
|
eventSource: null, |
|
|
|
stringEventSource: "96659", |
|
|
|
eventNature: null, |
|
|
|
eventSourceTips: null, |
|
|
|
inTunnel: null, |
|
|
|
roadId: null, |
|
|
|
occurrenceTime: "2024-02-22 10:44:18", |
|
|
|
isPerceived: 0, |
|
|
|
lang: "2,3", |
|
|
|
roadName: "济菏高速", |
|
|
|
organizationName: "研发部门", |
|
|
|
processConfigList: [ |
|
|
|
{ |
|
|
|
"id": 8, |
|
|
|
"eventType": 1, |
|
|
|
"nodeNode": "1", |
|
|
|
"processNode": "接警记录", |
|
|
|
"commonPhrases": "" |
|
|
|
}, |
|
|
|
], |
|
|
|
eventTitle: "发生其他事故事故", |
|
|
|
dimension: null, |
|
|
|
longitude: null, |
|
|
|
dcEventMap: null, |
|
|
|
dcEventAbnormalWeather: null, |
|
|
|
dcEventAccident: { |
|
|
|
searchValue: null, |
|
|
|
createBy: null, |
|
|
|
createTime: null, |
|
|
|
updateBy: null, |
|
|
|
updateTime: null, |
|
|
|
remark: null, |
|
|
|
params: {}, |
|
|
|
id: "60f022d95a7c4b6cada2d780246543d8", |
|
|
|
reporterName: "王兴琳", |
|
|
|
reporterPhoneNumber: "19806119906", |
|
|
|
locationType: 1, |
|
|
|
trafficJam: 100, |
|
|
|
weatherCondition: 1, |
|
|
|
impactLevel: 2, |
|
|
|
isReverseCargo: 1, |
|
|
|
isMaintenance: 1, |
|
|
|
policeContact: "96659", |
|
|
|
towingServiceContact: "19806119906", |
|
|
|
congestionAhead: 0, |
|
|
|
atIntersection: 0, |
|
|
|
onCurve: 1, |
|
|
|
spillageItem: "抛洒物", |
|
|
|
vehicleOwnerPhone: "19806119906", |
|
|
|
smallCar: 10, |
|
|
|
trucks: 0, |
|
|
|
buses: 0, |
|
|
|
tankers: 0, |
|
|
|
minorInjuries: 1, |
|
|
|
seriousInjuries: null, |
|
|
|
fatalities: null, |
|
|
|
isPrivate: null, |
|
|
|
facilityId: null, |
|
|
|
rampId: null, |
|
|
|
location: null, |
|
|
|
dcEvent: null |
|
|
|
}, |
|
|
|
dcEventConstruction: null, |
|
|
|
dcEventServiceArea: null, |
|
|
|
dcEventTrafficCongestion: null, |
|
|
|
dcEventVehicleAccident: null, |
|
|
|
dcEventTrafficControl: null, |
|
|
|
nickName: "管理员", |
|
|
|
stringEventState: "待确认", |
|
|
|
commonPhrases: null, |
|
|
|
nodeNode: null, |
|
|
|
eventName: "交通事故", |
|
|
|
processNode: null, |
|
|
|
updateTime: null, |
|
|
|
createTime: "2024-02-22 10:49:34", |
|
|
|
remark: null, |
|
|
|
subclass: "1-5", |
|
|
|
linkId: null |
|
|
|
}; |
|
|
|
|
|
|
|
export default { |
|
|
|
name: "EditEventInformationDialog", |
|
|
|
components: { |
|
|
@ -176,6 +78,9 @@ export default { |
|
|
|
// console.log('numbers', numbers); |
|
|
|
info.stakeMark = numbers; |
|
|
|
} |
|
|
|
if (typeof info.lang == 'string') { |
|
|
|
info.lang = info.lang.split(','); |
|
|
|
} |
|
|
|
this.fData = info; |
|
|
|
|
|
|
|
let configList = tabConfigList.find(item => item.label == this.fData.eventName) |
|
|
|