From 8e7cd003414ea4ca8f42fb3171de18f8839ece17 Mon Sep 17 00:00:00 2001
From: yangfeng <wanwan926_4@163.com>
Date: 星期一, 10 七月 2023 18:04:27 +0800
Subject: [PATCH] 登录页面和查询分类设置

---
 src/components/makepager/SearchCommonView.vue |   19 ++++++++++++++++++-
 1 files changed, 18 insertions(+), 1 deletions(-)

diff --git a/src/components/makepager/SearchCommonView.vue b/src/components/makepager/SearchCommonView.vue
index 768342a..6eddf4f 100644
--- a/src/components/makepager/SearchCommonView.vue
+++ b/src/components/makepager/SearchCommonView.vue
@@ -7,7 +7,7 @@
           <el-option v-for="item in queryClassOptions" :key="item.value" :label="item.label" :value="item.value">
           </el-option>
         </el-select>
-        <div class="query-class-btn">
+        <div class="query-class-btn" @click="queryClassClick">
           <i class="el-icon-setting"></i>
         </div>
       </div>
@@ -83,12 +83,17 @@
         </div>
       </div>
     </div>
+    <!-- 鏌ヨ鍒嗙被寮圭獥 -->
+    <QueryClassSettingDialog v-if="queryClassSetConfig.visible" :editCommonConfig="queryClassSetConfig" />
   </div>
 </template>
 
 <script>
+import QueryClassSettingDialog from "@/views/other/QueryClassSettingDialog.vue"
+
 export default {
   name: "SearchCommonView",
+  components: { QueryClassSettingDialog },
   props: {
     queryClass: {
       type: String,
@@ -113,6 +118,10 @@
   },
   data() {
     return {
+      queryClassSetConfig: {
+        visible: false,
+        infomation: {}
+      },
       queryClassValue: this.queryClass,
       searchInput: "",
       searchSelValue: this.searchSel,
@@ -144,6 +153,11 @@
     }
   },
   methods: {
+    queryClassClick() {
+      this.queryClassSetConfig = {
+        visible: true
+      }
+    },
     searchClick() {
       console.log("sssssssssss")
     },
@@ -195,6 +209,7 @@
         font-size: 16px;
         margin-left: 10px;
         color: #bebebe;
+        cursor: pointer;
       }
     }
     .search {
@@ -212,6 +227,7 @@
       margin-left: 20px;
       .other-search-high {
         display: flex;
+        cursor: pointer;
         .high-icon {
           font-size: 18px;
         }
@@ -219,6 +235,7 @@
       .other-search-tile,
       .other-search-label {
         display: flex;
+        cursor: pointer;
         margin-left: 20px;
         .high-icon {
           font-size: 18px;

--
Gitblit v1.8.0