Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
h5
/
account
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit b2f198c4
authored
Oct 19, 2021
by
李长胜
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of
http://192.168.3.233:8090/h5/account
2 parents
eb4c04d1
9a37a2ba
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
10 deletions
html/merchant/index.html
js/load.js
html/merchant/index.html
View file @
b2f198c
...
@@ -815,38 +815,40 @@
...
@@ -815,38 +815,40 @@
})
})
}
}
//
功能点按需出现
//
SCRM系统 搜索加按钮
function
elRemove
()
{
function
glBtn
()
{
$
(
'#operateEl'
).
remove
()
$
(
'#operateEl'
).
remove
()
$
(
'#channelBox'
).
remove
()
$
(
'#channelBox'
).
remove
()
if
(
accountInfo
.
model
==
2
&&
accountInfo
.
merchantAccountLevel
==
1
)
{
if
(
accountInfo
.
model
==
1
&&
accountInfo
.
merchantAccountLevel
==
1
)
{
$
(
'#relevancyEl'
).
removeClass
(
'hide'
)
$
(
'#relevancyEl'
).
addClass
(
'show'
)
$
(
'#relevancyEl'
).
addClass
(
'show'
)
}
}
$
(
'#relevancySearch'
).
addClass
(
'show'
)
$
(
'#relevancySearch'
).
addClass
(
'show'
)
$
(
'#model'
).
remove
()
$
(
'#model'
).
remove
()
}
}
//
SCRM系统 搜索加按钮
//
gl功能点
function
hideSearch
()
{
function
scrmBtn
()
{
// $('#channelBox').remove()
// $('#channelBox').remove()
$
(
'#operateEl'
).
addClass
(
'show'
)
$
(
'#operateEl'
).
addClass
(
'show'
)
$
(
'#channelBox'
).
addClass
(
'show'
)
$
(
'#channelBox'
).
addClass
(
'show'
)
$
(
'#relevancyEl'
).
remove
()
//
$('#relevancyEl').remove()
$
(
'#relevancySearch'
).
remove
()
$
(
'#relevancySearch'
).
remove
()
$
(
'#model'
).
addClass
(
'show'
)
$
(
'#model'
).
addClass
(
'show'
)
}
}
// 运营平台
// 运营平台
function
init
()
{
function
init
()
{
// 运营系统
switch
(
window
.
isDxternal
)
{
switch
(
window
.
isDxternal
)
{
// scrm 系统
case
1
:
case
1
:
elRemove
()
glBtn
()
break
break
// 广联运营系统
default
:
default
:
getChannel
()
getChannel
()
getModel
()
getModel
()
hideSearch
()
scrmBtn
()
}
}
// if (!isDxternal) {
// if (!isDxternal) {
// getChannel()
// getChannel()
...
...
js/load.js
View file @
b2f198c
...
@@ -47,7 +47,7 @@ function loadHeaderFooter() {
...
@@ -47,7 +47,7 @@ function loadHeaderFooter() {
store
.
set
(
'accountInfo'
,
{
store
.
set
(
'accountInfo'
,
{
merchantAccountLevel
:
qs
(
'accountLevel'
),
merchantAccountLevel
:
qs
(
'accountLevel'
),
merchantId
:
qs
(
'merchantId'
),
merchantId
:
qs
(
'merchantId'
),
model
:
qs
(
'm
odel'
)
model
:
qs
(
'm
erchantModel'
)
||
1
})
})
store
.
set
(
'token'
,
qs
(
'sessionId'
))
store
.
set
(
'token'
,
qs
(
'sessionId'
))
}
else
{
}
else
{
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment