From eb666a8f271dbde6d58f2c63c2d718dff0da4de6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Maur=C3=ADcio?= Date: Thu, 8 May 2014 08:59:21 +0000 Subject: [PATCH] git-svn-id: https://svn.coded.pt/svn/SIPRP@1896 bb69d46d-e84e-40c8-a05a-06db0d633741 --- .../WebContent/static/html/app/Form1/Form1Controller.js | 6 +++--- .../WebContent/static/html/app/Form2/Form2Controller.js | 6 +++--- .../WebContent/static/html/app/Form5/Form5Controller.js | 6 +++--- .../WebContent/static/html/app/main.js | 7 +++++-- 4 files changed, 14 insertions(+), 11 deletions(-) diff --git a/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/Form1/Form1Controller.js b/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/Form1/Form1Controller.js index acfaa8cd..7c2a9198 100644 --- a/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/Form1/Form1Controller.js +++ b/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/Form1/Form1Controller.js @@ -33,9 +33,9 @@ $scope.storeFichasClinicas = new globals.dataService.store({ model: null, actions: { - get: 'getFichaEAdmissaoInicial', - upsert: 'sendFichaEAdmissaoInicial',//TODO: ??? - destroy: 'deleteFichaEAdmissaoInicial'//TODO: ??? + get: 'getFicha', + upsert: 'sendFicha', + destroy: 'sendFicha' } }); diff --git a/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/Form2/Form2Controller.js b/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/Form2/Form2Controller.js index a393901b..4813dfec 100644 --- a/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/Form2/Form2Controller.js +++ b/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/Form2/Form2Controller.js @@ -9,9 +9,9 @@ $scope.storeFichasClinicas = new globals.dataService.store({ model: null, actions: { - get: 'getFicha2', - upsert: 'sendFicha2', - destroy: '' + get: 'getFicha', + upsert: 'sendFicha', + destroy: 'sendFicha' } }); diff --git a/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/Form5/Form5Controller.js b/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/Form5/Form5Controller.js index f91dbfe8..41a30bb0 100644 --- a/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/Form5/Form5Controller.js +++ b/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/Form5/Form5Controller.js @@ -9,9 +9,9 @@ $scope.storeFichasClinicas = new globals.dataService.store({ model: null, actions: { - //get: 'getFicha2', - //upsert: 'sendFicha2', - //destroy: '' + get: 'getFicha', + upsert: 'sendFicha', + destroy: 'sendFicha' } }); diff --git a/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/main.js b/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/main.js index e9cee9b9..281db05c 100644 --- a/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/main.js +++ b/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/main.js @@ -24,8 +24,11 @@ $(function(){ // ---> views-all.html // ---> GetViewsHtml.aspx - $.get('../../rs/fichasclinicas/getViews', function( data ) { - + $.get('../../rs/fichasclinicas/getViews', function( data ) { + + alert(22); + + var body = $('body'); var viewCache = $('
');