Mercurial > lada > lada-client
changeset 538:eef1ff9f2bd2
Merge
author | Roland Geider <roland.geider@intevation.de> |
---|---|
date | Wed, 17 Dec 2014 15:42:25 +0100 |
parents | a12c9c97d3cb (current diff) 7fb335bf6799 (diff) |
children | 31a770c6a9a9 |
files | app/view/kommentare/List.js app/view/messungen/List.js app/view/messwerte/List.js app/view/zusatzwerte/List.js |
diffstat | 11 files changed, 21 insertions(+), 16 deletions(-) [+] |
line wrap: on
line diff
--- a/app/model/StaMessmethode.js Wed Dec 17 15:41:35 2014 +0100 +++ b/app/model/StaMessmethode.js Wed Dec 17 15:42:25 2014 +0100 @@ -24,6 +24,13 @@ name: 'beschreibung' }, { name: 'messmethode' + }, { + name: 'display', + persist: false, + convert: function(value, record) { + return record.get('id') + ' - ' + record.get('messmethode'); + } + }], idProperty: 'id',
--- a/app/view/kommentare/List.js Wed Dec 17 15:41:35 2014 +0100 +++ b/app/view/kommentare/List.js Wed Dec 17 15:42:25 2014 +0100 @@ -23,7 +23,7 @@ emptyText: 'Keine Kommentaregefunden.', // minHeight and deferEmptyText are needed to be able to show the // emptyText message. - minHeight: 35, + minHeight: 65, deferEmptyText: false }, probeId: null,
--- a/app/view/messungen/List.js Wed Dec 17 15:41:35 2014 +0100 +++ b/app/view/messungen/List.js Wed Dec 17 15:42:25 2014 +0100 @@ -19,7 +19,7 @@ emptyText: 'Keine Messungen gefunden.', // minHeight and deferEmptyText are needed to be able to show the // emptyText message. - minHeight: 35, + minHeight: 65, deferEmptyText: false },
--- a/app/view/messwerte/List.js Wed Dec 17 15:41:35 2014 +0100 +++ b/app/view/messwerte/List.js Wed Dec 17 15:42:25 2014 +0100 @@ -19,7 +19,7 @@ emptyText: 'Keine Messwerte gefunden.', // minHeight and deferEmptyText are needed to be able to show the // emptyText message. - minHeight: 35, + minHeight: 65, deferEmptyText: false },
--- a/app/view/mkommentare/List.js Wed Dec 17 15:41:35 2014 +0100 +++ b/app/view/mkommentare/List.js Wed Dec 17 15:42:25 2014 +0100 @@ -19,7 +19,7 @@ emptyText: 'Keine Kommentare gefunden.', // minHeight and deferEmptyText are needed to be able to show the // emptyText message. - minHeight: 35, + minHeight: 65, deferEmptyText: false },
--- a/app/view/orte/List.js Wed Dec 17 15:41:35 2014 +0100 +++ b/app/view/orte/List.js Wed Dec 17 15:42:25 2014 +0100 @@ -18,7 +18,7 @@ emptyText: 'Keine Orte gefunden.', // minHeight and deferEmptyText are needed to be able to show the // emptyText message. - minHeight: 35, + minHeight: 65, deferEmptyText: false },
--- a/app/view/status/List.js Wed Dec 17 15:41:35 2014 +0100 +++ b/app/view/status/List.js Wed Dec 17 15:42:25 2014 +0100 @@ -19,7 +19,7 @@ emptyText: 'Keine Statusangaben gefunden.', // minHeight and deferEmptyText are needed to be able to show the // emptyText message. - minHeight: 35, + minHeight: 65, deferEmptyText: false },
--- a/app/view/widgets/Messmethode.js Wed Dec 17 15:41:35 2014 +0100 +++ b/app/view/widgets/Messmethode.js Wed Dec 17 15:42:25 2014 +0100 @@ -13,17 +13,15 @@ extend: 'Ext.form.ComboBox', alias: 'widget.messmethode', store: 'StaMessmethoden', - displayField: 'messmethode', + displayField: 'display', valueField: 'id', emptyText: 'Wählen Sie eine Messmethode', // Enable filtering of comboboxes autoSelect: false, queryMode: 'local', triggerAction: 'all', - typeAhead: false, + typeAhead: true, minChars: 0, - tpl: '<tpl for="."><div class="x-combo-list-item x-boundlist-item" >' + - '{id} - {messmethode}</div></tpl>', initComponent: function() { this.store = Ext.data.StoreManager.get('staMessmethoden');
--- a/app/view/zusatzwerte/List.js Wed Dec 17 15:41:35 2014 +0100 +++ b/app/view/zusatzwerte/List.js Wed Dec 17 15:42:25 2014 +0100 @@ -19,7 +19,7 @@ emptyText: 'Keine Zusatzwerte gefunden.', // minHeight and deferEmptyText are needed to be able to show the // emptyText message. - minHeight: 35, + minHeight: 65, deferEmptyText: false },
--- a/server/rest/messung Wed Dec 17 15:41:35 2014 +0100 +++ b/server/rest/messung Wed Dec 17 15:42:25 2014 +0100 @@ -6,7 +6,7 @@ "messungsIdAlt":"1", "probeId":7581036, "probeIdAlt":"000007589786X", - "mmtId":"G1", + "mmtId":"GI", "nebenprobenNr":"01G1", "messdauer":73929, "messzeitpunkt":1329139620000, @@ -18,7 +18,7 @@ "messungsIdAlt":"2", "probeId":7581036, "probeIdAlt":"000007589787X", - "mmtId":"G1", + "mmtId":"A2", "nebenprobenNr":"01G1", "messdauer":70898, "messzeitpunkt":1333483200000, @@ -30,7 +30,7 @@ "messungsIdAlt":"3", "probeId":7581036, "probeIdAlt":"000007589792X", - "mmtId":"G1", + "mmtId":"GI", "nebenprobenNr":"01G1", "messdauer":42474, "messzeitpunkt":1339609680000, @@ -42,7 +42,7 @@ "messungsIdAlt":"4", "probeId":7581036, "probeIdAlt":"000007589799X", - "mmtId":"G1", + "mmtId":"GI", "nebenprobenNr":"01G1", "messdauer":64222, "messzeitpunkt":1333453560000,
--- a/server/rest/sta_messstelle Wed Dec 17 15:41:35 2014 +0100 +++ b/server/rest/sta_messstelle Wed Dec 17 15:42:25 2014 +0100 @@ -2,7 +2,7 @@ "success":true, "message":"200", "data":[{ - "id":"03050", + "id":"06010", "netzbetreiberId":"03", "beschreibung":"Nds. Landesamt f. Verbraucherschutz und Lebensmittelsicherh., - Veterinärinstitut Hannover, Eintrachtweg 17, 30173 Hannover", "messStelle":"nslm61",