<?xml version="1.0" encoding="UTF-8"?> <!-- $Author: huangtianyang $Date: 2018/6/29 下午6:04 $Revision: 1.0 --> <a:screen xmlns:a="http://www.leaf-framework.org/application"> <a:init-procedure/> <a:view template="default" package="leaf.ui.std"> <script src="${/request/@context_path}/javascripts/hls-all.js" type="text/javascript"/> <script src="${/request/@context_path}/javascripts/hlsDataSource.js" type="text/javascript"/> <script src="${/request/@context_path}/javascripts/hapGrid.js" type="text/javascript"/> <script src="${/request/@context_path}/javascripts/jquery.mloading.js" type="text/javascript"/> <script src="${/request/@context_path}/javascripts/hls-component.js" type="text/javascript"/> <script src="${/request/@context_path}/javascripts/hls-component-grid.js" type="text/javascript"/> <script src="${/request/@context_path}/leafresource/hls/beyondChart/assets/js/bootstrap.min.js" type="text/javascript"></script> <link href="${/request/@context_path}/css/hls-component.css" rel="stylesheet" type="text/css"/> <link href="${/request/@context_path}/css/jquery.mloading.css" type="text/css"/> <link href="${/request/@context_path}/css/jquery.mloading.css" type="text/css"/> <link href="${/request/@context_path}/lib/kendoui/styles/kendo.bootstrap.min.css" rel="stylesheet" type="text/css"/> <a:link id="lon104w_hls_bp_master_funds_lv_query" model="lon.lon100w.hls_bp_master_funds_lv" modelaction="query"/> <!--<a:link id="hls_bp_master_link" url="${/request/@context_path}/modules/lon/LON100/bp_funds_modify.lview"/>--> <!--<a:link id="get_layout_code_link_id" model="cont.CON500.con_contract_get_layout_code" modelaction="update"/>--> <!--<a:link id="lon103w_hls_bp_master_funds_lv_query" model="lon.lon100w.hls_bp_master_funds_lv" modelaction="query"/>--> <!--<a:link id="hls_bp_master_funds_lv_query" model="lon.lon100w.hls_bp_master_funds_lv" modelaction="query"/>--> <!--<a:link id="hls_bp_master_link" url="${/request/@context_path}/modules/lon/LON100/bp_funds_modify.lview"/>--> <div></div> <script type="text/javascript"></script> <a:dataSets/> <style> html,body{ width: 570px; height: 360px; padding: 0; } </style> <script type="text/javascript"><![CDATA[ function lon104w_time(rowdata,rowIndex) { var creationTime=rowdata.update_date.substring(0,10); return creationTime; } function lon104w_collect(rowdata,rowIndex) { if (rowdata.collectFlag == 'Y') { return "<img id='" + rowdata.bpId + "' onclick='cara(" + rowdata.bpId + ")' style='cursor:pointer;width:15px;height:15px;display:inline-block;margin:0px;' src='${/request/@context_path}/leafresource/images/BP/light1.png' alt='png'/>"; } else { return "<img id='" + rowdata.bpId + "' onclick='cara(" + rowdata.bpId + ")' style='cursor:pointer;width:15px;height:15px;display:inline-block;margin:0px;' src='${/request/@context_path}/leafresource/images/BP/unLight1.png' alt='png'/>"; } } function lon104w_edit(rowdata,rowIndex) { return '<img onclick="openEdit('+rowdata.bpId+')" style="cursor:pointer;width:15px;height:15px;display:inline-block;margin:0px;" src="${/request/@context_path}/images/lon/modify.png" alt="png"/>'; } var lon104wSource = new hlsDataSource(); lon104wSource.setting({ "pageSize":"5", "transport":{ "read":{ "contentType":"application/json; charset=utf-8", "type":"GET", "url":$('lon104w_hls_bp_master_funds_lv_query').getUrl() } } }); lon104wSource.read(); ]]></script> <div class="hls-pagging-grid" style="width:570px;height:360px;margin-top:0;float:left;"> <div id="lon104w-title" class="grid-title global-font-size13" > <img src="${/request/@context_path}/images/lon/new.png"/> <span style="padding-left:8px;">动态</span> </div> <div id="lon104w" class="grid-body"> </div> </div> <div style="clear:both;"></div> <script type="text/javascript"> lon104wSource.fetch(function (datas) { lon104w = new HlsRollTable(); var options = { "pageSize":"5", "titleStyle":"border-bottom:5px solid rgb(159,214,97);height:50px;line-height:50px;", "id":"stateTable", "filterable":true, "titleImg":"${/request/@context_path}/images/lon/message.png", "columns":[ { "field":"credit_bp_id_n", "title":"授信机构名称", "filterable":true }, { "field":"update_date", "template":lon104w_time, "title":"变更时间", "filterable":true }], "title":"动态" }; options.hlsDataSource = datas; lon104w.dataSource = this; options.dataSource = this; options.gridSelector = "#lon104w"; options.pageControlSelector = "#lon104w_grid_foot"; options.nextImgEnablePath = "${/request/@context_path}/images/lon/next.png"; options.prevImgEnablePath = "${/request/@context_path}/images/lon/lastCan.png"; options.nextImgUnenablePath = "${/request/@context_path}/images/lon/nextNot.png"; options.prevImgUnenablePath = "${/request/@context_path}/images/lon/last.png"; lon104w._init(options); }); </script> <a:screenBody style="display:none;"/> <a:screen-include screen="modules/cont/CON500/con_contract_get_layout_code.lview"/> </a:view> </a:screen>