loan_withdraw_home.lview 13 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 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339
<?xml version="1.0" encoding="UTF-8"?>

<!--
    $Author: huangtianyang
    $Date: 2018/7/12 下午1:54
    $Revision: 1.0 
-->
<a:screen xmlns:a="http://www.leaf-framework.org/application">
    <a:init-procedure/>
    <a:view template="default" package="leaf.ui.std">
        <a:link id="withdraw_query_link" model="lon.lon130.tre_loan_withdrawal_plan_lv" modelaction="query"/>
        <link rel="stylesheet" href="${/request/@context_path}/leafresource/leaf.ui.std/default/hlscomponent/hls-all.css"
              type="text/css"/>
        <link href="${/request/@context_path}/resource/leaf.ui.std/hap/hlscomponent/beyond.min.css" rel="stylesheet"
              type="text/css"/>
        <link href="${/request/@context_path}/css/hap/bootstrap.min.css" rel="stylesheet" type="text/css"/>
        <link href="${/request/@context_path}/css/lon/gld-home-style.css" rel="stylesheet" type="text/css"/>
        <script src="${/request/@context_path}/javascripts/calculate.js" type="text/javascript"/>

        <style>
            html {
                height: 100%
            }

            /*查询条件*/
            .queryOptions {
                margin-left: 5px;
            }

            /*通知栏部分*/
            .notice_row {
                width: 250px;
                min-height: 65px;
                margin: 0 auto;
                padding: 10px 10px;
            }

            .notice_row strong {
                font-size: 13px;
                font-weight: lighter;
                display: block;

            }

            .iremove {
                position: absolute;
                right: -16px;
                top: 24px;
                z-index: 999;
                cursor: pointer;
            }

            .notice-font {
                font-size: 12px;
                height: 40px;
                line-height: 40px;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }

            /*审批状态*/
            .status_new, .status_approving, .status_approved, .status_rejected {
                width: 60px;
                height: 20px;
                line-height: 20px;
                border-radius: 2px;
                max-height: 32px;
                text-align: center;
                color: #fff;
                display: inline-block;
                overflow: hidden;
            }

            .status_new {
                background-color: #00b3b3;
            }

            .status_approving {
                background-color: #FFCD55;
            }

            .status_approved {
                background-color: #8cc375;
            }

            .status_rejected {
                background-color: rgb(245, 123, 105);
            }

            /*查询框*/
            .conInfoInput {
                border: 1px solid #cccccc;
                width: 230px;
                height: 35px;
                margin-top: 10px;
                border-radius: 2px;
            }

            .conInfoInput > img {
                width: 15px;
                height: 15px;
                display: inline-block;
                margin-left: 2px;
            }

            .conInfoInput input {
                background: #fff;
                border: none;
                width: 205px;
                height: 27px;
            }

            /*投放统计图表*/
            .con-overdue-title {
                height: 40px;
                width: inherit;
                background-color: #FA6A4D;
                color: #FFF;
                line-height: 40px;
                vertical-align: middle;
            }

            .con-overdue-title-img {
                display: block;
                float: left;
                margin-left: 10px;
                width: 20px;
                height: 20px;
                margin-top: 10px;
                margin-right: 6px;

            }

            .con-overdue-title-content {
                float: left;
                color: #ffffff;
            }

            .co-body-title1-amt {
                margin-top: 5px;
                height: 25px;
                width: inherit;
                color: rgb(249, 112, 100);
                line-height: 25px;
                vertical-align: middle;
                margin-left: 20px;
            }

            .co-body-title1-name {
                font-size: 12px;
                height: 25px;
                width: inherit;
                color: #2cc2e3;
                line-height: 25px;
                vertical-align: middle;
                margin-left: 20px;
                margin-bottom: 25px;
            }

            /*提款统计环形图*/
            #circularChart_chart {
                margin-top: 10px;
                margin-bottom: 20px;
            }

            .hls-analyse-count-chart .other-orange-bgcolor {
                background-color: #FFCD55;
            }

            .hls-analyse-count-chart .new-blue-bgcolor {
                background-color: #8cc375;
            }

            .hls-analyse-count-chart .igreen {
                color: #8cc375;
            }

            .border-bottom-green {
                border-bottom: 4px solid #8cc375;
            }

            .nav-boxShadow-fontColor {
                box-shadow: 0px 3px 0px rgb(204, 204, 204);
            }

            .nav-no-boxShadow-fontColor {
                box-shadow: 0px 0px 0px rgb(204, 204, 204);
            }

            /*控制表格样式*/
            #contractInfoTable tr td:nth-child(1) {
                width: 11%
            }

            #contractInfoTable tr td:nth-child(2) {
                width: 10%
            }

            #contractInfoTable tr td:nth-child(3) {
                width: 23%
            }
        </style>
        <div></div>
        <script type="text/javascript"></script>
        <a:dataSets/>
        <div style="width: 1200px;margin: auto;">
            <!--融资提款查询-->
            <div class="section hls-block-x1 hls-block-y4 hls-block-margin-top"
                 style="position:relative;">
                <div class="section-title global-font-size13 border-bottom-blue">
                    <span>融资提款查询</span>
                    <img id="giveInfoQuery" class="right-img" onclick="ComprehensiveQueryFunc()"
                         src="${/request/@context_path}/images/lon/search_flag.png"/>
                </div>

                <div class="option_row border-bottom-1">
                    <strong class="global-font-size13">时间跨度</strong>
                    <span id="week" class="queryOptions  query-option-size-normal global-font-size12">1周内</span>
                    <span id="month" class="queryOptions  query-option-size-normal global-font-size12">1个月内</span>
                    <span id="quarter" class="queryOptions query-option-size-normal global-font-size12">3个月内</span>
                </div>

                <div class="option_row border-bottom-1">
                    <strong class="global-font-size13">合同信息</strong>
                    <div class="conInfoInput">
                        <img src="${/request/@context_path}/images/search.png" style="position: relative;top: 5px;"/>
                        <input id="contractInfoCondition" style="border:none;background-color:white"
                               class="global-font-size12" type="text" placeholder="请输入合同编号、名称、债权人等相关信息"/>
                    </div>
                </div>
                <div class="option_row border-bottom-1">
                    <strong class="global-font-size13">提款金额</strong>
                    <div>
                        <input id="amountFromCondition"
                               style="width:100px;height:30px;border-radius: 5px;background-color:white;display: inline-block;margin-right:10px;"
                               class="global-font-size12" type="text" placeholder="金额从"/>
                        <span>-</span>
                        <input id="amountToCondition"
                               style="background-color:white;margin-left:10px;width:105px;height:30px;border-radius: 5px;display: inline-block"
                               class="global-font-size12" type="text" placeholder="金额到"/>
                    </div>
                </div>
                <div class="option_row" style=" position:absolute;bottom:0;">
                    <span id="throwSearchBtn" class="throw_search global-font-size12">查询</span>
                </div>
            </div>
            <script type="text/javascript"><![CDATA[
            //=========================融资提款查询=======================================================
            $jq('.queryOptions').click(function () {
                if ($jq(this).css('background-color') === 'rgb(0, 179, 179)') {
                    $jq(this).css('background-color', '');
                    $jq(this).css('color', '#000');
                } else {
                    $jq(this).css('background-color', 'rgb(0, 179, 179)');
                    $jq(this).css('color', '#fff');
                }
            })

            $jq('#throwSearchBtn').click(function () {
                //todo
            })
            ]]></script>

            <!--提款统计chart-->
            <div class="hls-block-x2 hls-block-y4 hls-block-bg hls-block-margin-top hls-block-margin-left"
                 style="float:left;border-radius:5px;">
                <div class="con-overdue-title">
                    <img class="con-overdue-title-img" src="${/request/@context_path}/images/lon/zhuzi.png"/>
                    <div class="con-overdue-title-content global-font-size13" style="font-weight:600;">
                        提款统计
                    </div>
                    <div id="sysData" class="con-overdue-title-content global-font-size13" style="margin-left:360px;">

                    </div>
                </div>

                <div class="co-body-title">
                    <div class="co-body-title1">
                        <div id="withdraw-total" class="co-body-title1-amt global-font-size18">
                        </div>
                        <div class="co-body-title1-name global-font-size12">
                            提款总额
                        </div>
                    </div>
                </div>

                <div id="withdraw-chart" style="height:150px;width: inherit;">
                        <span style="padding-left:10px;" id="withdraw-chart-span" data-sparkline="line2"
                              data-height="185px" data-width="96%" data-fillcolor="#37c2e2" data-linecolor="#37c2e2"
                              data-spotcolor="#fafafa" data-minspotcolor="#fafafa" data-maxspotcolor="#ffce55"
                              data-highlightspotcolor="#f5f5f5 " data-highlightlinecolor="#f5f5f5"
                              data-linewidth="2" data-spotradius="0">21312312,123213,123123
                        </span>
                    <div class="databox databox-xxlg databox-vertical databox-inverted ">
                        <div id="outDiv" class="databox-bottom bg-sky no-padding">
                        </div>
                    </div>
                </div>
            </div>

        </div>

        <script src="${/request/@context_path}/javascripts/lon/loan-withdraw-plan.js" type="text/javascript"/>
        <script type="text/javascript"><![CDATA[
        var renderer = new RenderWithDrawChart({
            days: 30,
            dateField: 'cdate',
            totalDom: '#withdraw-total',
            canvasDom: '#withdraw-chart-span',
            amountField: 'amount',
            queryUrl: $('withdraw_query_link').getUrl()
        });
        renderer.init();
        ]]></script>
        <script src="${/request/@context_path}/leafresource/hls/beyondChart/assets/js/charts/sparkline/jquery.sparkline.js"
                type="text/javascript"/>
        <script src="${/request/@context_path}/javascripts/lon/sparklineInitor.js" type="text/javascript"/>
        <script type="text/javascript"><![CDATA[
        /*提款统计chart绘制*/
        // var contextPath = '${/request/@context_path}';
        // var chartInit = function () {
        //     graphExam = new sparklineGraph({
        //         graphSelector: "#withdraw-chart-span",                        //传入控件选择器
        //         topContBlock: {
        //             topContSelector: "#withdraw-total",
        //             dataSouceUrl: contextPath + "/lon/contract/withdraw/lineChart"
        //         },                                                              //传入总金额选择器和url ?timeCondition=month
        //         xValue: 30,                                                     //传入横轴的天数
        //         mainContDataSourceUrl: contextPath + "/lon/contract/withdraw/lineChart",  //传入中间图形那查询的url, ?timeCondition=month
        //         bottomContSelector: "#outDiv"
        //     });
        // };
        // chartInit();
        ]]></script>
        <a:screenBody/>

    </a:view>
</a:screen>