From f684f2df6dd0ab7f0d15f59ab61dcff952b8ce2b Mon Sep 17 00:00:00 2001
From: su1124 <1583764726@qq.com>
Date: 星期一, 05 二月 2024 16:56:33 +0800
Subject: [PATCH] su

---
 src/views/doctor/checkAll/index.vue |   33 +++++++++++++++++++++------------
 1 files changed, 21 insertions(+), 12 deletions(-)

diff --git a/src/views/doctor/checkAll/index.vue b/src/views/doctor/checkAll/index.vue
index 6e7730e..0adb9a6 100644
--- a/src/views/doctor/checkAll/index.vue
+++ b/src/views/doctor/checkAll/index.vue
@@ -24,7 +24,7 @@
           placeholder="璇疯緭鍏ヤ綋妫�鍙�"
           clearable
           @keyup.enter.native="submitForm"
-          @blur="submitForm"
+          @blur="hb"
         ></el-input>
       </el-form-item>
       <el-form-item label="浣撴鏃堕棿" prop="tjTime">
@@ -975,9 +975,10 @@
       width="1000px"
       :before-close="handleClose1"
     >
-       <jianqianwenzhen
-          :jianqianwenzhendata="jianqianwenzhendata" v-if="flags"
-        ></jianqianwenzhen>
+      <jianqianwenzhen
+        :jianqianwenzhendata="jianqianwenzhendata"
+        v-if="flags"
+      ></jianqianwenzhen>
       <span slot="footer" class="dialog-footer">
         <el-button @click="jianqians = false">鍙� 娑�</el-button>
       </span>
@@ -1011,7 +1012,7 @@
   components: {
     ViewPdf,
     Historicalreport,
-    jianqianwenzhen
+    jianqianwenzhen,
   },
   dicts: [
     "dict_tjtype",
@@ -1021,13 +1022,15 @@
     "lj_positive",
     "tj_work",
     "tj_work_status",
+    "tj_smoking_pinlv",
+    "tj_work",
   ],
   name: "checkAll",
   data() {
     return {
-      flags:false,
-      jianqianwenzhendata:[],
-      jianqians:false,
+      flags: false,
+      jianqianwenzhendata: [],
+      jianqians: false,
       sex: true,
       activeName: "1",
       wenzhen: false,
@@ -1182,7 +1185,7 @@
         this.add0(mm)
       );
     },
-     jianqian() {
+    jianqian() {
       this.flags = true;
       this.jianqians = true;
       let tjNumber = this.tableAll.tjNumber;
@@ -1343,6 +1346,12 @@
     // 鏃堕棿
     dateChangebirthday1(val) {
       this.startTime = val;
+    },
+
+    hb() {
+      if (this.queryParams.tjNumber != "") {
+        this.submitForm();
+      }
     },
 
     // 鎼滅储
@@ -1515,7 +1524,7 @@
       const tjNumber = row.tjNumber;
       revoke(tjNumber).then((response) => {
         this.$modal.msgSuccess("鎾ゅ洖鎴愬姛");
-        if(response.code == 200){
+        if (response.code == 200) {
           this.loading = false;
           this.getList();
         }
@@ -1550,8 +1559,8 @@
           getfiedState(data).then((res) => {});
         });
     },
-    handleClose1(){
-      this.jianqians = false
+    handleClose1() {
+      this.jianqians = false;
     },
     // 鐢熸垚鎶ュ憡
     // generate(row) {

--
Gitblit v1.8.0