From 8181583ea89c7af496e16df4f6a4953857923f63 Mon Sep 17 00:00:00 2001
From: su1124 <1583764726@qq.com>
Date: 星期一, 25 十二月 2023 18:36:32 +0800
Subject: [PATCH] su

---
 src/views/doctor/examination/index.vue |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/src/views/doctor/examination/index.vue b/src/views/doctor/examination/index.vue
index 8136e85..222dd06 100644
--- a/src/views/doctor/examination/index.vue
+++ b/src/views/doctor/examination/index.vue
@@ -9,10 +9,11 @@
     >
       <el-form-item label="浣撴鍙�" prop="tjNumber">
         <el-input
+        ref="inputName"
           v-model="queryParams.tjNumber"
           placeholder="璇疯緭鍏ヤ綋妫�鍙�"
           clearable
-          @keyup.enter.native="handleQuery"
+          @keyup.enter.native="handleQuery" @blur="handleQuery"
           style="width: 170px"
         />
       </el-form-item>
@@ -340,6 +341,11 @@
     this.getList();
     // this.getNowTime();
   },
+  mounted() {
+    this.$nextTick(() => {
+      this.$refs.inputName.focus();
+    });
+  },
   methods: {
     // / 澶勭悊榛樿閫変腑褰撳墠鏃ユ湡
     getNowTime() {

--
Gitblit v1.8.0