This commit is contained in:
skjia 2025-06-09 15:56:13 +08:00
parent 1e68aaf87e
commit 009d1f44d8
2 changed files with 19 additions and 4 deletions

View File

@ -168,6 +168,7 @@
<el-input
v-model="medicalMechanism"
placeholder="请输入"
:disabled="isDisable"
/>
</td>
<td>
@ -180,6 +181,7 @@
align="right"
unlink-panels
value-format="yyyy-MM-dd" style="width: 100%"
:disabled="isDisable"
>
</el-date-picker>
</td>
@ -305,7 +307,7 @@
<div slot="footer" class="dialog-footer">
<el-button type="primary" @click="handleDialogSubmit" :disabled="btnLoading"> </el-button>
<el-button @click="openDish=false"> </el-button>
<el-button @click="openReportDetail=false"> </el-button>
</div>
</el-dialog>
@ -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;

View File

@ -120,7 +120,7 @@
</el-col>
<el-col :span="12">
<el-form-item label="适用慢性病" prop="chronicIdList">
<el-select v-model="form.chronicIdList" multiple style="width: 100%" clearable collapse-tags>
<el-select v-model="form.chronicIdList" multiple style="width: 100%" @change="$forceUpdate()" clearable collapse-tags>
<el-option v-for="item in chronicOptions"
:key="item.chronicId"
:label="item.chronicName"
@ -350,6 +350,10 @@ export default {
this.fileList=[]
this.checkUrlList=[]
}
if(this.form.chronicIds.length>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("修改成功");