调整修复一些问题

This commit is contained in:
唐明明
2022-12-27 09:17:32 +08:00
parent 1f3f6b230a
commit 8344496487
16 changed files with 484 additions and 101 deletions

View File

@@ -193,27 +193,37 @@
},
// 提交保存服务
onSubmitService(){
wx.showLoading({
title: '保存中...',
mask : true
})
serviceOver(this.orderId).then(res => {
uni.showModal({
content : res.message,
showCancel : false,
confirmColor: '#446EFE',
success : res => {
if(res.confirm){
this.$store.commit('setOrderId', this.orderId)
uni.navigateBack()
}
uni.showModal({
title : '提示',
content : '是否确认提交服务包配置给客户,提交后不可修改',
cancelText : '稍后',
confirmText : '提交',
success : ModalRes => {
if(ModalRes.confirm){
wx.showLoading({
title: '保存中...',
mask : true
})
serviceOver(this.orderId).then(res => {
uni.showModal({
content : res.message,
showCancel : false,
confirmColor: '#446EFE',
success : res => {
if(res.confirm){
this.$store.commit('setOrderId', this.orderId)
uni.navigateBack()
}
}
})
}).catch(err => {
uni.showToast({
title: err.message,
icon : 'none'
})
})
}
})
}).catch(err => {
uni.showToast({
title: err.message,
icon : 'none'
})
}
})
}
},