<?xml version="1.0" encoding="UTF-8"?>
<a:screen xmlns:a="http://www.leaf-framework.org/application">
    <a:init-procedure/>
    <a:view>
        <script type="text/javascript"><![CDATA[
			function hn_atm_complement_screen_query(){
				$('hn_atm_complement_screen_result_ds').query();
			}
			function hn_atm_complement_screen_reset(){
				$('hn_atm_complement_screen_query_ds').reset();
			}
		]]></script>
        <a:dataSets>
            <a:dataSet id="hn_atm_complement_screen_query_ds">
                <a:fields>
                    <a:field name="screen_url"/>
                    <a:field name="url_desc"/>
                </a:fields>
            </a:dataSet>
            <a:dataSet id="hn_atm_complement_screen_result_ds" autoQuery="true" model="hn.HN1030.hn_atm_complement_screen" queryDataSet="hn_atm_complement_screen_query_ds" selectable="true">
                <a:fields>
                    <a:field name="screen_id"/>
                    <a:field name="screen_url"/>
                    <a:field name="url_desc"/>
                </a:fields>
            </a:dataSet>
        </a:dataSets>
        <a:screenBody>
            <a:screenTopToolbar>
                <a:screenTitle/>
                <a:gridButton click="hn_atm_complement_screen_query" text="查询"/>
                <a:gridButton click="hn_atm_complement_screen_reset" text="重置"/>
            </a:screenTopToolbar>
            <a:form column="2" marginWidth="100" title="查询条件">
                <a:textField name="screen_url" bindTarget="hn_atm_complement_screen_query_ds" prompt="页面路径" width="400"/>
                <a:textField name="url_desc" bindTarget="hn_atm_complement_screen_query_ds" prompt="页面描述" width="400"/>
            </a:form>
            <a:grid id="hn_atm_complement_screen_result_grid" bindTarget="hn_atm_complement_screen_result_ds" marginHeight="180" marginWidth="100" navBar="true">
                <a:toolBar>
                    <a:button type="add"/>
                    <a:button type="save"/>
                    <a:button type="delete"/>
                </a:toolBar>
                <a:columns>
                    <a:column name="screen_url" editor="editor_tf" prompt="页面路径" width="450"/>
                    <a:column name="url_desc" editor="editor_tf" prompt="页面描述" width="450"/>
                </a:columns>
                <a:editors>
                    <a:textField id="editor_tf"/>
                </a:editors>
            </a:grid>
        </a:screenBody>
    </a:view>
</a:screen>