<!DOCTYPE html>
|
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:layout="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org" layout:decorator="MasterPage/Layout.Empty">
|
<head>
|
<meta charset="UTF-8" />
|
<title th:text="${systemName}"></title>
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport" />
|
<link rel="stylesheet" th:href="@{${pubzyWebRoot} + 'BootStrap4/expand/plugins/portlet/css/portlet.css'}" />
|
<script th:src="@{${pubzyWebRoot} + 'BootStrap4/expand/plugins/portlet/portlet.js'}"></script>
|
<script th:src="@{${pubzyWebRoot} + 'media/js/jquery.form-3.51.0.js'}"></script>
|
<script th:src="@{${pubzyWebRoot} + 'media/js/validation/jquery.validate.min.js'}" type="text/javascript"></script>
|
<script th:src="@{${pubzyWebRoot} + 'media/js/validation/messages_zh.js'}" type="text/javascript"></script>
|
<script th:src="@{${pubzyWebRoot} + 'media/js/validation/additional-methods.min.js'}" type="text/javascript"></script>
|
<script th:src="@{${pubzyWebRoot} + 'media/js/yanzhen.js'}" type="text/javascript"></script>
|
<link th:href="@{${pubzyWebRoot} + 'ext-4.2.1.883/resources/css/ext-all-neptune.css'}" rel="stylesheet" type="text/css" />
|
<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>
|
<script th:src="@{${pubzyWebRoot} + 'ext-4.2.1.883/PagingToolbar.js'}"></script>
|
<script th:src="@{${pubzyWebRoot} + 'media/js/winPro.js'}"></script>
|
<style>
|
body {
|
background-color: white;
|
box-sizing: border-box;
|
overflow-x: hidden;
|
}
|
|
.form-control {
|
padding: 0.3rem 0.7rem;
|
height: 34px;
|
display: inline-block;
|
}
|
|
.control-label {
|
padding-top: 0 !important;
|
width: 94px;
|
float: left;
|
line-height: 30px;
|
padding-right: 1.2em;
|
text-align: right;
|
}
|
|
.control-group {
|
margin-bottom: 1em;
|
}
|
|
.controls {
|
margin-left: 94px;
|
}
|
|
.row {
|
margin-left: 0;
|
margin-right: 0;
|
}
|
|
.col-sm-3,
|
.col-sm-6,
|
.col-sm-12 {
|
padding-left: 0;
|
padding-right: 0;
|
}
|
|
.fade {
|
display: none;
|
}
|
|
.in.fade {
|
display: block;
|
}
|
|
.control-group error {
|
border-color: #b94a48;
|
}
|
|
#button {
|
color: #fff !important;
|
background-color: #039cfd !important;
|
border-color: #039cfd !important;
|
}
|
|
img {
|
cursor: pointer;
|
}
|
|
.nav-tabs > .active > a, .nav-tabs > .active > a:hover, .nav-tabs > .active > a:focus {
|
color: #555;
|
cursor: default;
|
background-color: #fff;
|
border: 1px solid #ddd;
|
border-bottom-color: transparent;
|
}
|
</style>
|
</head>
|
<body layout:fragment="content">
|
<form class="form-horizontal" id="ShuJuYuan" method="post" xmlns:th="http://www.w3.org/1999/xhtml">
|
<div class="portlet box ltblue">
|
<div class="portlet-title">
|
图形设置
|
<div class="caption">
|
<i class="fa fa-reorder"></i>
|
</div>
|
<div class="tools">
|
<!--<a class="collapse" onclick="portlet_body_ShowOrHide(this);"></a>-->
|
</div>
|
</div>
|
<div class="portlet-body">
|
<input type="hidden" id="">
|
<div class="span12" align="right" style="padding: 5px 50px;" >
|
<button class="btn btn-primary" onclick="addMainInfo()"><i class="fa fa-plus"></i> 添加</button>
|
<button class="btn btn-primary" style="margin-left: 10px" onclick="dakai()"><i class="fa fa-plus"></i> 打开图形页面</button>
|
</div>
|
<input type="hidden" id="resMainInfoId" name="resMainInfoId" th:value="${resMainInfo.resourceid}"/>
|
<!--<table class="table table-bordered">-->
|
<!--<thead>-->
|
<!--<tr>-->
|
<!--<th>图形样式</th>-->
|
<!--<th>数据格式</th>-->
|
<!--<th>总数</th>-->
|
<!--<th>选择字段</th>-->
|
<!--<th>统计方式</th>-->
|
<!--</tr>-->
|
<!--</thead>-->
|
<!--<tr th:each="user,userStat : ${list}">-->
|
<!--<td th:text="${user.type}">图形样式</td>-->
|
<!--<td th:text="${user.geshi}">数据格式</td>-->
|
<!--<td th:text="${user.total}">总数</td>-->
|
<!--<th th:text="${user.SelectField}">选择字段</th>-->
|
<!--<th th:text="${user.StatisticalMethod}">统计方式</th>-->
|
<!--</tr>-->
|
|
<!--</table>-->
|
|
</div>
|
<div>
|
<div id="grid" style="width: 100%"></div>
|
</div>
|
</div>
|
|
</form>
|
|
<script>
|
$(function () {
|
cheackForm("ShuJuYuan");
|
|
});
|
|
//添加资源按钮
|
function addMainInfo() {
|
var resMainInfoId = $("#resMainInfoId").val();
|
var url = "/res/common/resource_add_TuXin?resourceid="+resMainInfoId;
|
layer.open({
|
type: 2,
|
title: '添加设置',
|
id: 'tianjia',
|
shadeClose: true,
|
shade: 0.7,
|
maxmin: false, //开启最大化最小化按钮
|
area: ['800px', '550px'],
|
content: url
|
});
|
}
|
|
function dakai() {
|
var resMainInfoId = $("#resMainInfoId").val();
|
var url = "/res/common/TuXingConfig?resourceid="+resMainInfoId;
|
window.open(url);
|
}
|
|
</script>
|
<script src="/js/common/resource_set_TuXin.js"></script>
|
</body>
|
</html>
|