webmain/main/kaoqin/rock_kaoqin_sjfp.php

(开头部分) 3KB

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

<?php if(!defined('HOST'))die('not access');?>
<script >
$(document).ready(function(){
	{params}
	var gzdata=[],lobdds=false,type=params.type;if(!type)type='0';
	var a = $('#view_{rand}').bootstable({
		tablename:'kqdist',celleditor:true,fanye:true,params:{'type':type},
		url:publicstore('{mode}','{dir}'),storeafteraction:'kqdistafter',storebeforeaction:'kqdistbefore',
		columns:[{
			text:'针对人员',dataIndex:'recename',sortable:true
		},{
			text:'对应规则',dataIndex:'mid',sortable:true
		},{
			text:'开始日期',dataIndex:'startdt',sortable:true
		},{
			text:'截止日期',dataIndex:'enddt',sortable:true
		},{
			text:'状态',dataIndex:'status',type:'checkbox',editor:true,sortable:true
		},{
			text:'排序号',dataIndex:'sort',editor:true,sortable:true
		},{
			text:'ID',dataIndex:'id'
		}],
		itemclick:function(){
			btn(false);
		},
		beforeload:function(){
			btn(true);
		},
		load:function(d){
			gzdata=d.gzdata;
			if(!lobdds){
				js.setselectdata(get('sekw_{rand}'),gzdata,'id');
			}
			lobdds=true;
		}
	});
	
	function btn(bo){
		get('del_{rand}').disabled = bo;
		get('edit_{rand}').disabled = bo;
	}
	
	var c = {
		del:function(){
			a.del({url:js.getajaxurl('kqsjgzdatadel','{mode}','{dir}',{type:1})});
		},
		clickwin:function(o1,lx){
			var h = $.bootsform({
				title:'分配',height:320,width:400,
				tablename:'kqdist',isedit:lx,submitfields:'recename,receid,mid,startdt,enddt,sort',
				params:{otherfields:'type='+type+''},
				items:[{
					labelText:'针对人员',name:'recename',required:true,type:'changeuser',changeuser:{
						type:'deptusercheck',idname:'receid',title:'选择人员'
					},clearbool:true
				},{
					name:'receid',type:'hidden'
				},{
					labelText:'开始日期',name:'startdt',type:'date',view:'date',required:true
后面还有 52 行代码,购买后查看完整代码

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

AI 解读 AI

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

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