From b2edb48d72d4bd893252918485e775967ef82ff8 Mon Sep 17 00:00:00 2001
From: qinxianzhangyao <11053546+qinxianzhangyao@user.noreply.gitee.com>
Date: 星期一, 26 二月 2024 08:34:53 +0800
Subject: [PATCH] qxtj

---
 src/views/picture/picture/index.vue |   16 +++++++++++++---
 1 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/src/views/picture/picture/index.vue b/src/views/picture/picture/index.vue
index 235a1c8..8d272e4 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>
@@ -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