Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
A
Aidea
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sa_aidea
Aidea
Commits
27b8b4a0
Commit
27b8b4a0
authored
Nov 24, 2020
by
卜远杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
根据组织查看人员
parent
f47030fd
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
43 additions
and
446 deletions
+43
-446
orgunitlist.html
...main/webapp/WEB-INF/views/managerorgunit/orgunitlist.html
+0
-442
qyuserlist.html
...c/main/webapp/WEB-INF/views/managerqyuser/qyuserlist.html
+43
-4
No files found.
qy-modules/qy-orgunit-module-web/src/main/webapp/WEB-INF/views/managerorgunit/orgunitlist.html
View file @
27b8b4a0
This diff is collapsed.
Click to expand it.
qy-modules/qy-orgunit-module-web/src/main/webapp/WEB-INF/views/managerqyuser/qyuserlist.html
View file @
27b8b4a0
...
...
@@ -105,12 +105,12 @@
<!-- Main content -->
<section
class=
"content"
>
<div
class=
"row"
>
<div
class=
"col-xs-
2"
style=
"display:none
"
>
<div
class=
"col-xs-
3
"
>
<div
class=
"box box-primary"
>
<ul
id=
"orgTree"
class=
"ztree"
></ul>
</div>
</div>
<div
class=
"col-xs-
12
"
>
<div
class=
"col-xs-
9
"
>
<div
class=
"row"
>
<div
class=
"col-xs-12"
>
<form
id=
"seachTableForm"
method=
"get"
action=
"#springUrl('/a/qyuser/exportExcel')"
onkeydown=
"if(event.keyCode==13){return false;}"
>
...
...
@@ -146,7 +146,7 @@
</div>
<div
class=
""
style=
"display: none"
>
<input
type=
"text"
class=
"form-control required"
name=
"
i
d"
id=
"orgid"
placeholder=
"组织Id"
>
name=
"
orgI
d"
id=
"orgid"
placeholder=
"组织Id"
>
</div>
</div>
</div>
...
...
@@ -407,9 +407,48 @@
$
(
'.search'
).
click
(
function
()
{
$
(
"#example2"
).
dataTable
().
fnClearTable
();
});
//
initOrgTree();
initOrgTree
();
});
var
orgTreeUri
=
"#springUrl('/a/orgunit/treeDataNoAuth')"
;
function
initOrgTree
()
{
var
orgTree
=
$
(
'#orgTree'
);
var
getOrgTreeData
=
function
()
{
$
.
ajax
({
"type"
:
"GET"
,
"contentType"
:
"application/json"
,
"url"
:
orgTreeUri
,
"dataType"
:
"json"
,
"success"
:
buildOrgTree
});
};
var
buildOrgTree
=
function
(
data
)
{
var
setting
=
{
data
:
{
simpleData
:
{
enable
:
true
}},
callback
:
{
beforeClick
:
function
(
id
,
node
)
{
var
orgid
=
node
.
id
;
if
(
orgid
==
0
)
{
$
(
'#orgId'
).
val
(
''
);
}
else
{
$
(
'#orgId'
).
val
(
orgid
);
}
$
(
"#example2"
).
dataTable
().
fnClearTable
();
}
}
};
var
zNodes
=
data
.
aaData
;
tree
=
$
.
fn
.
zTree
.
init
(
orgTree
,
setting
,
zNodes
);
tree
.
expandAll
(
true
);
tree
.
expandNode
(
tree
.
getNodesByFilter
(
function
(
node
)
{
return
node
.
level
==
0
;
},
true
),
true
,
false
,
false
);
};
getOrgTreeData
();
}
function
unBindQrCode
(
id
,
type
)
{
var
unBindQrcodeUri
=
"#springUrl('/a/qyuser/unBindQrcode?type="
+
type
+
"')"
;
Cfapp
.
confirm
({
...
...
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