webmain/flow/page/rock_page_jiaban.php

(开头部分) 3KB

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

<?php
/**
*	模块:jiaban.加班单
*	说明:自定义区域内可写你想要的代码
*	来源:流程模块→表单元素管理→[模块.加班单]→生成列表页
*/
defined('HOST') or die ('not access');
?>
<script>
$(document).ready(function(){
	{params}
	var modenum = 'jiaban',modename='加班单',isflow=1,modeid='6',atype = params.atype,pnum=params.pnum,modenames='',listname='a3FpbmZv';
	if(!atype)atype='';if(!pnum)pnum='';
	var fieldsarr = [],fieldsselarr= [],chufarr= [];
	
	<?php
	include_once('webmain/flow/page/rock_page.php');
	?>
	
//[自定义区域start]

c.initpage=function(){
	$('#key_{rand}').parent().before('<td><input onclick="js.datechange(this,\'month\')" style="width:110px;border-radius:0;border-left:0;'+datesss+'" placeholder="月份" readonly class="form-control" id="dt_{rand}" ></td>');
}
c.searchbtn=function(){
	var dt = get('dt_{rand}').value;
	this.search({month:dt});
}

if(pnum=='all'){
	bootparams.celleditor = true;
	c.setcolumns('jiafee',{
		editor:true,
		editorbefore:function(d){
			if(d.jiatype!='加班费'){
				js.msg('msg','加班兑换方式需[加班费]才能编辑');
				return false;
			}else{
				return true;
			}
		}
	});
}

//[自定义区域end]
	c.initpagebefore();
	js.initbtn(c);
	var a = $('#view'+modenum+'_{rand}').bootstable(bootparams);
	c.init();
	
});
</script>
<!--SCRIPTend-->
<!--HTMLstart-->
<div>
	<table width="100%">
	<tr>
		<td style="padding-right:10px;" id="tdleft_{rand}" nowrap><button id="addbtn_{rand}" class="btn btn-primary" click="clickwin,0" disabled type="button"><i class="icon-plus"></i> 新增</button></td>
		
		<td><select class="form-control" style="width:110px;border-top-right-radius:0;border-bottom-right-radius:0;padding:0 2px" id="fields_{rand}"></select></td>
后面还有 20 行代码,购买后查看完整代码

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

AI 解读 AI

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

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