hired_req_content_template.lview 4.23 KB
Newer Older
Spencer Chang's avatar
Spencer Chang committed
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
<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: 吴军  
    $Date: 2016年10月18日9:27:53
    $Revision: 1.0  
    $Purpose: 中介机构聘用合同模板定义
-->
<a:screen xmlns:a="http://www.leaf-framework.org/application" trace="true">
    <a:init-procedure/>
    <a:view>
        <script type="text/javascript"><![CDATA[
       		function hn050_content_template_save(){
       		    $('hn050_content_template_result_ds').submit();
       		}
          	function hn050_content_template_query(){
          	    $('hn050_content_template_result_ds').query();
          	}
          	function hn050_content_template_reset(){
          	    $('hn050_content_template_query_ds').reset();
          	}
        ]]></script>
        <a:dataSets>
            <a:dataSet id="template_code_ds" lookupCode="PROPOSE_CONTRACT_TYPE"/>
            <a:dataSet id="hn050_content_template_currency_ad" lookupCode="YES_NO"/>
            <a:dataSet id="hn050_content_template_query_ds">
                <a:fields>
                    <a:field name="template_code_n" displayField="code_value_name" options="template_code_ds" returnField="template_code" valueField="code_value"/>
                    <a:field name="enabled_flag_n" displayField="code_value_name" options="hn050_content_template_currency_ad" returnField="enabled_flag" valueField="code_value"/>
                </a:fields>
            </a:dataSet>
            <a:dataSet id="hn050_content_template_result_ds" autoPageSize="true" autoQuery="true" model="hn.HN050.hired_req_content_template" queryDataSet="hn050_content_template_query_ds" selectable="true">
                <a:fields>
                    <a:field name="template_code_n" displayField="code_value_name" options="template_code_ds" required="true" returnField="template_code" valueField="code_value"/>
                    <a:field name="template_name" required="true"/>
                    <a:field name="enabled_flag" checkedValue="Y" defaultValue="N" uncheckedValue="N"/>
                </a:fields>
            </a:dataSet>
        </a:dataSets>
        <a:screenBody>
            <a:screenTopToolbar>
                <a:screenTitle/>
                <a:gridButton click="hn050_content_template_reset" text="重置"/>
                <a:gridButton click="hn050_content_template_query" text="HLS.QUERY"/>
                <a:gridButton bind="hn050_content_template_result_grid_id" type="add"/>
                <a:gridButton bind="hn050_content_template_result_grid_id" type="clear"/>
                <a:gridButton click="hn050_content_template_save" text="保存"/>
            </a:screenTopToolbar>
            <a:form column="5" marginWidth="30" title="查询条件">
                <a:comboBox name="template_code_n" bindTarget="hn050_content_template_query_ds" prompt="模板代码"/>
                <a:textField name="template_name" bindTarget="hn050_content_template_query_ds" prompt="模板名称"/>
                <a:comboBox name="enabled_flag_n" bindTarget="hn050_content_template_query_ds" prompt="启用标志"/>
                <a:textField name="mapping_xml" bindTarget="hn050_content_template_query_ds" prompt="匹配XML"/>
                <a:textField name="mapping_svc" bindTarget="hn050_content_template_query_ds" prompt="匹配SVC"/>
            </a:form>
            <a:grid id="hn050_content_template_result_grid_id" bindTarget="hn050_content_template_result_ds" marginHeight="200" marginWidth="30" navBar="true">
                <a:columns>
                    <a:column name="template_code_n" align="center" editor="editor_cb" prompt="模板代码" width="200"/>
                    <a:column name="template_name" editor="editor_tf" prompt="模板名称" width="280"/>
                    <a:column name="enabled_flag" editor="editor_chb" prompt="启用标志" width="100"/>
                    <a:column name="mapping_xml" editor="editor_tf" prompt="匹配XML" width="300"/>
                    <a:column name="mapping_svc" editor="editor_tf" prompt="匹配SVC" width="300"/>
                </a:columns>
                <a:editors>
                    <a:textField id="editor_tf"/>
                    <a:comboBox id="editor_cb"/>
                    <a:checkBox id="editor_chb"/>
                </a:editors>
            </a:grid>
        </a:screenBody>
    </a:view>
</a:screen>