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
1fb33cda
Commit
1fb33cda
authored
Aug 02, 2019
by
fengshuonan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新菜单的重新载入
parent
a63bdc68
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
4 deletions
+14
-4
guns-base-support/guns-sys/src/main/webapp/assets/expand/module/func/func.js
+5
-1
guns-base-support/guns-sys/src/main/webapp/assets/modular/system/menu/menu.js
+9
-3
No files found.
guns-base-support/guns-sys/src/main/webapp/assets/expand/module/func/func.js
View file @
1fb33cda
...
@@ -57,8 +57,12 @@ layui.define(['jquery', 'layer', 'admin', 'table'], function (exports) {
...
@@ -57,8 +57,12 @@ layui.define(['jquery', 'layer', 'admin', 'table'], function (exports) {
param
.
end
=
function
()
{
param
.
end
=
function
()
{
layer
.
closeAll
(
'tips'
);
layer
.
closeAll
(
'tips'
);
admin
.
getTempData
(
'formOk'
)
&&
table
.
reload
(
param
.
tableId
);
admin
.
getTempData
(
'formOk'
)
&&
table
.
reload
(
param
.
tableId
);
};
if
(
param
.
endCallback
){
admin
.
getTempData
(
'formOk'
)
&&
param
.
endCallback
();
}
};
param
.
fixed
=
false
;
param
.
fixed
=
false
;
param
.
resize
=
false
;
param
.
resize
=
false
;
param
.
shade
=
.
1
;
param
.
shade
=
.
1
;
...
...
guns-base-support/guns-sys/src/main/webapp/assets/modular/system/menu/menu.js
View file @
1fb33cda
...
@@ -66,7 +66,10 @@ layui.use(['layer', 'form', 'ztree', 'laydate', 'admin', 'ax', 'table', 'treetab
...
@@ -66,7 +66,10 @@ layui.use(['layer', 'form', 'ztree', 'laydate', 'admin', 'ax', 'table', 'treetab
height
:
720
,
height
:
720
,
title
:
'添加菜单'
,
title
:
'添加菜单'
,
content
:
Feng
.
ctxPath
+
'/menu/menu_add'
,
content
:
Feng
.
ctxPath
+
'/menu/menu_add'
,
tableId
:
Menu
.
tableId
tableId
:
Menu
.
tableId
,
endCallback
:
function
()
{
Menu
.
initTable
(
Menu
.
tableId
);
}
});
});
};
};
...
@@ -91,8 +94,11 @@ layui.use(['layer', 'form', 'ztree', 'laydate', 'admin', 'ax', 'table', 'treetab
...
@@ -91,8 +94,11 @@ layui.use(['layer', 'form', 'ztree', 'laydate', 'admin', 'ax', 'table', 'treetab
func
.
open
({
func
.
open
({
height
:
720
,
height
:
720
,
title
:
'修改菜单'
,
title
:
'修改菜单'
,
content
:
Feng
.
ctxPath
+
"/menu/menu_edit?menuId="
+
data
.
menuId
,
content
:
Feng
.
ctxPath
+
"/menu/menu_edit?menuId="
+
data
.
menuId
,
tableId
:
Menu
.
tableId
tableId
:
Menu
.
tableId
,
endCallback
:
function
()
{
Menu
.
initTable
(
Menu
.
tableId
);
}
});
});
};
};
...
...
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