From 79a9d8883cb6272bf04674fe2c5db2dcb29f2d0f Mon Sep 17 00:00:00 2001
From: su1124 <1583764726@qq.com>
Date: 星期一, 24 六月 2024 16:44:24 +0800
Subject: [PATCH] su

---
 src/views/hosp/history/index.vue |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/src/views/hosp/history/index.vue b/src/views/hosp/history/index.vue
index 36b0bd2..24f32e0 100644
--- a/src/views/hosp/history/index.vue
+++ b/src/views/hosp/history/index.vue
@@ -27,6 +27,7 @@
               style="width: 170px"
               clearable
               @keyup.enter.native="handleQuery"
+              @blur="hb"
             />
           </el-form-item>
           <el-form-item>
@@ -137,9 +138,7 @@
         </div>
       </div>
       <div class="hist3">
-        <jianqianwenzhen
-          :jianqianwenzhendata="jianqianwenzhendata"
-        ></jianqianwenzhen>
+        <jianqianwenzhen :jianqianwenzhendata="jianqianwenzhendata"></jianqianwenzhen>
       </div>
     </div>
 
@@ -172,7 +171,6 @@
   ],
   data() {
     let checkPhoneNum = (rule, value, callback) => {
-      console.log(value);
       let patter = new RegExp(/^1\s*[3456789]\s*(\d\s*){9}$/);
       if (value == "" && value == undefined && !value) {
         return callback("");
@@ -295,7 +293,7 @@
       this.loading = true;
       listHarmType().then((response) => {
         this.harmTypeList = response.rows;
-        this.loading = false;
+        
       });
       getOrderList(this.queryParams).then((response) => {
         this.orderList = response.data.list;
@@ -365,6 +363,11 @@
       this.tjAskHistorysList = [];
       this.resetForm("form");
     },
+    hb(){
+       if (this.queryParams.tjNum != undefined) {
+        this.handleQuery();
+      }
+    },
     /** 鎼滅储鎸夐挳鎿嶄綔 */
     handleQuery() {
       this.queryParams.pageNum = 1;

--
Gitblit v1.8.0