yxymailList.js
2.2 KB
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
//页头统计页面
var yxy_daysendmax=0;//日发量上限
var yxy_monthsendmax=0;//月发量上限
var yxy_daysendover=0;//日已发量
var yxy_monthsendover=0;//月已发量
$(document).ready(function() {
//$(parent.document).find("#ldt").show();
//8.查询页头统计
findCountInfo();
$(".ctj_1,.ctj_2").click(function(){
$(".ctj_1").removeClass().addClass("ctj_2");
$(this).removeClass().addClass("ctj_1");
})
});
//查询页头统计
function findCountInfo(){
$.ajax({
type: "post",
url: "count_findCountPageTop.action",
dataType:"json",
async:false,
cache: false,
success: function(msg) {
//日发上限
$("#yxyM_daysendmax").html(msg.daymax);
yxy_daysendmax=msg.daymax;//日发量上限
//月发上限
$("#yxyM_monthsendmax").html(msg.monthmax);
yxy_monthsendmax=msg.monthmax;//月发量上限
//日已发量
$("#yxyM_daysendover").html(msg.daysendnum);
yxy_daysendover=msg.daysendnum;
//月已发量
$("#yxyM_monthsendover").html(msg.monthsendnum);
yxy_monthsendover=msg.monthsendnum;
//当日剩余量
$("#yxyM_dayhavesend").html(msg.daymax-msg.daysendnum);
//当月剩余量
$("#yxyM_monthhavesend").html(msg.monthmax-msg.monthsendnum);
}
});
}
//根据语言设置标签及按扭显示文本
function SetLanguage(){
var languageID="";
$("[language="+languageName+"]").each(function(i,row){
languageID=$(this).attr("languageValue");
$(this).text(frontMsg.get(languageValue+"."+languageID));
$(this).attr("value",frontMsg.get(languageValue+"."+languageID));
});
}
//弹出框
function popTips(name,id,dx){
showTipsWindown(name, id, dx);
}
function showTipsWindown(title,id,width){
var hdeight2=$("#"+id).height();
tipsWindown(title,"id:"+id,width,"100%",hdeight2,"true","","true",id);
var pickerOpts1 = {
changeMonth: true,
changeYear: true,
dateFormat: "yy-mm-dd"
};
}
//关闭层
function confirmTerm(s) {
closeWindown(s);
}
//什么是点读弹出框
function whyClick(){
$.weeboxs.open('#whyclickdiv', {
title:"什么是点读?",
onopen:function() {
},
width:700,
height:300,
showButton:false,
oncancel:function(box){
box.close();//增加事件方法后需手动关闭弹窗
}
});
}