<?xml version="1.0" encoding="UTF-8"?> <!-- $Author: wangwei $Date: 2016-12-20 上午9:04:27 $Revision: 1.0 $Purpose:贷后工具入口 --> <a:screen xmlns:a="http://www.leaf-framework.org/application" dynamiccreateenabled="true" trace="true"> <a:view> <a:link id="prj_project_get_layout_code_link_id" model="cont.CON500.con_contract_get_layout_code" modelaction="update"/> <a:link id="con640_con_collection_create_link_id" url="${/request/@context_path}/modules/cont/CON640/con_collection_create_entrance.lview"/> <script type="text/javascript"><![CDATA[ //贷后工具创建 window['${/parameter/@layout_code}_user_button2_layout_dynamic_click'] = function() { var coll_ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'con_collection'); var record=$(coll_ds_id).getSelected()[0]; param={}; param['col_id'] = record.get('col_id'); if(record.get('document_status')=='NEW'||record.get('document_status')=='REJECT'){ param['function_code'] = 'CON640D_CREATE'; param['function_usage'] = 'MODIFY'; param['maintain_type'] = 'UPDATE'; }else if(record.get('document_status')=='GUARANTEE_ADD'){ param['function_code'] = 'CON640D_GUARANTEE_QUERY'; param['function_usage'] = 'READONLY'; param['maintain_type'] = 'QUERY'; }else{ param['function_code'] = 'CON640D_QUERY'; param['function_usage'] = 'READONLY'; param['maintain_type'] = 'QUERY'; } param['url_title'] = '收车确认信息'; param['winid'] = 'con640_con_collection_create_en_winid'; // param['screen_width'] =350; // param['screen_height'] = 250; hls_doc_get_layout_code('prj_project_get_layout_code_link_id', param, 'con640_con_collection_create_link_id',coll_ds_id); }; ]]></script> <a:screen-include screen="modules/cont/CON500/con_contract_get_layout_code.lview"/> </a:view> </a:screen>