webmain/main/fwork/rock_fwork_bill.php
(开头部分) 6KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?php defined('HOST') or die('not access');?>
<script >
$(document).ready(function(){
{params}
var atype=params.atype,zt=params.zt,mid=params.modeid;
if(!zt)zt='';
if(!mid)mid='0';
var bools=false;
var a = $('#view_{rand}').bootstable({
tablename:'flow_bill',params:{'atype':atype,'zt':zt,'modeid':mid},fanye:true,
url:publicstore('{mode}','{dir}'),checked:atype=='daib',
storeafteraction:'flowbillafter',storebeforeaction:'flowbillbefore',
columns:[{
text:'模块',dataIndex:'modename'
},{
text:'部门',dataIndex:'deptname'
},{
text:'申请人',dataIndex:'name'
},{
text:'单号',dataIndex:'sericnum'
},{
text:'申请日期',dataIndex:'applydt',sortable:true
},{
text:'摘要',dataIndex:'summary',align:'left',renderer:function(v){
return '<div style="min-width:400px">'+v+'</div>';
}
},{
text:'操作人',dataIndex:'optname',sortable:true
},{
text:'状态',dataIndex:'status',sortable:true
},{
text:'',dataIndex:'caozuo',callback:'opegs{rand}'
}],
celldblclick:function(){
c.view();
},
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);
if(mid>0)get('mode_{rand}').value=mid;
}
bools=true;
},
itemclick:function(){
btn(false);
},
beforeload:function(){
btn(true);
}
});
后面还有 155 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
