<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: 9201_lw  
    $Date: 2016-3-23 下午1:49:13  
    $Revision: 1.0  
    $Purpose: excel编辑模板
-->
<a:screen xmlns:a="http://www.leaf-framework.org/application" customizationEnabled="true" dynamiccreateenabled="true">
    <a:init-procedure/>
    <a:view>
        <a:link id="hls_excel_templete_ln_link" url="${/request/@context_path}/modules/hls/HLS912/hls_excel_templete_ln.lview"/>
        <a:link id="prj_project_get_layout_code_link_id" model="cont.CON500.con_contract_get_layout_code" modelaction="update"/>
        <script type="text/javascript"><![CDATA[
	
	 //编辑以及模板样式--超链接
       window['${/parameter/@layout_code}_dynamic_link_renderer'] = function(value, record, name, config_record) {
                if(name =='edit'){
                	return '<a href="javascript:hls_excel_templete_ln_window(\'' + record.id + '\',\'' + record.ds.id + '\');">编辑</a>';    
                }
                
            }; 
        //excel编辑模板字段信息
       function hls_excel_templete_ln_window(record_id, ds_id){
                var record = $(ds_id).findById(record_id);
                var param = record.data;
                param['function_code'] = 'HLS912L';
                param['url_title'] = "${l:excel编辑模板字段信息}";
                hls_doc_get_layout_code('prj_project_get_layout_code_link_id', param, 'hls_excel_templete_ln_link');    
     }
	
]]></script>
        <a:screen-include screen="modules/cont/CON500/con_contract_get_layout_code.lview"/>
    </a:view>
</a:screen>