From 009d1f44d861d53fb5edf00b566f4ae4b28af69c Mon Sep 17 00:00:00 2001
From: skjia <106962133@qq.com>
Date: Mon, 9 Jun 2025 15:56:13 +0800
Subject: [PATCH] jsk
---
 .../healthCenter/examinationReport/index.vue      | 15 +++++++++++++--
 src/views/healthCenter/nutritionScience/index.vue |  8 ++++++--
 2 files changed, 19 insertions(+), 4 deletions(-)
diff --git a/src/views/healthCenter/examinationReport/index.vue b/src/views/healthCenter/examinationReport/index.vue
index 1c4af823..254ab2f9 100644
--- a/src/views/healthCenter/examinationReport/index.vue
+++ b/src/views/healthCenter/examinationReport/index.vue
@@ -168,6 +168,7 @@
                           
                          
                          
@@ -180,6 +181,7 @@
                                align="right"
                                unlink-panels
                                value-format="yyyy-MM-dd" style="width: 100%"
+                               :disabled="isDisable"
                                 >
                            
                           | 
@@ -305,7 +307,7 @@
 
           
         
 
@@ -408,6 +410,8 @@ export default {
             checkUrlNameList: [],//食堂图片
             dialogVisible:false,//图片弹窗
             dialogImageUrl:"",//图片弹窗
+            deptOptions:[],
+            isDisable:false,
         };
     },
     created() {
@@ -497,11 +501,15 @@ export default {
         },
         handleViewReport(row){
           this.openReportDetail=true;
-          this.titleReportDetail="体检报告";
+          this.titleReportDetail="查看体检报告";
+          this.isDisable=true;
           let param = {
               "medicalId":row.medicalId
           }
           this.btnLoading=true;
+          console.log("查看param",param)
+          this.medicalMechanism=row.medicalMechanism;
+          this.medicalDate=row.medicalDate;
           getReportByIdApi(param).then(response => {
               this.reportDatas = response.data;
               console.log("this.reportDatas",this.reportDatas);
@@ -510,9 +518,12 @@ export default {
         submitAddReport(){
             this.openReportDetail=true;
             this.titleReportDetail="体检报告";
+            this.isDisable=false;
             let param = {
                 "medicalTemplateId":this.reportModelId
             }
+            this.medicalMechanism="";
+            this.medicalDate="";
             this.btnLoading=false;
             getModelByIdApi(param).then(response => {
                 this.reportDatas = response.data;
diff --git a/src/views/healthCenter/nutritionScience/index.vue b/src/views/healthCenter/nutritionScience/index.vue
index b8059fa6..52931f25 100644
--- a/src/views/healthCenter/nutritionScience/index.vue
+++ b/src/views/healthCenter/nutritionScience/index.vue
@@ -120,7 +120,7 @@
                     
                     
                         
-                            
+                            
                                 0){
+              this.form.chronicIdList=this.form.chronicIds.split(",");
+            }
+            console.log("this.form",this.form);
             this.open = true;
             this.title = "修改";
         },
@@ -363,7 +367,7 @@ export default {
                         this.form.chronicIds = ""
                     }
                     this.form.coverPhoto = this.checkUrlList[0]
-
+                    console.log("eitdfrom",this.form)
                     if (this.form.articleId != undefined) {
                         editHealthScienceApi(this.form).then(response => {
                             this.$modal.msgSuccess("修改成功");