webmain/main/flow/rock_flow_menu.php

(开头部分) 3KB

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

<?php if(!defined('HOST'))die('not access');?>
<script >
$(document).ready(function(){
	{params};
	var num = params.num,mid,modeid=0,bools=false;
	
	function btn(bo){
		get('edit_{rand}').disabled = bo;
		get('del_{rand}').disabled = bo;
	}
	
	var a = $('#view_{rand}').bootstable({
		tablename:'flow_menu',celleditor:true,sort:'sort',dir:'asc',url:publicstore('{mode}','{dir}'),
		storeafteraction:'flowmenuafter',params:{'mid':-1},storebeforeaction:'flowmenubefore',
		columns:[{
			text:'类型',dataIndex:'type'
		},{
			text:'编号',dataIndex:'num',editor:true
		},{
			text:'显示名称',dataIndex:'name',editor:true
		},{
			text:'动作名',dataIndex:'actname',editor:true
		},{
			text:'状态名',dataIndex:'statusname',editor:true
		},{
			text:'状态值',dataIndex:'statusvalue',editor:true
		},{
			text:'状态颜色',dataIndex:'statuscolor',editor:true
		},{
			text:'说明',dataIndex:'explain',editor:true
		},{
			text:'排序号',dataIndex:'sort',editor:true
		},{
			text:'状态',dataIndex:'status',type:'checkbox',editor:true,sortable:true
		},{
			text:'写入日志',dataIndex:'islog',type:'checkbox',editor:true,sortable:true
		},{
			text:'写说明',dataIndex:'issm',type:'checkbox',editor:true,sortable:true
		},{
			text:'显示在详情页',dataIndex:'iszs',type:'checkbox',editor:true,sortable:true
		},{
			text:'ID',dataIndex:'id'
		}],
		load:function(a){
			if(!bools){
				var s = '<option value="0">-选择模块-</option>',len=a.flowarr.length,i,csd,types='';
				for(i=0;i<len;i++){
					csd = a.flowarr[i];
					if(types!=csd.type){
						if(types!='')s+='</optgroup>';
						s+='<optgroup label="'+csd.type+'">';
					}
					s+='<option value="'+csd.id+'">'+csd.name+'</option>';
					types = csd.type;
				}
				$('#mode_{rand}').html(s);
			}
			bools=true;
		},
		itemclick:function(){
后面还有 57 行代码,购买后查看完整代码

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

AI 解读 AI

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

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