kongdeqiang
2023-05-11 d4e6ec0389dd8abbcce4ee4f9e5cdad1633491d5
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
<!-- /.content-wrapper -->
<footer class="main-footer">
    <input type="hidden" id="serverInfoIdentify" th:value="${application.serverInfoId}"/>
    <th:block th:if="${application.copyRight eq 'true'}">
    <strong>Copyright &copy;2017-<span id="copyyear">now</span> <a target="_blank" href="http://www.10086.cn/">中国移动</a></strong>
    All Rights Reserved.
    </th:block>
    <th:block th:if="${application.copyRight eq 'false'}">&nbsp;</th:block>
    <div class="float-right d-none d-sm-inline-block">
        <span id="newversion"></span><b title="专业版" id="nowversion">Version 3.4.2-pro</b>
    </div>
</footer>
 
<audio id="notification">
    <source th:src="@{'/static/common/sounds/warn.mp3'}" type="audio/mpeg">
</audio>
 
 
<!-- jQuery -->
<script th:src="@{'/static/AdminLTE/plugins/jquery/jquery.min.js'}"></script>
<!-- jQuery UI 1.11.4 -->
<script th:src="@{'/static/AdminLTE/plugins/jquery-ui/jquery-ui.min.js'}"></script>
<!-- Resolve conflict in jQuery UI tooltip with Bootstrap tooltip -->
<script>
    $.widget.bridge('uibutton', $.ui.button)
</script>
<!-- Bootstrap 4 -->
<script th:src="@{'/static/AdminLTE/plugins/bootstrap/js/bootstrap.bundle.min.js'}"></script>
<!-- Select2 -->
<script  th:src="@{'/static/AdminLTE/plugins/select2/js/select2.full.min.js'}"></script>
<!-- ChartJS -->
<script th:src="@{'/static/AdminLTE/plugins/chart.js/Chart.min.js'}"></script>
<!-- Sparkline -->
<script th:src="@{'/static/AdminLTE/plugins/sparklines/sparkline.js'}"></script>
<!-- JQVMap -->
<script th:src="@{'/static/AdminLTE/plugins/jqvmap/jquery.vmap.min.js'}"></script>
<script th:src="@{'/static/AdminLTE/plugins/jqvmap/maps/jquery.vmap.usa.js'}"></script>
<!-- jQuery Knob Chart -->
<script th:src="@{'/static/AdminLTE/plugins/jquery-knob/jquery.knob.min.js'}"></script>
<!-- InputMask -->
<script th:src="@{'/static/AdminLTE/plugins/moment/moment.min.js'}"></script>
<script th:src="@{'/static/AdminLTE/plugins/inputmask/min/jquery.inputmask.bundle.min.js'}"></script>
<!-- daterangepicker -->
<script th:src="@{'/static/AdminLTE/plugins/daterangepicker/daterangepicker.js'}"></script>
<!-- Tempusdominus Bootstrap 4 -->
<script th:src="@{'/static/AdminLTE/plugins/tempusdominus-bootstrap-4/js/tempusdominus-bootstrap-4.min.js'}"></script>
<!-- Summernote -->
<script th:src="@{'/static/AdminLTE/plugins/summernote/summernote-bs4.min.js'}"></script>
<!-- overlayScrollbars -->
<script th:src="@{'/static/AdminLTE/plugins/overlayScrollbars/js/jquery.overlayScrollbars.min.js'}"></script>
<!-- AdminLTE App -->
<script th:src="@{'/static/AdminLTE/dist/js/adminlte.js'}"></script>
<!-- SweetAlert2 -->
<script th:src="@{'/static/AdminLTE/plugins/sweetalert2/sweetalert2.min.js'}"></script>
<!-- Toastr -->
<script th:src="@{'/static/AdminLTE/plugins/toastr/toastr.min.js'}"></script>
<!-- Bootstrap4 Duallistbox -->
<script th:src="@{'/static/AdminLTE/plugins/bootstrap4-duallistbox/jquery.bootstrap-duallistbox.min.js'}"></script>
<!-- AdminLTE for demo purposes
<script th:src="@{'/static/AdminLTE/dist/js/demo.js'}"></script>
 -->
<!-- warn sound play -->
<script th:src="@{'/static/js/warnSound.js'}"></script>
<script type="text/javascript">
//toastr提示框延时15s后消失
toastr.options.timeOut = 15000;
//全选
$("#checkall").on("click",function(){
    if($('#checkall').is(':checked')) {
        $("input[name='todo2']:checkbox").each(function() {
            $(this).prop("checked", true);
        });
    }else{
        $("input[name='todo2']:checkbox").each(function() {
            $(this).prop("checked", false);
        });
    }
});
function delChecks(url) {
    var chk_value =[];
    $("input[name='todo2']:checkbox").each(function() {
        if($(this).is(':checked')) {
            chk_value.push($(this).val());
        }
    });
    if(chk_value.length == 0){
        alert("请先选择需要删除的数据");
        return;
    }
    if(confirm('你确定要删除所选数据吗?')) {
        var vals = chk_value.join(",");
        $.ajax("/tssw"+url,{
            type:"post",
            data:{"id":vals},
            success:function(data){
                window.location.href = window.location.href;
            }
        });
    }
}
 
function removeDiv(divId) {
    $("#"+divId).remove();
}
 
//跳转到系统日志查询
function goHrefLogInfo(param) {
    window.location.href = "/tssw/log/list?hostname="+param;
}
 
//启用弹出框popover
$("[data-toggle='popover']").popover();
</script>