master
wangning 6 years ago
commit 42b242b8de

@ -554,6 +554,7 @@ public class RetailAppServiceImp implements RetailAppService {
JSONObject clearingLog = clearingLogMapper.findById(clearingDetail.getIntValue("clearing_id")); JSONObject clearingLog = clearingLogMapper.findById(clearingDetail.getIntValue("clearing_id"));
if(clearingLog.getBooleanValue("editable")){ if(clearingLog.getBooleanValue("editable")){
result.put("padding", true); result.put("padding", true);
logs.get(0).put("padding",true);
} }
} }
} }

@ -404,7 +404,7 @@ public class CleanServiceImpl implements CleanService, ManagerTodoNoticeProvider
if (settle.getBigDecimal("clearing_amount").compareTo(BigDecimal.ZERO) == 0) { if (settle.getBigDecimal("clearing_amount").compareTo(BigDecimal.ZERO) == 0) {
continue; continue;
} }
if (bank != null && Objects.equals(settle.getString("settle_bank"), bank)) { if (bank != null && !Objects.equals(settle.getString("settle_bank"), bank)) {
continue; continue;
} }
Row row = sheet.createRow(rowNum++); Row row = sheet.createRow(rowNum++);

@ -319,4 +319,5 @@ public interface ClientManager {
void removeSub(String client_moniker, JSONObject manager); void removeSub(String client_moniker, JSONObject manager);
String getShortLink(String client_moniker);
} }

@ -3663,4 +3663,11 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
} }
mailService.removeUnsub(sub.getLong("id")); mailService.removeUnsub(sub.getLong("id"));
} }
@Override
public String getShortLink(String client_moniker){
String longUrl = PlatformEnvironment.getEnv().concatUrl("/api/v1.0/hf_gateway/partners/"+client_moniker+"/jump");
MpWechatApi api = mpWechatApiProvider.getNewPaymentApi();
return api.registerShortUrl(longUrl);
}
} }

@ -249,6 +249,7 @@ define(['angular', 'decimal', 'uiBootstrap', 'uiRouter', 'angularEcharts'], func
$scope.noticeResend = false; $scope.noticeResend = false;
$scope.analysisFilter = {}; $scope.analysisFilter = {};
$scope.currentAnalysis = $scope.detail; $scope.currentAnalysis = $scope.detail;
$scope.pageCtrl = {visible:{}};
function getAnalysisTemplate() { function getAnalysisTemplate() {
return [ return [

@ -70,7 +70,8 @@
<button class="btn btn-primary" ng-click="distributeBankDialog()"> <button class="btn btn-primary" ng-click="distributeBankDialog()">
Distribute Bank Distribute Bank
</button> </button>
<button class="btn btn-primary" ng-if="'undo_settle'|withFunc" ng-click="rollbackSettlement()"> <button class="btn btn-primary pull-right" ng-if="'undo_settle'|withFunc"
ng-click="rollbackSettlement()">
Undo Settlement Undo Settlement
</button> </button>
</div> </div>
@ -137,22 +138,6 @@
</div> </div>
</div> </div>
<div class="row">
<div class="col-xs-12">
<ul class="list-group">
<li class="list-group-item"
ng-repeat="group in batchAnalysis[analysisFilter.clearing_id==null?'All':analysisFilter.clearing_id+'']">
<div class="row">
<span class="col-sm-2 col-xs-4 text-center">T+{{group.settleDays}}</span>
<span class="col-sm-10 col-xs-8 text-right">
Clients:{{group.clients}}, Amount:{{group.settleAmount|currency:''}}
</span>
</div>
</li>
</ul>
</div>
</div>
<div class="row"> <div class="row">
<div class="col-xs-12"> <div class="col-xs-12">
<ul class="list-group"> <ul class="list-group">
@ -170,16 +155,17 @@
</div> </div>
</div> </div>
<div class="box box-default" <div class="box box-success settle-result-box"
ng-repeat="group in batchAnalysis[analysisFilter.clearing_id==null?'All':analysisFilter.clearing_id+'']"> ng-repeat="group in batchAnalysis[analysisFilter.clearing_id==null?'All':analysisFilter.clearing_id+'']">
<div class="box-header">T+{{group.settleDays}}: Clients:{{group.clients}} <div class="box-header" ng-click="pageCtrl.visible[group.settleDays]=!pageCtrl.visible[group.settleDays]">
T+{{group.settleDays}}: Clients:{{group.clients}}
Amount:{{group.settleAmount|currency:''}} Amount:{{group.settleAmount|currency:''}}
<span class="pull-right">Click to hide</span>
</div> </div>
<div class="box-body table-responsive"> <div class="box-body table-responsive" ng-hide="pageCtrl.visible[group.settleDays]">
<table class="table table-bordered table-striped table-hover"> <table class="table table-bordered table-striped table-hover settle-result-table">
<thead> <thead>
<tr> <tr>
<th>Source Bank</th>
<th>Client Moniker</th> <th>Client Moniker</th>
<th>Transaction Date</th> <th>Transaction Date</th>
<th>Gross Amount</th> <th>Gross Amount</th>
@ -193,8 +179,10 @@
</thead> </thead>
<tbody> <tbody>
<tr ng-repeat="settleItem in group.settles"> <tr ng-repeat="settleItem in group.settles">
<td ng-bind="settleItem.settle_bank"></td> <td>
<td ng-bind="settleItem.client_moniker"></td> <img ng-src="/static/images/bank/{{settleItem.settle_bank|uppercase}}.png" class="bank-logo" title="{{settleItem.settle_bank}}">
<span ng-bind="settleItem.client_moniker"></span>
</td>
<td> <td>
{{settleItem.settle_date_from|limitTo:10}} {{settleItem.settle_date_from|limitTo:10}}
~ ~

@ -549,21 +549,21 @@
position: relative; position: relative;
} }
.active-rate-view:after{ .active-rate-view:after {
content:''; content: '';
clear:both; clear: both;
display:block; display: block;
} }
.active-rate-view .client-names { .active-rate-view .client-names {
width:100px; width: 100px;
overflow-x: hidden; overflow-x: hidden;
float: left; float: left;
border-right: 2px solid #bbb; border-right: 2px solid #bbb;
display: block; display: block;
} }
.active-rate-view .client-name{ .active-rate-view .client-name {
width: 100%; width: 100%;
text-align: left; text-align: left;
font-weight: bold; font-weight: bold;
@ -571,245 +571,244 @@
border-bottom: 1px solid #bbb; border-bottom: 1px solid #bbb;
} }
.active-rate-view .client-row{ .active-rate-view .client-row {
height: 30px; height: 30px;
line-height: 30px; line-height: 30px;
white-space: nowrap; white-space: nowrap;
} }
.active-rate-view .analysis-box{ .active-rate-view .analysis-box {
overflow-x: auto; overflow-x: auto;
display: block; display: block;
float: left; float: left;
padding-bottom: 5px; padding-bottom: 5px;
} }
.active-rate-view .analysis-item{ .active-rate-view .analysis-item {
width: 35px; width: 35px;
height: 100%; height: 100%;
display: inline-block; display: inline-block;
text-align:center; text-align: center;
line-height:30px; line-height: 30px;
overflow: hidden; overflow: hidden;
border-right:1px solid #bbb; border-right: 1px solid #bbb;
border-bottom:1px solid #bbb; border-bottom: 1px solid #bbb;
} }
.selectRow,.table-striped>tbody>tr.selectRow:nth-of-type(odd){ .selectRow, .table-striped > tbody > tr.selectRow:nth-of-type(odd) {
background-color: #E0EEE0; background-color: #E0EEE0;
} }
.fountainGBox {
.fountainGBox{ position: relative;
position:relative; width: 108px;
width:108px; height: 13px;
height:13px;
margin: auto auto 20px; margin: auto auto 20px;
} }
.fountainG{ .fountainG {
position:absolute; position: absolute;
top:0; top: 0;
background-color:rgb(0,0,0); background-color: rgb(0, 0, 0);
width:13px; width: 13px;
height:13px; height: 13px;
animation-name:bounce_fountainG; animation-name: bounce_fountainG;
-o-animation-name:bounce_fountainG; -o-animation-name: bounce_fountainG;
-ms-animation-name:bounce_fountainG; -ms-animation-name: bounce_fountainG;
-webkit-animation-name:bounce_fountainG; -webkit-animation-name: bounce_fountainG;
-moz-animation-name:bounce_fountainG; -moz-animation-name: bounce_fountainG;
animation-duration:1.5s; animation-duration: 1.5s;
-o-animation-duration:1.5s; -o-animation-duration: 1.5s;
-ms-animation-duration:1.5s; -ms-animation-duration: 1.5s;
-webkit-animation-duration:1.5s; -webkit-animation-duration: 1.5s;
-moz-animation-duration:1.5s; -moz-animation-duration: 1.5s;
animation-iteration-count:infinite; animation-iteration-count: infinite;
-o-animation-iteration-count:infinite; -o-animation-iteration-count: infinite;
-ms-animation-iteration-count:infinite; -ms-animation-iteration-count: infinite;
-webkit-animation-iteration-count:infinite; -webkit-animation-iteration-count: infinite;
-moz-animation-iteration-count:infinite; -moz-animation-iteration-count: infinite;
animation-direction:normal; animation-direction: normal;
-o-animation-direction:normal; -o-animation-direction: normal;
-ms-animation-direction:normal; -ms-animation-direction: normal;
-webkit-animation-direction:normal; -webkit-animation-direction: normal;
-moz-animation-direction:normal; -moz-animation-direction: normal;
transform:scale(.3); transform: scale(.3);
-o-transform:scale(.3); -o-transform: scale(.3);
-ms-transform:scale(.3); -ms-transform: scale(.3);
-webkit-transform:scale(.3); -webkit-transform: scale(.3);
-moz-transform:scale(.3); -moz-transform: scale(.3);
border-radius:9px; border-radius: 9px;
-o-border-radius:9px; -o-border-radius: 9px;
-ms-border-radius:9px; -ms-border-radius: 9px;
-webkit-border-radius:9px; -webkit-border-radius: 9px;
-moz-border-radius:9px; -moz-border-radius: 9px;
} }
.fountainG.fountainG_1{ .fountainG.fountainG_1 {
left:0; left: 0;
animation-delay:0.6s; animation-delay: 0.6s;
-o-animation-delay:0.6s; -o-animation-delay: 0.6s;
-ms-animation-delay:0.6s; -ms-animation-delay: 0.6s;
-webkit-animation-delay:0.6s; -webkit-animation-delay: 0.6s;
-moz-animation-delay:0.6s; -moz-animation-delay: 0.6s;
} }
.fountainG.fountainG_2{ .fountainG.fountainG_2 {
left:13px; left: 13px;
animation-delay:0.75s; animation-delay: 0.75s;
-o-animation-delay:0.75s; -o-animation-delay: 0.75s;
-ms-animation-delay:0.75s; -ms-animation-delay: 0.75s;
-webkit-animation-delay:0.75s; -webkit-animation-delay: 0.75s;
-moz-animation-delay:0.75s; -moz-animation-delay: 0.75s;
} }
.fountainG.fountainG_3{ .fountainG.fountainG_3 {
left:27px; left: 27px;
animation-delay:0.9s; animation-delay: 0.9s;
-o-animation-delay:0.9s; -o-animation-delay: 0.9s;
-ms-animation-delay:0.9s; -ms-animation-delay: 0.9s;
-webkit-animation-delay:0.9s; -webkit-animation-delay: 0.9s;
-moz-animation-delay:0.9s; -moz-animation-delay: 0.9s;
} }
.fountainG.fountainG_4{ .fountainG.fountainG_4 {
left:40px; left: 40px;
animation-delay:1.05s; animation-delay: 1.05s;
-o-animation-delay:1.05s; -o-animation-delay: 1.05s;
-ms-animation-delay:1.05s; -ms-animation-delay: 1.05s;
-webkit-animation-delay:1.05s; -webkit-animation-delay: 1.05s;
-moz-animation-delay:1.05s; -moz-animation-delay: 1.05s;
} }
.fountainG.fountainG_5{ .fountainG.fountainG_5 {
left:54px; left: 54px;
animation-delay:1.2s; animation-delay: 1.2s;
-o-animation-delay:1.2s; -o-animation-delay: 1.2s;
-ms-animation-delay:1.2s; -ms-animation-delay: 1.2s;
-webkit-animation-delay:1.2s; -webkit-animation-delay: 1.2s;
-moz-animation-delay:1.2s; -moz-animation-delay: 1.2s;
} }
.fountainG.fountainG_6{ .fountainG.fountainG_6 {
left:67px; left: 67px;
animation-delay:1.35s; animation-delay: 1.35s;
-o-animation-delay:1.35s; -o-animation-delay: 1.35s;
-ms-animation-delay:1.35s; -ms-animation-delay: 1.35s;
-webkit-animation-delay:1.35s; -webkit-animation-delay: 1.35s;
-moz-animation-delay:1.35s; -moz-animation-delay: 1.35s;
} }
.fountainG.fountainG_7{ .fountainG.fountainG_7 {
left:81px; left: 81px;
animation-delay:1.5s; animation-delay: 1.5s;
-o-animation-delay:1.5s; -o-animation-delay: 1.5s;
-ms-animation-delay:1.5s; -ms-animation-delay: 1.5s;
-webkit-animation-delay:1.5s; -webkit-animation-delay: 1.5s;
-moz-animation-delay:1.5s; -moz-animation-delay: 1.5s;
} }
.fountainG.fountainG_8{ .fountainG.fountainG_8 {
left:94px; left: 94px;
animation-delay:1.64s; animation-delay: 1.64s;
-o-animation-delay:1.64s; -o-animation-delay: 1.64s;
-ms-animation-delay:1.64s; -ms-animation-delay: 1.64s;
-webkit-animation-delay:1.64s; -webkit-animation-delay: 1.64s;
-moz-animation-delay:1.64s; -moz-animation-delay: 1.64s;
} }
@keyframes bounce_fountainG {
0% {
@keyframes bounce_fountainG{ transform: scale(1);
0%{ background-color: rgb(0, 0, 0);
transform:scale(1);
background-color:rgb(0,0,0);
} }
100%{ 100% {
transform:scale(.3); transform: scale(.3);
background-color:rgb(255,255,255); background-color: rgb(255, 255, 255);
} }
} }
@-o-keyframes bounce_fountainG{ @-o-keyframes bounce_fountainG {
0%{ 0% {
-o-transform:scale(1); -o-transform: scale(1);
background-color:rgb(0,0,0); background-color: rgb(0, 0, 0);
} }
100%{ 100% {
-o-transform:scale(.3); -o-transform: scale(.3);
background-color:rgb(255,255,255); background-color: rgb(255, 255, 255);
} }
} }
@-ms-keyframes bounce_fountainG{ @-ms-keyframes bounce_fountainG {
0%{ 0% {
-ms-transform:scale(1); -ms-transform: scale(1);
background-color:rgb(0,0,0); background-color: rgb(0, 0, 0);
} }
100%{ 100% {
-ms-transform:scale(.3); -ms-transform: scale(.3);
background-color:rgb(255,255,255); background-color: rgb(255, 255, 255);
} }
} }
@-webkit-keyframes bounce_fountainG{ @-webkit-keyframes bounce_fountainG {
0%{ 0% {
-webkit-transform:scale(1); -webkit-transform: scale(1);
background-color:rgb(0,0,0); background-color: rgb(0, 0, 0);
} }
100%{ 100% {
-webkit-transform:scale(.3); -webkit-transform: scale(.3);
background-color:rgb(255,255,255); background-color: rgb(255, 255, 255);
} }
} }
@-moz-keyframes bounce_fountainG{ @-moz-keyframes bounce_fountainG {
0%{ 0% {
-moz-transform:scale(1); -moz-transform: scale(1);
background-color:rgb(0,0,0); background-color: rgb(0, 0, 0);
} }
100%{ 100% {
-moz-transform:scale(.3); -moz-transform: scale(.3);
background-color:rgb(255,255,255); background-color: rgb(255, 255, 255);
} }
} }
.analysis-nav ul li {
.analysis-nav ul li{
margin-right: 10px; margin-right: 10px;
margin-bottom: 10px; margin-bottom: 10px;
background-color: white; background-color: white;
} }
.analysis-nav .nav-pills li a:hover,.analysis-nav .nav-pills li a:focus,.analysis-nav .nav-pills li.active a{
.analysis-nav .nav-pills li a:hover, .analysis-nav .nav-pills li a:focus, .analysis-nav .nav-pills li.active a {
background-color: #f06101; background-color: #f06101;
border-top-color:#f06101; border-top-color: #f06101;
} }
.channel-icon{ .channel-icon {
width: 16px; width: 16px;
height: 16px; height: 16px;
} }
.channel-icon-lg{
.channel-icon-lg {
width: 48px; width: 48px;
height: 48px; height: 48px;
} }
.settle-forecast .rc-box .week .day{
height:120px; .settle-forecast .rc-box .week .day {
height: 120px;
} }
.dashboard-page .tooltip .tooltip-inner{ .dashboard-page .tooltip .tooltip-inner {
max-width: 600px; max-width: 600px;
text-align: center; text-align: center;
} }
.partner-settlement_page .tooltip .tooltip-inner{ .partner-settlement_page .tooltip .tooltip-inner {
max-width: 600px; max-width: 600px;
} }
.partner_list_style { .partner_list_style {
position: relative; position: relative;
@ -824,8 +823,17 @@
color: #ffffff; color: #ffffff;
} }
.check-i{ .check-i {
color: #00a65a; color: #00a65a;
float: right; float: right;
margin-top: 8px; margin-top: 8px;
} }
.settle-result-box .box-header {
cursor: pointer;
}
.settle-result-box .settle-result-table .bank-logo {
width: 24px;
vertical-align: middle;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Loading…
Cancel
Save