<!--
|
功能描述:系统导航
|
-->
|
<!DOCTYPE html>
|
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:layout="http://www.w3.org/1999/xhtml"
|
xmlns:th="http://www.w3.org/1999/xhtml" layout:decorator="MasterPage/New/Layout">
|
<!-- layout文件路径-->
|
<head>
|
<meta charset="utf-8" />
|
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<title th:text="'应用系统 - ' + ${systemName}"></title>
|
<link th:href="@{${pubzyWebRoot} + 'ext-4.2.1.883/resources/css/ext-all-neptune.css'}" rel="stylesheet" type="text/css" />
|
<link th:href="@{${pubzyWebRoot} + 'media/css/bootstrap-tree.css'}" rel="stylesheet" type="text/css" />
|
<link rel="stylesheet" th:href="@{${pubzyWebRoot} + 'BootStrap4/expand/plugins/portlet/css/portlet.css'}" />
|
<link th:href="@{${pubzyWebRoot} + 'media/css/select2_metro.css'}" type="text/css" rel="stylesheet" />
|
<link th:href="@{${pubzyWebRoot} + 'media/css/pagination.css'}" type="text/css" rel="stylesheet" />
|
<link rel="stylesheet" th:href="@{${pubzyWebRoot} + 'BootStrap4/assets/plugins/bootstrap-datepicker/old_datepaker/datepicker.css'}" />
|
<link th:href="@{${pubzyWebRoot} + 'zTree/css/metroStyle/metroStyle.css'}" rel="stylesheet" type="text/css" />
|
<script th:src="@{${pubzyWebRoot} + 'jqPaginator/jqpaginator.min.js'}"></script>
|
<script th:src="@{${pubzyWebRoot} + 'media/js/tabPages.js'}"></script>
|
<script th:src="@{${pubzyWebRoot} + 'media/js/winPro.js'}"></script>
|
<script th:src="@{${pubzyWebRoot} + 'echarts/echarts.min-3.0.js'}" type="text/javascript"></script>
|
<script th:src="@{${pubzyWebRoot} + 'media/js/select2.min.js'}" type="text/javascript"></script>
|
<script th:src="@{${pubzyWebRoot} + 'zTree/js/jquery.ztree.all.js'}"></script>
|
<script th:src="@{${pubzyWebRoot} + 'zTree/js/jquery.ztree.core.js'}"></script>
|
<script th:src="@{${pubzyWebRoot} + 'zTree/js/jquery.ztree.exedit.js'}"></script>
|
<script th:src="@{${pubzyWebRoot} + 'zTree/js/jquery.ztree.excheck.js'}"></script>
|
<script src="/js/openresource.js"></script>
|
<style type="text/css">
|
.div_left{
|
position: absolute;
|
width:350px;
|
height: 936.5px;
|
}
|
.div_right{
|
margin-left: 360px;
|
height: 100%;
|
}
|
.div_catalog{
|
float: left;
|
width:100%;
|
height: 100%;
|
color: #000;
|
border-radius: 6px;
|
padding: 2px;
|
background-color: #fff;
|
}
|
|
/*边框公共样式*/
|
.div_border {
|
box-shadow: 0px 0px 1px 1px #bfbfbf;
|
}
|
|
.div_catalog div{
|
/*width: 100%;*/
|
height: 55px;
|
border-bottom: 1px solid #CFD3D6;
|
cursor:pointer;
|
}
|
|
.div_catalog div:not(:first-child):hover {
|
background-color: #F5F6FA;
|
}
|
|
.div_catalog div:first-child{
|
background-color: #2B85FF;
|
cursor: pointer;
|
border-top-left-radius: 6px;
|
border-top-right-radius: 6px;
|
color: white;
|
}
|
|
.div_catalog div:first-child img {
|
margin-left: 25px;
|
margin-bottom: 5px;
|
}
|
|
.div_catalog div:not(:first-child){
|
margin: 0 3px;
|
}
|
|
.div_catalog div:not(:first-child) img{
|
margin-left: 20px;
|
margin-bottom: 5px;
|
}
|
|
.span_left{
|
/*float: left;*/
|
font-size:17px;
|
line-height:55px;
|
margin-left: 5px;
|
}
|
.span_right{
|
float: right;
|
font-size:14px;
|
line-height: 55px;
|
margin-right: 10px;
|
color: #737373;
|
}
|
.div_search{
|
background-color:white;
|
/*height: 60px;*/
|
/*width: 100%;*/
|
padding: 5px 5px;
|
-webkit-border-radius: 10px;
|
-moz-border-radius: 10px;
|
border-radius: 10px;
|
font-size: 16px !important;
|
/*padding: 18px 0px 0px 27px;*/
|
}
|
.div_main{
|
color:grey;
|
height: 500px;
|
font-size: 14px;
|
}
|
.sort{
|
cursor: pointer;
|
}
|
.shtype,.iscas{
|
cursor: pointer;
|
padding: 5px 13px;
|
-webkit-border-radius: 5px;
|
-moz-border-radius: 5px;
|
border-radius: 5px;
|
}
|
.clickCss {
|
/*color: #EEE683;*/
|
background-color: #F5F6FA !important;
|
}
|
|
.search_title {
|
color: #2B56BF;
|
margin-right: 5px;
|
/*font-size: 17px;*/
|
}
|
|
.search_right {
|
display: inline-block;
|
width: 465px;
|
border: 1px solid #8DB3E0;
|
border-radius: 6px;
|
margin-top: 0.5px;
|
}
|
|
.search_left {
|
/*display: inline-block;*/
|
float: left;
|
width: 582px;
|
height: 50px;
|
}
|
|
.search_left_div {
|
float: left;
|
border: 1px solid #EBEDF9;
|
height: 100%;
|
-webkit-border-radius: 6px;
|
-moz-border-radius: 6px;
|
border-radius: 6px;
|
margin-right: 5px;
|
line-height: 50px;
|
padding: 0 10px;
|
}
|
|
.isactive {
|
color: #fff;
|
background-color: #2B85FF;
|
}
|
|
.isanormal {
|
color: #000;
|
background-color: ;
|
}
|
|
</style>
|
<script type="text/javascript" th:inline="javascript">
|
var systemType = "";
|
var formdata = {};
|
$(function () {
|
systemType = [[${SystemTypeListJson}]];
|
showSystemType();
|
$(".div_right").css("width",$("#bts_pagebody").width()-360+"px");
|
$("#div_search").css("width",$(".div_right").width() - 3 +'px');
|
});
|
function changepage(num) {
|
var url = 'newdataList?page=' + num;
|
$("#block").load(url, formdata, function () { //加载图文列表
|
var Page = Number(document.getElementById("curren").value);
|
var Count = Number(document.getElementById("total").value);
|
if (Count != 0) {
|
$('#Paginator').jqPaginator({
|
totalCounts: Count,
|
pageSize: 8,
|
currentPage: Page,
|
first: '<li class="first"><a href="javascript:void(0);">首页</a></li>',
|
prev: '<li class="prev"><a href="javascript:void(0);">上一页</a></li>',
|
next: '<li class="next"><a href="javascript:void(0);">下一页</a></li>',
|
last: '<li class="last"><a href="javascript:void(0);">末页</a></li>',
|
page: '<li class="page"><a href="javascript:void(0);">{{page}}</a></li>',
|
onPageChange: function (num) {
|
if (num != Page) {
|
changepage(num);
|
}
|
}
|
});
|
}
|
});
|
}
|
function showSystemType(){
|
var list = eval(systemType);
|
var html = "<div onclick=\"leftChange(this)\" key=\"all\"><img src='/image/Systeminfo/First_icon.png' /><span class=\"span_left\">应用系统</span></div>";
|
for(var i =0;i<list.length;i++){
|
html+="<div onclick=\"leftChange(this)\" key='"+list[i].key+"'>"
|
+"<img src='/image/Systeminfo/"+list[i].key+".png' />"
|
+"<span class='span_left'>"+list[i].value
|
+"</span><span class='span_right'>套系统</span><span style='font-size: 17px;float: right;line-height: 55px;'>" + list[i].zycount + "</span></div>";
|
}
|
$(".div_catalog").html(html);
|
}
|
//系统状态
|
function shtype(obj) {
|
$(".shtype").each(function (){
|
if($(this).attr("type").trim() != $(obj).attr("type").trim()){
|
// $(this).css("color","black");
|
$(this).attr("isselect",false);
|
$(this).addClass("isanormal");
|
$(this).removeClass("isactive");
|
// $(this).css("background-color","");
|
}else{//选中排序
|
// $(this).css("color","#fff");
|
$(this).attr("isselect",true);
|
$(this).addClass("isactive");
|
$(this).removeClass("isanormal");
|
// $(this).css("background-color","#0b92d4");
|
}
|
})
|
Search("","");
|
}
|
|
//集成单点登录
|
function iscas(obj) {
|
$(".iscas").each(function (){
|
if($(this).attr("type").trim() != $(obj).attr("type").trim()){
|
// $(this).css("color","black").css("font-weight","normal");
|
$(this).attr("isselect",false);
|
$(this).addClass("isanormal");
|
$(this).removeClass("isactive");
|
// $(this).css("background-color","");
|
}else{//选中排序
|
// $(this).css("color","#fff").css("font-weight","bold");
|
$(this).attr("isselect",true);
|
$(this).addClass("isactive");
|
$(this).removeClass("isanormal");
|
// $(this).css("background-color","#0b92d4");
|
}
|
})
|
Search("","");
|
}
|
|
//左边类型切换
|
function leftChange(obj){
|
$(".div_catalog div:not(:first-child)").each(function () {
|
if($(this).attr("key") == $(obj).attr("key")){
|
// $(this).css("color","#EEE683").css("border-bottom","1px solid white");
|
$(this).attr("isselect",true);
|
// $(this).css("background-color","#17A6EC");
|
$(this).addClass("clickCss");
|
}else {
|
// $(this).css("color","white").css("border-bottom","1px solid white");
|
$(this).attr("isselect",false);
|
// $(this).css("background-color","#0B92D4");
|
$(this).removeClass("clickCss");
|
}
|
})
|
Search('','')
|
}
|
</script>
|
<script>
|
//查询事件
|
function Search(sort,title) {
|
formdata = {};
|
var thissystype = "";
|
$(".div_catalog div").each(function () {
|
if($(this).attr("isselect") == "true" || $(this).attr("isselect") == true){
|
thissystype = $(this).attr("key");
|
}
|
})
|
var thissysstatus = "";
|
$(".shtype").each(function () {
|
if($(this).attr("isselect") == true || $(this).attr("isselect") == "true"){
|
thissysstatus = $(this).attr("type");
|
}
|
})
|
var thisiscaslogin = "";
|
$(".iscas").each(function () {
|
if($(this).attr("isselect") == true || $(this).attr("isselect") == "true"){
|
thisiscaslogin = $(this).attr("type");
|
}
|
})
|
formdata = {
|
appfullname:$("#appfullname").val(),
|
systype: thissystype == "all"? "" :thissystype,
|
sysstatus:thissysstatus,
|
iscaslogin:thisiscaslogin
|
};
|
$("#block").load('newdataList', formdata, function () {
|
var Page =Number(document.getElementById("curren").value);
|
var Count =Number(document.getElementById("total").value);
|
if(Count != 0) {
|
$('#Paginator').jqPaginator({
|
totalCounts: Count,
|
pageSize: 8,
|
currentPage: Page,
|
first: '<li class="first"><a href="javascript:void(0);">首页</a></li>',
|
prev: '<li class="prev"><a href="javascript:void(0);">上一页</a></li>',
|
next: '<li class="next"><a href="javascript:void(0);">下一页</a></li>',
|
last: '<li class="last"><a href="javascript:void(0);">末页</a></li>',
|
page: '<li class="page"><a href="javascript:void(0);">{{page}}</a></li>',
|
onPageChange: function (num) {
|
if(num!=Page){
|
changepage(num);
|
}
|
}
|
});
|
}
|
});
|
}
|
$(function(){
|
var url ='newdataList?page='+1;
|
formdata = {};
|
$("#block").load(url, formdata, function () { //加载图文列表
|
var Page =Number(document.getElementById("curren").value);
|
var Count =Number(document.getElementById("total").value);
|
if(Count != 0) {
|
$('#Paginator').jqPaginator({
|
totalCounts: Count,
|
pageSize: 8,
|
currentPage: Page,
|
first: '<li class="first"><a href="javascript:void(0);">首页</a></li>',
|
prev: '<li class="prev"><a href="javascript:void(0);">上一页</a></li>',
|
next: '<li class="next"><a href="javascript:void(0);">下一页</a></li>',
|
last: '<li class="last"><a href="javascript:void(0);">末页</a></li>',
|
page: '<li class="page"><a href="javascript:void(0);">{{page}}</a></li>',
|
onPageChange: function (num) {
|
if(num!=Page){
|
changepage(num);
|
}
|
}
|
});
|
}
|
});
|
})
|
function changepage(num) {
|
var url ='newdataList?page='+num;
|
$("#block").load(url, formdata, function () { //加载图文列表
|
var Page =Number(document.getElementById("curren").value);
|
var Count =Number(document.getElementById("total").value);
|
if(Count != 0) {
|
$('#Paginator').jqPaginator({
|
totalCounts: Count,
|
pageSize: 8,
|
currentPage: Page,
|
first: '<li class="first"><a href="javascript:void(0);">首页</a></li>',
|
prev: '<li class="prev"><a href="javascript:void(0);">上一页</a></li>',
|
next: '<li class="next"><a href="javascript:void(0);">下一页</a></li>',
|
last: '<li class="last"><a href="javascript:void(0);">末页</a></li>',
|
page: '<li class="page"><a href="javascript:void(0);">{{page}}</a></li>',
|
onPageChange: function (num) {
|
if(num!=Page){
|
changepage(num);
|
}
|
}
|
});
|
}
|
});
|
}
|
//打开系统窗口
|
function OpenSystem(address) {
|
window.open(address, "_blank");
|
}
|
|
</script>
|
</head>
|
<body>
|
<div layout:fragment="content">
|
<div class="content-page" style="margin-left: 0px !important;padding: 5px 0;min-height: 996px !important;">
|
<div class="div_left">
|
<div class="div_catalog div_border">
|
</div>
|
</div>
|
<div class="div_right">
|
<div id="div_search" class="div_search div_border">
|
|
<div class="search_left">
|
<div class="search_left_div">
|
<span class="search_title">系统状态</span>
|
<span class="shtype isactive" onclick="shtype(this)" isselect="true" type="">全部</span>
|
<span class="shtype" onclick="shtype(this)" type="1">正常</span>
|
<span class="shtype" onclick="shtype(this)" type="3">暂停</span>
|
</div>
|
<div class="search_left_div">
|
<span class="search_title">集成单点登录</span>
|
<span class="iscas isactive" onclick="iscas(this)" isselect="true" type="">全部</span>
|
<span class="iscas" onclick="iscas(this)" type="1">是</span>
|
<span class="iscas" onclick="iscas(this)" type="0">否</span>
|
</div>
|
</div>
|
<div class="search_right">
|
<input type="text" id="appfullname" name="appfullname" value="" class="form-control col-sm-12" style="height: 46px;border: none; font-size: 15px;color: #000;font-weight: 600;width: 85%;display: inline-block;" placeholder="请输入系统名称" />
|
<img style="float: right;cursor: pointer;" onclick="Search('','')" src="/image/Systeminfo/search.png" />
|
</div>
|
|
</div>
|
<div style="height: 40px; line-height: 40px;font-size: 16px;padding-left: 5px;color: grey;margin: 5px 0;">
|
<span>搜索到<span id="countNum"></span>条结果</span>
|
</div>
|
<div class="div_main" id="block">
|
</div>
|
<div id="grid" style="display: none"></div>
|
</div>
|
</div>
|
</div>
|
</body>
|
</html>
|