信呼OA版本v2.3.8

This commit is contained in:
雨中磐石
2022-08-14 16:47:40 +08:00
parent 4640677d27
commit e3fcd913e3
1405 changed files with 133635 additions and 73 deletions

View File

@@ -0,0 +1,27 @@
<script type="text/javascript" src="web/res/mode/calendar/jquery-rockcalendar.js"></script>
<script type="text/javascript" src="web/res/mode/calendar/jquery-rocklunar.js"></script>
<script type="text/javascript">
yingyonginit = function(){
monthobj = $('#mainbody').rockcalendar({
height:yy.getheight(-2),headerbgcolor:'#dddddd',
selbgcolor:'#DEF7F2',
changemonth:function(y, m){
var dt = ''+y+'年'+xy10(m)+'月';
setTimeout(function(){
yy.settitle(dt);
},10);
},
align:'center',
valign:'center',
renderer:function(day, s, s1,s2,col1,col2){
var s = '<div><font color='+col1+'>'+s1+'</font><br><div style="font-size:11px;height:16px;overflow:hidden;color:'+col2+'">'+s2+'</div></div>';
return s;
}
});
}
yy.clickevent=function(d){
if(d.url=='nowmonth')monthobj.nowmonth();
if(d.url=='prevmonth')monthobj.fanmonth(-1);
if(d.url=='nextmonth')monthobj.fanmonth(1);
}
</script>