diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/HomeFilter/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/HomeFilter/index.vue index 4e55059c..f7b33396 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/HomeFilter/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/HomeFilter/index.vue @@ -110,7 +110,8 @@ export default { this.formList[2].options.options = options; }, immediate: true, - deep: true + deep: true, + isButtonClick: false } }, methods: { @@ -126,6 +127,13 @@ export default { this.$parent.$refs.RoadAndEventsRef?.setFilterDataNoAction?.(data); }, async handleResetForm() { + if(this.isButtonClick){return} + + this.isButtonClick = true; + setTimeout(() => { + this.isButtonClick = false; + }, 500); + this.$refs.FormConfigRef?.reset(); this.activeIcon = "filter"; this.filterEnd(initSearch); 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 8e424c5e..7b231d2a 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 @@ -2,10 +2,15 @@
- + + + + + {{ }} @@ -322,22 +327,6 @@ export default { return true; }, }, - // { - // label: "控制操作:", - // key: "controlOp", - // type: "select", - // default: null, - // options: { - // clearable: true, - // options: [{ - // label: "在线", - // value: "1" - // }, { - // label: "离线", - // value: "0" - // }] - // }, - // }, ], DeviceTopics, componentMap,