Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
3e3c1d75
Commit
3e3c1d75
authored
Nov 06, 2019
by
qiankunpingtai
Browse files
修改菜单问题
parent
5f3501a5
Changes
2
Show whitespace changes
Inline
Side-by-side
erp_web/pages/manage/roleFunctions.html
View file @
3e3c1d75
...
...
@@ -48,16 +48,17 @@
}
}
//cnodes = cnodes.substring(0, cnodes.length - 1);
pnodes
=
pnodes
.
substring
(
0
,
pnodes
.
length
-
1
);
//
pnodes = pnodes.substring(0, pnodes.length - 1);
if
(
ctype
==
'
child
'
)
{
return
cnodes
;
}
else
{
return
pnodes
else
if
(
"
all
"
){
return
cnodes
+
pnodes
;
}
else
{
return
pnodes
;
}
}
;
};
$
(
function
()
{
...
...
@@ -84,7 +85,7 @@
info
:
JSON
.
stringify
({
type
:
type
,
keyid
:
url_id
,
value
:
GetNode
(
'
child
'
)
value
:
GetNode
(
'
all
'
)
})
},
dataType
:
"
json
"
,
...
...
src/main/java/com/jsh/erp/controller/FunctionsController.java
View file @
3e3c1d75
...
...
@@ -154,11 +154,12 @@ public class FunctionsController {
if
((
"admin"
).
equals
(
loginName
))
{
dataList
.
add
(
fun
);
}
else
{
if
(!(
"系统管理"
).
equals
(
fun
.
getName
()))
{
// if(!("系统管理").equals(fun.getName())) {
// dataList.add(fun);
// }
dataList
.
add
(
fun
);
}
}
}
//筛选功能列表
for
(
Functions
functions
:
dataList
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
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 comment