var actions = new Array();
// if (isGranted('_JobChangeCheck')) {
// actions.push({
// iconCls : 'btn-check',
// qtip : '审核',
// style : 'margin:0 3px 0 3px'
// });
// }
if (isGranted('_JobChangeDel')) {
actions.push({
iconCls : 'btn-del',
qtip : '删除',
style : 'margin:0 3px 0 3px'
});
}
if (isGranted('_JobChangeEdit')) {
actions.push({
iconCls : 'btn-edit',
qtip : '编辑',
style : 'margin:0 3px 0 3px'
});
}
if (isGranted('_JobChangeQuery')) {
actions.push({
iconCls : 'btn-operation',
qtip : '审批单',
style : 'margin:0 3px 0 3px'
})
}
this.rowActions = new Ext.ux.grid.RowActions({
header : '管理',
width : 125,
actions : actions
});
// if (isGranted('_JobChangeCheck')) {
// actions.push({
// iconCls : 'btn-check',
// qtip : '审核',
// style : 'margin:0 3px 0 3px'
// });
// }
if (isGranted('_JobChangeDel')) {
actions.push({
iconCls : 'btn-del',
qtip : '删除',
style : 'margin:0 3px 0 3px'
});
}
if (isGranted('_JobChangeEdit')) {
actions.push({
iconCls : 'btn-edit',
qtip : '编辑',
style : 'margin:0 3px 0 3px'
});
}
if (isGranted('_JobChangeQuery')) {
actions.push({
iconCls : 'btn-operation',
qtip : '审批单',
style : 'margin:0 3px 0 3px'
})
}
this.rowActions = new Ext.ux.grid.RowActions({
header : '管理',
width : 125,
actions : actions
});