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) {