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
fedda45c
Commit
fedda45c
authored
Jun 18, 2019
by
fengshuonan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新合并的冲突
parent
887f0c70
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
34 deletions
+11
-34
guns-sys/src/main/webapp/assets/modular/system/dept/dept.js
+5
-13
guns-sys/src/main/webapp/assets/modular/system/notice/notice.js
+3
-11
guns-sys/src/main/webapp/assets/modular/system/user/user.js
+3
-10
No files found.
guns-sys/src/main/webapp/assets/modular/system/dept/dept.js
View file @
fedda45c
...
...
@@ -23,9 +23,9 @@ layui.use(['table', 'admin', 'ax', 'ztree'], function () {
{
type
:
'checkbox'
},
{
field
:
'deptId'
,
hide
:
true
,
sort
:
true
,
title
:
'id'
},
{
field
:
'simpleName'
,
align
:
"center"
,
sort
:
true
,
title
:
'部门简称'
},
{
field
:
'fullName'
,
align
:
"center"
,
sort
:
true
,
title
:
'部门全称'
},
{
field
:
'sort'
,
align
:
"center"
,
sort
:
true
,
title
:
'排序'
},
{
field
:
'description'
,
align
:
"center"
,
sort
:
true
,
title
:
'备注'
},
{
field
:
'fullName'
,
align
:
"center"
,
sort
:
true
,
title
:
'部门全称'
},
{
field
:
'sort'
,
align
:
"center"
,
sort
:
true
,
title
:
'排序'
},
{
field
:
'description'
,
align
:
"center"
,
sort
:
true
,
title
:
'备注'
},
{
align
:
'center'
,
toolbar
:
'#tableBar'
,
title
:
'操作'
,
minWidth
:
200
}
]];
};
...
...
@@ -83,15 +83,7 @@ layui.use(['table', 'admin', 'ax', 'ztree'], function () {
* @param data 点击按钮时候的行数据
*/
Dept
.
onEditDept
=
function
(
data
)
{
admin
.
putTempData
(
'formOk'
,
false
);
top
.
layui
.
admin
.
open
({
type
:
2
,
title
:
'修改部门'
,
content
:
Feng
.
ctxPath
+
'/dept/dept_update?deptId='
+
data
.
deptId
,
end
:
function
()
{
admin
.
getTempData
(
'formOk'
)
&&
table
.
reload
(
Dept
.
tableId
);
}
});
window
.
location
.
href
=
Feng
.
ctxPath
+
"/dept/dept_update?deptId="
+
data
.
deptId
;
};
/**
...
...
@@ -135,7 +127,7 @@ layui.use(['table', 'admin', 'ax', 'ztree'], function () {
// 添加按钮点击事件
$
(
'#btnAdd'
).
click
(
function
()
{
Dept
.
openAddDept
()
;
window
.
location
.
href
=
Feng
.
ctxPath
+
"/dept/dept_add"
;
});
// 导出excel
...
...
guns-sys/src/main/webapp/assets/modular/system/notice/notice.js
View file @
fedda45c
...
...
@@ -19,7 +19,7 @@ layui.use(['layer', 'form', 'table', 'admin', 'ax'], function () {
Notice
.
initColumn
=
function
()
{
return
[[
{
type
:
'checkbox'
},
{
field
:
'noticeId'
,
hide
:
true
,
sort
:
true
,
title
:
'id'
},
{
field
:
'noticeId'
,
align
:
"center"
,
hide
:
true
,
sort
:
true
,
title
:
'id'
},
{
field
:
'title'
,
align
:
"center"
,
sort
:
true
,
title
:
'标题'
},
{
field
:
'content'
,
align
:
"center"
,
sort
:
true
,
title
:
'内容'
},
{
field
:
'createrName'
,
align
:
"center"
,
sort
:
true
,
title
:
'发布者'
},
...
...
@@ -60,15 +60,7 @@ layui.use(['layer', 'form', 'table', 'admin', 'ax'], function () {
* @param data 点击按钮时候的行数据
*/
Notice
.
onEditNotice
=
function
(
data
)
{
admin
.
putTempData
(
'formOk'
,
false
);
top
.
layui
.
admin
.
open
({
type
:
2
,
title
:
'通知详情'
,
content
:
Feng
.
ctxPath
+
'/notice/notice_update/'
+
data
.
noticeId
,
end
:
function
()
{
admin
.
getTempData
(
'formOk'
)
&&
table
.
reload
(
Notice
.
tableId
);
}
});
window
.
location
.
href
=
Feng
.
ctxPath
+
"/notice/notice_update/"
+
data
.
noticeId
;
};
/**
...
...
@@ -107,7 +99,7 @@ layui.use(['layer', 'form', 'table', 'admin', 'ax'], function () {
// 添加按钮点击事件
$
(
'#btnAdd'
).
click
(
function
()
{
Notice
.
openAddNotice
()
;
window
.
location
.
href
=
Feng
.
ctxPath
+
"/notice/notice_add"
;
});
// 工具条点击事件
...
...
guns-sys/src/main/webapp/assets/modular/system/user/user.js
View file @
fedda45c
...
...
@@ -93,15 +93,7 @@ layui.use(['layer', 'form', 'table', 'ztree', 'laydate', 'admin', 'ax'], functio
* @param data 点击按钮时候的行数据
*/
MgrUser
.
onEditUser
=
function
(
data
)
{
admin
.
putTempData
(
'formOk'
,
false
);
top
.
layui
.
admin
.
open
({
type
:
2
,
title
:
'编辑用户'
,
content
:
Feng
.
ctxPath
+
'/mgr/user_edit?userId='
+
data
.
userId
,
end
:
function
()
{
admin
.
getTempData
(
'formOk'
)
&&
table
.
reload
(
MgrUser
.
tableId
);
}
});
window
.
location
.
href
=
Feng
.
ctxPath
+
"/mgr/user_edit?userId="
+
data
.
userId
;
};
/**
...
...
@@ -214,7 +206,8 @@ layui.use(['layer', 'form', 'table', 'ztree', 'laydate', 'admin', 'ax'], functio
// 添加按钮点击事件
$
(
'#btnAdd'
).
click
(
function
()
{
MgrUser
.
openAddUser
();
//MgrUser.openAddUser();
window
.
location
.
href
=
Feng
.
ctxPath
+
"/mgr/user_add"
;
});
// 导出excel
...
...
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