发布v2.5.7版本

This commit is contained in:
雨中磐石
2023-05-11 16:19:42 +08:00
parent 8145b2df84
commit 8c2983b577
63 changed files with 1371 additions and 162 deletions

View File

@@ -186,15 +186,23 @@
}
return ssu;
};
this._showdeptci = 0;
this._showdept=function(pid,oi,s1,type,sel,dob,uob){
var a,len,i,wwj,s2='',s='';
var a,len,i,wwj,s2='',s='',zs;
a=this.deptarr;
len=a.length;
this._showdeptci++;
for(i=0;i<len;i++){
//if(this._showdeptci==1)this._showdepticons(i);
if(a[i].pid==pid || sel=='2'){
this.fid = a[i].id;
wjj= 'images/files.png';
if(a[i].ntotal=='0' && uob)wjj= 'images/file.png';
if(this.changetype=='changedept' || this.changetype=='changedeptcheck'){
//zs = a[i].dtotal;
//wjj= 'images/files.png';
//if(zs==0)wjj= 'images/file.png';
}
s2 = '<input name="changeuserinput_'+rand+'" xls="d" xname="'+a[i].name+'" xu="'+i+'" value="'+a[i].id+'" style="width:18px;height:18px;" onclick="rchanguserclick(this)" type="'+type+'">';
if(dob)s2='';
if(s2!='' && !this._isdeptcheck(a[i]))s2='';
@@ -206,6 +214,18 @@
}
return s;
};
this._showdepticons=function(xu){
var a,len,i,d,zs=0;
a=this.deptarr;
len=a.length;
d = a[xu];
if(!isempt(d.dtotal))return zs;
for(i=0;i<len;i++){
if(a[i].pid==d.id)zs++;
}
this.deptarr[xu].dtotal=zs;
return zs;
};
this._showgorup=function(type){
var a,len,i,ssu='',s1;
a=this.grouparr;