From 7d2dba2945bf807413e7fc809fc06acebe3721a8 Mon Sep 17 00:00:00 2001
From: lkk <364857242@qq.com>
Date: 星期二, 21 一月 2025 13:46:41 +0800
Subject: [PATCH] 1

---
 src/views/picture/picture/index.vue |   18 ++++++++++++++----
 1 files changed, 14 insertions(+), 4 deletions(-)

diff --git a/src/views/picture/picture/index.vue b/src/views/picture/picture/index.vue
index 235a1c8..5f34f8e 100644
--- a/src/views/picture/picture/index.vue
+++ b/src/views/picture/picture/index.vue
@@ -15,7 +15,7 @@
           placeholder="璇疯緭鍏ヤ綋妫�鍙�"
           clearable
           @keyup.enter.native="handleQuery"
-          @blur="handleQuery"
+          @blur="hb"
           style="width: 170px"
         />
       </el-form-item>
@@ -33,7 +33,7 @@
           type="primary"
           icon="el-icon-search"
           size="mini"
-          @click="handleQuery"
+          @click="handleQuery" style="margin-right:15px;"
           >鎼滅储</el-button
         >
         <el-button icon="el-icon-refresh" size="mini" @click="resetQuery"
@@ -73,9 +73,13 @@
             prop="customer.cusSex"
             width="60px"
           >
-            <template slot-scope="scope">
+            <!-- <template slot-scope="scope">
               {{ scope.row.customer.cusSex === 0 ? "鐢�" : "濂�" }}
-              <!-- <dict-tag :options="dict.type.sys_user_sex" :value="scope.row.cusSex " /> -->
+            </template> -->
+             <template slot-scope="scope">
+              <span v-if="scope.row.cusSex == '0'">鐢�</span>
+              <span v-if="scope.row.cusSex == '1'">濂�</span>
+              <span v-if="scope.row.cusSex == '2'">鏈煡</span>
             </template>
           </el-table-column>
           <!-- <el-table-column label="鐢熸棩" align="center" prop="customer.cusBrithday" width="110px" /> -->
@@ -335,6 +339,12 @@
       };
       this.resetForm("form");
     },
+     hb(){
+      console.log(this.queryParams.tjNum);
+       if (this.queryParams.tjNum != null) {
+        this.handleQuery();
+      }
+    },
     /** 鎼滅储鎸夐挳鎿嶄綔 */
     handleQuery() {
       this.queryParams.pageNum = 1;

--
Gitblit v1.8.0