webmain/main/flow/rock_flow_view.php
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?php if(!defined('HOST'))die('not access');?>
<script >
$(document).ready(function(){
var modeid = 0;
var a = $('#view_{rand}').bootstable({
tablename:'flow_set',celleditor:true,fanye:true,params:{modeid:0},autoLoad:false,dir:'desc',sort:'id',statuschange:false,
url:publicstore('{mode}','{dir}'),storebeforeaction:'viewshowbefore',storeafteraction:'viewshowafter',
columns:[{
text:'申请人部门',dataIndex:'udeptname'
},{
text:'操作人',dataIndex:'optname',sortable:true
},{
text:'摘要',dataIndex:'summary',align:'left'
},{
text:'操作时间',dataIndex:'optdt',sortable:true
},{
text:'ID',dataIndex:'id',sortable:true
},{
text:'状态',dataIndex:'status',sortable:true
},{
text:'处理记录',dataIndex:'chushu',renderer:function(v,d,i){
var s=' ';
if(v>0)s=''+v+'<a href="javascript:;" onclick="openlogs{rand}('+i+')">查看</a>';
return s;
}
}],
itemclick:function(d){
btn(false, d);
},
beforeload:function(){
btn(true);
},
celldblclick:function(){
c.view();
}
});
function btn(bo, d){
get('edit_{rand}').disabled = bo;
get('del_{rand}').disabled = bo;
}
var c = {
changemode:function(){
var v=this.value;
modeid=v;
a.setparams({modeid:v},true);
},
changemodes:function(v){
modeid=v;
a.setparams({modeid:v},true);
},
del:function(){
a.del({
url:js.getajaxurl('delmodeshuju','{mode}','{dir}'),
params:{modeid:modeid,mid:a.changeid}
});
},
view:function(){
var d=a.changedata;
后面还有 43 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
