cus_information_management.lview 2.35 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
<?xml version="1.0" encoding="UTF-8"?>

<!--
    $Author: chenlingfeng7543
$Date: 2018/12/20 21:19
$Revision: 1.0
$Purpose:
-->
<a:screen xmlns:a="http://www.leaf-framework.org/application" customizationEnabled="true" dynamiccreateenabled="true" trace="true">
    <a:init-procedure>
        <a:model-query fetchAll="true" model="basic.get_sys_default_time" rootPath="sys_default_time"/>
    </a:init-procedure>
    <a:view>
        <a:link id="con852_record_list_import_link" url="${/request/@context_path}/modules/cont/CON852/record_list_import.lview"/>
        <script src="${/request/@context_path}/javascripts/hap/dynamicStopAutoQuery.js" type="text/javascript"/>

        <script type="text/javascript"><![CDATA[

        //   stopDymanicAutoQuery('${/parameter/@layout_code}', 'REPORT_RESULT', 'installment_mortgage_balance');

        window['${/parameter/@layout_code}_user_button1_layout_dynamic_click'] = function () {
            var ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'cus_information_management');
            var grid_id = ds_id.replace('ds', 'layout_grid_id');
            $(grid_id)._export(null,'分期/按揭客户管理');
        };
        window['${/parameter/@layout_code}_on_layout_dynamic_grid_query'] = function (ds, qpara, bp_seq) {
            //异步打印
            ds.setQueryParameter('__async__', 'Y');
        };

        window['${/parameter/@layout_code}_user_button2_layout_dynamic_click'] = function () {
            var ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'cus_information_management');
            var url = $('con852_record_list_import_link').getUrl();
            var win = new Leaf.Window({
                id: 'installment_cus_list_batch_import_win',
                url: url,
                params: {

                    'winid': 'installment_cus_list_batch_import_win',
                    'session_id': '${/session/@session_id}',
                    'parent_ds_id': ds_id
                },
                title: '信息导入',
                width: 430,
                height: 390
            });
            win.on('close', function () {
                $('ds_id').query();
            });

        };



        ]]></script>
        <a:screen-include screen="modules/cont/CON500/con_contract_get_layout_code.lview"/>
    </a:view>
</a:screen>