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("修改成功");