HOR-1061 "Direct Case Link" SOLVED

Issue:
    Direct Case Link
Cause:
    Nuevo requerimiento
Solution:
    Se implemento el "Direct Case Link"
This commit is contained in:
Victor Saisa Lopez
2016-06-07 16:52:49 -04:00
parent b78d33e2c9
commit a928ef5974
20 changed files with 357 additions and 86 deletions

View File

@@ -812,6 +812,12 @@ Ext.onReady ( function() {
autoSave: true, // <-- false would delay executing create, update, destroy requests until specifically told to do so with some [save] buton.
sortInfo:{field: 'APP_CACHE_VIEW.APP_NUMBER', direction: "DESC"},
listeners: {
beforeload: function (store, options)
{
this.setBaseParam(
"openApplicationUid", (__OPEN_APPLICATION_UID__ !== null)? __OPEN_APPLICATION_UID__ : ""
);
},
load: function(response){
if (response.reader.jsonData.result === false) {
@@ -2313,12 +2319,16 @@ Ext.onReady ( function() {
var viewText = Ext.getCmp('casesGrid').getView();
storeCases.removeAll();
if (action != 'search') {
if (action != "search" || __OPEN_APPLICATION_UID__ !== null) {
storeCases.load();
} else {
viewText.emptyText = _('ID_ENTER_SEARCH_CRITERIA');
storeCases.load( {params: { first: true}} );
}
__OPEN_APPLICATION_UID__ = null;
//newPopUp.add(reassignGrid);
newPopUp.add(gridForm);
newPopUp.addButton(btnExecReassignSelected);