From ba6e43f9c2b2c4724b961e584de89546b4b21f32 Mon Sep 17 00:00:00 2001
From: su1124 <1583764726@qq.com>
Date: 星期三, 13 九月 2023 16:01:20 +0800
Subject: [PATCH] su

---
 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