|
|
@@ -106,28 +106,12 @@ Page({
|
|
|
* 生命周期函数--监听页面加载
|
|
|
*/
|
|
|
onLoad: function (options) {
|
|
|
- //按钮权限
|
|
|
- // let Customer_Follow = common.hasButtonRight(Constants.Customer_Follow) //跟进
|
|
|
- // let Customer_Follow_Task = common.hasButtonRight(Constants.Customer_Follow_Task) //跟进任务
|
|
|
- // let Customer_Order = common.hasButtonRight(Constants.Customer_Order) //销售订单
|
|
|
- // let Customer_Receive = common.hasButtonRight(Constants.Customer_Receive) //客户收款
|
|
|
- // let Customer_Add = common.hasButtonRight(Constants.Customer_Add) //客户新建
|
|
|
-
|
|
|
- this.setData({
|
|
|
- Customer_Follow: true,
|
|
|
- Customer_Follow_Task: true,
|
|
|
- Customer_Order: true,
|
|
|
- Customer_Receive: true,
|
|
|
- Customer_Add: true
|
|
|
-
|
|
|
- })
|
|
|
+ //按钮权限
|
|
|
},
|
|
|
+
|
|
|
/**
|
|
|
* 生命周期函数--监听页面显示
|
|
|
*/
|
|
|
onShow: function () {
|
|
|
- if (this.data.selectflag) {
|
|
|
- // this.searchData()
|
|
|
- }
|
|
|
},
|
|
|
})
|