2
13693261870
2022-09-16 653761a31dfeb50dd3d007e892d69c90bf0cdafc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
<!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>