信呼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,30 @@
yy.onclickmenu=function(d){
if(d.url=='moreapply'){
js.location('?d=we&m=flow&a=apply');
}else{
return true;
}
}
function myyingsinit(){
var s = '<select id="modeid" style="width:100px;border:none;background:white;font-size:14px"><option value="0">选择模块</option></select>';
$('#searsearch_bar').prepend(s);
$('#modeid').change(function(){
yy.search({'modeid':this.value});
});
}
yy.onshowdata=function(da){
if(da.modearr){
var s = '<option value="0">选择模块</option>',len=da.modearr.length,i,csd,types='';
for(i=0;i<len;i++){
csd = da.modearr[i];
if(types!=csd.type){
if(types!='')s+='</optgroup>';
s+='<optgroup label="'+csd.type+'">';
}
s+='<option value="'+csd.id+'">'+csd.name+'</option>';
types = csd.type;
}
if(len>0)$('#modeid').html(s);
}
}
myyingsinit();