From bd5fdf8ee6d0a63580f9d7a7cd6b0d20742a333d Mon Sep 17 00:00:00 2001 From: zhangzhang <1747194829@qq.com> Date: Fri, 17 May 2024 17:58:15 +0800 Subject: [PATCH 01/11] =?UTF-8?q?=E5=AE=8C=E5=96=84=E6=8C=87=E6=8C=A5?= =?UTF-8?q?=E8=B0=83=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/api/commandDispatch/index.js | 16 + .../eventDialogTable/eventDialog.vue | 30 +- .../TimeLine/TimeLine2/DescCard.vue | 329 +++++++++++++++++- .../DisposalProcess/DialogVisible/index.vue | 10 +- .../Cards/DisposalProcess/index.vue | 2 + 5 files changed, 359 insertions(+), 28 deletions(-) diff --git a/ruoyi-ui/src/api/commandDispatch/index.js b/ruoyi-ui/src/api/commandDispatch/index.js index 3f85b074..970ec5e0 100644 --- a/ruoyi-ui/src/api/commandDispatch/index.js +++ b/ruoyi-ui/src/api/commandDispatch/index.js @@ -141,3 +141,19 @@ export function importantFileStatus(eventId) { method: "get", }); } + +// 事件预案详情 +export function eventDetails(assocId) { + return request({ + url: `/business/plans/event/assocId/${assocId}`, + method: "get", + }); +} + +// 获取重要文件内容详情 +export function getEventImportantFileDetails(id) { + return request({ + url: `/business/eventImportantFile/${id}`, + method: "get", + }); +} diff --git a/ruoyi-ui/src/components/eventDialogTable/eventDialog.vue b/ruoyi-ui/src/components/eventDialogTable/eventDialog.vue index 95c5ac8b..6d6452a8 100644 --- a/ruoyi-ui/src/components/eventDialogTable/eventDialog.vue +++ b/ruoyi-ui/src/components/eventDialogTable/eventDialog.vue @@ -561,7 +561,9 @@
-
复核提交
+
+ 复核提交 +
- - -
+ 详情 +
+
+ {{ item.deviceName }}: + {{ item.content }} +
+
+ +
+ 详情 +
+ +
+
+
+

+ 重要事件 +

+

+ 报送单位: + {{ formFileData.fromDept }}报送时间:{{ formFileData.createTime }} +

+

+ —————————————————— +

+

+ {{ formFileData.title }} +

+

+ 智慧管理中心: +

+ + +

+

+

+ —————————————————— +

+

+ 填报人:{{ formFileData.createName }} + 联系电话:{{ formFileData.phoneNumber }} + 签发人:{{ formFileData.issued }} +

+
+
+ +
+
+
@@ -99,4 +376,40 @@ export default { line-height: 19px; } } +.videoClass { + width: 300px; + height: 180px; +} +.docx-wrapper { + background: #fff; + padding: 30px; + display: flex; + flex-flow: column; + align-items: center; + > section.docx { + background: white; + box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); + margin-bottom: 30px; + } + .docx p, + p.docx_1 span { + font-family: var(--docx-minorHAnsi-font); + color: #00000a; + min-height: 11pt; + font-size: 11pt; + } + button { + cursor: pointer; + width: 100px; + height: 35px; + line-height: 35px; + color: #fff; + background: #00b3cc; + border-radius: 48px; + display: flex; + justify-content: center; + align-items: center; + border: none; + } +} diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/DisposalProcess/DialogVisible/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/DisposalProcess/DialogVisible/index.vue index 8ff821d1..9108070e 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/DisposalProcess/DialogVisible/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/DisposalProcess/DialogVisible/index.vue @@ -17,7 +17,7 @@ ref="FormReportRef" :formList="reportList" v-model="reportData" - label-width="100px" + label-width="150px" /> @@ -59,7 +61,6 @@ export default { this.initData(this.detailData); }, initData(eventInfo) { - console.log("eventInfo", eventInfo); request({ url: `business/plans/list/event/type`, method: "post", @@ -120,6 +121,51 @@ export default { } this.tableData.splice(index, 1); }, + onConfirm(index){ + const param = { + "dcEvent": { + "eventType": this.detailData.eventType, + "direction": this.detailData.direction, + "id": this.detailData.id, + "stakeMark": this.detailData.stakeMark, + "subclass": this.detailData.subclass + }, + "dcExecuteAction": { + "id": "", + "emergencyPlansId": "", + "deviceType": this.tableData[index].deviceType, + "searchRule": this.tableData[index].searchRule, + "number": this.tableData[index].number, + "deviceList": this.tableData[index].devList.join(','), + "executeConfig": "{\"operationType\":2}", + "recoverConfig": "{\"operationType\":2}" + } + } + request({ + url: `business/plans/list/event/emergencyPlans`, + method: "post", + data: param, + }).then(result=>{ + if (result.code != 200) return Message.error(result?.msg); + let data = result.data; + this.tableData[index].executeConfig = JSON.parse(data.executeConfig) + this.tableData[index].recoverConfig = JSON.parse(data.recoverConfig) + this.tableData[index].zx_operationType = this.tableData[index].executeConfig?.operationType; + this.tableData[index].hf_operationType = this.tableData[index].recoverConfig?.operationType; + this.tableData = _.cloneDeep(this.tableData) + }) + }, + onContentEdit({field,index,idx,type}){ + if(type==='edit'){ + this.tableData[index][field]['contentList'][idx]['isEditor'] = this.tableData[index][field]['contentList'][idx].content; + } else if(type === 'cancel'){ + this.tableData[index][field]['contentList'][idx]['content'] = this.tableData[index][field]['contentList'][idx].isEditor; + delete this.tableData[index][field]['contentList'][idx].isEditor + } else if(type === 'confirm'){ + delete this.tableData[index][field]['contentList'][idx].isEditor + } + this.tableData = _.cloneDeep(this.tableData) + }, handleSubmit(value = 1) { let dcArr = []; this.tableData.forEach((item) => { diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/index.vue index 0ca7df3e..45497256 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/index.vue @@ -63,8 +63,14 @@ export default { let h = window.location.href.split("="); if (h.length === 2) { this.detailId = window.location.href.split("=")[1]; + localStorage.setItem('commandDispatch',this.detailId) } else { - this.detailId = "b825c7bbf4de43cdb8f689e270adf7a1"; + let id = localStorage.getItem('commandDispatch') + if(id && id !== ''){ + this.detailId = id; + } else { + this.detailId = "b825c7bbf4de43cdb8f689e270adf7a1"; + } } this.getDetail(); }, diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/smart/manage/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/smart/manage/index.vue index a950e12d..9a312ff6 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/smart/manage/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/smart/manage/index.vue @@ -342,7 +342,6 @@ export default { }, /** 修改按钮操作 */ handleUpdate(row) { - console.log(row,'-------------------') this.formData = row; this.modelVisible = true; }, From 0afd9781a7cb3d224ad6eafcd45d02903abe741f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E9=92=A6?= <360013221@qq.com> Date: Sat, 18 May 2024 17:43:45 +0800 Subject: [PATCH 03/11] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=83=A8=E5=88=86?= =?UTF-8?q?=E9=9C=80=E6=B1=822024-05-18?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/common/menuData.js | 12 + .../components/RoadStateCard/data.js | 8 + .../RoadStateCard/images/confirmed22.svg | 32 + .../RoadStateCard/images/processed24.svg | 31 + .../RoadStateCard/images/processing21.svg | 33 + .../RoadStateCard/images/toBeConfirmed23.svg | 32 + .../Dialogs/PerceiveEvent/index.vue | 345 ++- .../components/HomeFrameControl/index.vue | 26 +- .../components/RoadAndEvents/utils/map.js | 10 +- .../DeviceControl/components/ScopeTable.vue | 6 +- .../Cards/DeviceControl/index.vue | 10 +- .../event/event/EventDetailDialog/data.js | 2 +- .../event/event/EventDetailDialog/index.vue | 124 +- .../smart/analysis/data.js | 28 + .../smart/analysis/images/refresh.svg | 22 + .../smart/analysis/index.vue | 34 + .../Carousel/images/arrow.svg | 36 + .../EventDetailDialog/Carousel/index.vue | 126 + .../eventAnalysis/EventDetailDialog/data.js | 177 ++ .../eventPlanDialog/index.vue | 521 ++++ .../EventDetailDialog/formTable/index.vue | 336 +++ .../eventAnalysis/EventDetailDialog/index.vue | 406 +++ .../EventDetailDialog/qbbDialog/index.vue | 381 +++ .../FormEvent/PresetFormItems.js | 1228 ++++++++ .../eventAnalysis/FormEvent/data.js | 2537 +++++++++++++++++ .../eventAnalysis/FormEvent/index.vue | 258 ++ .../pages/perception/eventAnalysis/data.js | 226 ++ .../eventAnalysis/images/export.svg | 14 + .../eventAnalysis/images/insert.svg | 9 + .../eventAnalysis/images/refresh.svg | 22 + .../pages/perception/eventAnalysis/index.vue | 321 +++ 31 files changed, 7147 insertions(+), 206 deletions(-) create mode 100644 ruoyi-ui/src/views/JiHeExpressway/components/RoadStateCard/images/confirmed22.svg create mode 100644 ruoyi-ui/src/views/JiHeExpressway/components/RoadStateCard/images/processed24.svg create mode 100644 ruoyi-ui/src/views/JiHeExpressway/components/RoadStateCard/images/processing21.svg create mode 100644 ruoyi-ui/src/views/JiHeExpressway/components/RoadStateCard/images/toBeConfirmed23.svg create mode 100644 ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/smart/analysis/data.js create mode 100644 ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/smart/analysis/images/refresh.svg create mode 100644 ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/smart/analysis/index.vue create mode 100644 ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventAnalysis/EventDetailDialog/Carousel/images/arrow.svg create mode 100644 ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventAnalysis/EventDetailDialog/Carousel/index.vue create mode 100644 ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventAnalysis/EventDetailDialog/data.js create mode 100644 ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventAnalysis/EventDetailDialog/eventPlanDialog/index.vue create mode 100644 ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventAnalysis/EventDetailDialog/formTable/index.vue create mode 100644 ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventAnalysis/EventDetailDialog/index.vue create mode 100644 ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventAnalysis/EventDetailDialog/qbbDialog/index.vue create mode 100644 ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventAnalysis/FormEvent/PresetFormItems.js create mode 100644 ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventAnalysis/FormEvent/data.js create mode 100644 ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventAnalysis/FormEvent/index.vue create mode 100644 ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventAnalysis/data.js create mode 100644 ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventAnalysis/images/export.svg create mode 100644 ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventAnalysis/images/insert.svg create mode 100644 ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventAnalysis/images/refresh.svg create mode 100644 ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventAnalysis/index.vue diff --git a/ruoyi-ui/src/common/menuData.js b/ruoyi-ui/src/common/menuData.js index 2e53651d..4260bd4f 100644 --- a/ruoyi-ui/src/common/menuData.js +++ b/ruoyi-ui/src/common/menuData.js @@ -37,6 +37,12 @@ export default [ name: "perceptionTrafficSituation", component: "perception/trafficSituation/index.vue", }, + { + title: "感知事件分析", + path: "/perception/eventAnalysis", + name: "perceptionEventAnalysis", + component: "perception/eventAnalysis/index.vue", + }, ], }, { @@ -177,6 +183,12 @@ export default [ path: "/maintain/smart/manage", component: "maintenanceOperations/smart/manage/index.vue", }, + { + title: "设备数据分析", + name: "deviceDataAnalysis", + path: "/maintain/smart/analysis", + component: "maintenanceOperations/smart/analysis/index.vue", + }, ], }, { diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/RoadStateCard/data.js b/ruoyi-ui/src/views/JiHeExpressway/components/RoadStateCard/data.js index d094e48e..0832e2de 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/components/RoadStateCard/data.js +++ b/ruoyi-ui/src/views/JiHeExpressway/components/RoadStateCard/data.js @@ -10,4 +10,12 @@ export const statusMap = { 4: "processing", // 待确认 5: "toBeConfirmed", + // 上报 + 21: "processing21", + // 已完成 + 22: "confirmed22", + // 已终止 + 23: "toBeConfirmed23", + // 自动结束 + 24: "processed24", }; diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/RoadStateCard/images/confirmed22.svg b/ruoyi-ui/src/views/JiHeExpressway/components/RoadStateCard/images/confirmed22.svg new file mode 100644 index 00000000..e38d7fde --- /dev/null +++ b/ruoyi-ui/src/views/JiHeExpressway/components/RoadStateCard/images/confirmed22.svg @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + +已完成 + diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/RoadStateCard/images/processed24.svg b/ruoyi-ui/src/views/JiHeExpressway/components/RoadStateCard/images/processed24.svg new file mode 100644 index 00000000..9a6ff56c --- /dev/null +++ b/ruoyi-ui/src/views/JiHeExpressway/components/RoadStateCard/images/processed24.svg @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + +自动结束 + diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/RoadStateCard/images/processing21.svg b/ruoyi-ui/src/views/JiHeExpressway/components/RoadStateCard/images/processing21.svg new file mode 100644 index 00000000..8623846e --- /dev/null +++ b/ruoyi-ui/src/views/JiHeExpressway/components/RoadStateCard/images/processing21.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + +上报 + diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/RoadStateCard/images/toBeConfirmed23.svg b/ruoyi-ui/src/views/JiHeExpressway/components/RoadStateCard/images/toBeConfirmed23.svg new file mode 100644 index 00000000..9a0317bb --- /dev/null +++ b/ruoyi-ui/src/views/JiHeExpressway/components/RoadStateCard/images/toBeConfirmed23.svg @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + +已终止 + diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/PerceiveEvent/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/PerceiveEvent/index.vue index 9a59b27b..b80b50af 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/PerceiveEvent/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/PerceiveEvent/index.vue @@ -13,7 +13,7 @@
@@ -43,7 +43,91 @@ import { markerClusterIns } from "@screen/pages/Home/components/RoadAndEvents/ut import { eventMap } from "@screen/pages/Home/components/RoadAndEvents/utils/buttonEvent"; let vehicleTypeList = []; - +const _formList = [{ + label: "报警时间:", + key: "warningTime", + type: "text", + }, + { + label: "事件地点:", + key: "stakeMark", + type: "text", + }, + { + label: "路段方向:", + key: "direction", + type: "text", + isAlone: true, + }, + { + label: "事件来源:", + key: "warningSource", + type: "text", + enum: "InfoWarningSource", + }, + { + label: "事件类型:", + key: "warningType", + type: "select", + options: { + disabled: true, + options: WarningTypeList, + }, + ons: { + change: (value, { data }) => { + this.formList[5].options.options = + WarningSubclassList[value] || []; + data.warningSubclass = null; + }, + }, + }, + { + label: "细分类型:", + key: "warningSubclass", + type: "select", + options: { + options: [], + }, + }, + // { + // label: "车辆类型:", + // key: "vehicleType", + // type: "select", + // options: { + // options: vehicleTypeList + // }, + // }, + { + label: "事件描述:", + key: "remark", + options: { + type: "textarea", + maxlength: 100, + autosize: { minRows: 3, maxRows: 3 }, + showWordLimit: true, + }, + }, + { + label: "影响车道:", + key: "lane", + type: "CheckboxGroup", + options: { + // activeColor: "linear-gradient(180deg, #37E7FF 0%, #009BCC 100%)", + options: LaneOccupancyList, + gap: "12px", + }, + }, + { + label: "持续时长:", + key: "duration", + type: "text", + }, + // { + // label: "天气情况:", + // key: "weather", + // type: "text", + // }, +] function getDuration(warningTime) { const currentTime = moment(); const specifiedTime = moment(warningTime); @@ -94,92 +178,8 @@ export default { // deviceVendors: "XXX厂家", // time: "2023/01/02 09:09:09" }, - formList: [ - { - label: "报警时间:", - key: "warningTime", - type: "text", - }, - { - label: "事件地点:", - key: "stakeMark", - type: "text", - }, - { - label: "路段方向:", - key: "direction", - type: "text", - isAlone: true, - }, - { - label: "事件来源:", - key: "warningSource", - type: "text", - enum: "InfoWarningSource", - }, - { - label: "事件类型:", - key: "warningType", - type: "select", - options: { - disabled: true, - options: WarningTypeList, - }, - ons: { - change: (value, { data }) => { - this.formList[5].options.options = - WarningSubclassList[value] || []; - data.warningSubclass = null; - }, - }, - }, - { - label: "细分类型:", - key: "warningSubclass", - type: "select", - options: { - options: [], - }, - }, - // { - // label: "车辆类型:", - // key: "vehicleType", - // type: "select", - // options: { - // options: vehicleTypeList - // }, - // }, - { - label: "事件描述:", - key: "remark", - options: { - type: "textarea", - maxlength: 100, - autosize: { minRows: 6, maxRows: 6 }, - showWordLimit: true, - }, - }, - { - label: "影响车道:", - key: "lane", - type: "CheckboxGroup", - options: { - // activeColor: "linear-gradient(180deg, #37E7FF 0%, #009BCC 100%)", - options: LaneOccupancyList, - gap: "12px", - }, - }, - { - label: "持续时长:", - key: "duration", - type: "text", - }, - // { - // label: "天气情况:", - // key: "weather", - // type: "text", - // }, - ], + formList: [], + loading:false, }; }, async created() { @@ -196,42 +196,116 @@ export default { this.dialogData.pictures = otherConfig.pictures } - console.log(1122, this.dialogData, 3344); + this.formList = [..._formList] }, beforeDestroy() { clearInterval(this.interval); }, methods: { onDelete() { - const id = this.dialogData.id; - id && - this.$confirm("确定误报吗?", "提示", { - confirmButtonText: "确定", - cancelButtonText: "取消", - type: "warning", - }).then(() => { - request({ - url: `/business/warning/delete`, - method: "post", - data: { id }, - }).then((result) => { - if (result.code == 200) Message.success("成功!"); - else Message.error(result?.msg); - const item = { title: "感知事件" }; - - eventMap[`事件专题/${item.title}_close`]?.call( - this, - item, - (item) => { - return item?.extData?.id == id; + const self = this; + if(this.formList.length === _formList.length ){ + this.formList.splice(6,0,{ + label: "解除类型:", + key: "relieveType", + type: "RadioGroup", + isAlone: true, + required: true, + options: { + activeColor: "linear-gradient(180deg, #37E7FF 0%, #009BCC 100%)", + options: [ + { + key: "1", + label: "误报解除", + }, + { + key: "2", + label: "已结束", }, - "special" - ); - //触发全局监听事件 - this.$root.$emit('refresh-event'); - // markerClusterIns.setData(); + { + key: "3", + label: "无需处理", + }, + { + key: "4", + label: "其它", + } + ], + }, + }) + this.formList.splice(7,0,{ + label: "解除原因:", // 标题 + key: "relieveReason", //数据存储字段 + isAlone: true, // 单独一行 + type: "input", //组件类型(el-input 去掉el-即可) 不填默认为input + options: { //element原生formItem属性 + type: "textarea", + autosize: true, + maxlength: 200, + autosize: { minRows: 3, maxRows: 3 }, + showWordLimit: true, + } + }) + } else { + this.$refs.FormConfigRef.validate() + .then((result) => { + this.loading = true; + request({ + url: `/business/warning/falseAlarm`, + method: "post", + data: { + id: this.dialogData.id, + relieveType: result.relieveType, + relieveReason: result.relieveReason + }, + }).then((result) => { + + if (result.code == 200) Message.success("成功!"); + else Message.error(result?.msg); + this.obverseVisible = false; + this.loading = false; + setTimeout(() => { + self.$root.$emit('delete-event'); + //触发全局监听事件 + self.$root.$emit('refresh-event'); + }, 500); + + + }); + }) + .catch((err) => { }); - }); + } + // 2024-05-18 修改为二次确认,增加误报类型和误报原因 + // const id = this.dialogData.id; + // id && + // this.$confirm("确定误报吗?", "提示", { + // confirmButtonText: "确定", + // cancelButtonText: "取消", + // type: "warning", + // }).then(() => { + // request({ + // url: `/business/warning/delete`, + // method: "post", + // data: { id }, + // }).then((result) => { + // if (result.code == 200) Message.success("成功!"); + // else Message.error(result?.msg); + // const item = { title: "感知事件" }; + + // eventMap[`事件专题/${item.title}_close`]?.call( + // this, + // item, + // (item) => { + // return item?.extData?.id == id; + // }, + // "special" + // ); + // //触发全局监听事件 + // this.$root.$emit('refresh-event'); + // // markerClusterIns.setData(); + // }); + // }); }, getVehicleTypeList(fn) { if (vehicleTypeList.length) { @@ -275,35 +349,6 @@ export default { .then(({ data, code }) => { if (code != 200) return Message.error("详情获取失败"); - // data = { - // "searchValue": null, - // "createBy": null, - // "createTime": "2024-07-23 14:18:58", - // "updateBy": null, - // "updateTime": "2024-02-01 15:55:34", - // "remark": "111", - // "params": {}, - // "id": "1", - // "stakeMark": "k103+900", - // "direction": "1", - // "deptId": null, - // "warningState": 1, - // "warningTime": null, - // "userId": null, - // "warningSource": 1, - // "warningLevel": null, - // "warningType": 1, - // "warningSubclass": null, - // "warningTitle": null, - // "otherConfig": null, - // "lane": null, - // "sectionName": null, - // "number": 0, - // "type": null, - // "sectionId": null, - // "longitude": "116.493888", - // "latitude": "36.291145" - // }; data.duration = this.convertSecToHHmmss(data.duration); this.data = { ...data, @@ -334,16 +379,6 @@ export default { }, updateEvent() { this.btnLoading = true; - - // console.log({ - // id: this.dialogData.id, - // warningType: this.data.warningType, - // warningSubclass: this.data.warningSubclass, - // remark: this.data.remark, - // vehicleType: this.data.vehicleType, - // lane: this.data.lane - // }) - request({ url: `/perceivedEvents/warning/updateWarning`, method: "post", diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/HomeFrameControl/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/HomeFrameControl/index.vue index c0e31c42..93f8a409 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/HomeFrameControl/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/HomeFrameControl/index.vue @@ -21,7 +21,8 @@ -
+ +
取消
-
+ +
暂无数据
-
+ +
- + - - - + + + @@ -76,7 +79,7 @@
-
@@ -59,6 +61,9 @@ export default { this.bindEventTypePublishManageMonth(); }, bindEventTypePublishManageMonth(){ + if (!this.dateTime){ + return this.$modal.msgWarning("请选择日期"); + } request({ url: `/business/manage/eventTypePublishManageMonth`, method: "post", @@ -88,11 +93,11 @@ export default { // }); // var myChart = echarts.init(document.getElementById("postTrendsMonth")); // myChart.setOption(chartsStatistics); - }) + }) }, }, mounted() { - + this.init(); // setTimeout(() => { // this.$nextTick(() => { @@ -131,11 +136,11 @@ export default { display: flex; align-items: center; height: 40px; - width: 50%; + width: 35%; font-size: 14px; margin-bottom: 10px; - left: 20px; - top: 2px; + left: 10px; + top: 5px; z-index: 9; div { diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/postTrendsDay/assets/charts.js b/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/postTrendsDay/assets/charts.js index 0f33f352..6ce1d42f 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/postTrendsDay/assets/charts.js +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/postTrendsDay/assets/charts.js @@ -92,7 +92,7 @@ var options = { grid: { top: "75px", //上边距 right: "0", //右边距 - left: "0", //左边距 + left: "3px", //左边距 bottom: "20px", //下边距 containLabel: true, }, diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/postTrendsMonth/assets/charts.js b/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/postTrendsMonth/assets/charts.js index 090f6794..f6e044a3 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/postTrendsMonth/assets/charts.js +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/postTrendsMonth/assets/charts.js @@ -91,7 +91,7 @@ var options = { grid: { top: "80px", //上边距 right: "0", //右边距 - left: "0", //左边距 + left: "3px", //左边距 bottom: "20px", //下边距 containLabel: true, }, diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/postTrendsMonth/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/postTrendsMonth/index.vue index bdef0ab3..1182b7df 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/postTrendsMonth/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/postTrendsMonth/index.vue @@ -65,7 +65,7 @@ export default { }); var myChart = echarts.init(document.getElementById("postTrendsMonth")); myChart.setOption(chartsStatistics); - }) + }) }, init(){ this.dateTime = new Date(); diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/record/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/record/index.vue index 0609ad9f..51c2f956 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/record/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/record/index.vue @@ -20,10 +20,10 @@ :formConfigOptions="{ dFormData: { eventState: '0' } }" @handleSearch="handleSearch" />
- +
- + @@ -244,6 +246,11 @@ export default { display: flex; flex-direction: column; + .fader { + height: 500px; + overflow-y: auto; + } + .form { flex: 1; overflow-y: auto; diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/plan/addAndEditDialog/ScopeTable.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/plan/addAndEditDialog/ScopeTable.vue index daf5a5d1..b48f5fb3 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/plan/addAndEditDialog/ScopeTable.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/plan/addAndEditDialog/ScopeTable.vue @@ -214,7 +214,7 @@ export default { label: '事发上游最近' }, { - value: 3, + value: 4, label: '最近公里数' }, ], diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/smart/analysis/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/smart/analysis/index.vue index bd094ed2..186e9b0e 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/smart/analysis/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/smart/analysis/index.vue @@ -1,34 +1,315 @@ + + diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventAnalysis/FormEvent/PresetFormItems.js b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventAnalysis/FormEvent/PresetFormItems.js index 93c2b120..65ba1656 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventAnalysis/FormEvent/PresetFormItems.js +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventAnalysis/FormEvent/PresetFormItems.js @@ -728,7 +728,6 @@ export const locationMode = { key: "dcEventAccident.locationType", required: true, type: "select", - default: "1", options: { options: [ { key: 1, label: "高速主线" }, diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventAnalysis/FormEvent/data.js b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventAnalysis/FormEvent/data.js index 1e0550c1..e1119726 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventAnalysis/FormEvent/data.js +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventAnalysis/FormEvent/data.js @@ -858,8 +858,7 @@ export const tabConfigList = [ isAlone: false, required: true, options: { - options: [], - multiple: true, + options: [] }, visible: (data) => { if (data?.eventSubclass == "3-3") { diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/eventQuery/ElQuarterPicker.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/eventQuery/ElQuarterPicker.vue index 65cd0296..767693bc 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/eventQuery/ElQuarterPicker.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/eventQuery/ElQuarterPicker.vue @@ -101,7 +101,6 @@ }, watch: { value(val) { - // console.log('change-------', val) this.changeValue(val) }, readonly(val) { @@ -131,7 +130,6 @@ } }, mounted() { - // console.log('mounted--------', this.value) this.changeValue(this.value) // 设置文本框是否可编辑 @@ -345,7 +343,6 @@ }, // 季度选择 clickItem(item) { - // console.log('select--------', item) if (this.viewType === 1) { // 选择季度 this.$emit('change', this.formatTo([item.year, item.quarter], this.valueFormat)) diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorAnalysis/components/trafficIndicators/ElQuarterPicker.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorAnalysis/components/trafficIndicators/ElQuarterPicker.vue index 65cd0296..767693bc 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorAnalysis/components/trafficIndicators/ElQuarterPicker.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorAnalysis/components/trafficIndicators/ElQuarterPicker.vue @@ -101,7 +101,6 @@ }, watch: { value(val) { - // console.log('change-------', val) this.changeValue(val) }, readonly(val) { @@ -131,7 +130,6 @@ } }, mounted() { - // console.log('mounted--------', this.value) this.changeValue(this.value) // 设置文本框是否可编辑 @@ -345,7 +343,6 @@ }, // 季度选择 clickItem(item) { - // console.log('select--------', item) if (this.viewType === 1) { // 选择季度 this.$emit('change', this.formatTo([item.year, item.quarter], this.valueFormat)) diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/postTrendsDay/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/postTrendsDay/index.vue index 2f4af1bc..e380e36b 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/postTrendsDay/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/postTrendsDay/index.vue @@ -35,7 +35,6 @@ export default { }) .then((result) => { if (result.code != 200) return; - // console.log(result,'-----------------') let sdata = [[],[],[],[],[],[],[]] for(let i of result.data){ sdata[i.publishChannels-1].push(i.number) diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/record/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/record/index.vue index 0609ad9f..422b8f73 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/record/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/record/index.vue @@ -20,7 +20,8 @@ :formConfigOptions="{ dFormData: { eventState: '0' } }" @handleSearch="handleSearch" /> -
+
+
@@ -31,7 +32,7 @@ - +
- +