<?xml version="1.0" encoding="UTF-8"?> <!-- $Author: $Date: 2014-8-4 下午01:58:31 $Revision: 1.0 $Purpose: --> <a:screen xmlns:a="http://www.leaf-framework.org/application" customizationEnabled="true" dynamiccreateenabled="true" trace="true"> <a:view> <!-- <a:link id="hls_bp_master_create_link_id" model="ins.INS100.hls_bp_master_create" modelaction="batch_update"/> --> <a:link id="ins101_get_layout_code_link_id" model="cont.CON500.con_contract_get_layout_code" modelaction="update"/> <a:link id="ins101_insurance_relation_matain" url="${/request/@context_path}/modules/ins/INS101/ins_insurance_relation.lview"/> <script type="text/javascript"><![CDATA[ function open_relation_modify_win(ds_id, record_id) { var record = $(ds_id).findById(record_id); var param = record.data; param['function_code'] = 'INS101'; param['function_usage'] = 'MODIFY'; param['url_title'] = '保险公司关系维护'; param['bp_id'] = param['bp_id']; param['layout_code'] = 'BP_MODIFY_INSURANCE_RELATION'; var win = new Leaf.Window({ params: param, id: 'BP_MODIFY_INSURANCE_RELATION_window', url: $('ins101_insurance_relation_matain').getUrl(), title: param['url_title'] + '( BP_MODIFY_INSURANCE_RELATION)', fullScreen: true, draggable: true }); win.on('close', function() { if (ds_id) { $(ds_id).query(); } }); // hls_doc_get_layout_code('ins101_get_layout_code_link_id', param, 'ins101_insurance_relation_matain', ds_id); } //关闭 window['${/parameter/@layout_code}_user_button1_layout_dynamic_click'] = function() { $('${/parameter/@winid}').close(); }; window['${/parameter/@layout_code}_dynamic_link_renderer'] = function(value, record, name, config_record) { if (name == 'relation_link') { return '<a href="javascript:open_relation_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'], 'ins_bp_relation'); 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=BP&function_code=INS101N&custom_code=INS101N"/> --> <a:screen-include screen="modules/cont/CON500/con_contract_get_layout_code.lview"/> </a:view> </a:screen>