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
f20fee94
Commit
f20fee94
authored
Apr 28, 2017
by
fsn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
恢复删除的代码
parent
d44fcdbd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/main/webapp/static/modular/system/dept/dept_info.js
+4
-2
No files found.
src/main/webapp/static/modular/system/dept/dept_info.js
View file @
f20fee94
...
@@ -2,7 +2,8 @@
...
@@ -2,7 +2,8 @@
* 初始化部门详情对话框
* 初始化部门详情对话框
*/
*/
var
DeptInfoDlg
=
{
var
DeptInfoDlg
=
{
deptInfoData
:
{}
deptInfoData
:
{},
zTreeInstance
:
null
};
};
/**
/**
...
@@ -49,7 +50,7 @@ DeptInfoDlg.close = function() {
...
@@ -49,7 +50,7 @@ DeptInfoDlg.close = function() {
* @returns
* @returns
*/
*/
DeptInfoDlg
.
onClickDept
=
function
(
e
,
treeId
,
treeNode
)
{
DeptInfoDlg
.
onClickDept
=
function
(
e
,
treeId
,
treeNode
)
{
$
(
"#pName"
).
attr
(
"value"
,
i
nstance
.
getSelectedVal
());
$
(
"#pName"
).
attr
(
"value"
,
DeptInfoDlg
.
zTreeI
nstance
.
getSelectedVal
());
$
(
"#pid"
).
attr
(
"value"
,
treeNode
.
id
);
$
(
"#pid"
).
attr
(
"value"
,
treeNode
.
id
);
}
}
...
@@ -135,4 +136,5 @@ $(function() {
...
@@ -135,4 +136,5 @@ $(function() {
var
ztree
=
new
$ZTree
(
"parentDeptMenuTree"
,
"/dept/tree"
);
var
ztree
=
new
$ZTree
(
"parentDeptMenuTree"
,
"/dept/tree"
);
ztree
.
bindOnClick
(
DeptInfoDlg
.
onClickDept
);
ztree
.
bindOnClick
(
DeptInfoDlg
.
onClickDept
);
ztree
.
init
();
ztree
.
init
();
DeptInfoDlg
.
zTreeInstance
=
ztree
;
});
});
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