webmain/system/dept/tpl_dept.html

(开头部分) 11KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>选择人员</title>
<link rel="stylesheet" type="text/css" href="<?=$da['p']?>/css/rock.css"/>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/js.js"></script>
<script type="text/javascript">
function initbody(){
	c.init();
}
companymode		= <?=(getconfig('companymode')? 'true' : 'false')?>;
uidid		= <?=$da['adminid']?>;
var c = {
	maxshow:300,
	grouparr:[],
	userarr:[],
	deptarr:[],
	firstpid:0,
	init:function(){
		this.changevalue = js.request('changevalue');//默认值
		this.changerange = js.request('changerange');
		var us = js.getoption('userjson');
		if(us)this.userarr = js.decode(us);
		
		us = js.getoption('groupjson');
		if(us)this.grouparr = js.decode(us);
		
		us = js.getoption('deptjson');
		if(us)this.deptarr = js.decode(us);
		
		
		if(!us || this.changerange!=''){
			this.loaddata(true);
		}else{
			this.firstpid = this.deptarr[0].pid;
			this.showlist(this.firstpid,0);
			this.initxuan();
		}
		this.resets();
		$(window).resize(this.resets);
		
		$('#keywords').keydown(function(e){
			c._searchkeys(e)
		});
		$('#keywords').keyup(function(e){
			c._searchkeys(e)
		});
	},
	resets:function(lx){
		var he = winHb()-90;
		$('#zxuandiv').css('height',''+he+'px');
		$('#xuandiv').css('height',''+he+'px');
		$('#showtype').css('height',''+he+'px');
	},
	loaddata:function(iscs){
		var url = js.getajaxurl('deptuserjson','dept','system',{'changerange':this.changerange,'gtype':'change'});
		$('#showdiv_0').html('<div align="center" style="margin-top:30px">'+js.ling(30)+'</div>')
		$.get(url,function(ret){
后面还有 298 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。