|
@@ -160,8 +160,10 @@
|
|
mui.toast('请输入病因');
|
|
mui.toast('请输入病因');
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
|
|
+ return true;
|
|
},
|
|
},
|
|
submit(){
|
|
submit(){
|
|
|
|
+
|
|
if (!this.checkForm()) {
|
|
if (!this.checkForm()) {
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
@@ -285,6 +287,18 @@
|
|
API.medicalRecordDetail(this.$route.query.id).then(res=>{
|
|
API.medicalRecordDetail(this.$route.query.id).then(res=>{
|
|
this.detail=res;
|
|
this.detail=res;
|
|
this.isLoading = false;
|
|
this.isLoading = false;
|
|
|
|
+ if(this.detail.resultImg){
|
|
|
|
+ this.resultImg=this.detail.resultImg.split(",")
|
|
|
|
+ }
|
|
|
|
+ if(this.detail.drugsImg){
|
|
|
|
+ this.drugsImg=this.detail.drugsImg.split(",")
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+ if(this.detail.costImg){
|
|
|
|
+ this.costImg=this.detail.costImg.split(",")
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
|
|
}).catch(error => {
|
|
}).catch(error => {
|
|
this.isLoading = false;
|
|
this.isLoading = false;
|