|
|
@@ -300,7 +300,7 @@ Page({
|
|
|
} else {
|
|
|
// 判断数量是否超出续约授权
|
|
|
if (currentUserCount.wxNum > summaryInfo.wxMaxNum || currentUserCount.webNum > summaryInfo.webMaxNum) {
|
|
|
- let staffInfo = [{ wxMaxNum: this.data.wxMaxNum, webMaxNum: this.data.webMaxNum, title: '当前授权', wxTitle: '手机授权', webTitle: (app.globalData.company.gradeCode == Constants.gradeCode.STD) ?'':'电脑授权', code: 'current',userTitle: '当前用户' }, { wxMaxNum: summaryInfo.wxMaxNum, webMaxNum: summaryInfo.webMaxNum, title: '续费授权', wxTitle: '手机授权', webTitle: '电脑授权', code: 'renew' }]
|
|
|
+ let staffInfo = [{ wxMaxNum: this.data.wxMaxNum, webMaxNum: this.data.webMaxNum, title: '当前授权', wxTitle: '手机授权', webTitle: (app.globalData.company.gradeCode == Constants.gradeCode.STD) ? '' : '电脑授权', code: 'current', userTitle: '当前用户' }, { wxMaxNum: summaryInfo.wxMaxNum, webMaxNum: summaryInfo.webMaxNum, title: '续费授权', wxTitle: '手机授权', webTitle: '电脑授权', code: 'renew' }]
|
|
|
this.save({ saveFlag: false, url: '/package-basic-data/pages/activity/detail/detail?staffInfo=' + JSON.stringify(staffInfo) });
|
|
|
} else {
|
|
|
this.save({});
|
|
|
@@ -538,9 +538,17 @@ Page({
|
|
|
upgradeFlag: true
|
|
|
})
|
|
|
} else {
|
|
|
- wx.setNavigationBarTitle({
|
|
|
- title: mixins.$t('reNew'),
|
|
|
- })
|
|
|
+ // 购买授权 和续费
|
|
|
+ if (options.buyUser) {
|
|
|
+ wx.setNavigationBarTitle({
|
|
|
+ title: mixins.$t('buyUser'),
|
|
|
+ })
|
|
|
+ } else {
|
|
|
+ wx.setNavigationBarTitle({
|
|
|
+ title: mixins.$t('reNew'),
|
|
|
+ })
|
|
|
+ }
|
|
|
+
|
|
|
this.setData({
|
|
|
gradeCode: app.globalData.company.gradeCode
|
|
|
})
|