From a8fa98cb913b36fe327dd21261b63d1a71044666 Mon Sep 17 00:00:00 2001 From: lb Date: Fri, 24 Nov 2023 14:56:17 +0800 Subject: [PATCH] update StatusAndParams --- src/views/equipment/monitor/SearchBar.vue | 7 +- .../monitor/StatusAndParams/index.vue | 46 +++++++++-- .../monitoring/equipmentFullParams/index.vue | 79 +++++++++++++------ 3 files changed, 101 insertions(+), 31 deletions(-) diff --git a/src/views/equipment/monitor/SearchBar.vue b/src/views/equipment/monitor/SearchBar.vue index 1ac5b175..5ecc8031 100644 --- a/src/views/equipment/monitor/SearchBar.vue +++ b/src/views/equipment/monitor/SearchBar.vue @@ -105,7 +105,12 @@ export default { } this.listEq.splice(0); }, - handleSearch() {}, + handleSearch() { + this.$emit('action', { + action: 'search', + payload: this.form, + }); + }, }, }; diff --git a/src/views/equipment/monitor/StatusAndParams/index.vue b/src/views/equipment/monitor/StatusAndParams/index.vue index 5bb0dedc..e3f0fe1d 100644 --- a/src/views/equipment/monitor/StatusAndParams/index.vue +++ b/src/views/equipment/monitor/StatusAndParams/index.vue @@ -1,7 +1,7 @@