From d9ed0ceaba6145c1e7d6a3e8e1bd4f01463f44fe Mon Sep 17 00:00:00 2001
From: qinxianzhangyao <11053546+qinxianzhangyao@user.noreply.gitee.com>
Date: 星期四, 02 十一月 2023 15:48:16 +0800
Subject: [PATCH] qxtj

---
 src/views/hosp/history/index.vue |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/src/views/hosp/history/index.vue b/src/views/hosp/history/index.vue
index d254141..7a54ea5 100644
--- a/src/views/hosp/history/index.vue
+++ b/src/views/hosp/history/index.vue
@@ -559,6 +559,24 @@
       let userId = selection.map((item) => item.userId);
       getInfoById(userId).then((response) => {
         this.form = response.data;
+        if(this.form.xiyan == null){
+          this.form.xiyan ="1"
+        }
+        if(this.form.xiyanpinlv == null){
+          this.form.xiyanpinlv ="0"
+        }
+        if(this.form.xiyanyear == null){
+          this.form.xiyanyear ="0"
+        }
+        if(this.form.yinjiu == null){
+          this.form.yinjiu ="1"
+        }
+        if(this.form.yinjiupinlv == null){
+          this.form.yinjiupinlv ="0"
+        }
+        if(this.form.yinjiuyear == null){
+          this.form.yinjiuyear ="0"
+        }
         this.form.tjAskHistorysList = response.data.tjAskHistorysList;
         // this.isdisabled= true
       });

--
Gitblit v1.8.0