From 56772980016f5c387b8170a40aa8af848b2a48e6 Mon Sep 17 00:00:00 2001 From: zhoule Date: Wed, 17 Apr 2024 14:29:14 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=84=E6=A1=88=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../control/event/plan/addAndEditDialog/ScopeTable.vue | 6 +----- .../pages/control/event/plan/addAndEditDialog/index.vue | 4 ++-- 2 files changed, 3 insertions(+), 7 deletions(-) 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 a6b44689..bfd9003a 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 @@ -155,7 +155,7 @@ --> - + @@ -213,10 +213,6 @@ export default { }, { value: 3, - label: '事发下游最近' - }, - { - value: 4, label: '最近公里数' }, ], diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/plan/addAndEditDialog/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/plan/addAndEditDialog/index.vue index 404e0476..71088655 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/plan/addAndEditDialog/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/plan/addAndEditDialog/index.vue @@ -273,7 +273,7 @@ export default { let dcArr = []; this.tableData.forEach(item => { let dcData = { - id: item.id || '', + id: null, deviceType: item.deviceType, searchRule: item.searchRule, number: item.number @@ -346,13 +346,13 @@ export default { if (result.code != 200) return Message.error(result?.msg); Message.success("提交成功"); this.modelVisible = false; + this.$emit("reInitData", true); }) .catch(() => { Message.error("提交失败"); }) .finally(() => { this.submitting = false; - this.$emit("reInitData", true); }); } }