<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: jane.wang2439 $
    $Date: 2011/03/03 16:05:39 $
    $Revision: 1.1 $
    $Purpose: 贷后权限分配
-->
<a:screen xmlns:a="http://www.leaf-framework.org/application" trace="true">
    <a:init-procedure/>
    <a:view>
        <a:link id="con_collection_assign_user_init_link_id" model="cont.CON635.con_contract_info_for_coll" modelaction="batch_update"/>
        <div/>
        <script type="text/javascript"><![CDATA[
            function queryEmployeeType() {
                $('exp_employees_query_result_ds1').query();
            }
            
            function con633_save() {
                $('exp_employees_query_result_ds1').submit();
            }
        ]]></script>
        <a:dataSets>
            <a:dataSet id="exp_employees_query_ds" autoCreate="true" model="exp.EXP3050.exp_employee_s_query"><![CDATA[
            ]]></a:dataSet>
            <a:dataSet id="exp_employees_query_result_ds1" autoPageSize="true" autoQuery="true" model="exp.EXP3050.exp_employee_coll_query" queryDataSet="exp_employees_query_ds">
                <a:fields>
                    <a:field name="admin_flag" checkedValue="Y" uncheckedValue="N"/>
                </a:fields>
            </a:dataSet>
        </a:dataSets>
        <a:screenBody>
            <a:screenTopToolbar>
                <a:screenTitle/>
                <a:gridButton click="queryEmployeeType" text="HLS.QUERY"/>
                <a:gridButton click="con633_save" text="HLS.SAVE"/>
            </a:screenTopToolbar>
            <a:form column="5" title="HAP_QUERY_TITLE">
                <a:textField name="employee_code" bindTarget="exp_employees_query_ds" prompt="EXP_EMPLOYEES_VL.EMPLOYEE_CODE" typeCase="upper" width="150"><![CDATA[
                ]]></a:textField>
                <a:textField name="name" bindTarget="exp_employees_query_ds" prompt="EXP_EMPLOYEES_VL.DESC" width="150"><![CDATA[
                ]]></a:textField>
            </a:form>
            <a:grid id="exp_3050_grid" bindTarget="exp_employees_query_result_ds1" marginHeight="230" marginWidth="50" navBar="true">
                <a:columns>
                    <a:column name="employee_code" align="left" sortable="true" width="160"/>
                    <a:column name="name" sortable="true" width="220"/>
                    <a:column name="admin_flag" editor="check_box" prompt="权限标志" sortable="true" width="80"/>
                </a:columns>
                <a:editors>
                    <a:checkBox id="check_box"/>
                </a:editors>
            </a:grid>
        </a:screenBody>
    </a:view>
</a:screen>