From c1d2051abc8ca88cd07f0d7c56c0dbf8165d5c33 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期四, 18 九月 2025 17:02:22 +0800
Subject: [PATCH] 2025.9.18 数据产品(待完成)

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

diff --git a/src/components/SearchBar.vue b/src/components/SearchBar.vue
index c3609f4..19f48c3 100644
--- a/src/components/SearchBar.vue
+++ b/src/components/SearchBar.vue
@@ -1,6 +1,6 @@
 <template>
   <el-row class="layout">
-    <el-col :span="10">
+    <el-col :span="$slots.summary ? 10 : 24">
       <el-form :inline="true" :model="formSearch">
         <el-form-item label="鎬讳换鍔�">
           <!-- <el-input v-model="formSearch.topTaskId" placeholder="鎬讳换鍔�" /> -->
@@ -27,7 +27,7 @@
         </el-form-item>
       </el-form>
     </el-col>
-    <el-col :span="14">
+    <el-col :span="$slots.summary ? 14 : 0">
       <el-row justify="end">
         <slot name="summary"></slot>
       </el-row>
@@ -85,7 +85,8 @@
       );
       const param = {
         topTask: task ? task.data : {},
-        sceneTypeId: this.formSearch.scenetype.value
+        sceneTypeId: this.formSearch.scenetype.value,
+        sceneTypeName: this.formSearch.scenetype.label,
       };
       // console.log(param);
 

--
Gitblit v1.9.3