cy
2022-06-21 129904537f66509f97b285e7eb4f42b3dc349dd0
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
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="shortcut icon" href="/favicon.ico"/>
<link rel="stylesheet" href="${common_static}/static/ui/utilfunc/css/normalize.css">
<script src="${common_static}/static/ui/utilfunc/js/modernizr.custom.js"></script>
<script type="text/javascript" src="${common_static}/static/script/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="${common_static}/static/script/jquery.util.js"></script>
<script type="text/javascript" src="${common_static}/static/ui/js/jquery.showpagination.js"></script>
<script type="text/javascript" src="${common_static}/static/ui/js/common.js"></script>
<link rel="stylesheet" type="text/css" href="${common_static}/static/ui/css/printa4-table.css"/>
<!--dividing line utilfunc-->
<!--(end) public flies-->
 
<!--(start) platform css+javascript-->
<link rel="stylesheet" href="${common_static}/static/ui/utilfunc/css/utilfunc.css">
<link rel="stylesheet" href="${common_static}/static/ui/css/platform.css">
<link rel="stylesheet" href="${common_static}/static/ui/css/iziToast.min.css">
 
 
<script src="${common_static}/static/plugins/laypage/laypage.js"></script>
<script src="${common_static}/static/plugins/laypage/page.util.js"></script>
 
 
<script type="text/javascript" src="${common_static}/static/ui/utilfunc/js/utilfunc.js"></script>
<script src="${common_static}/static/ui/js/platform.js"></script>
 
<script src="${common_static}/static/plugins/formvalidator/themes/Default/js/theme.js" type="text/javascript" charset="UTF-8"></script>
<script src="${common_static}/static/plugins/formvalidator/formValidator-4.1.3.js" type="text/javascript" charset="UTF-8"></script>
<script src="${common_static}/static/plugins/formvalidator/formValidatorRegex.js" type="text/javascript" charset="UTF-8"></script>
 
<script type="text/javascript" src="${common_static}/static/script/highcharts.util.js"></script>
<script type="text/javascript" src="${common_static}/static/script/highcharts.js"></script>
<script type="text/javascript" src="${common_static}/static/script/highcharts-3d.js"></script>
<script type="text/javascript" src="${common_static}/static/script/highcharts-more.js"></script>
 
<script type="text/javascript">
 
    function openDialog(id, name, params, dialogStyle, buttons, url) {
        var config = {
            //自定义传入的参数(可多个)
            customParameters: "customParameters",
            //弹出框相关样式
            dialogStyle: dialogStyle,
            //按钮配置
            buttons: buttons
        };
        return popDialog(id, name, config, url);
    }
 
    //加载效果
    function loading($dom) {
        if (!$dom) {
            $dom = $("body");
        }
        $dom.addClass("loadpos");
        $dom.html("<span class='loading' id='loading'></span>");
    }
 
    //加载完成
    function loaded($dom) {
        if (!$dom) {
            $dom = $("body");
        }
        $dom.removeClass("loadpos");
        $("#loading").remove();
    }
 
 
    function fulltext(typeId, kwId) {
        var kw = $.trim($("#" + kwId).val());
        if ($.util.isEmpty(kw)) {
            window.location.href = "${base}/business/pages/fulltext/search.html";
            return;
        }
 
        if (kw.length == 1) {
            popupTips("关键词至少为2个字");
            return;
        }
 
        var type = $("#" + typeId).attr("t");
 
 
        kw = $.util.encode($.util.encode(kw));
        window.location.href = "${base}/business/pages/fulltext/result.html?kw=" + kw + "&t=" + type;
    }
 
 
    //用户中心全文检索
    function ucfulltext(typeId, kwId) {
        var kw = $.trim($("#" + kwId).val());
        if ($.util.isEmpty(kw)) {
            window.location.href = "${base}/uc/ucfulltext/ucsearch.html";
            return;
        }
 
        if (kw.length == 1) {
            popupTips("关键词至少为2个字");
            return;
        }
 
        var type = $("#" + typeId).attr("t");
 
 
        kw = $.util.encode($.util.encode(kw));
        window.location.href = "${base}/uc/ucfulltext/ucresult.html?kw=" + kw + "&t=" + type;
    }
 
 
    function loginout() {
        window.top.confirmInfo('提示', '确定要退出吗?', function () {
            window.location.href = "${base}/business/logout.html";
        })
    }
 
    function getDays(strDateStart, strDateEnd) {
        var beginYear = strDateStart.substring(0, 4);
        var beginMonth = strDateStart.substring(4, 6);
        var beginDay = strDateStart.substring(6, 8);
        var endYear = strDateEnd.substring(0, 4);
        var endMonth = strDateEnd.substring(4, 6);
        var endDay = strDateEnd.substring(6, 8);
        var strDateS = new Date(beginYear, beginMonth - 1, beginDay);
        var strDateE = new Date(endYear, endMonth - 1, endDay);
        iDays = parseInt(Math.abs(strDateS - strDateE) / 1000 / 60 / 60 / 24)//把相差的毫秒数转换为天数
        return iDays;
    }
 
 
    function getMonth(strMonthStart, strMonthEnd) {
        var beginYear = parseInt(strMonthStart.substring(0, 4));
        var beginMonth = parseInt(strMonthStart.substring(4, 6));
        var endYear = parseInt(strMonthEnd.substring(0, 4));
        var endMonth = parseInt(strMonthEnd.substring(4, 6));
        var totalMonth = beginYear * 12 + beginMonth;
        var totalEndMonth = endYear * 12 + endMonth;
        return totalEndMonth - totalMonth + 1;
    }
function userout() {
    window.top.confirmInfo('提示', '确定要退出吗?', function(){
        window.location.href="${base}/uc/userout.html";
    })
}
</script>