LON121.lview 3.53 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 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97
<?xml version="1.0" encoding="UTF-8"?>

<!--
    $Author: huangtianyang
    $Date: 2018/7/9 下午1:26
    $Revision: 1.0 
-->
<a:screen xmlns:a="http://www.leaf-framework.org/application">
    <a:init-procedure/>
    <a:view template="default" package="leaf.ui.std">
        <style>
            #row-second-middle-top-body-foot1_widget514 {
                margin-left: 140px;
            }
        </style>
        <div></div>
        <script type="text/javascript">
            var lon121_statusInfo = [
                {
                    statusValue: "新建",
                    status: "WFL_NEW",
                    color: "#2EC3E8",
                    valueParam: "contract_count"
                },
                {
                    statusValue: "审批中",
                    status: "WFL_APPROVING",
                    color: "#FFCD55",
                    valueParam: "contract_count"
                },
                {
                    statusValue: "已确认",
                    status: "WFL_APPROVED",
                    color: "#A0D469",
                    valueParam: "contract_count"
                },
                {
                    statusValue: "审批退回",
                    status: "WFL_RETURN",
                    color: "#E75B8D",
                    valueParam: "contract_count"
                },
                {
                    statusValue: "审批拒绝",
                    status: "WFL_REJECTED",
                    color: "#7085BF",
                    valueParam: "contract_count"
                }/*,
                {
                    statusValue: "挂起",
                    status: "PENDING",
                    color: "#FA6A4D",
                    valueParam: "credit_line_count"
                }*/
                /*{
                    statusValue: "申请通过",
                    status: "APPROVED",
                    color: "#A0D469",
                    valueParam: "creditLineCount"
                },
                {
                    statusValue: "拒绝",
                    status: "REJECT",
                    color: "#FFCD55",
                    valueParam: "creditLineCount"
                },
                {
                    statusValue: "取消",
                    status: "CANCEL",
                    color: "#8CC375",
                    valueParam: "creditLineCount"
                }*/
            ];

            function lon121_queryLineInfo() {
                //

                $('widget516_leg_contract_result_ds').setQueryParameter('loan_con_wfl_status_n', arguments[1].label);
                $('widget516_leg_contract_result_ds').query();
            }
        </script>
        <a:dataSets>
            <a:dataSet id="widget514_ds" model="lon.lon120w.lon_con_chart_query" autoQuery="true">
            </a:dataSet>
        </a:dataSets>
        <a:hlsAnalyseCountChart id="widget514" status="lon121_statusInfo" bindtarget="widget514_ds"
                                style="width: 870px;height:270px" color="colors" titleBgColor="yellow"
                                clickfuc="lon121_queryLineInfo" haveTitle="true" rightTitle="本月新增合同" title="合同总数">
            <a:items>
                <a:item name="status" map="loan_con_wfl_status" defaultMessage="授信状态"/>
                <a:item name="percentCount" map="contract_percent" defaultMessage="占比"/>
                <a:item name="itemNum" map="contract_count" defaultMessage="数量"/>
            </a:items>
        </a:hlsAnalyseCountChart>
        <a:screenBody/>
    </a:view>
</a:screen>