From f4eea7b26f297640306a77b2eec311919f7e7b49 Mon Sep 17 00:00:00 2001 From: WindowBird <13870814+windows-bird@user.noreply.gitee.com> Date: Fri, 12 Sep 2025 13:51:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=8F=90=E4=BA=A4=E7=AD=BE?= =?UTF-8?q?=E5=90=8D=E5=92=8C=E5=8D=8F=E8=AE=AE=E8=A1=A8=E5=8D=95=E7=9A=84?= =?UTF-8?q?=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/lease/lease.vue | 2 +- pages/signature/signature.vue | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/pages/lease/lease.vue b/pages/lease/lease.vue index 68772dc..ffb3117 100644 --- a/pages/lease/lease.vue +++ b/pages/lease/lease.vue @@ -435,7 +435,7 @@ export default { if (!this.hasAgreed) { uni.showToast({ - title: '请同意安装协议', + title: '请签署安装协议', icon: 'none', }) return diff --git a/pages/signature/signature.vue b/pages/signature/signature.vue index 14500e3..4dc3b83 100644 --- a/pages/signature/signature.vue +++ b/pages/signature/signature.vue @@ -74,9 +74,15 @@ export default { console.log('签名上传成功') //uni.showToast({ title: '签名上传成功', icon: 'success' }) console.log('表单数据:', this.userInfo) - let resProtocolPartner = await postProtocolInstallation(this.userInfo) - this.resProtocolPartnerUrl = resProtocolPartner.msg uni.hideLoading() + uni.showLoading({ + title: '正在生成协议', + mask: 'true', + }) + let resProtocolPartner = await postProtocolInstallation(this.userInfo) + uni.hideLoading() + this.resProtocolPartnerUrl = resProtocolPartner.msg + uni.downloadFile({ url: this.resProtocolPartnerUrl, success: function (res) {