发布v2.7.0版本
This commit is contained in:
@@ -6,31 +6,34 @@ $(document).ready(function(){
|
||||
if(!zt)zt='';
|
||||
if(!mid)mid='0';
|
||||
var bools=false;
|
||||
|
||||
var 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
|
||||
}];
|
||||
|
||||
if(companymode)columns.push({text:'所属单位※',dataIndex:'comidname'});
|
||||
columns.push({text:'状态',dataIndex:'status',sortable:true});
|
||||
columns.push({text:'',dataIndex:'caozuo',callback:'opegs{rand}'});
|
||||
|
||||
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}'
|
||||
}],
|
||||
columns:columns,
|
||||
celldblclick:function(){
|
||||
c.view();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user