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 f226a8bf
authored
Oct 20, 2021
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改scrm工厂无修改
1 parent
3686df70
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
html/merchant/index.html
js/load.js
html/merchant/index.html
View file @
f226a8b
...
@@ -657,7 +657,7 @@
...
@@ -657,7 +657,7 @@
case
1
:
case
1
:
if
(
item
.
status
==
2
)
{
if
(
item
.
status
==
2
)
{
// 本身
// 本身
if
(
item
.
id
==
accountInfo
.
merchantId
)
{
if
(
item
.
merchantNo
==
accountInfo
.
merchantId
)
{
item
.
btn
.
createStaff
=
true
item
.
btn
.
createStaff
=
true
if
(
item
.
merchantAccountLevel
!=
4
)
{
if
(
item
.
merchantAccountLevel
!=
4
)
{
item
.
btn
.
createSubMerchant
=
true
item
.
btn
.
createSubMerchant
=
true
...
@@ -684,6 +684,7 @@
...
@@ -684,6 +684,7 @@
}
}
break
break
default
:
default
:
// 超管登录
if
(
item
.
status
!=
3
)
{
if
(
item
.
status
!=
3
)
{
item
.
btn
.
edit
=
true
item
.
btn
.
edit
=
true
}
}
...
...
js/load.js
View file @
f226a8b
...
@@ -38,7 +38,7 @@ function loadHeaderFooter() {
...
@@ -38,7 +38,7 @@ function loadHeaderFooter() {
layui
.
use
([
'store'
],
function
()
{
layui
.
use
([
'store'
],
function
()
{
var
isExternal
=
isAppend
()
var
isExternal
=
isAppend
()
var
store
=
layui
.
store
var
store
=
layui
.
store
console
.
log
(
qs
(
'
merchantId'
),
qs
(
'accountLevel
'
))
console
.
log
(
qs
(
'
sessionId
'
))
if
(
isExternal
){
//运营平台外部系统
if
(
isExternal
){
//运营平台外部系统
append
()
append
()
}
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