From 985f02e3fed68f6ae44f712164f151f838b53996 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=97=AB=E6=99=93=E8=8C=B9?= <1935832701@qq.com> Date: Fri, 9 Aug 2024 10:17:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/manage/newSigning/index.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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("签约成功, 是否返回上一页?", "提示", {