jsk
This commit is contained in:
parent
1e68aaf87e
commit
009d1f44d8
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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("修改成功");
|
||||
|
|
|
|||
Loading…
Reference in New Issue