webmain/main/kaoqin/rock_kaoqin_dkjl.php

(开头部分) 5KB

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

<?php if(!defined('HOST'))die('not access');?>
<script >
$(document).ready(function(){
	{params}
	var atype=params.atype;
	var a = $('#view_{rand}').bootstable({
		tablename:'kqdkjl',celleditor:true,fanye:true,modenum:'kqdkjl',sort:'id',dir:'desc',
		modedir:'{mode}:{dir}',params:{'atype':atype},storeafteraction:'kqdkjlaftershow',
		columns:[{
			text:'部门',dataIndex:'deptname',align:'left'
		},{
			text:'姓名',dataIndex:'name'
		},{
			text:'打卡时间',dataIndex:'dkdt',sortable:true
		},{
			text:'星期',dataIndex:'week'
		},{
			text:'类型',dataIndex:'type',sortable:true
		},{
			text:'添加时间',dataIndex:'optdt',sortable:true
		},{
			text:'IP',dataIndex:'ip'
		},{
			text:'MAC地址',dataIndex:'mac'
		},{
			text:'打卡位置',dataIndex:'address'
		},{
			text:'说明',dataIndex:'explain',align:'left'
		},{
			text:'图片',dataIndex:'imgpath',renderer:function(v){
				var s='&nbsp;';
				if(!isempt(v))s='<img height="60" onclick="$.imgview({url:this.src})" src="'+v+'">';
				return s;
			}
		}],
		itemdblclick:function(d){
			//openxiang('kqdkjl',d.id);
		},
		itemclick:function(){
			btn(false);
		},
		beforeload:function(){
			btn(true);
		},
		load:function(d){
			if(d.qybo || d.ddbo){
				var o = $('#huoqbtsn{rand}');
				o.parent().show();
				var str = '';
				if(d.qybo)str='企业微信';
				if(d.ddbo && d.qybo)str+='/';
				if(d.ddbo)str+='钉钉';
				o.val('从'+str+'获取打卡数据');
			}
		}
	});
	
	function btn(bo){
		get('del_{rand}').disabled = bo;
	}
后面还有 120 行代码,购买后查看完整代码

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

AI 解读 AI

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

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