优化提交签名和协议表单的提示
This commit is contained in:
parent
74051e4831
commit
f4eea7b26f
|
|
@ -435,7 +435,7 @@ export default {
|
||||||
|
|
||||||
if (!this.hasAgreed) {
|
if (!this.hasAgreed) {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '请同意安装协议',
|
title: '请签署安装协议',
|
||||||
icon: 'none',
|
icon: 'none',
|
||||||
})
|
})
|
||||||
return
|
return
|
||||||
|
|
|
||||||
|
|
@ -74,9 +74,15 @@ export default {
|
||||||
console.log('签名上传成功')
|
console.log('签名上传成功')
|
||||||
//uni.showToast({ title: '签名上传成功', icon: 'success' })
|
//uni.showToast({ title: '签名上传成功', icon: 'success' })
|
||||||
console.log('表单数据:', this.userInfo)
|
console.log('表单数据:', this.userInfo)
|
||||||
let resProtocolPartner = await postProtocolInstallation(this.userInfo)
|
|
||||||
this.resProtocolPartnerUrl = resProtocolPartner.msg
|
|
||||||
uni.hideLoading()
|
uni.hideLoading()
|
||||||
|
uni.showLoading({
|
||||||
|
title: '正在生成协议',
|
||||||
|
mask: 'true',
|
||||||
|
})
|
||||||
|
let resProtocolPartner = await postProtocolInstallation(this.userInfo)
|
||||||
|
uni.hideLoading()
|
||||||
|
this.resProtocolPartnerUrl = resProtocolPartner.msg
|
||||||
|
|
||||||
uni.downloadFile({
|
uni.downloadFile({
|
||||||
url: this.resProtocolPartnerUrl,
|
url: this.resProtocolPartnerUrl,
|
||||||
success: function (res) {
|
success: function (res) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user