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
0a9c26ab
Commit
0a9c26ab
authored
Jun 23, 2017
by
poseidon-ocean
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更改:管理员的装状态 > 管理员的状态 , roleInfoData > menuInfoData
parent
74aa8ffb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
src/main/java/com/stylefeng/guns/common/constant/state/ManagerStatus.java
+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 @
0a9c26ab
package
com
.
stylefeng
.
guns
.
common
.
constant
.
state
;
package
com
.
stylefeng
.
guns
.
common
.
constant
.
state
;
/**
/**
* 管理员的
装
状态
* 管理员的状态
*
*
* @author fengshuonan
* @author fengshuonan
* @Date 2017年1月10日 下午9:54:13
* @Date 2017年1月10日 下午9:54:13
...
...
src/main/webapp/static/modular/system/menu/menu_info.js
View file @
0a9c26ab
...
@@ -40,7 +40,7 @@ var MenuInfoDlg = {
...
@@ -40,7 +40,7 @@ var MenuInfoDlg = {
* 清除数据
* 清除数据
*/
*/
MenuInfoDlg
.
clearData
=
function
()
{
MenuInfoDlg
.
clearData
=
function
()
{
this
.
role
InfoData
=
{};
this
.
menu
InfoData
=
{};
}
}
/**
/**
...
@@ -50,7 +50,7 @@ MenuInfoDlg.clearData = function () {
...
@@ -50,7 +50,7 @@ MenuInfoDlg.clearData = function () {
* @param val 数据的具体值
* @param val 数据的具体值
*/
*/
MenuInfoDlg
.
set
=
function
(
key
,
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
;
return
this
;
}
}
...
@@ -107,7 +107,7 @@ MenuInfoDlg.addSubmit = function () {
...
@@ -107,7 +107,7 @@ MenuInfoDlg.addSubmit = function () {
},
function
(
data
)
{
},
function
(
data
)
{
Feng
.
error
(
"添加失败!"
+
data
.
responseJSON
.
message
+
"!"
);
Feng
.
error
(
"添加失败!"
+
data
.
responseJSON
.
message
+
"!"
);
});
});
ajax
.
set
(
this
.
role
InfoData
);
ajax
.
set
(
this
.
menu
InfoData
);
ajax
.
start
();
ajax
.
start
();
}
}
...
@@ -131,7 +131,7 @@ MenuInfoDlg.editSubmit = function () {
...
@@ -131,7 +131,7 @@ MenuInfoDlg.editSubmit = function () {
},
function
(
data
)
{
},
function
(
data
)
{
Feng
.
error
(
"修改失败!"
+
data
.
responseJSON
.
message
+
"!"
);
Feng
.
error
(
"修改失败!"
+
data
.
responseJSON
.
message
+
"!"
);
});
});
ajax
.
set
(
this
.
role
InfoData
);
ajax
.
set
(
this
.
menu
InfoData
);
ajax
.
start
();
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