|
@@ -1,5 +1,9 @@
|
|
|
Component({
|
|
|
properties: {
|
|
|
+ userInfo: {
|
|
|
+ type: Object,
|
|
|
+ value: {}
|
|
|
+ },
|
|
|
bannerList: {
|
|
|
type: Array,
|
|
|
value: [],
|
|
@@ -40,6 +44,16 @@ Component({
|
|
|
wx.navigateTo({
|
|
|
url: '/pages/invite/index',
|
|
|
})
|
|
|
+ } else if (type == 7) {
|
|
|
+ let url = ''
|
|
|
+ if (!this.properties.userInfo.saleUserId) {
|
|
|
+ url = '/salesperson/pages/sale/index'
|
|
|
+ } else {
|
|
|
+ url = '/salesperson/pages/saleOffice/index'
|
|
|
+ }
|
|
|
+ wx.navigateTo({
|
|
|
+ url
|
|
|
+ })
|
|
|
}
|
|
|
},
|
|
|
}
|