Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xzxt-shiro
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
常超
xzxt-shiro
Commits
eba40dba
Commit
eba40dba
authored
Dec 10, 2018
by
wushanyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
系统管理权限查询页面,专项业务省厅负责人查询页面,改获取树对象失败bug
parent
c60a2b75
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
53 deletions
+0
-53
src/main/webapp/WEB-INF/jsp/admin/search/zxywstfzrList.jsp
+0
-53
No files found.
src/main/webapp/WEB-INF/jsp/admin/search/zxywstfzrList.jsp
View file @
eba40dba
...
@@ -57,41 +57,6 @@
...
@@ -57,41 +57,6 @@
</div>
</div>
<script
src=
"${pageContext.request.contextPath}/resources/layui/layui.js"
></script>
<script
src=
"${pageContext.request.contextPath}/resources/layui/layui.js"
></script>
<script>
<script>
function
resetAll
()
{
$
(
"#trueName"
).
val
();
$
(
"#policemanid"
).
val
();
$
(
"#telephone"
).
val
();
$
(
"#unitname"
).
val
();
$
(
"#unitcode"
).
val
();
$
(
"#check"
).
attr
(
"checked"
,
"checked"
);
}
layui
.
use
([
'table'
,
'element'
,
'jquery'
],
function
()
{
$
(
'.demoTable .layui-btn'
).
on
(
'click'
,
function
(){
var
type
=
$
(
this
).
data
(
'type'
);
active
[
type
]
?
active
[
type
].
call
(
this
)
:
''
;
});
//弹出层
var
msg
=
"${msg}"
;
if
(
msg
.
length
!=
""
)
{
layer
.
msg
(
msg
,
{
icon
:
6
});
$
(
"#msg"
).
text
(
""
);
}
var
data
=
$
{
unit
};
var
zNodes
=
[];
for
(
var
i
=
0
;
i
<
data
.
length
;
i
++
){
zNodes
.
push
({
id
:
data
[
i
].
codeStr
,
pId
:
data
[
i
].
pid
,
name
:
data
[
i
].
name
,
open
:
false
,
file
:
"core/simpleData"
});
}
setTree
(
zNodes
,
"unit"
,
"nocheck"
,
"unitcode"
,
"unitname"
,
""
);
});
</script>
<script>
/*$(document).ready(function() {
$('input[type=radio][name=type]').change(function() {
$('#type').attr("value",this.value);
});
});*/
layui
.
use
(
'table'
,
function
(){
layui
.
use
(
'table'
,
function
(){
var
table
=
layui
.
table
;
var
table
=
layui
.
table
;
//方法级渲染
//方法级渲染
...
@@ -114,21 +79,11 @@
...
@@ -114,21 +79,11 @@
},
},
// height: 480 //添加这个高度后,出现了滚动条,导致表头和表格体的竖格现对不齐,后期有需要再放开
// height: 480 //添加这个高度后,出现了滚动条,导致表头和表格体的竖格现对不齐,后期有需要再放开
});
});
var
$
=
layui
.
$
,
active
=
{
var
$
=
layui
.
$
,
active
=
{
reload
:
function
(){
reload
:
function
(){
var
trueName
=
cheNull
(
$
(
'#trueName'
).
val
());
var
policemanid
=
cheNull
(
$
(
'#policemanid'
).
val
());
var
telephone
=
cheNull
(
$
(
'#telephone'
).
val
());
var
unitcode
=
cheNull
(
$
(
'#unitcode'
).
val
());
var
type
=
cheNull
(
$
(
'#type'
).
val
());
var
type
=
cheNull
(
$
(
'#type'
).
val
());
table
.
reload
(
'testReload'
,
{
table
.
reload
(
'testReload'
,
{
where
:
{
where
:
{
/*trueName: trueName,
policemanid:policemanid,
telephone:telephone,
unitcode:unitcode,*/
type
:
type
type
:
type
},
},
page
:
{
page
:
{
...
@@ -142,14 +97,9 @@
...
@@ -142,14 +97,9 @@
};
};
$
(
'input[type=radio][name=type]'
).
change
(
function
()
{
$
(
'input[type=radio][name=type]'
).
change
(
function
()
{
$
(
'#type'
).
attr
(
"value"
,
this
.
value
);
$
(
'#type'
).
attr
(
"value"
,
this
.
value
);
//var type = $(this).data('type');
var
type
=
"reload"
;
var
type
=
"reload"
;
active
[
type
]
?
active
[
type
].
call
(
this
)
:
''
;
active
[
type
]
?
active
[
type
].
call
(
this
)
:
''
;
});
});
/*$('.queryUserList').on('click', function(){
var type = $(this).data('type');
active[type] ? active[type].call(this) : '';
});*/
});
});
function
cheNull
(
str
)
{
function
cheNull
(
str
)
{
if
(
str
==
""
){
if
(
str
==
""
){
...
@@ -158,8 +108,6 @@
...
@@ -158,8 +108,6 @@
return
str
;
return
str
;
}
}
}
}
</script>
</script>
</body>
</body>
</html>
</html>
\ No newline at end of file
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