BUG-12021 Improvements Audit Log

Improvements Audit Log
This commit is contained in:
norahmollo
2014-10-10 12:19:34 -04:00
parent 7f443cce8e
commit ca237e9230
28 changed files with 177 additions and 59 deletions

View File

@@ -80,6 +80,7 @@ audit.application = {
this.baseParams = {
"option": "LST",
"pageSize": pageSize,
"action": Ext.getCmp("cboAction").getValue(),
"description": Ext.getCmp("fldDescription").getValue(),
"dateFrom": Ext.getCmp("dateFrom").getValue(),
"dateTo": Ext.getCmp("dateTo").getValue()
@@ -126,6 +127,30 @@ audit.application = {
width: 150
});
var storeAction = new Ext.data.ArrayStore({
idIndex: 0,
fields: ["id", "value"],
data: ACTION
});
var cboAction = new Ext.form.ComboBox({
id: "cboAction",
valueField: "id",
displayField: "value",
value: "ALL",
store: storeAction,
triggerAction: "all",
mode: "local",
editable: false,
width: 150,
listeners: {
select: function (combo, record, index)
{
pagingAudit.moveFirst();
}
}
});
var cboPageSize = new Ext.form.ComboBox({
id: "cboPageSize",
@@ -196,6 +221,9 @@ audit.application = {
enableHdMenu: false,
tbar: [
"->",
{xtype: "tbtext", text: _("ID_ACTION") + " "},
cboAction,
"-",
{xtype: "tbtext", text: _("ID_DESCRIPTION") + " "},
fldDescription,
"-",