webmain/main/view/rock_view.php

(开头部分) 2KB

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

<?php if(!defined('HOST'))die('not access');?>
<script >
$(document).ready(function(){
	var bools=false,mid=0;
	var a = $('#view_{rand}').bootstable({
		tablename:'flow_extent',celleditor:true,fanye:true,sort:'id',dir:'desc',
		url:publicstore('{mode}','{dir}'),storeafteraction:'afterstroesss',
		columns:[{
			text:'针对对象',dataIndex:'recename'
		},{
			text:'模块',dataIndex:'modename',sortable:true
		},{
			text:'类型',dataIndex:'type',sortable:true,renderer:function(oi){
				var as=['可查看','可添加','可编辑','可删除','可导入','可导出','禁看字段','流程监控'];
				return ''+as[oi]+'';
			}
		},{
			text:'条件',dataIndex:'whereid'
		},{
			text:'并条件',dataIndex:'wherestr',align:'left',renderer:function(v){
				return jm.base64decode(v);
			}
		},{
			text:'说明',dataIndex:'explain',editor:true
		},{
			text:'状态',dataIndex:'status',type:'checkbox',editor:true,sortable:true
		},{
			text:'ID',dataIndex:'id'
		}],
		itemclick:function(d){
			mid=d.modeid;
			btn(false, d);
		},
		beforeload:function(){
			btn(true);
		}
	});
	function btn(bo, d){
		get('edit_{rand}').disabled = bo;
		get('del_{rand}').disabled = bo;
	}
	var c = {
		del:function(){
			a.del();
		},
		reload:function(){
			a.reload();
		},
		clickwin:function(o1,lx){
			if(mid==0){
				js.msg('msg','请先选择模块');
				return;
			}
			var icon='plus',name='新增流程模块权限',id=0;
			if(lx==1){
				id = a.changeid;
				icon='edit';
				name='编辑流程模块权限';
			};
			guanflowviewlist = a;
后面还有 43 行代码,购买后查看完整代码

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

AI 解读 AI

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

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