webmain/main/flow/rock_flow_where.php

(开头部分) 4KB

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

<?php if(!defined('HOST'))die('not access');?>
<script >
$(document).ready(function(){
	var  bools = false,mid=0,flowarr=[];
	function btn(bo){
		get('edit_{rand}').disabled = bo;
		get('del_{rand}').disabled = bo;
	}

	var a = $('#view_{rand}').bootstable({
		tablename:'flow_where',storeafteraction:'flowwhereafter',storebeforeaction:'flowwherebefore',celleditor:true,defaultorder:'id desc',
		url:publicstore('{mode}','{dir}'),fanye:true,
		columns:[{
			text:'模块名称',dataIndex:'modename'
		},{
			text:'模块id',dataIndex:'setid',sortable:true
		},{
			text:'名称',dataIndex:'name',editor:true
		},{
			text:'分组',dataIndex:'pnum',editor:true,sortable:true
		},{
			text:'编号',dataIndex:'num',editor:true
		},{
			text:'主表条件(SQL条件)',dataIndex:'wheresstr',align:'left',renderer:function(v){
				var s='&nbsp;';
				if(!isempt(v))s=jm.base64decode(v);
				return s;
			}
		},{
			text:'人员',dataIndex:'recename'
		},{
			text:'人员除外',dataIndex:'nrecename'
		},{
			text:'说明',dataIndex:'explain',editor:true
		},{
			text:'排序号',dataIndex:'sort',editor:true,sortable:true
		},{
			text:'列表页显示',dataIndex:'islb',type:'checkbox',editor:true,sortable:true
		},{
			text:'状态',dataIndex:'status',type:'checkbox',editor:true,sortable:true
		},{
			text:'ID',dataIndex:'id',sortable:true
		},{
			text:'',dataIndex:'opt',renderer:function(v,d,oi){
				var s='&nbsp;';
				if(!isempt(d.num)){
					s='<a href="javascript:;" onclick="chakan{rand}('+oi+')">查看</a>';
				}
				return s;
			}
		}],
		itemclick:function(d){
			mid=d.setid;
			btn(false);
		},
		beforeload:function(){
			btn(true);
		},
		load:function(a){
			if(!bools){
后面还有 115 行代码,购买后查看完整代码

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

AI 解读 AI

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

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