webmain/main/kaoqin/rock_kaoqin_location.php

(开头部分) 3KB

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

<?php if(!defined('HOST'))die('not access');?>
<script >
$(document).ready(function(){
	{params}
	var atype=params.atype;
	var a = $('#view_{rand}').bootstable({
		tablename:'location',celleditor:true,fanye:true,
		modedir:'{mode}:{dir}',params:{'atype':atype},modenum:'kqdw',
		columns:[{
			text:'部门',dataIndex:'deptname',align:'left'
		},{
			text:'姓名',dataIndex:'name'
		},{
			text:'打卡时间',dataIndex:'optdt',sortable:true
		},{
			text:'星期',dataIndex:'week'
		},{
			text:'定位类型',dataIndex:'type',sortable:true
		},{
			text:'地址',dataIndex:'label'
		},{
			text:'精确到',dataIndex:'precision'
		},{
			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;
			}
		},{
			text:'',dataIndex:'opt',renderer:function(v,d){
				var s='&nbsp;';
				if(!isempt(d.location_x))s='<a onclick="js.locationshow('+d.id+')" href="javascript:;">地图上打开</a>';
				return s;
			}
		}]
	});
	var c = {
		search:function(){
			var s=get('key_{rand}').value;
			a.setparams({key:s,dt1:get('dt1_{rand}').value,dt2:get('dt2_{rand}').value},true);
		},
		clickdt:function(o1, lx){
			$(o1).rockdatepicker({initshow:true,view:'date',inputid:'dt'+lx+'_{rand}'});
		},
		daochu:function(o1){
			publicdaochuobj({
				'objtable':a,
				'modename':'',
				'btnobj':o1
			});
		},
		xiashu:function(o1){
			if(atype=='my'){
				o1.value='我的记录';
				atype = 'down';
				nowtabssettext('下属定位记录');
			}else{
				o1.value='下属记录';
后面还有 48 行代码,购买后查看完整代码

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

AI 解读 AI

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

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