Commit b2f198c4 by 李长胜

Merge branch 'master' of http://192.168.3.233:8090/h5/account

2 parents eb4c04d1 9a37a2ba
......@@ -815,38 +815,40 @@
})
}
// 功能点按需出现
function elRemove() {
// SCRM系统 搜索加按钮
function glBtn() {
$('#operateEl').remove()
$('#channelBox').remove()
if (accountInfo.model == 2 && accountInfo.merchantAccountLevel == 1) {
if (accountInfo.model == 1 && accountInfo.merchantAccountLevel == 1) {
$('#relevancyEl').removeClass('hide')
$('#relevancyEl').addClass('show')
}
$('#relevancySearch').addClass('show')
$('#model').remove()
}
// SCRM系统 搜索加按钮
function hideSearch() {
// gl功能点
function scrmBtn() {
// $('#channelBox').remove()
$('#operateEl').addClass('show')
$('#channelBox').addClass('show')
$('#relevancyEl').remove()
// $('#relevancyEl').remove()
$('#relevancySearch').remove()
$('#model').addClass('show')
}
// 运营平台
function init() {
// 运营系统
switch (window.isDxternal) {
// scrm 系统
case 1:
elRemove()
glBtn()
break
// 广联运营系统
default:
getChannel()
getModel()
hideSearch()
scrmBtn()
}
// if (!isDxternal) {
// getChannel()
......
......@@ -47,7 +47,7 @@ function loadHeaderFooter() {
store.set('accountInfo', {
merchantAccountLevel: qs('accountLevel'),
merchantId: qs('merchantId'),
model: qs('model')
model: qs('merchantModel') || 1
})
store.set('token', qs('sessionId'))
} else {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!