优化提交签名和协议表单的提示

This commit is contained in:
WindowBird 2025-09-12 13:51:03 +08:00
parent 74051e4831
commit f4eea7b26f
2 changed files with 9 additions and 3 deletions

View File

@ -435,7 +435,7 @@ export default {
if (!this.hasAgreed) {
uni.showToast({
title: '请同意安装协议',
title: '请签署安装协议',
icon: 'none',
})
return

View File

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