main-pt.html
17.1 KB
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
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>信用中国(北京朝阳)网站管理系统</title>
<link rel="shortcut icon" href="favicon.ico">
<link href="../static/css/bootstrap.min.css" th:href="@{/css/bootstrap.min.css}" rel="stylesheet"/>
<link href="../static/css/font-awesome.min.css" th:href="@{/css/font-awesome.min.css}" rel="stylesheet"/>
<link href="../static/css/animate.min.css" th:href="@{/css/animate.min.css}" rel="stylesheet"/>
<link href="../static/css/style.min.css" th:href="@{/css/style.min.css}" rel="stylesheet"/>
</head>
<body class="gray-bg">
<div class="wrapper wrapper-content">
<div class="row">
<div class="col-sm-4">
<div class="ibox float-e-margins">
<div class="ibox-title">
<h5>功能直达</h5>
</div>
<div class="ibox-content">
<div class="row">
<div class="col-sm-4" style="padding-left: 1px;padding-right: 1px;">
<div class="ibox float-e-margins" style="margin-bottom: 1px;">
<div class="ibox-content" style="padding: 15px;text-align: center;">
<button type="button" id="button-open-1" style="border: none;background-color: aliceblue;">
<span style="font-size: 10px;">双公示报送</span>
</button>
</div>
</div>
</div>
<div class="col-sm-4" style="padding-left: 1px;padding-right: 1px;">
<div class="ibox float-e-margins" style="margin-bottom: 1px;">
<div class="ibox-content" style="padding: 15px;text-align: center;">
<button type="button" id="button-open-2" style="border: none;background-color: aliceblue;">
<span>功能2</span>
</button>
</div>
</div>
</div>
<div class="col-sm-4" style="padding-left: 1px;padding-right: 1px;">
<div class="ibox float-e-margins" style="margin-bottom: 1px;">
<div class="ibox-content" style="padding: 15px;text-align: center;">
<button type="button" id="button-open-3" style="border: none;background-color: aliceblue;">
<span>功能3</span>
</button>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-4" style="padding-left: 1px;padding-right: 1px;">
<div class="ibox float-e-margins" style="margin-bottom: 1px;">
<div class="ibox-content" style="padding: 15px;text-align: center;">
<button type="button" id="button-open-4" style="border: none;background-color: aliceblue;">
<span>功能4</span>
</button>
</div>
</div>
</div>
<div class="col-sm-4" style="padding-left: 1px;padding-right: 1px;">
<div class="ibox float-e-margins" style="margin-bottom: 1px;">
<div class="ibox-content" style="padding: 15px;text-align: center;">
<button type="button" id="button-open-5" style="border: none;background-color: aliceblue;">
<span>功能5</span>
</button>
</div>
</div>
</div>
<div class="col-sm-4" style="padding-left: 1px;padding-right: 1px;">
<div class="ibox float-e-margins" style="margin-bottom: 1px;">
<div class="ibox-content" style="padding: 15px;text-align: center;">
<button type="button" id="button-open-6" style="border: none;background-color: aliceblue;">
<span>功能6</span>
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-sm-4">
<div class="ibox float-e-margins">
<div class="ibox-title">
<h5>代办事宜</h5>
</div>
<div class="ibox-content">
<table class="table table-hover no-margins">
<tbody>
<tr>
<td><a onclick="openExcel()">代办事项一</a></td>
<td>2019-01-02</td>
</tr>
<tr>
<td>代办事项二</td>
<td>2019-01-01</td>
</tr>
<tr>
<td>代办事项三</td>
<td>2019-01-03</td>
</tr>
<tr>
<td>代办事项四</td>
<td>2019-01-02</td>
</tr>
<tr>
<td>代办事项五</td>
<td>2019-01-02</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="col-sm-4">
<div class="ibox float-e-margins">
<div class="ibox-title">
<h5>消息中心</h5>
</div>
<div class="ibox-content">
<table class="table table-hover no-margins">
<tbody>
<tr>
<td>今天最新新闻提示1</td>
<td>2019-01-02</td>
</tr>
<tr>
<td>放假通知</td>
<td>2019-01-01</td>
</tr>
<tr>
<td>今天最新新闻提示1</td>
<td>2019-01-03</td>
</tr>
<tr>
<td>今天最新新闻提示2</td>
<td>2019-01-02</td>
</tr>
<tr>
<td>今天最新新闻提示3</td>
<td>2019-01-02</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-8">
<div class="ibox float-e-margins">
<div class="ibox-title">
<h5>数据一</h5>
</div>
<div class="ibox-content">
<div class="flot-chart">
<div class="flot-chart-content" id="flot-dashboard-chart_new"></div>
</div>
</div>
</div>
</div>
<div class="col-sm-4">
<div class="ibox float-e-margins">
<div class="ibox-title">
<h5>数据二</h5>
</div>
<div class="ibox-content">
<div class="flot-chart">
<div class="echarts" id="echarts-pie-chart"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script th:src="@{/js/jquery.min.js}"></script>
<script th:src="@{/js/bootstrap.min.js}"></script>
<script th:src="@{/js/plugins/metisMenu/jquery.metisMenu.js}"></script>
<script th:src="@{/js/jquery.contextMenu.min.js}"></script>
<script th:src="@{/ajax/libs/flot/jquery.flot.js}"></script>
<script th:src="@{/ajax/libs/blockUI/jquery.blockUI.js}"></script>
<script th:src="@{/ajax/libs/layer/layer.min.js}"></script>
<script th:src="@{/ruoyi/js/ry-ui.js?v=4.7.7}"></script>
<script th:src="@{/ruoyi/js/common.js?v=4.7.7}"></script>
<th:block th:include="include :: sparkline-js" />
<th:block th:include="include :: echarts-js" />
<script type="text/javascript">
var prefix = "/demo/modal";
$(document).ready(function () {
var data2 = [
[gd(2012, 1, 1), 7], [gd(2012, 1, 2), 6], [gd(2012, 1, 3), 4], [gd(2012, 1, 4), 8],
[gd(2012, 1, 5), 9], [gd(2012, 1, 6), 7], [gd(2012, 1, 7), 5], [gd(2012, 1, 8), 4],
[gd(2012, 1, 9), 7], [gd(2012, 1, 10), 8], [gd(2012, 1, 11), 9], [gd(2012, 1, 12), 6],
[gd(2012, 1, 13), 4], [gd(2012, 1, 14), 5], [gd(2012, 1, 15), 11], [gd(2012, 1, 16), 8],
[gd(2012, 1, 17), 8], [gd(2012, 1, 18), 11], [gd(2012, 1, 19), 11], [gd(2012, 1, 20), 6],
[gd(2012, 1, 21), 6], [gd(2012, 1, 22), 8], [gd(2012, 1, 23), 11], [gd(2012, 1, 24), 13],
[gd(2012, 1, 25), 7], [gd(2012, 1, 26), 9], [gd(2012, 1, 27), 9], [gd(2012, 1, 28), 8],
[gd(2012, 1, 29), 5], [gd(2012, 1, 30), 8], [gd(2012, 1, 31), 25]
];
var data3 = [
[gd(2012, 1, 1), 800], [gd(2012, 1, 2), 500], [gd(2012, 1, 3), 600], [gd(2012, 1, 4), 700],
[gd(2012, 1, 5), 500], [gd(2012, 1, 6), 456], [gd(2012, 1, 7), 800], [gd(2012, 1, 8), 589],
[gd(2012, 1, 9), 467], [gd(2012, 1, 10), 876], [gd(2012, 1, 11), 689], [gd(2012, 1, 12), 700],
[gd(2012, 1, 13), 500], [gd(2012, 1, 14), 600], [gd(2012, 1, 15), 700], [gd(2012, 1, 16), 786],
[gd(2012, 1, 17), 345], [gd(2012, 1, 18), 888], [gd(2012, 1, 19), 888], [gd(2012, 1, 20), 888],
[gd(2012, 1, 21), 987], [gd(2012, 1, 22), 444], [gd(2012, 1, 23), 999], [gd(2012, 1, 24), 567],
[gd(2012, 1, 25), 786], [gd(2012, 1, 26), 666], [gd(2012, 1, 27), 888], [gd(2012, 1, 28), 900],
[gd(2012, 1, 29), 178], [gd(2012, 1, 30), 555], [gd(2012, 1, 31), 993]
];
var dataset = [
{
label: "总用户",
data: data3,
color: "#1ab394",
bars: {
show: true,
align: "center",
barWidth: 24 * 60 * 60 * 600,
lineWidth: 0
}
}, {
label: "活跃用户",
data: data2,
yaxis: 2,
color: "#464f88",
lines: {
lineWidth: 1,
show: true,
fill: true,
fillColor: {
colors: [{
opacity: 0.2
}, {
opacity: 0.2
}]
}
},
splines: {
show: false,
tension: 0.6,
lineWidth: 1,
fill: 0.1
},
}
];
var options = {
xaxis: {
mode: "time",
tickSize: [3, "day"],
tickLength: 0,
axisLabel: "Date",
axisLabelUseCanvas: true,
axisLabelFontSizePixels: 12,
axisLabelFontFamily: 'Arial',
axisLabelPadding: 10,
color: "#838383"
},
yaxes: [{
position: "left",
max: 1070,
color: "#838383",
axisLabelUseCanvas: true,
axisLabelFontSizePixels: 12,
axisLabelFontFamily: 'Arial',
axisLabelPadding: 3
}, {
position: "right",
clolor: "#838383",
axisLabelUseCanvas: true,
axisLabelFontSizePixels: 12,
axisLabelFontFamily: ' Arial',
axisLabelPadding: 67
}
],
legend: {
noColumns: 1,
labelBoxBorderColor: "#000000",
position: "nw"
},
grid: {
hoverable: false,
borderWidth: 0,
color: '#838383'
}
};
function gd(year, month, day) {
return new Date(year, month - 1, day).getTime();
}
$.plot($("#flot-dashboard-chart_new"), dataset, options);
var pieChart = echarts.init(document.getElementById("echarts-pie-chart"));
var pieoption = {
title : {
text: '数据报送情况',
subtext: '演示数据',
x:'right'
},
tooltip : {
trigger: 'item',
formatter: "{a} <br/>{b} : {c} ({d}%)"
},
legend: {
orient : 'vertical',
x : 'left',
data:['五类数据','城市信用检测','示范城市','创城信息','双公示']
},
calculable : true,
series : [
{
name:'上报来源',
type:'pie',
radius : '55%',
center: ['50%', '60%'],
data:[
{value:335, name:'五类数据'},
{value:310, name:'城市信用检测'},
{value:234, name:'示范城市'},
{value:135, name:'创城信息'},
{value:1548, name:'双公示'}
]
}
]
};
pieChart.setOption(pieoption);
$(window).resize(pieChart.resize);
$("#button-open-1").click(function(){
$.modal.openTab('添加用户', prefix + "/form");
});
$("#button-open-2").click(function(){
$.modal.openTab('添加用户', prefix + "/form");
});
$("#button-open-3").click(function(){
$.modal.openTab('添加用户', prefix + "/form");
});
$("#button-open-4").click(function(){
$.modal.openTab('添加用户', prefix + "/form");
});
$("#button-open-5").click(function(){
$.modal.openTab('添加用户', prefix + "/form");
});
$("#button-open-6").click(function(){
$.modal.openTab('添加用户', prefix + "/form");
});
/**
$.ajax({
cache : true,
type : "GET",
url : "/eit/home/notice",
async : false,
error : function(request) {
},
success : function(data) {
if (data.code == 0) {
var result = data.data;
layer.open({
type: 1,
shade: false,
title: '今日提醒', //不显示标题
area: ['300px', '100px'],
offset: 'rb',
content: result.content, //捕获的元素,注意:最好该指定的元素要存放在body最外层,否则可能被其它的相对元素所影响
});
}
}
});
*/
});
function openExcel() {
$.modal.openTab('excel内容展示', "/eit/excel/view");
}
</script>
</body>
</html>