yzt
2023-05-26 de4278af2fd46705a40bac58ec01122db6b7f3d7
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
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
        <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
            <html lang="en">
 
            <head>
                <meta charset="utf-8">
                <meta http-equiv="X-UA-Compatible" content="IE=edge">
                <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, shrink-to-fit=no">
                <title>系统设置</title>
                <link href="/hxzkoa/hxzk/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
                <link href="/hxzkoa/hxzk/assets/img/favicon.ico" rel="icon" type="image/x-icon" />
                <link href="/hxzkoa/hxzk/assets/css/components/custom-modal.css" rel="stylesheet" type="text/css" />
                <link href="/hxzkoa/hxzk/assets/css/components/custom-sweetalert.css" rel="stylesheet"
                    type="text/css" />
                <link href="/hxzkoa/hxzk/assets/css/dashboard/dash_2.css" rel="stylesheet" type="text/css" />
                <link href="/hxzkoa/hxzk/assets/css/elements/custom-pagination.css" rel="stylesheet" type="text/css" />
                <link href="/hxzkoa/hxzk/assets/css/loader.css" rel="stylesheet" type="text/css" />
                <link href="/hxzkoa/hxzk/assets/css/scrollspyNav.css" rel="stylesheet" type="text/css" />
                <link href="/hxzkoa/hxzk/assets/css/main.css" rel="stylesheet" type="text/css" />
                <link href="/hxzkoa/hxzk/assets/css/structure.css" rel="stylesheet" type="text/css" />
                <link href="/hxzkoa/hxzk/assets/css/elements/search.css" rel="stylesheet" type="text/css" />
                <link href="/hxzkoa/hxzk/plugins/apex/apexcharts.css" rel="stylesheet" type="text/css">
                <link href="/hxzkoa/hxzk/plugins/animate/animate.css" rel="stylesheet" type="text/css" />
                <link href="/hxzkoa/hxzk/plugins/highlight/styles/monokai-sublime.css" rel="stylesheet"
                    type="text/css" />
                <link href="/hxzkoa/hxzk/plugins/sweetalerts/sweetalert2.min.css" rel="stylesheet" type="text/css" />
                <link href="/hxzkoa/hxzk/plugins/sweetalerts/sweetalert.css" rel="stylesheet" type="text/css" />
                <link href="/hxzkoa/hxzk/plugins/table/datatable/datatables.css" rel="stylesheet" type="text/css">
                <link href="/hxzkoa/hxzk/plugins/table/datatable/custom_dt_html5.css" rel="stylesheet" type="text/css">
                <link href="/hxzkoa/hxzk/plugins/table/datatable/dt-global_style.css" rel="stylesheet" type="text/css">
                <link href="/hxzkoa/hxzk/plugins/perfect-scrollbar/perfect-scrollbar.css" rel="stylesheet"
                    type="text/css" />
                <link href="https://fonts.gstatic.com" rel="preconnect">
                <link href="https://fonts.googleapis.com/css2?family=Ma+Shan+Zheng&display=swap" rel="stylesheet">
                <link href="https://fonts.googleapis.com/css?family=Quicksand:400,500,600,700&display=swap"
                    rel="stylesheet">
                <style>
                    body {
                        margin: 0px;
                        width: 100%;
                        min-width: 1500px;
                        max-width: 100%;
                        height: 100%;
                        background-color: #F0F0F0;
                    }
 
                    #head {
                        background-color: #FFFF00;
                        width: 100%;
                        height: 100px;
                    }
 
                    #center {
                        background-color: #00FFFF;
                        width: 100%;
                        min-height: 100%;
                    }
 
                    #foot {
                        background-color: #FF00FF;
                        width: 100%;
                        height: 100px;
                    }
 
                    .panel-head {
                        font-size: 1rem;
                        color: rgba(255, 255, 255, .7);
                        line-height: 2rem;
                        text-align: center;
                        background: linear-gradient(rgb(0, 20, 30), rgb(0, 40, 70));
                        border: 2px solid rgba(0, 90, 120, .3);
                    }
 
                    .table-bordered td,
                    .table-bordered th {
                        border: 1px solid #ebedf2;
                    }
 
                    .form-control {
                        width: 200px;
                    }
                    .jc:hover{
                        color: #0f6674;
                    }
                    .st:hover{
                        color: #0f6674;
                    }
                    .dhsz:hover{
                        color: #0f6674;
                    }
                    .qtsz:hover{
                        color: #0f6674;
                    }
                </style>
                <script src="/hxzkoa/hxzk/assets/js/app.js"></script>
                <script src="/hxzkoa/hxzk/assets/js/dashboard/dash_2.js"></script>
                <script src="/hxzkoa/hxzk/assets/js/loader.js"></script>
                <script src="/hxzkoa/hxzk/assets/js/libs/jquery-3.1.1.min.js"></script>
                <script src="/hxzkoa/hxzk/bootstrap/js/bootstrap.min.js"></script>
                <script src="/hxzkoa/hxzk/bootstrap/js/popper.min.js"></script>
                <script src="/hxzkoa/hxzk/assets/js/DateToStringUtil.js"></script>
                <script src="/hxzkoa/hxzk/plugins/apex/apexcharts.min.js"></script>
                <script src="/hxzkoa/hxzk/plugins/table/datatable/button-ext/jszip.min.js"></script>
                <script src="/hxzkoa/hxzk/plugins/table/jquery.table2excel.js"></script>
                <script src="/hxzkoa/hxzk/plugins/sweetalerts/promise-polyfill.js"></script>
                <script src="/hxzkoa/hxzk/plugins/sweetalerts/sweetalert2.min.js"></script>
                <script src="/hxzkoa/hxzk/plugins/sweetalerts/custom-sweetalert.js"></script>
                <script src="/hxzkoa/hxzk/plugins/perfect-scrollbar/perfect-scrollbar.min.js"></script>
            </head>
 
            <body class="alt-menu sidebar-noneoverflow">
 
                <!-- BEGIN LOADER -->
                <div id="load_screen">
                    <div class="loader">
                        <div class="loader-content">
                            <div class="spinner-grow align-self-center"></div>
                        </div>
                    </div>
                </div>
                <!--  END LOADER -->
                <div class="border-left"
                    style="opacity: 0.4; float: left; position: absolute; z-index: 1; left: 120px; height: 20px;">
                    <img alt="" src="/hxzkoa/resources/images/border.png" class="img-left">
                </div>
                <div class="border-right"
                    style="opacity: 0.4; float: right; position: absolute; z-index: 2; right: 120px;">
                    <img alt="" src="/hxzkoa/resources/images/border2.png" class="img-right">
                </div>
                <!--  BEGIN NAVBAR  -->
                <div class="login-page"></div>
                <!--  END NAVBAR  -->
 
                <!--  BEGIN MAIN CONTAINER  -->
                <div class="main-container" id="container" >
 
                    <div class="overlay"></div>
                    <div class="search-overlay"></div>
 
                    <!--  BEGIN TOPBAR  -->
                    <div class="header-page"></div>
                    <!--  END TOPBAR  -->
 
                    <!--  BEGIN CONTENT PART  -->
                    <div id="content" class="main-content" >
                        <div class="layout-px-spacing">
                            <div class="row layout-top-spacing" id="cancel-row">
                                <div class="col-xl-12 col-lg-12 col-sm-12  layout-spacing">
                                    <div class="widget-content widget-content-area br-6">
                                        <div class="table-responsive mb-4 mt-4" style="height: 600px">
                                            <form action="form_action.asp" method="get" id="settingForm">
                                                <div class="partTitle" style="margin: 20px 20px;padding-left: 200px">
                                                    <label for="exampleFormControlInput1" onclick="jcsz()"><a href="javascript:;" class="jc">基础设置<img src="/hxzkoa/hxzk/image/icon/kz.png" width="15"></a></label><br>
                                                    <label for="exampleFormControlInput1" onclick="stsz()"><a href="javascript:;" class="st">视图设置<img src="/hxzkoa/hxzk/image/icon/kz.png" width="15"></a></label><br>
                                                    <label for="exampleFormControlInput1" onclick="dhsz()"><a href="javascript:;" class="dhsz">导航设置<img src="/hxzkoa/hxzk/image/icon/kz.png" width="15"></a></label><br>
                                                    <label for="exampleFormControlInput1"><a href="javascript:;" class="qtsz">其他设置<img src="/hxzkoa/hxzk/image/icon/kz.png" width="15"></a></label>
                                                </div>
                                                    <div class="jcsz" overflow="hidden" style="width: 1000px; height: 500px;position: absolute;left: 200px;top:60px;margin-left: 200px">
                                                        <div
                                                                style="width: 90%; margin: 0 auto; overflow: auto; _display: inline-block;">
                                                            <div style="width: 165px; margin-left: 1%; float: left; line-height: 37px;">
                                                                <label for="exampleFormControlInput1">轨迹保存的时长(天):</label>
                                                            </div>
                                                            <div style="width: 15%; margin-left: 1%; float: left;">
                                                                <input class="form-control" type="text" name="gui_ji"
                                                                       id="gui_ji" value="${settingList[0].gui_ji}"
                                                                       required="required" />
                                                            </div>
                                                        </div>
                                                        <div style="width: 90%; margin: 0 auto; overflow: auto; _display: inline-block;">
                                                            <div style="width: 105px; margin-left: 1%; float: left; line-height: 37px;">
                                                                <label for="exampleFormControlInput1">系统标题设置:</label>
                                                            </div>
                                                            <div style="width: 15%; margin-left: 7.8%; float: left;">
                                                                <input class="form-control" type="text" name="title" id="title"
                                                                       value="${settingList[0].title}" required="required" />
                                                            </div>
                                                        </div>
                                                        <div style="width: 90%; margin: 0 auto; overflow: auto; _display: inline-block;">
                                                            <div style="width: 110px; margin-left: 1%; float: left; line-height: 37px;">
                                                                <label for="exampleFormControlInput1">首页地图选择:</label>
                                                            </div>
                                                            <div style="width: 15%; margin-left: 7%; float: left;">
                                                                <input type="hidden" name="prodId" id="prodId3"
                                                                       value="${settingList[0].yulan_map}" /> <select
                                                                    class="form-control form-control-lg" id="yulan_map_tu"
                                                                    style="font-size: 6px; height: 37px; padding: 0px 0px; width: 200px;">
                                                                <option value="百度地图">百度地图</option>
                                                                <option value="三维地图">三维地图</option>
                                                                <c:forEach items="${maplist}" var="map">
                                                                    <option value="${map.mapname}">${map.mapname}
                                                                    </option>
                                                                </c:forEach>
                                                            </select>
                                                            </div>
                                                        </div>
                                                        <div style="width: 600px; margin-left: 0%; overflow:hidden;line-height: 37px;">
                                                            <label for="exampleFormControlInput1" style="float: left;margin-left: 60px">中心点经度:</label>
                                                            <input class="form-control" type="text" style="float: left;margin-left: 87px;display: block"  name="baidu_j"
                                                                   id="baidu_j" value="${settingList[0].baidu_j}"
                                                                   required="required" />
                                                        </div>
                                                        <div style="width: 500px; margin-left: 1%; line-height: 37px;display: block">
                                                            <label for="exampleFormControlInput1" style="float:left;margin-left: 50px">中心点纬度:</label>
                                                            <input class="form-control" type="text" style="float: left;margin-left: 86px;" name="baidu_w"
                                                                   id="baidu_w" value="${settingList[0].baidu_w}"
                                                                   required="required" />
                                                        </div>
                                                        <div
                                                                style="width: 90%; margin: 10px auto; overflow: auto; _display: inline-block;">
                                                            <%--                                                    <div style="width: 32%; margin-left: 2%; float: left;"--%>
                                                            <%--                                                        class="custom-control custom-checkbox">--%>
                                                            <%--                                                        <input class="custom-control-input" type="checkbox"--%>
                                                            <%--                                                            name="checkSetting" id="check1"--%>
                                                            <%--                                                            value="${settingList[0].openudp}"> <label--%>
                                                            <%--                                                            class="custom-control-label" for="check1">开启UDP监听</label>--%>
                                                            <%--                                                    </div>--%>
                                                            <%--                                                    <div style="width: 32%; margin-left: 1%; float: left;"--%>
                                                            <%--                                                        class="custom-control custom-checkbox">--%>
                                                            <%--                                                        <input class="custom-control-input" type="checkbox"--%>
                                                            <%--                                                            name="checkSetting" id="check2"--%>
                                                            <%--                                                            value="${settingList[0].know_tag_zu}"> <label--%>
                                                            <%--                                                            class="custom-control-label" for="check2">已知标签所在组</label>--%>
                                                            <%--                                                    </div>--%>
                                                        </div>
                                                    </div>
 
                                                <div class="stsz" style="width: 1400px;position: absolute;top: 60px;left: 200px;display: none;margin-left: 200px;overflow-x: hidden" >
                                                    <div
                                                            style="width: 90%; margin: 0 auto; overflow: auto; _display: inline-block;">
                                                        <div style="width: 32%; margin-left: 2%; float: left;"
                                                             class="custom-control custom-checkbox">
                                                            <input class="custom-control-input" type="checkbox"
                                                                   name="checkSetting" id="check4"
                                                                   value="${settingList[0].tagZb}"> <label
                                                                class="custom-control-label" for="check4">标签坐标显示</label>
                                                        </div>
                                                        <div style="width: 32%; margin-left: 1%; float: left;"
                                                             class="custom-control custom-checkbox">
                                                            <input class="custom-control-input" type="checkbox"
                                                                   name="checkSetting" id="check5"
                                                                   value="${settingList[0].diskaoqing}"> <label
                                                                class="custom-control-label" for="check5">出考勤区消失</label>
                                                        </div>
                                                        <div style="width: 32%; margin-left: 1%; float: left;"
                                                             class="custom-control custom-checkbox">
                                                            <input class="custom-control-input" type="checkbox"
                                                                   name="checkSetting" id="check6"
                                                                   value="${settingList[0].viewAnckid}"> <label
                                                                class="custom-control-label" for="check6">显示基站的ID</label>
                                                        </div>
                                                    </div>
                                                    <div
                                                            style="width: 90%; margin: 0 auto; overflow: auto; _display: inline-block;">
                                                        <div style="width: 32%; margin-left: 2%; float: left;"
                                                             class="custom-control custom-checkbox">
                                                            <input class="custom-control-input" type="checkbox"
                                                                   name="checkSetting" id="check7"
                                                                   value="${settingList[0].viewName}"> <label
                                                                class="custom-control-label" for="check7">显示姓名</label>
                                                        </div>
                                                        <div style="width: 32%; margin-left: 1%; float: left;"
                                                             class="custom-control custom-checkbox">
                                                            <input class="custom-control-input" type="checkbox"
                                                                   name="checkSetting" id="check8"
                                                                   value="${settingList[0].tunlDw}"> <label
                                                                class="custom-control-label" for="check8">隧道定位</label>
                                                        </div>
                                                        <div style="width: 32%; margin-left: 1%; float: left;"
                                                             class="custom-control custom-checkbox">
                                                            <input class="custom-control-input" type="checkbox"
                                                                   name="checkSetting" id="check9"
                                                                   value="${settingList[0].guiji_sava}"><label
                                                                class="custom-control-label" for="check9">开启轨迹保存</label>
                                                        </div>
                                                    </div>
                                                    <div
                                                            style="width: 90%; margin: 0 auto; overflow: auto; _display: inline-block;">
                                                        <div style="width: 32%; margin-left: 2%; float: left;"
                                                             class="custom-control custom-checkbox">
                                                            <input class="custom-control-input" type="checkbox"
                                                                   name="checkSetting" id="check10"
                                                                   value="${settingList[0].viewPower}"> <label
                                                                class="custom-control-label" for="check10">显示实时电量</label>
                                                        </div>
                                                        <div style="width: 32%; margin-left: 1%; float: left;"
                                                             class="custom-control custom-checkbox">
                                                            <input class="custom-control-input" type="checkbox"
                                                                   name="checkSetting" id="check11"
                                                                   value="${settingList[0].viewTagid}"> <label
                                                                class="custom-control-label" for="check11">显示标签的ID</label>
                                                        </div>
                                                        <div style="width: 32%; margin-left: 1%; float: left;"
                                                             class="custom-control custom-checkbox">
                                                            <input class="custom-control-input" type="checkbox"
                                                                   name="checkSetting" id="check12"
                                                                   value="${settingList[0].viewAnckzb}"> <label
                                                                class="custom-control-label" for="check12">显示基站坐标</label>
                                                        </div>
                                                    </div>
                                                    <div
                                                            style="width: 90%; margin: 0 auto; overflow: auto; _display: inline-block;">
                                                        <div style="width: 32%; margin-left: 2%; float: left;"
                                                             class="custom-control custom-checkbox">
                                                            <input class="custom-control-input" type="checkbox"
                                                                   name="checkSetting" id="check13"
                                                                   value="${settingList[0].offView}"> <label
                                                                class="custom-control-label" for="check13">离线消失</label>
                                                        </div>
                                                        <div style="width: 32%; margin-left: 1%; float: left;"
                                                             class="custom-control custom-checkbox">
                                                            <input class="custom-control-input" type="checkbox"
                                                                   name="checkSetting" id="check20"
                                                                   value="${settingList[0].fence_show}"> <label
                                                                class="custom-control-label" for="check20">围栏显示</label>
                                                        </div>
 
                                                        <!-- <div style="width: 32%; margin-left: 1%; float: left;"
                                                        class="custom-control custom-checkbox">
                                                        <input class="custom-control-input" type="checkbox"
                                                            name="checkSetting" id="check16"
                                                            value="${settingList[0].quiet}"> <label
                                                            class="custom-control-label" for="check16">静止坐标固定 </label>
                                                    </div> -->
                                                        <div style="width: 32%; margin-left: 1%; float: left;"
                                                             class="custom-control custom-checkbox">
                                                            <input class="custom-control-input" type="checkbox"
                                                                   name="checkSetting" id="check14"
                                                                   value="${settingList[0].anckicon}"> <label
                                                                class="custom-control-label" for="check14">基站显示</label>
                                                        </div>
 
                                                    </div>
                                                    <div
                                                            style="width: 90%; margin: 0 auto; overflow: auto; _display: inline-block;">
                                                        <div style="width: 32%; margin-left: 2%; float: left;"
                                                             class="custom-control custom-checkbox">
                                                            <input class="custom-control-input" type="checkbox"
                                                                   name="checkSetting" id="check15"
                                                                   value="${settingList[0].gas_show}"> <label
                                                                class="custom-control-label" for="check15">开启气体显示</label>
                                                        </div>
                                                        <div style="width: 32%; margin-left: 1%; float: left;"
                                                             class="custom-control custom-checkbox">
                                                            <input class="custom-control-input" type="checkbox"
                                                                   name="checkSetting" id="check17"
                                                                   value="${settingList[0].baoliu25}"> <label
                                                                class="custom-control-label" for="check17">隐藏标题</label>
                                                        </div>
 
                                                        <div style="width: 32%; margin-left: 2%; float: left;"
                                                             class="custom-control custom-checkbox">
                                                            <input class="custom-control-input" type="checkbox"
                                                                   name="checkSetting" id="check18"
                                                                   value="${settingList[0].baoliu26}"> <label
                                                                class="custom-control-label" for="check18">取消登录页</label>
                                                        </div>
                                                        <div
                                                                style="width: 32%; margin-left: 1%; float: left; height: 37px;">
                                                            <input id="prodId1" name="prodId" type="hidden"
                                                                   value="${settingList[0].real_trak_time}">
                                                            <label for="real_trak_time">轨迹时长</label>
                                                            <select class="form-control form-control-lg" id="real_trak_time"
                                                                    style="font-size: 6px; height: 20px; padding: 0px 0px; width: 150px; display: inline;">
                                                                <option value="不显示实时轨迹">不显示实时轨迹</option>
                                                                <option value="10秒钟">10秒钟</option>
                                                                <option value="30秒钟">30秒钟</option>
                                                                <option value="1分钟">1分钟</option>
                                                                <option value="10分钟">10分钟</option>
                                                                <option value="30分钟">30分钟</option>
                                                                <option value="1小时">1小时</option>
                                                            </select>
                                                        </div>
                                                        <div
                                                                style="width: 32%; margin-left: 1%; float: left; height: 37px;">
                                                            <input id="prodId2" name="prodId" type="hidden"
                                                                   value="${settingList[0].real_trak_color}">
                                                            <label for="real_trak_time">轨迹颜色</label>
                                                            <select class="form-control form-control-lg" id="real_trak_color"
                                                                    style="font-size: 6px; height: 20px; padding: 0px 0px; width: 150px; display: inline;">
                                                                <option value="红色">红色</option>
                                                                <option value="蓝色">蓝色</option>
                                                                <option value="黑色">黑色</option>
                                                                <option value="白色">白色</option>
                                                                <option value="绿色">绿色</option>
                                                                <option value="黄色">黄色</option>
                                                            </select>
                                                        </div>
                                                    </div>
                                                </div>
 
                                                <!-- <div
                                                    style="width: 90%; margin: 0 auto; overflow: auto; _display: inline-block;">
                                                    <div
                                                        style="width: 32%; margin-left: 2%; float: left; height: 37px;">
                                                        <input id="prodId1" name="prodId" type="hidden"
                                                            value="${settingList[0].real_trak_time}"> 
                                                            <label for="real_trak_time">轨迹时长</label>
                                                            <select class="form-control form-control-lg" id="real_trak_time"
                                                            style="font-size: 6px; height: 20px; padding: 0px 0px; width: 150px; display: inline;">
                                                            <option value="不显示实时轨迹">不显示实时轨迹</option>
                                                            <option value="10秒钟">10秒钟</option>
                                                            <option value="30秒钟">30秒钟</option>
                                                            <option value="1分钟">1分钟</option>
                                                            <option value="10分钟">10分钟</option>
                                                            <option value="30分钟">30分钟</option>
                                                            <option value="1小时">1小时</option>
                                                        </select>
                                                    </div>
                                                    <div
                                                        style="width: 32%; margin-left: 1%; float: left; height: 37px;">
                                                        <input id="prodId2" name="prodId" type="hidden"
                                                            value="${settingList[0].real_trak_color}">
                                                            <label for="real_trak_time">轨迹颜色</label>
                                                            <select class="form-control form-control-lg" id="real_trak_color"
                                                            style="font-size: 6px; height: 20px; padding: 0px 0px; width: 150px; display: inline;">
                                                            <option value="红色">红色</option>
                                                            <option value="蓝色">蓝色</option>
                                                            <option value="黑色">黑色</option>
                                                            <option value="白色">白色</option>
                                                            <option value="绿色">绿色</option>
                                                            <option value="黄色">黄色</option>
                                                        </select>
                                                    </div>
                                                </div> -->
                                                <div class="dh" style="overflow:hidden; width: 1400px;position: absolute;left: 200px;top: 60px;display: none;margin-left: 200px">
                                                    <div
                                                            style="width: 90%; margin: 0 auto; overflow: auto; _display: inline-block;">
                                                        <div style="width: 19%; margin-left: 1%; float: left;"
                                                             class="custom-control custom-checkbox">
                                                            <input class="custom-control-input" type="checkbox"
                                                                   name="checkSetting" id="labelb"
                                                                   value="${dataList[0].label}"> <label
                                                                class="custom-control-label" for="labelb">标签管理</label>
                                                        </div>
                                                        <div style="width: 19%; margin-left: 1%; float: left;"
                                                             class="custom-control custom-checkbox">
                                                            <input class="custom-control-input" type="checkbox"
                                                                   name="checkSetting" id="achorb"
                                                                   value="${dataList[0].achor}"> <label
                                                                class="custom-control-label" for="achorb">基站管理</label>
                                                        </div>
                                                        <div style="width: 19%; margin-left: 1%; float: left;"
                                                             class="custom-control custom-checkbox">
                                                            <input class="custom-control-input" type="checkbox"
                                                                   name="checkSetting" id="gpsb"
                                                                   value="${dataList[0].gps}"> <label
                                                                class="custom-control-label" for="gpsb">卫星定位</label>
                                                        </div>
                                                        <div style="width: 19%; margin-left: 1%; float: left;"
                                                             class="custom-control custom-checkbox">
                                                            <input class="custom-control-input" type="checkbox"
                                                                   name="checkSetting" id="fenceb"
                                                                   value="${dataList[0].fence}"> <label
                                                                class="custom-control-label" for="fenceb">围栏管理</label>
                                                        </div>
                                                        <div style="width: 19%; margin-left: 1%; float: left;"
                                                             class="custom-control custom-checkbox">
                                                            <input class="custom-control-input" type="checkbox"
                                                                   name="checkSetting" id="warningb"
                                                                   value="${dataList[0].warning}"> <label
                                                                class="custom-control-label" for="warningb">告警管理</label>
                                                        </div>
                                                    </div>
                                                    <div
                                                            style="width: 90%; margin: 0 auto; overflow: auto; _display: inline-block;">
                                                        <div style="width: 19%; margin-left: 1%; float: left;"
                                                             class="custom-control custom-checkbox">
                                                            <input class="custom-control-input" type="checkbox"
                                                                   name="checkSetting" id="historyb"
                                                                   value="${dataList[0].history}"> <label
                                                                class="custom-control-label" for="historyb">历史轨迹</label>
                                                        </div>
                                                        <div style="width: 19%; margin-left: 1%; float: left;"
                                                             class="custom-control custom-checkbox">
                                                            <input class="custom-control-input" type="checkbox"
                                                                   name="checkSetting" id="attendanceb"
                                                                   value="${dataList[0].attendance}"> <label
                                                                class="custom-control-label" for="attendanceb">人员管理</label>
                                                        </div>
                                                        <div style="width: 19%; margin-left: 1%; float: left;"
                                                             class="custom-control custom-checkbox">
                                                            <input class="custom-control-input" type="checkbox"
                                                                   name="checkSetting" id="basiclnfob"
                                                                   value="${dataList[0].basiclnfo}"> <label
                                                                class="custom-control-label" for="basiclnfob">基础信息</label>
                                                        </div>
                                                        <div style="width: 19%; margin-left: 1%; float: left;"
                                                             class="custom-control custom-checkbox">
                                                            <input class="custom-control-input" type="checkbox"
                                                                   name="checkSetting" id="videob"
                                                                   value=""> <label
                                                                class="custom-control-label" for="videob">视频联动</label>
                                                        </div>
                                                        <div style="width: 19%; margin-left: 1%; float: left;"
                                                             class="custom-control custom-checkbox">
                                                            <input class="custom-control-input" type="checkbox"
                                                                   name="checkSetting" id="gasb"
                                                                   value=""> <label
                                                                class="custom-control-label" for="gasb">气体检测</label>
                                                        </div>
                                                    </div>
                                                </div>
<%--                                                <div class="partTitle" style="margin: 20px 20px;">--%>
<%--                                                    <label for="exampleFormControlInput1">其他设置</label>--%>
<%--                                                </div>--%>
<%--                                                <div--%>
<%--                                                    style="width: 90%; margin: 0 auto; overflow: auto; _display: inline-block;">--%>
<%--                                                    <div style="width: 32%; margin-left: 2%; float: left;"--%>
<%--                                                        class="custom-control custom-checkbox">--%>
<%--                                                        <input class="custom-control-input" type="checkbox"--%>
<%--                                                            name="checkSetting" id="check19"--%>
<%--                                                            value="${settingList[0].gas_open}"><label--%>
<%--                                                            class="custom-control-label" for="check19">开启气体监听</label>--%>
<%--                                                    </div>--%>
<%--                                                    <div style="margin-left: 1%; float: left; line-height: 37px;">--%>
<%--                                                        <label for="exampleFormControlInput1">监听端口:</label>--%>
<%--                                                    </div>--%>
<%--                                                    <div style="width: 15%; margin-left: 1%; float: left;">--%>
<%--                                                        <input class="form-control" type="text" name="gas_port"--%>
<%--                                                            id="gas_port" value="${settingList[0].gas_port}"--%>
<%--                                                            required="required" />--%>
<%--                                                    </div>--%>
<%--                                                    <div style="margin-left: 1%; float: left; line-height: 37px;">--%>
<%--                                                        <label for="exampleFormControlInput1">气体采样频率:</label>--%>
<%--                                                    </div>--%>
<%--                                                    <div style="width: 15%; margin-left: 1%; float: left;">--%>
<%--                                                        <input class="form-control" type="text" name="gas_hz"--%>
<%--                                                            id="gas_hz" value="${settingList[0].gas_hz}"--%>
<%--                                                            required="required" />--%>
<%--                                                    </div>--%>
<%--                                                </div>--%>
                                                <div
                                                    style="justify-content: center; align-items: center; display: flex; margin-top: 20px;">
                                                    <div style="position: absolute;top: 400px;left: 700px">
                                                        <button type="button"
                                                            class="btn btn-secondary modify">确定修改</button>
                                                        <button type="button" class="btn btn-secondary"
                                                            onclick="resetSetting()">参数重置</button>
                                                    </div>
                                                </div>
                                            </form>
                                        </div>
                                    </div>
                                </div>
                            </div>
 
                        </div>
 
                    </div>
                    <!--  END CONTENT PART  -->
 
                </div>
                <!-- END MAIN CONTAINER -->
                <% String username=(String) session.getAttribute("username"); if (username==null || username.equals(""))
                    { request.getRequestDispatcher("/hxzk/login.jsp").forward(request, response); return; } %>
                    <input type="hidden" name="xianusera" id="xianusera" value="<%=username%>">
                    <!-- BEGIN GLOBAL MANDATORY SCRIPTS -->
                    <script>
 
                        function jcsz(){
                            $(".jcsz").css("display","block");
                            $(".stsz").css("display","none");
                            $(".dh").css("display","none");
                        }
                        function dhsz(){
                            $(".stsz").css("display","none");
                            $(".jcsz").css("display","none");
                            $(".dh").css("display","block");
                        }
                        function stsz(){
                            $(".jcsz").css("display","none");
                            $(".stsz").css("display","block");
                            $(".dh").css("display","none");
                        }
 
 
 
                        window.onload = function () {
                            App.init();
                            $.ajax({
                                async: false,
                                type: "POST",
                                url: "/hxzkoa/getSysSetting_list2.do",
                                data: {},
                                dataType: "json",
                                success: function (data) {
                                    /* title = data[0].title;document.title = title; */
                                    if (data.dataList2[0].label == 0) {
                                        $("#labela").css({ 'display': 'none' });
                                    };
                                    if (data.dataList2[0].achor == 0) {
                                        $("#anchora").css({ 'display': 'none' });
                                    };
                                    if (data.dataList2[0].gps == 0) {
                                        $("#gpsa").css({ 'display': 'none' });
                                    };
                                    if (data.dataList2[0].fence == 0) {
                                        $("#fencea").css({ 'display': 'none' });
                                    };
                                    if (data.dataList2[0].warning == 0) {
                                        $("#warninga").css({ 'display': 'none' });
                                    };
                                    if (data.dataList2[0].history == 0) {
                                        $("#historya").css({ 'display': 'none' });
                                    };
                                    if (data.dataList2[0].attendance == 0) {
                                        $("#attendancea").css({ 'display': 'none' });
                                    };
                                    if (data.dataList2[0].basiclnfo == 0) {
                                        $("#basiclnfoa").css({ 'display': 'none' });
                                    };
                                    if (data.dataList2[0].video == 0) {
                                        $("#videoa").css({ 'display': 'none' });
                                    };
                                    if (data.dataList2[0].gas == 0) {
                                        $("#gasa").css({ 'display': 'none' });
                                    };
                                },
                            });
                            document.getElementById("xianuser").innerHTML=document.getElementById("xianusera").value
                        };
                        $('.header-page').load('/hxzkoa/hxzk/top.html');
                        $('.login-page').load('/hxzkoa/hxzk/head.html');
                        $(".modify").click(function () {
                            var dataname = $("#dataname").val();
                            var datapass = $("#datapass").val();
                            var gui_ji = $("#gui_ji").val();
                            var bei_fen_di_zhi = $("#bei_fen_di_zhi").val();
                            var data_time = $("#data_time").val();
                            var title = $("#title").val();
                            var udpPort = $("#udpPort").val();
                            var udpAdress = $("#udpAdress").val();
                            var rssid = $("#rssid").val();
                            //console.log(document.getElementById("check1").checked)
                            // if (document.getElementById("check1").checked) {
                            //  var openudp = "1"
                            // } else {
                            //  var openudp = "0"
                            // }
                            var ischecked = document.getElementById("check17").checked
                            if(ischecked == true){
                                $.ajax({
                                    async: false,
                                    type: "POST",
                                    url: "/hxzkoa/xiugaibiaoti.do",
                                    data: {},
                                    dataType: "json",
                                    success: function (data) {
                                        console.log(data)
                                    },
                                });
                            }else{
                                $.ajax({
                                    async: false,
                                    type: "POST",
                                    url: "/hxzkoa/xiugaibiaoti1.do",
                                    data: {},
                                    dataType: "json",
                                    success: function (data) {
                                        console.log(data)
                                    },
                                });
                            }
 
                            // if (document.getElementById("check2").checked) {
                            //  var know_tag_zu = "1"
                            // } else {
                            //  var know_tag_zu = "0"
                            // }
                            // if (document.getElementById("check3").checked) {
                            //  var wifi_mdel = "1"
                            // } else {
                            //  var wifi_mdel = "0"
                            // }
                            if (document.getElementById("check4").checked) {
                                var tagZb = "1"
                            } else {
                                var tagZb = "0"
                            }
                            if (document.getElementById("check5").checked) {
                                var diskaoqing = "1"
                            } else {
                                var diskaoqing = "0"
                            }
                            if (document.getElementById("check6").checked) {
                                var viewAnckid = "1"
                            } else {
                                var viewAnckid = "0"
                            }
                            if (document.getElementById("check7").checked) {
                                var viewName = "1"
                            } else {
                                var viewName = "0"
                            }
                            if (document.getElementById("check8").checked) {
                                var tunlDw = "1"
                            } else {
                                var tunlDw = "0"
                            }
                            if (document.getElementById("check9").checked) {
                                var guiji_sava = "1"
                            } else {
                                var guiji_sava = "0"
                            }
                            if (document.getElementById("check10").checked) {
                                var viewPower = "1"
                            } else {
                                var viewPower = "0"
                            }
                            if (document.getElementById("check11").checked) {
                                var viewTagid = "1"
                            } else {
                                var viewTagid = "0"
                            }
                            if (document.getElementById("check12").checked) {
                                var viewAnckzb = "1"
                            } else {
                                var viewAnckzb = "0"
                            }
                            if (document.getElementById("check13").checked) {
                                var offView = "1"
                            } else {
                                var offView = "0"
                            }
                            if (document.getElementById("check14").checked) {
                                var anckicon = "1"
                            } else {
                                var anckicon = "0"
                            }
                            if (document.getElementById("check15").checked) {
                                var gas_show = "1"
                            } else {
                                var gas_show = "0"
                            }
                            // if (document.getElementById("check16").checked) {
                            //  var quiet = "1"
                            // } else {
                            //  var quiet = "0"
                            // }
                            if (document.getElementById("check20").checked) {
                                var fence_show = "1"
                            } else {
                                var fence_show = "0"
                            }
                            if (document.getElementById("labelb").checked) {
                                var label = "1"
                            } else {
                                var label = "0"
                            }
                            if (document.getElementById("achorb").checked) {
                                var achor = "1"
                            } else {
                                var achor = "0"
                            }
                            if (document.getElementById("gpsb").checked) {
                                var gps = "1"
                            } else {
                                var gps = "0"
                            }
                            if (document.getElementById("fenceb").checked) {
                                var fence = "1"
                            } else {
                                var fence = "0"
                            }
                            if (document.getElementById("warningb").checked) {
                                var warning = "1"
                            } else {
                                var warning = "0"
                            }
                            if (document.getElementById("historyb").checked) {
                                var history = "1"
                            } else {
                                var history = "0"
                            }
                            if (document.getElementById("attendanceb").checked) {
                                var attendance = "1"
                            } else {
                                var attendance = "0"
                            }
                            if (document.getElementById("basiclnfob").checked) {
                                var basiclnfo = "1"
                            } else {
                                var basiclnfo = "0"
                            }
                            if (document.getElementById("videob").checked) {
                                var video = "1"
                            } else {
                                var video = "0"
                            }
                            if (document.getElementById("gasb").checked) {
                                var gas = "1"
                            } else {
                                var gas = "0"
                            }
                            if (document.getElementById("check17").checked) {
                                var baoliu25 = "1"
                            } else {
                                var baoliu25 = "0"
                            }
                            if (document.getElementById("check18").checked) {
                                var baoliu26 = "1"
                            } else {
                                var baoliu26 = "0"
                            }
                            var real_trak_time = $("#real_trak_time").val();
                            var real_trak_color = $("#real_trak_color").val();
                            var yulan_map_tu = $("#yulan_map_tu").val();
                            var baidu_j = $("#baidu_j").val();
                            var baidu_w = $("#baidu_w").val();
                            // if (document.getElementById("check19").checked) {
                            //  var gas_open = "1"
                            // } else {
                            //  var gas_open = "0"
                            // }
                            var gas_port = $("#gas_port").val();
                            var gas_hz = $("#gas_hz").val();
                            $.ajax({
                                async: false, //同步的
                                type: "POST",
                                url: "/hxzkoa/sysSetting_modify.do",
                                data: {
                                    dataname: dataname,
                                    datapass: datapass,
                                    gui_ji: gui_ji,
                                    bei_fen_di_zhi: bei_fen_di_zhi,
                                    data_time: data_time,
                                    title: title,
                                    udpPort: udpPort,
                                    udpAdress: udpAdress,
                                    rssid: rssid,
                                    tagZb: tagZb,
                                    diskaoqing: diskaoqing,
                                    viewAnckid: viewAnckid,
                                    viewName: viewName,
                                    tunlDw: tunlDw,
                                    guiji_sava: guiji_sava,
                                    viewPower: viewPower,
                                    viewTagid: viewTagid,
                                    viewAnckzb: viewAnckzb,
                                    offView: offView,
                                    anckicon: anckicon,
                                    gas_show: gas_show,
                                    // quiet: quiet,
                                    real_trak_time: real_trak_time,
                                    real_trak_color: real_trak_color,
                                    yulan_map_tu: yulan_map_tu,
                                    baidu_j: baidu_j,
                                    baidu_w: baidu_w,
                                    gas_port: gas_port,
                                    gas_hz: gas_hz,
                                    fence_show: fence_show,
                                    label:label,
                                    achor:achor,
                                    gps:gps,
                                    fence:fence,
                                    warning:warning,
                                    history:history,
                                    attendance:attendance,
                                    basiclnfo:basiclnfo,
                                    video:video,
                                    gas:gas,
                                    baoliu25:baoliu25,
                                    baoliu26,baoliu26,
                                },
                                dataType: "json"
                            });
                            swal({
                                title: "修改!",
                                text: "修改成功!",
                                type: "success",
                                showCancelButton: false,
                                showConfirmButton: false,
                                buttons: false,
                                timer: 1000
                            })
                        });
                        $(function () {
                            var boxObj = $("input:checkbox[name='checkSetting']");
                            boxObj.each(function () {
                                if ($(this).val() == "1") {
                                    $(this).attr("checked", true);
                                } else {
                                    $(this).attr("checked", false);
                                }
                                $("#real_trak_time").val($("#prodId1").val());
                                $("#real_trak_color").val($("#prodId2").val());
                                $("#yulan_map_tu").val($("#prodId3").val());
                            });
                        });
                        function resetSetting() {
                            $(':input', '#settingForm') //'#addMenuModal'为form表单id值
                                .not(':button', ':submit', ':reset', ':hidden') //排除form中type为button,submit,reset,hidden的input元素  
                                .val('') //将input的value设置为空
                                .removeAttr('checked'); // 删除radio/checkbox/select中的checked或selected属性
                        }
                    </script>
                    <!-- END GLOBAL MANDATORY SCRIPTS -->
 
 
            </body>
 
            </html>