|
|
@@ -779,11 +779,24 @@ export default {
|
|
|
uni.navigateTo({ url: '/pages/service-center/index' })
|
|
|
},
|
|
|
goTeamTree() {
|
|
|
- // 服务商 → 服务商团队;非服务商 → 引导申请
|
|
|
+ // 服务商/已通过服务角色 → 弹窗分流:进入服务商团队 / 申请其他角色
|
|
|
if (this.isVendor) {
|
|
|
- uni.navigateTo({ url: '/pages/vendor/team-system/team-system' })
|
|
|
+ uni.showModal({
|
|
|
+ title: '团队与角色',
|
|
|
+ content: '选择要前往的功能',
|
|
|
+ confirmText: '服务商团队',
|
|
|
+ cancelText: '申请其他角色',
|
|
|
+ success: function(res) {
|
|
|
+ if (res.confirm) {
|
|
|
+ uni.navigateTo({ url: '/pages/vendor/team-system/team-system' })
|
|
|
+ } else if (res.cancel) {
|
|
|
+ uni.navigateTo({ url: '/pages/profile/service-role-apply' })
|
|
|
+ }
|
|
|
+ }
|
|
|
+ })
|
|
|
return
|
|
|
}
|
|
|
+ // 非服务商 → 引导申请
|
|
|
uni.showModal({
|
|
|
title: '提示',
|
|
|
content: '您尚未申请任何服务角色,是否立即申请?',
|