Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
guns-vip
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenjunxiong
guns-vip
Commits
155f263c
Commit
155f263c
authored
Jun 23, 2017
by
stylefeng
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request !10 from poseidon/master
parents
74aa8ffb
82d024d3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
src/main/java/com/stylefeng/guns/common/constant/state/ManagerStatus.java
+1
-1
src/main/webapp/static/modular/system/menu/menu.js
+1
-1
src/main/webapp/static/modular/system/menu/menu_info.js
+4
-4
No files found.
src/main/java/com/stylefeng/guns/common/constant/state/ManagerStatus.java
View file @
155f263c
package
com
.
stylefeng
.
guns
.
common
.
constant
.
state
;
/**
* 管理员的
装
状态
* 管理员的状态
*
* @author fengshuonan
* @Date 2017年1月10日 下午9:54:13
...
...
src/main/webapp/static/modular/system/menu/menu.js
View file @
155f263c
...
...
@@ -48,7 +48,7 @@ Menu.openAddMenu = function () {
var
index
=
layer
.
open
({
type
:
2
,
title
:
'添加菜单'
,
area
:
[
'8
0
0px'
,
'450px'
],
//宽高
area
:
[
'8
3
0px'
,
'450px'
],
//宽高
fix
:
false
,
//不固定
maxmin
:
true
,
content
:
Feng
.
ctxPath
+
'/menu/menu_add'
...
...
src/main/webapp/static/modular/system/menu/menu_info.js
View file @
155f263c
...
...
@@ -40,7 +40,7 @@ var MenuInfoDlg = {
* 清除数据
*/
MenuInfoDlg
.
clearData
=
function
()
{
this
.
role
InfoData
=
{};
this
.
menu
InfoData
=
{};
}
/**
...
...
@@ -50,7 +50,7 @@ MenuInfoDlg.clearData = function () {
* @param val 数据的具体值
*/
MenuInfoDlg
.
set
=
function
(
key
,
val
)
{
this
.
role
InfoData
[
key
]
=
(
typeof
value
==
"undefined"
)
?
$
(
"#"
+
key
).
val
()
:
value
;
this
.
menu
InfoData
[
key
]
=
(
typeof
value
==
"undefined"
)
?
$
(
"#"
+
key
).
val
()
:
value
;
return
this
;
}
...
...
@@ -107,7 +107,7 @@ MenuInfoDlg.addSubmit = function () {
},
function
(
data
)
{
Feng
.
error
(
"添加失败!"
+
data
.
responseJSON
.
message
+
"!"
);
});
ajax
.
set
(
this
.
role
InfoData
);
ajax
.
set
(
this
.
menu
InfoData
);
ajax
.
start
();
}
...
...
@@ -131,7 +131,7 @@ MenuInfoDlg.editSubmit = function () {
},
function
(
data
)
{
Feng
.
error
(
"修改失败!"
+
data
.
responseJSON
.
message
+
"!"
);
});
ajax
.
set
(
this
.
role
InfoData
);
ajax
.
set
(
this
.
menu
InfoData
);
ajax
.
start
();
}
...
...
Write
Preview
Markdown
is supported
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