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 d09f07d2
authored
Aug 09, 2021
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改
1 parent
b682869b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
6 deletions
html/employee/detail.html
html/merchant/detail.html
html/role/add.html
html/role/detail.html
html/employee/detail.html
View file @
d09f07d
...
...
@@ -86,17 +86,12 @@
var
treeParams
=
{
id
:
merchantId
,
method
:
'cn.com.glsx.merchants.merchant.findMerchantTree'
}
var
merchants
=
{}
request
(
treeParams
,
function
(
res
)
{
console
.
log
(
res
)
if
(
res
.
code
==
'0'
)
{
var
arr
=
employeeData
.
visibleInferiorMer
.
split
(
','
)
$
.
each
(
arr
,
function
(
index
,
item
)
{
arr
[
index
]
=
+
item
})
console
.
log
(
arr
)
merchants
=
tree
.
create
(
'tree'
,
res
.
data
,
{
checkedList
:
arr
,
chkDisabled
:
true
})
// var id = 32
// var node = merchants.getNodeByParam("id",id)
// merchants.checkNode(node, true, true)
}
})
}
...
...
html/merchant/detail.html
View file @
d09f07d
...
...
@@ -318,7 +318,7 @@
var
merchants
=
{}
request
(
treeParams
,
function
(
res
)
{
if
(
res
.
code
==
'0'
)
{
merchants
=
tree
.
create
(
'merchantTree'
,
res
.
data
)
merchants
=
tree
.
create
(
'merchantTree'
,
res
.
data
,
null
,
false
)
merchants
.
expandAll
(
true
)
}
})
...
...
html/role/add.html
View file @
d09f07d
...
...
@@ -9,6 +9,15 @@
<meta
name=
"keywords"
itemprop=
"keywords"
content=
"广联,帐户管理,员工管理"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"/css/main.css"
/>
<title>
角色管理
</title>
<style>
.show
{
display
:
inline-block
;
}
.hide
{
display
:
none
;
}
</style>
</head>
<body>
...
...
html/role/detail.html
View file @
d09f07d
...
...
@@ -41,6 +41,9 @@
<ul
class=
"layui-tab-title"
></ul>
<div
class=
"layui-tab-content"
></div>
</div>
<div
class=
"footer-close"
>
<button
type=
"button"
class=
"layui-btn layui-btn-normal"
id=
"return"
>
关闭
</button>
</div>
</div>
</main>
</div>
...
...
@@ -66,6 +69,10 @@
// 查询角色详情
// getById()
findMenuFunTreeByMerId
()
$
(
'#return'
).
on
(
'click'
,
function
()
{
window
.
history
.
back
()
})
// form.on('select(accountSelect)', function(data){
// console.log(data.elem); //得到select原始DOM对象
// console.log(data.value); //得到被选中的值
...
...
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