From d10c7c728234b5a9098b7bd5bb7a914a14e33c20 Mon Sep 17 00:00:00 2001
From: su1124 <1583764726@qq.com>
Date: 星期五, 29 十二月 2023 18:37:28 +0800
Subject: [PATCH] su

---
 src/views/doctor/check/index.vue |   14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/src/views/doctor/check/index.vue b/src/views/doctor/check/index.vue
index f1f0651..f515a51 100644
--- a/src/views/doctor/check/index.vue
+++ b/src/views/doctor/check/index.vue
@@ -757,7 +757,7 @@
       :before-close="handleClose1"
     >
        <jianqianwenzhen
-          :jianqianwenzhendata="jianqianwenzhendata"
+          :jianqianwenzhendatas="jianqianwenzhendatas"
         ></jianqianwenzhen>
       <span slot="footer" class="dialog-footer">
         <el-button @click="jianqians = false">鍙� 娑�</el-button>
@@ -795,9 +795,9 @@
   components: { Public, Historicalreport,jianqianwenzhen },
   data() {
     return {
-      lishi:true,
+      lishi:false,
       rowes:{},
-      jianqianwenzhendata:[],
+      jianqianwenzhendatas:[],
       jianqians:false,
       selected: false,
       checkval: false,
@@ -1334,13 +1334,19 @@
         if (res.data[0] != null) {
           this.reportHistorydata = res.data;
         }
+        if(this.reportHistorydata.length >= 1){
+          this.lishi = true;
+        }else{
+          this.lishi = true;
+          this.$modal.msgError("鏆傛棤鍘嗗彶鎶ュ憡");
+        }
       });
     },
 
     jianqian() {
       let tjNumber = this.rowes.tjNumber;
        getInfoById(tjNumber).then((response) => {
-        this.jianqianwenzhendata = response.data;
+        this.jianqianwenzhendatas = response.data;
         if (this.form.xiyan == null) {
           this.form.xiyan = "1";
         }

--
Gitblit v1.8.0