webmain/main/flow/rock_flow_element.php

(开头部分) 6KB

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

<?php if(!defined('HOST'))die('not access');?>
<script >
$(document).ready(function(){
	{params}
	var bools=false,modeid=0,moders={};
	if(params.mid)modeid=params.mid;
	var a = $('#view_{rand}').bootstable({
		tablename:'flow_element',celleditor:true,
		params:{mid:modeid},
		url:publicstore('{mode}','{dir}'),storeafteraction:'elementafter',storebeforeaction:'elementbefore',
		columns:[{
			text:'名称',dataIndex:'name',editor:true
		},{
			text:'对应字段',dataIndex:'fields'
		},{
			text:'分类',dataIndex:'iszb',renderer:function(v,d){
				var s='<font color=#ff6600>主表</font>';
				if(v>0)s='第'+d.iszb+'个子表';
				return s;
			}
		},{
			text:'元素类型,<a target="_blank" href="<?=URLY?>view_element.html">说明</a>',dataIndex:'fieldstype'
		},{
			text:'默认值',dataIndex:'dev',editor:true
		},{
			text:'分组',dataIndex:'ftype',editor:true
		},{
			text:'排序号',dataIndex:'sort',editor:true,sortable:true
		},{
			text:'录入列',dataIndex:'islu',type:'checkbox',editor:true,editorbefore:function(d){
				if(d.islu=='0'){js.msg('msg','打开录入项需要用编辑');return false;}else{return true;}
			}
		},{
			text:'必填',dataIndex:'isbt',type:'checkbox',editor:true
		},{
			text:'展示',dataIndex:'iszs',type:'checkbox',editor:true
		},{
			text:'列表列',dataIndex:'islb',type:'checkbox',editor:true
		},{
			text:'列排序',dataIndex:'ispx',type:'checkbox',editor:true
		},{
			text:'可搜索',dataIndex:'issou',type:'checkbox',editor:true
		},{
			text:'可统计',dataIndex:'istj',type:'checkbox',editor:true
		},{
			text:'唯一值',dataIndex:'isonly',type:'checkbox',editor:true
		},{
			text:'可导入',dataIndex:'isdr',type:'checkbox',editor:true
		},{
			text:'对齐',dataIndex:'isalign',type:'select',editor:true,renderer:function(v,d){
				var s='<font color="#888888">居中</font>';
				if(v==1)s='<font color="#ff6600">居左</font>';
				if(v==2)s='居右';
				return s;
			},store:js.arraystr('0|居中,1|居左,2|居右')
		}],
		itemclick:function(d){
			btn(false, d);
		},
		beforeload:function(){
后面还有 141 行代码,购买后查看完整代码

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

AI 解读 AI

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

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