comparison app/view/messungen/CreateForm.js @ 181:062aa9001eb6

Completed Messwertelist
author Torsten Irländer <torsten.irlaender@intevation.de>
date Thu, 04 Jul 2013 15:11:01 +0200
parents f1f0351b6e2f
children 2cf26580d75d
comparison
equal deleted inserted replaced
180:133df8f75a12 181:062aa9001eb6
1 Ext.define('Lada.view.messungen.CreateForm', { 1 Ext.define('Lada.view.messungen.CreateForm', {
2 extend: 'Lada.view.widgets.LadaForm', 2 extend: 'Lada.view.widgets.LadaForm',
3 model: 'Lada.model.Messung', 3 model: 'Lada.model.Messung',
4 requires: [ 4 requires: [
5 'Lada.view.widgets.Messmethode', 5 'Lada.view.widgets.Messmethode',
6 'Lada.view.mkommentare.List' 6 'Lada.view.widgets.Testdatensatz',
7 'Lada.view.mkommentare.List',
8 'Lada.view.status.List',
9 'Lada.view.messwerte.List'
7 ], 10 ],
8 initComponent: function() { 11 initComponent: function() {
9 this.items = [ 12 this.items = [
10 { 13 {
11 xtype: 'textfield', 14 xtype: 'textfield',
26 xtype: 'textfield', 29 xtype: 'textfield',
27 name: 'messdauer', 30 name: 'messdauer',
28 fieldLabel: 'Messdauer' 31 fieldLabel: 'Messdauer'
29 }, 32 },
30 { 33 {
31 xtype: 'textfield', 34 xtype: 'testdatensatz',
32 name: 'fertig', 35 name: 'fertig',
33 fieldLabel: 'Fertig' 36 fieldLabel: 'Fertig'
34 }, 37 },
35 { 38 {
36 xtype: 'textfield', 39 xtype: 'testdatensatz',
37 name: 'geplant', 40 name: 'geplant',
38 fieldLabel: 'Geplant' 41 fieldLabel: 'Geplant'
42 },
43 // Messwerte
44 {
45 xtype: 'fieldset',
46 title: 'Messwerte',
47 collapsible: true,
48 collapsed: false,
49 padding: '10 10',
50 items: [
51 {
52 xtype: 'messwertelist',
53 parentId: this.modelId
54 }
55 ]
56 },
57 // Status
58 {
59 xtype: 'fieldset',
60 title: 'Messungsstatus',
61 collapsible: true,
62 collapsed: false,
63 padding: '10 10',
64 items: [
65 {
66 xtype: 'statuslist',
67 parentId: this.modelId
68 }
69 ]
39 }, 70 },
40 // Messungskommentare 71 // Messungskommentare
41 { 72 {
42 xtype: 'fieldset', 73 xtype: 'fieldset',
43 title: 'Messungskommentare', 74 title: 'Messungskommentare',

http://lada.wald.intevation.org