Mercurial > lada > lada-client
comparison app/view/proben/Edit.js @ 22:0a4674f17bcb
Added more fields to the overview and set correct reference in on the edit
page.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Tue, 07 May 2013 17:09:00 +0200 |
parents | a05625ae08b1 |
children | f964a50bfe57 |
comparison
equal
deleted
inserted
replaced
21:4caf4c8c694a | 22:0a4674f17bcb |
---|---|
21 labelWidth: 150 | 21 labelWidth: 150 |
22 }, | 22 }, |
23 items: [ | 23 items: [ |
24 { | 24 { |
25 xtype: 'textfield', | 25 xtype: 'textfield', |
26 name: 'x1', | 26 name: 'mstId', |
27 fieldLabel: 'Messstelle' | 27 fieldLabel: 'Messstelle' |
28 }, | 28 }, |
29 { | 29 { |
30 xtype: 'textfield', | 30 xtype: 'textfield', |
31 name: 'x2', | 31 name: 'hauptprobenNr', |
32 fieldLabel: 'Hauptprobennr.' | 32 fieldLabel: 'Hauptprobennr.' |
33 }, | 33 }, |
34 { | 34 { |
35 xtype: 'textfield', | 35 xtype: 'textfield', |
36 name: 'x3', | 36 name: 'probeId', |
37 fieldLabel: 'Probe-ID' | 37 fieldLabel: 'Probe-ID' |
38 }, | 38 }, |
39 { | 39 { |
40 xtype: 'fieldset', | 40 xtype: 'fieldset', |
41 title: 'Erweiterte Probenangaben', | 41 title: 'Erweiterte Probenangaben', |
52 name: 'x5', | 52 name: 'x5', |
53 fieldLabel: 'RB/IB' | 53 fieldLabel: 'RB/IB' |
54 }, | 54 }, |
55 { | 55 { |
56 xtype: 'textfield', | 56 xtype: 'textfield', |
57 name: 'x6', | 57 name: 'test', |
58 fieldLabel: 'Testdatensatz' | 58 fieldLabel: 'Testdatensatz' |
59 }, | 59 }, |
60 { | 60 { |
61 xtype: 'textfield', | 61 xtype: 'textfield', |
62 name: 'x7', | 62 name: 'probenartId', |
63 fieldLabel: 'Probenart' | 63 fieldLabel: 'Probenart' |
64 }, | 64 }, |
65 { | 65 { |
66 xtype: 'textfield', | 66 xtype: 'textfield', |
67 name: 'x8', | 67 name: 'x8', |
72 name: 'x9', | 72 name: 'x9', |
73 fieldLabel: 'Szenario' | 73 fieldLabel: 'Szenario' |
74 }, | 74 }, |
75 { | 75 { |
76 xtype: 'textfield', | 76 xtype: 'textfield', |
77 name: 'x10', | 77 name: 'probenartId', |
78 fieldLabel: 'Probennehmer' | 78 fieldLabel: 'Probennehmer' |
79 }, | 79 }, |
80 { | 80 { |
81 xtype: 'textfield', | 81 xtype: 'textfield', |
82 name: 'x11', | 82 name: 'x11', |
94 labelWidth: 150 | 94 labelWidth: 150 |
95 }, | 95 }, |
96 items: [ | 96 items: [ |
97 { | 97 { |
98 xtype: 'textfield', | 98 xtype: 'textfield', |
99 name: 'x12', | 99 name: 'umwId', |
100 fieldLabel: 'Umweltbereich' | 100 fieldLabel: 'Umweltbereich' |
101 }, | 101 }, |
102 { | 102 { |
103 xtype: 'textfield', | 103 xtype: 'textfield', |
104 name: 'x13', | 104 name: 'media', |
105 fieldLabel: 'Medienbezeichnung' | 105 fieldLabel: 'Medienbezeichnung' |
106 }, | 106 }, |
107 { | 107 { |
108 xtype: 'textfield', | 108 xtype: 'textfield', |
109 name: 'x14', | 109 name: 'mediaDesk', |
110 fieldLabel: 'Deskriptoren' | 110 fieldLabel: 'Deskriptoren' |
111 }, | 111 }, |
112 { | 112 { |
113 xtype: 'fieldset', | 113 xtype: 'fieldset', |
114 title: 'Details Deskriptoren', | 114 title: 'Details Deskriptoren', |
128 labelWidth: 150 | 128 labelWidth: 150 |
129 }, | 129 }, |
130 items: [ | 130 items: [ |
131 { | 131 { |
132 fieldLabel: 'Probennahme Beginn', | 132 fieldLabel: 'Probennahme Beginn', |
133 name: 'z1' | 133 name: 'probeentnahmeBeginn' |
134 }, | 134 }, |
135 { | 135 { |
136 fieldLabel: 'Probennahme Ende', | 136 fieldLabel: 'Probennahme Ende', |
137 name: 'z2' | 137 name: 'probeentnahmeEnde' |
138 }, | 138 }, |
139 { | 139 { |
140 fieldLabel: 'Sollzeit Von', | 140 fieldLabel: 'Sollzeit Von', |
141 name: 'z3' | 141 name: 'solldatumBeginn' |
142 }, | 142 }, |
143 { | 143 { |
144 fieldLabel: 'Sollzeit Bis', | 144 fieldLabel: 'Sollzeit Bis', |
145 name: 'z4' | 145 name: 'solldatumEnde' |
146 }, | 146 }, |
147 { | 147 { |
148 fieldLabel: 'Ursprungszeit', | 148 fieldLabel: 'Ursprungszeit', |
149 name: 'z5' | 149 name: 'z5' |
150 } | 150 } |
367 fields[$i] = {fieldLabel: 'S'+$i, name: 's'+$i}; | 367 fields[$i] = {fieldLabel: 'S'+$i, name: 's'+$i}; |
368 } | 368 } |
369 return fields; | 369 return fields; |
370 } | 370 } |
371 }); | 371 }); |
372 |