<!DOCTYPE html>
|
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
|
<head>
|
<meta charset="UTF-8"/>
|
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport"/>
|
<link rel="stylesheet" th:href="@{${pubzyWebRoot} + 'BootStrap4/assets/css/style.css'}"/>
|
<link rel="stylesheet" th:href="@{${pubzyWebRoot} + 'BootStrap4/expand/css/bootstrap-extract.css'}"/>
|
<link th:href="@{${pubzyWebRoot} + 'media/css/pagination.css'}" type="text/css" rel="stylesheet"/>
|
<link th:href="@{${pubzyWebRoot} + 'ext-4.2.1.883/resources/css/ext-all-neptune.css'}" rel="stylesheet" type="text/css"/>
|
<!-- 表单样式 -->
|
<script th:src="@{${pubzyWebRoot} + 'BootStrap4/assets/js/jquery.min.js'}"></script>
|
<script th:src="@{${pubzyWebRoot} + 'BootStrap4/assets/js/tether.min.js'}"></script>
|
<script th:src="@{${pubzyWebRoot} + 'BootStrap4/assets/js/bootstrap.min.js'}"></script>
|
<script th:src="@{${pubzyWebRoot} + 'jqPaginator/jqpaginator.min.js'}"></script>
|
<script th:src="@{${pubzyWebRoot} + 'ext-4.2.1.883/ext-all.js'}"></script>
|
<script th:src="@{${pubzyWebRoot} + 'ext-4.2.1.883/locale/ext-lang-zh_CN.js'}"></script>
|
|
<style>
|
body {
|
padding-bottom: 0px!important;
|
font-family: "Roboto", sans-serif !important;
|
}
|
|
.pagination > li {
|
display: inline;
|
}
|
|
#tbSet th, td {
|
white-space: nowrap;
|
text-align: center !important;
|
}
|
|
.x-grid-view {
|
overflow: hidden !important;
|
}
|
|
.x-body{
|
overflow-x: hidden;
|
}
|
</style>
|
<script th:inline="javascript">
|
/*<![CDATA[*/
|
var id =[[${id}]];
|
var backstageWebRoot = [[${backstageWebRoot}]];
|
|
//清除
|
function Clear() {
|
document.getElementById("SearchForm").reset();
|
}
|
|
//查询
|
function Search() {
|
Ext.getCmp('gridexample').dockedItems.items[1].store.currentPage = 1;
|
ThemeStore.load();
|
}
|
|
//设置显示应用程序
|
function Add() {
|
var moduleidList = "";
|
$("input[name='appid']:checked").each(function () {
|
if(moduleidList != ""){
|
moduleidList+=",";
|
}
|
moduleidList+=$(this).val();
|
})
|
if (moduleidList.length == 0) {
|
alert("请选择模块再点击确定按钮!");
|
} else {
|
$.ajax({
|
url: backstageWebRoot + "api/sys/systeminfo/addUserShowSystemInfo",
|
data: {
|
userid: id,
|
appids: moduleidList,
|
type:parent.opener.getType("type")
|
},
|
success: function (result) {
|
if(parent.opener.loadSysList) {
|
parent.opener.loadSysList();
|
window.close();
|
}
|
},
|
error: function (e) {
|
alert("设置失败!错误提示:" + e.message);
|
}
|
});
|
}
|
}
|
/*]]>*/
|
</script>
|
<script src="/js/Extjs/PingTaiMenHu/SystemInfoList.js"></script>
|
</head>
|
<body>
|
<div>
|
<div>
|
<div class="panel panel-default">
|
<div class="panel-heading" style="background-color: #b1d1fd;">
|
<i class="fa fa-reorder"></i>查询区
|
</div>
|
<div class="panel-body SearchBox">
|
<form id="SearchForm">
|
<div class="row">
|
<div class="col-sm-6 DivHeight">
|
<label class="control-label">系统名称</label>
|
<div class="controls">
|
<input type="text" class="form-control" id="appfullname" name="appfullname"/>
|
</div>
|
</div>
|
<div class="col-sm-6 DivHeight">
|
<label class="control-label">系统分类</label>
|
<div class="controls">
|
<select id="systype" name="systype" class="form-control">
|
<option value="">--请选择--</option>
|
<option th:each="item:${SystemTypeList}" th:value="${item.key}" th:text="${item.value}"></option>
|
</select>
|
</div>
|
</div>
|
</div>
|
<div class="row" style="display:block;">
|
<div style="float: right;padding-right: 0.75em;">
|
<a class="btn btn-primary-outline" onclick="Search();"><i class="fa fa-search"></i> 查询</a>
|
<a class="btn btn-primary-outline" onclick="Clear();"><i class="fa fa-trash-o"></i> 清除</a>
|
<a class="btn btn-primary-outline" onclick="Add();"><i class="fa fa-plus"></i> 确定</a>
|
</div>
|
</div>
|
</form>
|
</div>
|
</div>
|
<div id="grid" style="width: 100%"></div>
|
</div>
|
</div>
|
</body>
|
</html>
|