Mercurial > lada > lada-client
annotate app/model/StatusWerte.js @ 984:b21421ba6917 stammdatengrids
added buttons for datensatzerzeuger, pobenehmer, added controllers
author | Dustin Demuth <dustin@intevation.de> |
---|---|
date | Thu, 10 Dec 2015 08:30:14 +0100 |
parents | 45c67a784b31 |
children | f73ca04d73a7 |
rev | line source |
---|---|
946 | 1 /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz |
2 * Software engineering by Intevation GmbH | |
3 * | |
4 * This file is Free Software under the GNU GPL (v>=3) | |
5 * and comes with ABSOLUTELY NO WARRANTY! Check out | |
6 * the documentation coming with IMIS-Labordaten-Application for details. | |
7 */ | |
8 | |
9 /** | |
10 * Model class for StatusWerte | |
11 */ | |
12 Ext.define('Lada.model.StatusWerte', { | |
13 extend: 'Ext.data.Model', | |
14 | |
15 fields: [{ | |
16 name: 'id' | |
17 }, { | |
956
45c67a784b31
Added StatusStufe to the StatusGrid. Created Store and Model for StatusStufe
Dustin Demuth <dustin@intevation.de>
parents:
946
diff
changeset
|
18 name: 'wert', |
45c67a784b31
Added StatusStufe to the StatusGrid. Created Store and Model for StatusStufe
Dustin Demuth <dustin@intevation.de>
parents:
946
diff
changeset
|
19 type: 'string' |
946 | 20 }], |
21 | |
22 idProperty: 'id', | |
23 | |
24 proxy: { | |
25 type: 'rest', | |
26 url: 'lada-server/statuswert', | |
27 reader: { | |
28 type: 'json', | |
29 root: 'data' | |
30 } | |
31 } | |
32 | |
33 }); |