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
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author:
$Date: 2014-8-4 下午01:58:31
$Revision: 1.0
$Purpose: XML模板定义
-->
<a:screen xmlns:a="http://www.leaf-framework.org/application" customizationEnabled="true" dynamiccreateenabled="true" trace="true">
<a:init-procedure>
<a:model-query model="acr.ACR516.acr_vat_import_batch_id" rootPath="batch_id"/>
</a:init-procedure>
<a:view>
<a:link id="ebank_xml_tpl_link_id" model="ebank.EBANK110.hls_ebank_xml_tpl" modelaction="execute"/>
<a:link id="con_contract_get_layout_code_link_id" model="cont.CON500.con_contract_get_layout_code" modelaction="update"/>
<a:link id="pageLink_bpQueryScreen_welcome" url="${/request/@context_path}/welcome.lview"/>
<a:link id="pageLink_ebk_ws_details" url="${/request/@context_path}/modules/ebank/EBANK110/ebk_ws_details.lview"/>
<script type="text/javascript"><![CDATA[
function open_bp_modify_win(ds_id, record_id) {
var record = $(ds_id).findById(record_id);
var param = record.data;
Leaf.request({
url: $('ebank_xml_tpl_link_id').getUrl(),
para: {
headcode: param['headcode'],
txcode: param['txcode']
},
success: function(res) {
new Leaf.Window({
id: 'ws_detail_window',
url: $('pageLink_ebk_ws_details').getUrl() + '?headcode=' + param['headcode'] + '&txcode=' + param['txcode'],
title: '查看模板',
width: 430,
height: 460
});
},
failure: function() {
},
error: function() {
},
scope: this
});
}
window['${/parameter/@layout_code}_dynamic_link_renderer'] = function(value, record, name, config_record) {
if (name == 'xml_tpl') {
return '<a href="javascript:open_bp_modify_win(\'' + record.ds.id + '\',\'' + record.id + '\')">' + '模板预览' + '</a>';
}
return '';
};
window['${/parameter/@layout_code}_on_layout_dynamic_grid_query'] = function(ds, qpara, bp_seq) {
var ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'hls_ebank_xml_tbl');
if (ds == $(ds_id)) {
aut_authority_list_validate_query(ds, qpara);
}
};
]]></script>
<a:screen-include screen="modules/cont/CON500/con_contract_authority_list_validate.lview?document_category=EBANK&function_code=EBANK110"/>
<a:screen-include screen="modules/cont/CON500/con_contract_get_layout_code.lview"/>
</a:view>
</a:screen>