From 7e1d38f401555ac635c9ce10f63902d9a4c402e0 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期一, 14 十月 2024 17:15:47 +0800
Subject: [PATCH] Merge remote-tracking branch 'supervisionVue/hc-procheck-1014'

---
 src/components/SearchBar.vue |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/components/SearchBar.vue b/src/components/SearchBar.vue
index 50fd81e..539278a 100644
--- a/src/components/SearchBar.vue
+++ b/src/components/SearchBar.vue
@@ -49,6 +49,7 @@
       formSearch: {
         topTaskId: '',
         sceneTypeId: '',
+        obj: '',
       },
     };
   },
@@ -61,6 +62,7 @@
           list.push({
             value: r.tguid,
             label: r.name,
+            obj: r,
             towncode: r.towncode,
             districtCode: r.districtcode,
             month: r.starttime.slice(0, 7),
@@ -68,6 +70,7 @@
         });
         this.topTasks = list;
         this.formSearch.topTaskId = list[0].value;
+        this.formSearch.obj = list[0].obj;
         this.$emit('onSubmit', this.formSearch);
       });
     },

--
Gitblit v1.9.3