This commit is contained in:
闫晓茹 2024-08-09 10:17:29 +08:00
parent 2669c6eaf3
commit 985f02e3fe

View File

@ -904,6 +904,8 @@ export default {
const files = this.$refs.upload.uploadFiles; const files = this.$refs.upload.uploadFiles;
if (files.length > 0) { if (files.length > 0) {
this.$refs.upload.submit(); this.$refs.upload.submit();
this.uploadsave();
} else { } else {
this.uploadsave(); this.uploadsave();
} }
@ -936,9 +938,11 @@ export default {
} }
this.form.signPackage = this.signPackage; this.form.signPackage = this.signPackage;
this.form.route = this.route; this.form.route = this.route;
if(this.form.record.signPatientRecordId ){
this.form.record.signPatientRecordId = Number( this.form.record.signPatientRecordId = Number(
this.$route.query.signPatientRecordId this.$route.query.signPatientRecordId
); );
}
if (!this.form.record.signPatientRecordId) { if (!this.form.record.signPatientRecordId) {
addsign(this.form).then((res) => { addsign(this.form).then((res) => {
this.$confirm("签约成功, 是否返回上一页?", "提示", { this.$confirm("签约成功, 是否返回上一页?", "提示", {