<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>
|