czt
2 天以前 51faf3e9c3c613e7fb12db6c88356946f2429e0c
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
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
<!DOCTYPE html>
<html lang="zh-cn" xmlns:th=http://www.thymeleaf.org>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="renderer" content="webkit">
    <title>监管大屏-视频监管</title>
 
    <link th:href="@{/group/video.css}" rel="stylesheet" type="text/css">
    <style>
        .deptNameStyle {
            font-family: 微软雅黑, 'Helvetica Neue', Helvetica, Arial, sans-serif;
        }
 
        .right-videoWrap {
            padding-top: 10px;
            height: 830px;
        }
 
        .text_fp {
            font-size: 14px;
            margin-right: 0px;
            color: #FFF;
        }
 
        .fenping_icon {
            position: absolute;
            right: 60px;
            top: 8px;
        }
 
        .text_select_play {
            font-size: 14px;
            margin-right: 0px;
            color: #FFF;
        }
 
        .select_play_icon {
            position: absolute;
            right: 20px;
            top: 8px;
        }
        .div_v1 {
            width: 99.88%;
            height: 829px;
            float: left;
            background-color: #333;
 
            text-align: center;
            line-height: 826px;
            color: #FFF;
            font-size: 20px;
        }
 
        .div_v4 {
            width: 49.88%;
            height: 414px;
            float: left;
            background-color: #333;
 
            text-align: center;
            line-height: 413px;
            color: #FFF;
            font-size: 20px;
        }
 
        .div_v9 {
            width: 33.23%;
            height: 275.8px;
            float: left;
            background-color: #333;
 
            text-align: center;
            line-height: 275.4px;
            color: #FFF;
            font-size: 20px;
        }
 
        .div_v16 {
            width: 24.9%;
            height: 206.5px;
            float: left;
            background-color: #333;
 
            text-align: center;
            line-height: 206.5px;
            color: #FFF;
            font-size: 20px;
        }
 
        .bor_t_l {
            border-top: 1px solid #ff0000;
            border-left: 1px solid #ff0000;
        }
 
        .bor_b {
            border-bottom: 1px solid #ff0000;
        }
 
        .bor_r {
            border-right: 1px solid #ff0000;
        }
        .handSelect {
            background-color: #1e9fff
        }
        .i-main {
            padding: 0px 30px 0px;
            width: unset;
        }
        .right-videoWrap {
             height: unset;
        }
        .left-m2 .panel-content .panel-content-body .panel-content-body-tr {
             padding-top: unset;
            height: 40px;
            line-height: 40px;
        }
        .left-m2 .panel-content .panel-content-body .panel-content-body-tr .body-item {
            font-size: 18px;
        }
        .left-m2 .panel-content .panel-content-head {
            line-height: unset;
            font-size: 18px;
        }
        .text_select_play {
            font-size: 16px;
        }
        .video {
            width: 100%;
            height: 100%;
        }
    </style>
</head>
<body style="overflow: hidden;">
 
<div class="container row-main">
    <div class="i-top">
        <h1 ondblclick="changeScreen()" class="i-top-tit"><span th:text="${sysName}">政策性储备粮油监管平台</span></h1>
        <div class="i-navBar">
            <a href="javaScript:;" onclick="changePage('index')" class="i-nav3">首页</a>
            <a href="javaScript:;" onclick="changePage('gis')" class="i-nav4">GIS监管</a>
            <a href="javaScript:;" onclick="changePage('video')" class="i-nav5 active">视频监管</a>
            <a href="javaScript:;" onclick="changePage('logout')" class="i-nav6">退出系统</a>
        </div>
        <div class="date-time-module">
            <span id="navBarTime"></span>
            <div class="i-top-date">
                <span id="navBarDate"></span>
                <span id="navBarWeek"></span>
            </div>
        </div>
        <!-- <div id="data"></div> -->
 
    </div><!--i-top end-->
    <div class="i-main cl">
        <div class="left-container">
            <div class="left-m1">
                <div class="panel-title">库区信息</div>
                <div class="panel-content">
                    <div class="panel-box1-item">
                        <div class="company-cut"></div>
                        <h3 id="deptNameBox" class="panel-box1-title t1">
                            <span id="deptName" class="deptNameStyle d1" style="margin-left: 10px;">
                            库区名称1
                            </span>
                        </h3>
                    </div>
                    <div class="panel-box1-item t2">
                        <p><i><img th:src="@{/img/web/group/icon-address.png}"/></i>
                            <span id="deptAddress" class="d1">
                                乌鲁木齐市
                            </span>
                        </p>
                    </div>
                    <div class="panel-box1-item">
                        <p><i><img th:src="@{/img/web/group/icon-user.png}"/></i>
                            <span id="deptContact">
                                张三
                            </span>
                        </p>
                    </div>
                    <div class="panel-box1-item">
                        <p><i><img th:src="@{/img/web/group/icon-phone.png}"/></i>
                            <span id="deptPhone">
                                18638530750
                            </span>
                        </p>
                    </div>
                </div>
            </div><!-- i-m1 end -->
            <div class="left-m2">
                <div>
                    <div class="panel-title" id="panel-title">监控点信息</div>
                </div>
                <div class="panel-content">
                    <div class="panel-content-head">
                        <span class="head-item" style="flex: 1.4">监控名称</span>
                        <span class="head-item" style="flex: 0.6">监控类型</span>
                    </div>
 
                    <div class="panel-content-body" id="inventoryInfoBox">
                        <div id="inventoryInfo">
                            <div class="panel-content-body-tr">
                                <span class="body-item" style="flex: 1.4">安防-北围墙1</span>
                                <span class="body-item" style="flex: 0.6">枪机</span>
                            </div>
                            <div class="panel-content-body-tr">
                                <span class="body-item" style="flex: 1.4">安防-北围墙2</span>
                                <span class="body-item" style="flex: 0.6">枪机</span>
                            </div>
                            <div class="panel-content-body-tr">
                                <span class="body-item" style="flex: 1.4">安防-北围墙3</span>
                                <span class="body-item" style="flex: 0.6">枪机</span>
                            </div>
                            <div class="panel-content-body-tr">
                                <span class="body-item" style="flex: 1.4">安防-北围墙4</span>
                                <span class="body-item" style="flex: 0.6">枪机</span>
                            </div>
                            <div class="panel-content-body-tr">
                                <span class="body-item" style="flex: 1.4">安防-北围墙5</span>
                                <span class="body-item" style="flex: 0.6">枪机</span>
                            </div>
                            <div class="panel-content-body-tr">
                                <span class="body-item" style="flex: 1.4">安防-北围墙6</span>
                                <span class="body-item" style="flex: 0.6">枪机</span>
                            </div>
                            <div class="panel-content-body-tr">
                                <span class="body-item" style="flex: 1.4">安防-北围墙7</span>
                                <span class="body-item" style="flex: 0.6">枪机</span>
                            </div>
                            <div class="panel-content-body-tr">
                                <span class="body-item" style="flex: 1.4">安防-北围墙8</span>
                                <span class="body-item" style="flex: 0.6">枪机</span>
                            </div>
                            <div class="panel-content-body-tr">
                                <span class="body-item" style="flex: 1.4">安防-北围墙9</span>
                                <span class="body-item" style="flex: 0.6">枪机</span>
                            </div>
                            <div class="panel-content-body-tr">
                                <span class="body-item" style="flex: 1.4">安防-北围墙10</span>
                                <span class="body-item" style="flex: 0.6">枪机</span>
                            </div>
                            <div class="panel-content-body-tr">
                                <span class="body-item" style="flex: 1.4">安防-北围墙11</span>
                                <span class="body-item" style="flex: 0.6">枪机</span>
                            </div>
                            <div class="panel-content-body-tr">
                                <span class="body-item" style="flex: 1.4">安防-北围墙12</span>
                                <span class="body-item" style="flex: 0.6">枪机</span>
                            </div>
                            <div class="panel-content-body-tr">
                                <span class="body-item" style="flex: 1.4">安防-北围墙13</span>
                                <span class="body-item" style="flex: 0.6">枪机</span>
                            </div>
                            <div class="panel-content-body-tr">
                                <span class="body-item" style="flex: 1.4">安防-北围墙14</span>
                                <span class="body-item" style="flex: 0.6">枪机</span>
                            </div>
                            <div class="panel-content-body-tr">
                                <span class="body-item" style="flex: 1.4">安防-北围墙15</span>
                                <span class="body-item" style="flex: 0.6">枪机</span>
                            </div>
                            <div class="panel-content-body-tr">
                                <span class="body-item" style="flex: 1.4">安防-北围墙16</span>
                                <span class="body-item" style="flex: 0.6">枪机</span>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div><!-- left end -->
        <div class="right-container">
            <div class="right-bottom bottom-container">
                <div>
                    <div class="panel-title" id="pieCharTitle">视频监控</div>
                    <div class="fenping_icon">
                        <img onclick="fenping(1)" id="f_1" style="width: 30px" th:src="@{/img/web/group/fp_1_active.png}"/>
                        <img onclick="fenping(4)" id="f_4" style="width: 30px" th:src="@{/img/web/group/fp_4.png}"/>
                        <img onclick="fenping(9)" id="f_9" style="width: 30px" th:src="@{/img/web/group/fp_9.png}"/>
                        <img onclick="fenping(16)" id="f_16" style="width: 30px" th:src="@{/img/web/group/fp_16.png}"/>
                    </div>
                </div>
                <!--一分屏 默认显示-->
                <div id="video_1" class="right-videoWrap">
                    <div id="f1_d1" class="div_v1 bor_t_l bor_b bor_r">
                        <video class="video" id="video1_1" autoplay="" muted="" playsinline=""></video>
                    </div>
                </div>
 
                <!--四分屏 默认显示-->
                <div id="video_4" class="right-videoWrap" style="display: none;">
                    <div id="f4_d1" class="div_v4 bor_t_l">
                        <video class="video" id="video4_1" autoplay="" muted="" playsinline=""></video>
                    </div>
                    <div id="f4_d2" class="div_v4 bor_t_l bor_r">
                        <video class="video" id="video4_2" autoplay="" muted="" playsinline=""></video>
                    </div>
                    <div id="f4_d3" class="div_v4 bor_t_l bor_b">
                        <video class="video" id="video4_3" autoplay="" muted="" playsinline=""></video>
                    </div>
                    <div id="f4_d4" class="div_v4 bor_t_l bor_b bor_r">
                        <video class="video" id="video4_4" autoplay="" muted="" playsinline=""></video>
                    </div>
                </div>
 
                <!--九分屏 默认隐藏-->
                <div id="video_9" class="right-videoWrap" style="display: none;">
                    <div id="f9_d1" class="div_v9 bor_t_l">
                        <video class="video" id="video9_1" autoplay="" muted="" playsinline=""></video>
                    </div>
                    <div id="f9_d2" class="div_v9 bor_t_l">
                        <video class="video" id="video9_2" autoplay="" muted="" playsinline=""></video>
                    </div>
                    <div id="f9_d3" class="div_v9 bor_t_l bor_r">
                        <video class="video" id="video9_3" autoplay="" muted="" playsinline=""></video>
                    </div>
                    <div id="f9_d4" class="div_v9 bor_t_l">
                        <video class="video" id="video9_4" autoplay="" muted="" playsinline=""></video>
                    </div>
                    <div id="f9_d5" class="div_v9 bor_t_l">
                        <video class="video" id="video9_5" autoplay="" muted="" playsinline=""></video>
                    </div>
                    <div id="f9_d6" class="div_v9 bor_t_l bor_r">
                        <video class="video" id="video9_6" autoplay="" muted="" playsinline=""></video>
                    </div>
                    <div id="f9_d7" class="div_v9 bor_t_l bor_b">
                        <video class="video" id="video9_7" autoplay="" muted="" playsinline=""></video>
                    </div>
                    <div id="f9_d8" class="div_v9 bor_t_l bor_b">
                        <video class="video" id="video9_8" autoplay="" muted="" playsinline=""></video>
                    </div>
                    <div id="f9_d9" class="div_v9 bor_t_l bor_b bor_r">
                        <video class="video" id="video9_9" autoplay="" muted="" playsinline=""></video>
                    </div>
                </div>
 
                <!--十六分屏 默认隐藏-->
                <div id="video_16" class="right-videoWrap" style="display: none;">
                    <div id="f16_d1" class="div_v16 bor_t_l">
                        <video class="video" id="video16_1" autoplay="" muted="" playsinline=""></video>
                    </div>
                    <div id="f16_d2" class="div_v16 bor_t_l">
                        <video class="video" id="video16_2" autoplay="" muted="" playsinline=""></video>
                    </div>
                    <div id="f16_d3" class="div_v16 bor_t_l">
                        <video class="video" id="video16_3" autoplay="" muted="" playsinline=""></video>
                    </div>
                    <div id="f16_d4" class="div_v16 bor_t_l bor_r">
                        <video class="video" id="video16_4" autoplay="" muted="" playsinline=""></video>
                    </div>
                    <div id="f16_d5" class="div_v16 bor_t_l">
                        <video class="video" id="video16_5" autoplay="" muted="" playsinline=""></video>
                    </div>
                    <div id="f16_d6" class="div_v16 bor_t_l">
                        <video class="video" id="video16_6" autoplay="" muted="" playsinline=""></video>
                    </div>
                    <div id="f16_d7" class="div_v16 bor_t_l">
                        <video class="video" id="video16_7" autoplay="" muted="" playsinline=""></video>
                    </div>
                    <div id="f16_d8" class="div_v16 bor_t_l bor_r">
                        <video class="video" id="video16_8" autoplay="" muted="" playsinline=""></video>
                    </div>
                    <div id="f16_d9" class="div_v16 bor_t_l">
                        <video class="video" id="video16_9" autoplay="" muted="" playsinline=""></video>
                    </div>
                    <div id="f16_d10" class="div_v16 bor_t_l">
                        <video class="video" id="video16_10" autoplay="" muted="" playsinline=""></video>
                    </div>
                    <div id="f16_d11" class="div_v16 bor_t_l">
                        <video class="video" id="video16_11" autoplay="" muted="" playsinline=""></video>
                    </div>
                    <div id="f16_d12" class="div_v16 bor_t_l bor_r">
                        <video class="video" id="video16_12" autoplay="" muted="" playsinline=""></video>
                    </div>
                    <div id="f16_d13" class="div_v16 bor_t_l bor_b">
                        <video class="video" id="video16_13" autoplay="" muted="" playsinline=""></video>
                    </div>
                    <div id="f16_d14" class="div_v16 bor_t_l bor_b">
                        <video class="video" id="video16_14" autoplay="" muted="" playsinline=""></video>
                    </div>
                    <div id="f16_d15" class="div_v16 bor_t_l bor_b">
                        <video class="video" id="video16_15" autoplay="" muted="" playsinline=""></video>
                    </div>
                    <div id="f16_d16" class="div_v16 bor_t_l bor_b bor_r">
                        <video class="video" id="video16_16" autoplay="" muted="" playsinline=""></video>
                    </div>
                </div>
 
            </div> <!-- right end -->
 
        </div><!--i-main end-->
 
    </div>
</div>
<script th:src="@{/js/jquery.min.js}"></script>
<script th:src="@{/ajax/libs/layui/layui.js}"></script>
<script th:src="@{/ajax/libs/layer/layer.js}"></script>
<script th:src="@{/common/constant.js}"></script>
<script th:src="@{/common/igds-common.js}"></script>
<script th:src="@{/group/video.js}"></script>
<script th:inline="javascript">
 
    var deptCur = [[${deptInfo}]]
    var deptId = [[${deptId}]];
    var dicSlogan = [[${dicSlogan}]];
    var cameraList = [[${cameraList}]];
 
    //设置定时刷新页面,主要为了防止掉线
    var timer2;
    window.onload = function () {
        if (timer2) {
            clearInterval(timer2);
        }
        timer2 = setInterval(function () {
            window.location.href = window.location.href;
        }, 60 * 60 * 1000);
    };
</script>
</body>
</html>