信呼v2.5.2版本

This commit is contained in:
雨中磐石
2023-01-11 17:58:56 +08:00
parent db405df1ed
commit c0d49fd5ce
26 changed files with 276 additions and 188 deletions

View File

@@ -55,15 +55,21 @@ var c = {
$('#showtype').css('height',''+he+'px');
},
loaddata:function(iscs){
var url = js.getajaxurl('deptuserjson','dept','system',{'changerange':this.changerange});
var url = js.getajaxurl('deptuserjson','dept','system',{'changerange':this.changerange,'gtype':'change'});
$('#showdiv_0').html('<div align="center" style="margin-top:30px"><img src="images/mloading.gif"></div>')
$.get(url,function(ret){
var d = js.decode(ret);
ret = d.data;
if(c.changerange==''){
js.setoption('deptjson', ret.deptjson);
js.setoption('userjson', ret.userjson);
js.setoption('groupjson', ret.groupjson);
if(ret.iscache=='1'){
js.setoption('deptjson', '');
js.setoption('userjson', '');
js.setoption('groupjson', '');
}else{
js.setoption('deptjson', ret.deptjson);
js.setoption('userjson', ret.userjson);
js.setoption('groupjson', ret.groupjson);
}
}
c.userarr = js.decode(ret.userjson);