店长角色
This commit is contained in:
@@ -72,6 +72,8 @@ Page({
|
||||
})
|
||||
}
|
||||
|
||||
wx.stopPullDownRefresh()
|
||||
|
||||
});
|
||||
},
|
||||
|
||||
@@ -84,11 +86,7 @@ Page({
|
||||
|
||||
//页面相关事件处理函数--监听用户下拉动作
|
||||
onPullDownRefresh: function () {
|
||||
|
||||
this.getAppUserCal()
|
||||
},
|
||||
|
||||
//页面上拉触底事件的处理函数
|
||||
onReachBottom: function () {
|
||||
|
||||
},
|
||||
})
|
||||
@@ -30,7 +30,7 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="relative mt10 mb40 pt20 pb30 pl30 pr30 bg-2f3346-1a1c26 color-fff ulib-r10" wx:if="{{userInfo.group_id == 2}}" bindtap="pushLink" data-url="/pages/customer/allot/index">
|
||||
<view class="relative mt10 mb40 pt20 pb30 pl30 pr30 bg-2f3346-1a1c26 color-fff ulib-r10" wx:if="{{userInfo.group_id == 2 ||userInfo.group_id == 3 }}" bindtap="pushLink" data-url="/pages/customer/allot/index">
|
||||
<view>
|
||||
<i class="iconfont icon-daifenpei text-middle font-30"></i>
|
||||
<text class="ml10 font-22 text-middle">待分配客户(人)</text>
|
||||
|
||||
@@ -3,13 +3,7 @@ const app = getApp()
|
||||
Page({
|
||||
data: {
|
||||
imgUrl:_.config.imgUrl,
|
||||
list:[
|
||||
{
|
||||
icon:'icon-renyuanguanli',
|
||||
title:'人员管理',
|
||||
url:'/pages/mine/install/staff/index',
|
||||
}
|
||||
],
|
||||
list:[],
|
||||
},
|
||||
onLoad: function (options) {
|
||||
|
||||
@@ -31,6 +25,18 @@ Page({
|
||||
this.setData({
|
||||
userInfo: res
|
||||
})
|
||||
if(res.group_id == 2 || res.group_id == 3){
|
||||
let list=[
|
||||
{
|
||||
icon:'icon-renyuanguanli',
|
||||
title:'人员管理',
|
||||
url:'/pages/mine/install/staff/index',
|
||||
}
|
||||
]
|
||||
this.setData({
|
||||
list:list
|
||||
})
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user