Mercurial > lada > lada-client
annotate app/model/OrtszuordnungTyp.js @ 1394:76ff6d084167
Do not load Ortszuordnung for messprogramm in "new messprogramm" dialog
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Thu, 09 Mar 2017 15:37:19 +0100 |
parents | d2f06ce4d43a |
children |
rev | line source |
---|---|
1338
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
1 /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
2 * Software engineering by Intevation GmbH |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
3 * |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
4 * This file is Free Software under the GNU GPL (v>=3) |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
5 * and comes with ABSOLUTELY NO WARRANTY! Check out |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
6 * the documentation coming with IMIS-Labordaten-Application for details. |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
7 */ |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
8 |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
9 /** |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
10 * Model for OrtsZusatz Stammdaten. |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
11 */ |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
12 Ext.define('Lada.model.OrtszuordnungTyp', { |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
13 extend: 'Ext.data.Model', |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
14 |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
15 /** |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
16 * Fields are: |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
17 * - id: The unique identifier (Primary key). |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
18 * - ortstyp: The long description. |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
19 */ |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
20 fields: [{ |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
21 name: 'id' |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
22 }, { |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
23 name: 'ortstyp' |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
24 }], |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
25 |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
26 idProperty: 'id', |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
27 |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
28 proxy: { |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
29 type: 'rest', |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
30 url: 'lada-server/rest/ortszuordnungtyp', |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
31 reader: { |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
32 type: 'json', |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
33 root: 'data' |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
34 } |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
35 } |
d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
36 }); |