jsk
This commit is contained in:
parent
1e68aaf87e
commit
009d1f44d8
|
|
@ -168,6 +168,7 @@
|
||||||
<el-input
|
<el-input
|
||||||
v-model="medicalMechanism"
|
v-model="medicalMechanism"
|
||||||
placeholder="请输入"
|
placeholder="请输入"
|
||||||
|
:disabled="isDisable"
|
||||||
/>
|
/>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
|
|
@ -180,6 +181,7 @@
|
||||||
align="right"
|
align="right"
|
||||||
unlink-panels
|
unlink-panels
|
||||||
value-format="yyyy-MM-dd" style="width: 100%"
|
value-format="yyyy-MM-dd" style="width: 100%"
|
||||||
|
:disabled="isDisable"
|
||||||
>
|
>
|
||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
</td>
|
</td>
|
||||||
|
|
@ -305,7 +307,7 @@
|
||||||
|
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button type="primary" @click="handleDialogSubmit" :disabled="btnLoading">确 定</el-button>
|
<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>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
||||||
|
|
@ -408,6 +410,8 @@ export default {
|
||||||
checkUrlNameList: [],//食堂图片
|
checkUrlNameList: [],//食堂图片
|
||||||
dialogVisible:false,//图片弹窗
|
dialogVisible:false,//图片弹窗
|
||||||
dialogImageUrl:"",//图片弹窗
|
dialogImageUrl:"",//图片弹窗
|
||||||
|
deptOptions:[],
|
||||||
|
isDisable:false,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
|
@ -497,11 +501,15 @@ export default {
|
||||||
},
|
},
|
||||||
handleViewReport(row){
|
handleViewReport(row){
|
||||||
this.openReportDetail=true;
|
this.openReportDetail=true;
|
||||||
this.titleReportDetail="体检报告";
|
this.titleReportDetail="查看体检报告";
|
||||||
|
this.isDisable=true;
|
||||||
let param = {
|
let param = {
|
||||||
"medicalId":row.medicalId
|
"medicalId":row.medicalId
|
||||||
}
|
}
|
||||||
this.btnLoading=true;
|
this.btnLoading=true;
|
||||||
|
console.log("查看param",param)
|
||||||
|
this.medicalMechanism=row.medicalMechanism;
|
||||||
|
this.medicalDate=row.medicalDate;
|
||||||
getReportByIdApi(param).then(response => {
|
getReportByIdApi(param).then(response => {
|
||||||
this.reportDatas = response.data;
|
this.reportDatas = response.data;
|
||||||
console.log("this.reportDatas",this.reportDatas);
|
console.log("this.reportDatas",this.reportDatas);
|
||||||
|
|
@ -510,9 +518,12 @@ export default {
|
||||||
submitAddReport(){
|
submitAddReport(){
|
||||||
this.openReportDetail=true;
|
this.openReportDetail=true;
|
||||||
this.titleReportDetail="体检报告";
|
this.titleReportDetail="体检报告";
|
||||||
|
this.isDisable=false;
|
||||||
let param = {
|
let param = {
|
||||||
"medicalTemplateId":this.reportModelId
|
"medicalTemplateId":this.reportModelId
|
||||||
}
|
}
|
||||||
|
this.medicalMechanism="";
|
||||||
|
this.medicalDate="";
|
||||||
this.btnLoading=false;
|
this.btnLoading=false;
|
||||||
getModelByIdApi(param).then(response => {
|
getModelByIdApi(param).then(response => {
|
||||||
this.reportDatas = response.data;
|
this.reportDatas = response.data;
|
||||||
|
|
|
||||||
|
|
@ -120,7 +120,7 @@
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="适用慢性病" prop="chronicIdList">
|
<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"
|
<el-option v-for="item in chronicOptions"
|
||||||
:key="item.chronicId"
|
:key="item.chronicId"
|
||||||
:label="item.chronicName"
|
:label="item.chronicName"
|
||||||
|
|
@ -350,6 +350,10 @@ export default {
|
||||||
this.fileList=[]
|
this.fileList=[]
|
||||||
this.checkUrlList=[]
|
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.open = true;
|
||||||
this.title = "修改";
|
this.title = "修改";
|
||||||
},
|
},
|
||||||
|
|
@ -363,7 +367,7 @@ export default {
|
||||||
this.form.chronicIds = ""
|
this.form.chronicIds = ""
|
||||||
}
|
}
|
||||||
this.form.coverPhoto = this.checkUrlList[0]
|
this.form.coverPhoto = this.checkUrlList[0]
|
||||||
|
console.log("eitdfrom",this.form)
|
||||||
if (this.form.articleId != undefined) {
|
if (this.form.articleId != undefined) {
|
||||||
editHealthScienceApi(this.form).then(response => {
|
editHealthScienceApi(this.form).then(response => {
|
||||||
this.$modal.msgSuccess("修改成功");
|
this.$modal.msgSuccess("修改成功");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue