lsh_division_company.lview 1.75 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
<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: xuls  
    $Date: 2015-1-23 下午3:02:47  
    $Revision: 1.0  
    $Purpose: 
-->
<a:screen xmlns:a="http://www.leaf-framework.org/application">
    <a:view>
        <script type="text/javascript"><![CDATA[
        	function hls_103_cmp_grid_submit(){
        	    $('hls103_cmp_result_ds').submit();
        	}
        	function hls_103_cmp_quit(){
        	    $('hls103_cmp_screen').close();
        	}
		]]></script>
        <a:dataSets>
            <a:dataSet id="hls103_cmp_result_ds" autoCreate="true" loadData="true" model="hls.HLS103.lsh_division_company">
                <a:fields>
                    <a:field name="division" defaultValue="${/parameter/@division}"/>
                    <a:field name="position_name" lovGridHeight="320" lovHeight="500" lovService="exp.exp_org_position_lov?company_id=${/session/@company_id}" lovWidth="500">
                        <a:mapping>
                            <a:map from="position_id" to="position_id"/>
                            <a:map from="position_code" to="position_code"/>
                            <a:map from="position_name" to="position_name"/>
                        </a:mapping>
                    </a:field>
                    <a:field name="company_id" defaultValue="${/session/@company_id}"/>
                </a:fields>
            </a:dataSet>
        </a:dataSets>
        <a:screenBody>
            <a:screenTopToolbar>
                <a:gridButton click="hls_103_cmp_quit" text="HLS.EXIT"/>
                <a:gridButton click="hls_103_cmp_grid_submit" text="HLS.SAVE"/>
            </a:screenTopToolbar>
            <a:lov name="position_name" bindTarget="hls103_cmp_result_ds" prompt="岗位"/>
        </a:screenBody>
    </a:view>
</a:screen>