From 6c07c68d0ab84f7734cdc8330ec7b3e9ca764883 Mon Sep 17 00:00:00 2001 From: zhoule Date: Thu, 9 May 2024 21:38:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=8B=E4=BB=B6=E7=AE=A1=E6=8E=A7-=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E4=BA=8B=E4=BB=B6=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../EditEventInformationDialog/index.vue | 101 +----------------- 1 file changed, 3 insertions(+), 98 deletions(-) diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/EventInformation/components/EditEventInformationDialog/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/EventInformation/components/EditEventInformationDialog/index.vue index a78c2425..f4da8480 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/EventInformation/components/EditEventInformationDialog/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/EventInformation/components/EditEventInformationDialog/index.vue @@ -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)