|
@@ -17,9 +17,7 @@ Page({
|
|
|
onLoad(options) {
|
|
|
let auth = [],
|
|
|
dataAuth = '';
|
|
|
-
|
|
|
options.auth ? auth = options.auth : getApp().globalData.queryPer.query(wx.getStorageSync('userauth'), ['营销工具'], ['商学院'])[0].apps[0].meta.auth.forEach(v => auth.push(v.optionname));
|
|
|
-
|
|
|
if (auth.includes('团队内部数据分析') && auth.includes('经销商数据分析')) {
|
|
|
dataAuth = 'all';
|
|
|
} else {
|
|
@@ -29,7 +27,6 @@ Page({
|
|
|
dataAuth,
|
|
|
viewData: auth.includes('团队内部数据分析') || auth.includes('经销商数据分析')
|
|
|
});
|
|
|
-
|
|
|
_Http.basic({
|
|
|
"classname": "saletool.courseware.courseware",
|
|
|
"method": "selectDetail",
|