From 979713ad89f50d017893b67d1ce8fd802e663d00 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:30:40 +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 | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/src/views/manage/newSigning/index.vue b/src/views/manage/newSigning/index.vue index e596e12..dc3c94d 100644 --- a/src/views/manage/newSigning/index.vue +++ b/src/views/manage/newSigning/index.vue @@ -592,7 +592,7 @@ - + @@ -905,7 +905,6 @@ export default { if (files.length > 0) { this.$refs.upload.submit(); this.uploadsave(); - } else { this.uploadsave(); } @@ -938,12 +937,12 @@ export default { } this.form.signPackage = this.signPackage; this.form.route = this.route; - if(this.form.record.signPatientRecordId ){ + if (this.$route.query.signPatientRecordId) { 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) => { this.$confirm("签约成功, 是否返回上一页?", "提示", { confirmButtonText: "确定", @@ -980,7 +979,7 @@ export default { }); }) .catch(() => { - this.$modal.msgSuccess("签约成功"); + this.$modal.msgSuccess("修改签约成功"); }); }); } @@ -1007,11 +1006,10 @@ export default { delhardware(index) { this.form.devices.splice(index, 1); }, - handleRemove(file, fileList) { - }, + handleRemove(file, fileList) {}, handlePictureCardPreview(file) { this.dialogImageUrl = file.url; - this.dialogVisible=true + this.dialogVisible = true; }, // 撤销签约 cancelback() {