Merge branch 'hotfix' into develop

master
wangning 7 years ago
commit 5b00ee1810

@ -93,6 +93,7 @@ public class ClientContractServiceImpl implements ClientContractService {
record.put("expiry_date", DateUtils.addYears(now, 1));
record.put("sign_channel", channel);
record.put("signatory", account.getString("display_name"));
contract = record;
clientsContractMapper.save(record);
}

@ -42,6 +42,9 @@ define(['angular', 'angularSanitize', 'angularAnimate', 'angularMessages', 'uiRo
})
}
connectWebSocket();
if ($scope.currentUser.role == 1 || $scope.currentUser.role == 2) {
$scope.getAgStatus();
}
}, function (resp) {
if (resp.status == 403) {
location.href = 'login.html?f=' + encodeURIComponent(location.href);
@ -131,9 +134,7 @@ define(['angular', 'angularSanitize', 'angularAnimate', 'angularMessages', 'uiRo
});
};
if ($scope.currentUser.role == 1 || $scope.currentUser.role == 2) {
$scope.getAgStatus();
}
$scope.refundNotice = {counts: 0};
$scope.openRefundNotice = false;
$scope.showRefundNotice = function () {

@ -55,10 +55,10 @@ $(function () {
method: 'GET',
dataType: 'text',
success: function (data) {
if (data > 0) {
$('.points-dialog .points-value').html('+ ' + data);
$('.points-dialog').removeClass('hide');
}
// if (data > 0) {
// $('.points-dialog .points-value').html('+ ' + data);
// $('.points-dialog').removeClass('hide');
// }
}, error: function () {
}

Loading…
Cancel
Save