diff --git a/src/views/manage/newSigning/index.vue b/src/views/manage/newSigning/index.vue index 3dcb000..e596e12 100644 --- a/src/views/manage/newSigning/index.vue +++ b/src/views/manage/newSigning/index.vue @@ -327,7 +327,7 @@ @@ -904,6 +904,8 @@ export default { const files = this.$refs.upload.uploadFiles; if (files.length > 0) { this.$refs.upload.submit(); + this.uploadsave(); + } else { this.uploadsave(); } @@ -936,9 +938,11 @@ export default { } this.form.signPackage = this.signPackage; this.form.route = this.route; - this.form.record.signPatientRecordId = Number( + if(this.form.record.signPatientRecordId ){ + this.form.record.signPatientRecordId = Number( this.$route.query.signPatientRecordId ); + } if (!this.form.record.signPatientRecordId) { addsign(this.form).then((res) => { this.$confirm("签约成功, 是否返回上一页?", "提示", {