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); }); } }