1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: hand
$Date: 2016-6-20 下午5:42:46
$Revision: 1.0
$Purpose:
-->
<a:screen xmlns:a="http://www.leaf-framework.org/application">
<a:init-procedure/>
<a:view>
<script type="text/javascript"><![CDATA[
function submitsuccess() {
$('con_collection_group_result_ds').query();
}
]]></script>
<a:dataSets>
<a:dataSet id="con_collection_group_result_ds" bindName="con_collection_group" model="cont.CON630.con_collection_group" selectable="true" selectionModel="single" submitUrl="${/request/@context_path}/modules/cont/CON630/con_collection.lsc">
<a:fields>
<a:field name="group_id"/>
<a:field name="type_id"/>
<a:field name="group_code"/>
<a:field name="group_name"/>
<a:field name="district"/>
<a:field name="note"/>
</a:fields>
<!-- <a:events>
<a:event name="submitsuccess" handler="submitsuccess"/>
</a:events> -->
</a:dataSet>
<a:dataSet id="con_collection_persons_result_ds" bindName="con_collection_persons" bindTarget="con_collection_group_result_ds" model="cont.CON630.con_collection_persons" selectable="true" selectionModel="single">
<a:fields>
<a:field name="staff_id"/>
<a:field name="type_id"/>
<a:field name="group_id"/>
<a:field name="staff_name"/>
<a:field name="district"/>
<a:field name="note"/>
</a:fields>
</a:dataSet>
</a:dataSets>
<a:grid id="grid_id1" bindTarget="con_collection_group_result_ds" height="175" marginWidth="50" navBar="true">
<a:toolBar>
<a:button type="add"/>
<a:button type="delete"/>
</a:toolBar>
<a:columns>
<a:column name="group_code" editor="grid_id_textField_id1" prompt="CON_COLLECTION_GROUP.GROUP_CODE" width="100"/>
<a:column name="group_name" editor="grid_id_textField_id1" prompt="CON_COLLECTION_GROUP.GROUP_NAME" width="100"/>
<a:column name="district" editor="grid_id_textField_id1" prompt="CON_COLLECTION_GROUP.DISTRICT" width="100"/>
<a:column name="note" editor="grid_id_textField_id1" prompt="CON_COLLECTION_GROUP.NOTE" width="100"/>
</a:columns>
<a:editors>
<a:numberField id="grid_id_numberField_id1"/>
<a:textField id="grid_id_textField_id1"/>
</a:editors>
</a:grid>
<!-- <a:screen-include screen="modules/cont/CON630/con_collection_persons.lview"/> -->
<a:grid id="grid_id2" bindTarget="con_collection_persons_result_ds" height="175" marginWidth="50" navBar="true">
<a:toolBar>
<a:button type="add"/>
<a:button type="save"/>
<a:button type="delete"/>
</a:toolBar>
<a:columns>
<a:column name="staff_name" editor="grid_id_textField_id2" prompt="CON_COLLECTION_PERSONS.STAFF_NAME" width="100"/>
<a:column name="district" editor="grid_id_textField_id2" prompt="CON_COLLECTION_PERSONS.DISTRICT" width="100"/>
<a:column name="note" editor="grid_id_textField_id2" prompt="CON_COLLECTION_PERSONS.NOTE" width="100"/>
</a:columns>
<a:editors>
<a:numberField id="grid_id_numberField_id2"/>
<a:textField id="grid_id_textField_id2"/>
</a:editors>
</a:grid>
<a:hBox/>
</a:view>
</a:screen>