页面头部修改

master
yangkai 6 years ago
parent 465772c5dc
commit ac7836da81

@ -371,8 +371,8 @@ margin-bottom: 10%;"/>
</li>
<li class="header nav-header" ng-if="'1011110'|withRole">合规管理|Compliance Management</li>
<li ui-sref-active="active" ng-if="'tradelog'|withModule">
<a ui-sref="customerRankingAnalysis" ui-sref-opts="{reload:true}">
<li ui-sref-active="active" ng-if="('partners'|withModule)&&('10'|withRole)">
<a ui-sref="businessCompliance" ui-sref-opts="{reload:true}">
<i class="fa fa fa-eye"></i> <span>商户合规</span>
</a>
</li>

@ -20,19 +20,17 @@ define(['angular', 'decimal', 'uiBootstrap', 'uiRouter', 'angularEcharts'], func
controller: ['$state', function ($state) {
$state.go('^')
}]
}).state('clearingLogs.date_setting', {
}).state('date_setting', {
url: '/date_setting',
template: '<div></div>',
onEnter: ['$uibModal', function ($uibModal) {
templateUrl: '/static/analysis/templates/settle_date_config.html',
/* onEnter: ['$uibModal', function ($uibModal) {
$uibModal.open({
templateUrl: '/static/analysis/templates/settle_date_config.html',
controller: 'settleDateConfigCtrl',
size: 'lg'
})
}],
controller: ['$state', function ($state) {
$state.go('^')
}]
}],*/
controller: 'settleDateConfigCtrl',
}).state('clearingLogs.settlementDetail', {
url: '/settles/{date}',
templateUrl: '/static/analysis/templates/settlement_detail.html',

@ -7,15 +7,15 @@
text-align: center;
}
</style>
<!--<section class="content-header">
<section class="content-header">
<h1>BD Sale</h1>
<ol class="breadcrumb">
<li>
<i class="fa fa-list-alt"></i> Analysis
<i class="fa fa-list-alt"></i> Performance
</li>
<li class="active">BD Sales</li>
</ol>
</section>-->
</section>
<div class="content">
<div class="row">
<div class="col-sm-12">

@ -18,7 +18,7 @@
</ol>
</section>
<div class="content">
<div class="row margin-bottom">
<!--<div class="row margin-bottom">
<div class="col-sm-12">
<button class="btn btn-danger" type="button" ui-sref=".rate_warnings">
<i class="fa fa-bell"></i> Rate Expire Warnings
@ -27,7 +27,7 @@
<i class="fa fa-cog"></i> Settlement Date Config
</button>
</div>
</div>
</div>-->
<div class="box box-warning">
<div class="box-header">Settlement Dates</div>
<div class="box-body">

@ -1,10 +1,10 @@
<section class="content-header">
<h1>New Partner</h1>
<h1>Partner Active Rate</h1>
<ol class="breadcrumb">
<li>
<i class="fa fa-sitemap"></i> Partner Manage
</li>
<li class="active">New Partner</li>
<li class="active">Partner Active Rate</li>
</ol>
</section>
<section class="content">

@ -46,7 +46,7 @@
<h1>Transaction Amount Analysis</h1>
<ol class="breadcrumb">
<li>
<i class="fa fa-list-alt"></i> Payment
<i class="fa fa-list-alt"></i> Partner Manage
</li>
<li class="active">Transaction Amount Analysis</li>
</ol>

@ -7,15 +7,15 @@
text-align: center;
}
</style>
<!--<section class="content-header">-->
<!--<h1>-->
<!--City Partner Sale-->
<!--</h1>-->
<!--<ol class="breadcrumb">-->
<!--<li class="active"><i class="fa fa-dashboard"></i> Analysis</li>-->
<!--<li class="active">City Partner Sale</li>-->
<!--</ol>-->
<!--</section>-->
<section class="content-header">
<h1>
City Partner Sale
</h1>
<ol class="breadcrumb">
<li class="active"><i class="fa fa-dashboard"></i> Analysis</li>
<li class="active">City Partner Sale</li>
</ol>
</section>
<section class="content">
<div class="row">
<div class="col-sm-12">

@ -1,17 +1,27 @@
<div class="modal-header"><h4>Clearing Plans</h4></div>
<div class="modal-body">
<div class="row">
<div class="col-xs-12">
<div royal-calendar month-change="loadMonthPlan($month)">
<div class="rc-full" style="font-size: 40px" ng-click="triggerDate(day)">
<i class="fa fa-check-circle text-green" ng-if="isDateOn(day)"></i>
<section class="content-header">
<h1>Clearing Plans</h1>
<ol class="breadcrumb">
<li><i class="fa fa-tv"></i> Settlement</li>
<li class="active">Clearing Plans</li>
</ol>
</section>
<section class="content">
<div class="panel panel-success">
<div class="modal-body">
<div class="row">
<div class="col-xs-12">
<div royal-calendar month-change="loadMonthPlan($month)">
<div class="rc-full" style="font-size: 40px" ng-click="triggerDate(day)">
<i class="fa fa-check-circle text-green" ng-if="isDateOn(day)"></i>
</div>
</div>
</div>
</div>
</div>
<div class="modal-footer">
<button class="btn btn-success" type="button" ng-click="submitMonthPlan()">Submit Month Plan</button>
<!--<button class="btn btn-danger" type="button" ng-click="$dismiss()">Close</button>-->
</div>
</div>
</div>
<div class="modal-footer">
<button class="btn btn-success" type="button" ng-click="submitMonthPlan()">Submit Month Plan</button>
<button class="btn btn-danger" type="button" ng-click="$dismiss()">Close</button>
</div>
</section>

@ -17,96 +17,99 @@
</ol>
</section>
<div class="content">
<div class="content">
<div class="box-solid">
<!--<div class="content">-->
<div class="row">
<div class="col-sm-12">
<div class="col-sm-12">
<!--<div class="col-sm-12">-->
<!--<div class="box-header">Settlement Estimate</div>-->
<!--<h5></h5>-->
<loadingbar ng-if="future_loading"></loadingbar>
<div class="row">
<div class="col-md-3 col-sm-6 col-xs-12" ng-repeat="fut in future track by $index">
<div class="info-box" ng-if="fut.estimate_date">
<div>
<div class="info-box-icon bg-aqua" style="height: 100px"
ng-bind="fut.estimate_date.substr(8,10)">
</div>
<div class="info-box-content">
<div>
<span class="text-bold">清算金额:</span>
<div>
<span>&nbsp;T+1: </span>
<span ng-bind="fut.t1|currency:'$'" class="text-green"></span>
</div>
<div>
<span>&nbsp;T+2: </span>
<span ng-bind="fut.t2|currency:'$'" class="text-green"></span>
</div>
<div>
<span>&nbsp;T+3: </span>
<span ng-bind="fut.t3|currency:'$'" class="text-green"></span>
</div>
<div class="box-solid">
<div class="row">
<div class="col-md-3 col-sm-6 col-xs-12" ng-repeat="fut in future track by $index">
<div class="info-box" ng-if="fut.estimate_date">
<div>
<div class="info-box-icon bg-aqua" style="height: 100px"
ng-bind="fut.estimate_date.substr(8,10)">
</div>
<div class="info-box-content">
<div>
<span>Total: </span>
<span ng-bind="fut.total|currency:'$'" class="text-green"></span>
<span class="text-bold">清算金额:</span>
<div>
<span>&nbsp;T+1: </span>
<span ng-bind="fut.t1|currency:'$'" class="text-green"></span>
</div>
<div>
<span>&nbsp;T+2: </span>
<span ng-bind="fut.t2|currency:'$'" class="text-green"></span>
</div>
<div>
<span>&nbsp;T+3: </span>
<span ng-bind="fut.t3|currency:'$'" class="text-green"></span>
</div>
<div>
<span>Total: </span>
<span ng-bind="fut.total|currency:'$'" class="text-green"></span>
</div>
</div>
</div>
<div class="box-header" style="border-top: solid #f06010 1px;"
ng-if="fut.settlementFee_1307485301||fut.settlementFee_1431999902||fut.settlementFee_1487387142||fut.settlementFee_0||fut.aliSettleFee_0">
<span class="text-bold">到账金额详情:</span>
</div>
<div class="box-body"
ng-if="fut.settlementFee_1307485301||fut.settlementFee_1431999902||fut.settlementFee_1487387142||fut.settlementFee_0||fut.aliSettleFee_0">
<p class="text-bold col-sm-12" align="left"
ng-if="fut.settlementFee_1307485301"><img
src="/static/images/wechatpay_sign.png"
uib-tooltip="Wechat Merchant ID: 1307485301"/>(1307485301)到账金额:<a
class="text-green"
ng-bind="fut.settlementFee_1307485301|currency:'AUD'"></a></p>
<p class="text-bold col-sm-12" align="left"
ng-if="fut.settlementFee_1431999902"><img
src="/static/images/wechatpay_sign.png"
uib-tooltip="Wechat Merchant ID: 1431999902"/>(1431999902)到账金额:<a
class="text-green"
ng-bind="fut.settlementFee_1431999902|currency:'AUD'"></a></p>
<p class="text-bold col-sm-12" align="left"
ng-if="fut.settlementFee_1487387142"><img
src="/static/images/wechatpay_sign.png"
uib-tooltip="Wechat Merchant ID: 1487387142"/>(1487387142)到账金额:<a
class="text-green"
ng-bind="fut.settlementFee_1487387142|currency:'AUD'"></a></p>
<p class="text-bold col-sm-12" align="left" ng-if="fut.aliSettleFee_All">
<img src="/static/images/alipay_sign.png" uib-tooltip="AliPay"
alt="Alipay"/> 到账金额:<a class="text-green"
ng-bind="fut.aliSettleFee_All|currency:'AUD'"></a>
</p>
<p class="text-bold col-sm-12" align="left"
ng-if="fut.aliOnlineSettleFee_All"><img
src="/static/images/alipay_sign.png" uib-tooltip="AliPayOnline"
alt="AliPayOnline"/> 到账金额(AlipayOnline):<a class="text-green"
ng-bind="fut.aliOnlineSettleFee_All|currency:'AUD'"></a>
</p>
<p class="text-bold col-sm-12" align="left" ng-if="fut.hfSettleFee_All"><img
src="/static/images/hf_sign.png" uib-tooltip="Hf" alt="Hf"/> 到账金额:<a
class="text-green" ng-bind="fut.hfSettleFee_All|currency:'AUD'"></a>
</p>
<p class="text-bold col-sm-12" align="left" ng-if="fut.platformGetSettleFee"
style="color: #f06010"><img src="/static/images/r_logo.svg"
style="width: 20px;height: 20px;"
uib-tooltip="RoyalPay" alt="RoyalPay"/>
总到账金额:<a class="text-green"
ng-bind="fut.platformGetSettleFee|currency:'AUD'"></a></p>
</div>
<!-- /.box-body -->
</div>
<div class="box-header" style="border-top: solid #f06010 1px;"
ng-if="fut.settlementFee_1307485301||fut.settlementFee_1431999902||fut.settlementFee_1487387142||fut.settlementFee_0||fut.aliSettleFee_0">
<span class="text-bold">到账金额详情:</span>
</div>
<div class="box-body"
ng-if="fut.settlementFee_1307485301||fut.settlementFee_1431999902||fut.settlementFee_1487387142||fut.settlementFee_0||fut.aliSettleFee_0">
<p class="text-bold col-sm-12" align="left"
ng-if="fut.settlementFee_1307485301"><img
src="/static/images/wechatpay_sign.png"
uib-tooltip="Wechat Merchant ID: 1307485301"/>(1307485301)到账金额:<a
class="text-green"
ng-bind="fut.settlementFee_1307485301|currency:'AUD'"></a></p>
<p class="text-bold col-sm-12" align="left"
ng-if="fut.settlementFee_1431999902"><img
src="/static/images/wechatpay_sign.png"
uib-tooltip="Wechat Merchant ID: 1431999902"/>(1431999902)到账金额:<a
class="text-green"
ng-bind="fut.settlementFee_1431999902|currency:'AUD'"></a></p>
<p class="text-bold col-sm-12" align="left"
ng-if="fut.settlementFee_1487387142"><img
src="/static/images/wechatpay_sign.png"
uib-tooltip="Wechat Merchant ID: 1487387142"/>(1487387142)到账金额:<a
class="text-green"
ng-bind="fut.settlementFee_1487387142|currency:'AUD'"></a></p>
<p class="text-bold col-sm-12" align="left" ng-if="fut.aliSettleFee_All">
<img src="/static/images/alipay_sign.png" uib-tooltip="AliPay"
alt="Alipay"/> 到账金额:<a class="text-green"
ng-bind="fut.aliSettleFee_All|currency:'AUD'"></a>
</p>
<p class="text-bold col-sm-12" align="left"
ng-if="fut.aliOnlineSettleFee_All"><img
src="/static/images/alipay_sign.png" uib-tooltip="AliPayOnline"
alt="AliPayOnline"/> 到账金额(AlipayOnline):<a class="text-green"
ng-bind="fut.aliOnlineSettleFee_All|currency:'AUD'"></a>
</p>
<p class="text-bold col-sm-12" align="left" ng-if="fut.hfSettleFee_All"><img
src="/static/images/hf_sign.png" uib-tooltip="Hf" alt="Hf"/> 到账金额:<a
class="text-green" ng-bind="fut.hfSettleFee_All|currency:'AUD'"></a>
</p>
<p class="text-bold col-sm-12" align="left" ng-if="fut.platformGetSettleFee"
style="color: #f06010"><img src="/static/images/r_logo.svg"
style="width: 20px;height: 20px;"
uib-tooltip="RoyalPay" alt="RoyalPay"/>
总到账金额:<a class="text-green"
ng-bind="fut.platformGetSettleFee|currency:'AUD'"></a></p>
</div>
<!-- /.box-body -->
<!-- /.box -->
</div>
<!-- /.box -->
</div>
</div>
</div>
</br>
</br>
<div ng-if="future.length > 0">
</br>
</br>
</div>
<div class="box-solid">
<div class="box box-warning">
<div class="box-header">
@ -208,6 +211,6 @@
</div>
</div>
</div>
</div>
</div>
</div>
<!--</div>-->
<!--</div>-->
<!--</div>-->

@ -78,7 +78,4 @@
</table>
</div>
</div>
</div>
<div class="modal-footer">
<button class="btn btn-danger" ng-click="$dismiss()">Close</button>
</div>

@ -2,7 +2,10 @@
<section class="content-header">
<h1>网站管理</h1>
<ol class="breadcrumb">
<li>网站管理</li>
<li>
<i class="fa fa-sitemap"></i> Content Management
</li>
<li class="active">网站管理</li>
</ol>
</section>
<section class="content">

@ -2,7 +2,7 @@
<section class="content-header">
<h1>BD Commissions</h1>
<ol class="breadcrumb">
<li><i class="fa fa-usd"></i> Financial</li>
<li><i class="fa fa-usd"></i> Performance</li>
<li class="active">BD Commissions</li>
</ol>
</section>

@ -2,7 +2,7 @@
<h1>Wechat Settlements</h1>
<ol class="breadcrumb">
<li>
<i class="fa fa-flag"></i>Financial
<i class="fa fa-dollar"></i>Financial
</li>
<li class="active">Wechat Settlements</li>
</ol>

@ -2,7 +2,7 @@
<h1>Manager Accounts</h1>
<ol class="breadcrumb">
<li>
<i class="fa fa-key"></i> Basic Config
<i class="fa fa-key"></i> Framework
</li>
<li class="active">Manager Accounts</li>
</ol>

@ -3,7 +3,7 @@
<h1>Notice Manage</h1>
<ol class="breadcrumb">
<li>
<i class="fa fa-sitemap"></i> Basic Config
<i class="fa fa-sitemap"></i> Content Management
</li>
<li class="active">Notice Manage</li>
</ol>

@ -27,7 +27,7 @@
<h1>Organizations</h1>
<ol class="breadcrumb">
<li>
<i class="fa fa-users"></i> Basic Config
<i class="fa fa-users"></i> Framework
</li>
<li class="active">Organizations</li>
</ol>

@ -2,7 +2,7 @@
<h1>Permission Config</h1>
<ol class="breadcrumb">
<li>
<a ui-sref="^"><i class="fa fa-cog"></i> System Config</a>
<a ui-sref="^"><i class="fa fa-cog"></i> Framework</a>
</li>
<li>Permission Config</li>
</ol>

@ -2,7 +2,7 @@
<h1>Servants Config</h1>
<ol class="breadcrumb">
<li>
<a ui-sref="^"><i class="fa fa-cog"></i> System Config</a>
<a ui-sref="^"><i class="fa fa-cog"></i> Framework</a>
</li>
<li>Servants Config</li>
</ol>

@ -33,7 +33,7 @@
<h1>Partner Invoice</h1>
<ol class="breadcrumb">
<li>
<i class="fa fa-comments-o"></i> Financial
<i class="fa fa-dollar"></i>Financial
</li>
<li class="active">Partner Invoice</li>
</ol>

@ -91,6 +91,10 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
url: '/partners/new',
templateUrl: '/static/payment/partner/templates/add_partner.html',
controller: 'addPartnerCtrl'
}).state('businessCompliance', {
url: '/partners/compliance',
templateUrl: '/static/payment/partner/templates/partner_compliance.html',
controller: 'compliancePartnerCtrl'
}).state('partners.detail', {
url: '/{clientMoniker}/detail',
templateUrl: '/static/payment/partner/templates/partner_detail.html',
@ -277,6 +281,77 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
}
$scope.toogleMerchantSelect();*/
}]);
app.controller('compliancePartnerCtrl', ['$scope', '$sce', '$http', '$filter', '$uibModal', 'businessStructuresMap', 'industryMap', 'stateMap', 'sectorMap', 'countryMap',
function ($scope, $sce, $http, $filter, $uibModal, businessStructuresMap, industryMap, stateMap, sectorMap, countryMap) {
$scope.analysisClients = function () {
$http.get('/sys/partners/analysis').then(function (resp) {
$scope.analysis = resp.data;
})
};
if ($scope.currentUser.org_id == 1 || $scope.currentUser.org_id == null) {
$scope.analysisClients();
}
$scope.pagination = {};
$scope.industries = industryMap.configs();
$scope.states = stateMap.configs();
$scope.countries = countryMap.configs();
$scope.sectors = sectorMap.configs();
$scope.business_structures = businessStructuresMap.configs();
$scope.clean_days = angular.copy(clean_days_map);
$scope.bd_citys = angular.copy(bd_city_map);
$scope.params = {textType: 'all', org_name: 'ALL'};
$scope.loadPartners = function (page) {
var params = angular.copy($scope.params);
params.page = page || $scope.pagination.page || 1;
$http.get('/sys/partners', {params: params}).then(function (resp) {
$scope.partners = resp.data.data;
$scope.pagination = resp.data.pagination;
});
};
$scope.today = new Date();
$scope.listBDUsers = function () {
$http.get('/sys/manager_accounts/roles/bd_user').then(function (resp) {
$scope.bdUserSource = resp.data;
})
};
$scope.listBDUsers();
if (($scope.currentUser.role & parseInt('1000011', 2)) > 0 && !$scope.currentUser.org_id) {
$scope.showOrg = 'Organization';
$http.get('/sys/orgs/list_all_Org', {params: {}}).then(function (resp) {
$scope.orgs = resp.data;
});
}
$scope.loadOrgs = function () {
var params = angular.copy($scope.params);
$http.get('/sys/orgs/orgChild', {params: params}).then(function (resp) {
$scope.orgs_child = resp.data;
})
};
$scope.loadOrgs();
$scope.loadPartners(1);
$scope.openClientBoard = function (client) {
$uibModal.open({
templateUrl: '/static/analysis/templates/partner_card.html',
controller: 'partnerCardCtrl',
resolve: {
clientMoniker: function () {
return client.client_moniker
}
},
size: 'lg'
})
};
}]);
app.controller('addPartnerCtrl', ['$rootScope', '$scope', '$http', '$state', 'Upload', 'commonDialog', 'timezone', function ($rootScope, $scope, $http, $state, Upload, commonDialog, timezone) {
if ($scope.partner_application) {
$scope.partner = angular.copy($scope.partner_application);

@ -0,0 +1,335 @@
<style>
.pass_timeout {
color: red;
}
.del_client {
text-decoration: line-through;
}
</style>
<div ui-view>
<section class="content-header">
<h1>Business compliance</h1>
<ol class="breadcrumb">
<li>
<i class="fa fa-sitemap"></i> Compliance Management
</li>
<li class="active">Business compliance</li>
</ol>
</section>
<div class="content">
<div class="row" ng-if="currentUser.org_id==1 || currentUser.org_id==null">
<div class="col-md-3 col-sm-6 col-xs-12">
<div class="info-box">
<span class="info-box-icon bg-aqua"><i class="ion ion-ios-people"></i></span>
<div class="info-box-content">
<span class="info-box-text">Waiting Compliance</span>
<a role="button" ng-click="params.approving=true;loadPartners(1)"><span class="info-box-number">{{analysis.wp}}</span></a>
<small>其中自助开通:{{analysis.a_wp}}</small>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6 col-xs-12">
<div class="info-box">
<span class="info-box-icon bg-green"><i class="ion ion-ios-people"></i></span>
<div class="info-box-content">
<span class="info-box-text">Pass</span>
<span class="info-box-number">{{analysis.pass}}</span>
<small>其中自助开通:{{analysis.z_pass+analysis.a_pass}}</small>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6 col-xs-12">
<div class="info-box">
<span class="info-box-icon bg-red"><i class="ion ion-ios-people"></i></span>
<div class="info-box-content">
<span class="info-box-text">Temp SubMerchantID</span>
<a role="button" ng-click="params.tempMchId=true;loadPartners(1)"><span class="info-box-number"
ng-bind="analysis.temp_submchid||0"></span></a>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6 col-xs-12">
<div class="info-box">
<span class="info-box-icon bg-yellow"><i class="ion ion-ios-people"></i></span>
<div class="info-box-content">
<span class="info-box-text">自助开通</span>
<a role="button" ng-click="params.quickPass=true;loadPartners(1)"><span class="info-box-number">{{analysis.quick_pass}}</span></a>
<small>waiting compliance:{{analysis.a_wp}}</small>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<div class="box-solid">
<div class="box box-warning">
<div class="box-header">
<div class="row">
<div class="col-xs-12">
<div class="form-horizontal">
<!--<div class="form-group">-->
<!--<label class="control-label" for="partner-code-search">Partner Code</label>-->
<!--<input class="form-control" id="partner-code-search" ng-model="params.client_moniker">-->
<!--</div>-->
<div class="form-group">
<label class="col-xs-4 col-sm-2">
<select class="form-control" ng-model="params.textType">
<option value="all">ALL</option>
<option value="client_moniker">Partner Code</option>
<option value="client_name">Partner Name</option>
<option value="company_name">Company Name</option>
<option value="business_name">Business Name</option>
<option value="remark">Remark</option>
</select>
</label>
<div class="col-xs-8 col-sm-4">
<input class="form-control" placeholder="Keyword"
ng-enter="loadPartners(1)"
ng-model="params.searchText">
</div>
</div>
<!--Sub Merchant ID-->
<div class="form-group col-sm-6">
<label class="control-label col-xs-4 col-sm-4" for="sub-merchant-search">Sub
Merchant ID</label>
<div class="col-xs-6">
<input type="number" class="form-control" id="sub-merchant-search"
ng-enter="loadPartners(1)"
ng-model="params.sub_merchant_id">
</div>
</div>
<div class="form-group col-sm-6" ng-if="('10'|withRole)">
<label class="control-label col-xs-4 col-sm-4">Merchant ID</label>
<div class="col-xs-6">
<select ng-model="params.merchant_id" id="merchant-select"
class="form-control">
<option value="">All</option>
<option value="1307485301">1307485301(Tunnel Show1)</option>
<option value="1431999902">1431999902(Tunnel Show2)</option>
<option value="1487387142">1487387142(NAP)</option>
</select>
</div>
</div>
<!--Organization-->
<div class="form-group col-sm-6" ng-if="orgs">
<label class="control-label col-xs-4 col-sm-4" for="bd-select">Organization</label>
<div class="col-xs-6 col-sm-6">
<select id="org-select" class="form-control" ng-model="params.org_id"
ng-options="org.org_id as org.name group by org.org_type for org in orgs"
ng-change="params.bd = '';params.org_ids = null;loadPartners();loadOrgs();">
<option value="">All</option>
</select>
</div>
</div>
<div class="form-group col-sm-6" ng-if="(params.org_id && orgs_child.length>1) || (currentUser.org_id && !currentUser.parent_org_id && orgs_child.length>1)">
<label class="control-label col-xs-4 col-sm-4" for="org-clild" ng-if="!currentUser.org_id">Sub Organization</label>
<label class="control-label col-xs-4 col-sm-4" for="org-clild" ng-if="currentUser.org_id">Organization</label>
<div class="col-xs-6 col-sm-6">
<select id="org-clild" class="form-control" ng-model="params.org_ids"
ng-options="org.org_id as org.name group by org.type for org in orgs_child"
ng-change="params.bd = '';loadPartners();">
<option value="">All</option>
</select>
</div>
</div>
<div class="form-group col-sm-6"
ng-if="!('100'|withRole) || (currentUser.org_id && !currentUser.parent_org_id)">
<label class="control-label col-xs-4 col-sm-4" for="bd-select">BD
User</label>
<div class="col-xs-6 col-sm-6">
<select id="bd-select" class="form-control" ng-model="params.bd"
ng-options="bd.manager_id as bd.display_name group by bd.org_name for bd in bdUserSource | bdOrgSelect:params">
<option value="">All</option>
</select>
</div>
</div>
<div class="form-horizontal">
<!--status-->
<div class="form-group col-sm-12" ng-if="'10'|withRole">
<label class="control-label col-xs-4 col-sm-2">Status</label>
<!--<div class="col-xs-8 col-sm-4">-->
<span class="col-xs-8 col-sm-10">
<span class="checkbox-inline">
<label>
<input type="checkbox" ng-model="params.approving"
id="approving-check">
等待合规
</label>
</span>
<span class="checkbox-inline">
<label>
<input type="checkbox" ng-model="params.tempMchId"> 使用通用子商户号
</label>
</span>
<span class="checkbox-inline">
<label>
<input type="checkbox" ng-model="params.quickPass"> 自助开通
</label>
</span>
<span class="checkbox-inline">
<label>
<input type="checkbox" ng-model="params.greenChannel"> 绿色通道
</label>
</span>
<span class="checkbox-inline">
<label>
<input type="checkbox" ng-model="params.pass"> 通过
</label>
</span>
<span class="checkbox-inline">
<label>
<input type="checkbox" ng-model="params.completed_contract"> 资料完善中
</label>
</span>
<span class="checkbox-inline">
<label>
<input type="checkbox" ng-model="params.apply_to_back"> 申请打回
</label>
</span>
<span class="checkbox-inline">
<label>
<input type="checkbox" ng-model="params.bd_upload_material"> 等待BD上传材料审核
</label>
</span>
</span>
<!--</div>-->
</div>
<div class="col-xs-12">
<button class="btn btn-primary" type="button"
ng-click="loadPartners(1)"><i
class="fa fa-search"></i> Search
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="box box-warning" style="border-top-color:#f06101">
<div class="box-body no-padding table-responsive">
<div>
<span style="float: right;font-size: 14px;" class="del_client">禁用</span>
<span style="float: right;font-size: 14px;" class="pass_timeout">&nbsp;&nbsp;超期提醒&nbsp;&nbsp;</span>
<span style="float: right;font-size: 14px;"
class="bg-red">&nbsp;&nbsp;等待合规&nbsp;&nbsp;</span>
<span style="float: right;font-size: 14px;"
class="bg-green">&nbsp;&nbsp;绿色通道&nbsp;&nbsp;</span>
<span style="float: right;font-size: 14px;">&nbsp;&nbsp;通过&nbsp;&nbsp;</span>
</div>
<table class="table table-striped">
<thead>
<tr>
<th style="padding: 12px;">Partner Code</th>
<th style="padding: 12px;">Partner Name</th>
<th style="padding: 12px;">Sub Mch ID</th>
<th style="padding: 12px;">Register Time</th>
<th style="padding: 12px;">Compliance Status</th>
<th style="padding: 12px;">Organization</th>
<th style="padding: 12px;">BD</th>
<th style="padding: 12px;" ng-if="'client_detail_by_moniker'|withFunc">Operation
</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="partner in partners"
ng-class="{pass_timeout:partner.pass_timeout,success:partner.source==5,warning:partner.approve_result==5 && ('100'|withRole)}">
<td>
<a class="text-primary" role="button" title="Detail"
ng-click="openClientBoard(partner)"
ng-if="(partner.approve_result==1) || (partner.approve_result == 2 && (partner.source==1 || partner.source==2))">
<span ng-bind="partner.client_moniker"></span></a>
<span ng-bind="partner.client_moniker"
ng-if="partner.approve_result!=1 && !(partner.approve_result==2 && (partner.source==1 || partner.source==2))"></span>
<span ng-if="partner.is_valid==0" ng-class="{pass_timeout:partner.is_valid==0}">(已禁用)</span>
<i class="fa fa-sitemap" ng-if="partner.parent_client_id"
title="Sub Partner"></i>
<i class="text-danger fa fa-envelope-o"
ng-if="(partner.approve_result==1 || (partner.approve_result == 2 && (partner.source==1 || partner.source==2))) && (partner.approve_email_send==2 || partner.approve_email_send==0)"
title="Init email send failed"></i>
<i class="text-danger fa fa-clock-o" ng-if="partner.temp_sub_merchant"
title="Using temp Sub Merchant ID"></i>
</td>
<td ng-bind="partner.short_name"></td>
<td ng-bind="partner.sub_merchant_id"></td>
<td ng-bind="partner.create_time"></td>
<td ng-class="{'bg-green':(partner.approve_result==2 && (partner.source==1 || partner.source==2)),'bg-red':((partner.open_status==1||partner.open_status==2||partner.open_status==4) && partner.approve_result!=3)||(partner.approve_result==3 && (!partner.open_status || partner.open_status==1 || partner.open_status == 4))||(partner.approve_result==4 && !partner.open_status)||(partner.open_status==10)}">
<span ng-if="partner.approve_result==1 && partner.approve_time">通过({{partner.approve_time}})</span>
<span ng-if="!partner.open_status && !partner.approve_result && partner.approve_result!=5 && partner.source!=4">资料完善中</span>
<span ng-if="!partner.open_status && !partner.approve_result && partner.approve_result!=5 && partner.source==4">(自助开通)资料完善中</span>
<span ng-if="!partner.open_status && partner.approve_result==2 && partner.approve_time">自助开通试用中({{partner.approve_time}}~{{partner.expiry_time}})</span>
<span ng-if="partner.approve_result==0 && partner.approve_time">不通过({{partner.approve_time}})</span>
<span ng-if="partner.approve_result==5 && partner.approve_time && partner.refuse_remark">申请打回({{partner.refuse_remark|limitTo:15}})</span>
<span ng-if="(partner.open_status==1||partner.open_status==4) && partner.approve_result!=3"><i
ng-if="partner.refuse_remark.length>0" class="fa fa-reply"
aria-hidden="true" title="被打回重新提交"></i>等待合规</span>
<span ng-if="partner.approve_result==3 && (!partner.open_status || partner.open_status==4)">自助开通(等待合规)</span>
<span ng-if="partner.open_status==2">合同制作完成</span>
<span ng-if="partner.open_status==3 && partner.approve_result!=5">等待BD上传材料审核</span>
<span ng-if="partner.open_status==10">绿色通道申请中</span>
<span ng-if="partner.approve_result==4 && !partner.open_status"><i
ng-if="partner.refuse_remark.length>0" class="fa fa-reply"
aria-hidden="true" title="被打回重新提交"></i>等待合规</span>
</td>
<td ng-bind="partner.org_name"></td>
<td ng-bind="partner.bd_user_name"></td>
<td ng-if="'client_detail_by_moniker'|withFunc">
<a class="text-primary" role="button" title="Detail"
ui-sref="partners.detail({clientMoniker:partner.client_moniker})">
<i class="fa fa-search"></i> Detail
</a>
</td>
</tr>
</tbody>
</table>
</div>
<div class="box-footer" ng-if="partners.length">
<uib-pagination class="pagination"
total-items="pagination.totalCount"
boundary-links="true"
ng-model="pagination.page"
items-per-page="pagination.limit"
max-size="10"
ng-change="loadPartners()"
previous-text="&lsaquo;"
next-text="&rsaquo;"
first-text="&laquo;"
last-text="&raquo;"></uib-pagination>
<div class="row">
<div class="col-xs-12">Total Records:{{pagination.totalCount}};Total
Pages:{{pagination.totalPages}}
</div>
</div>
</div>
</div>
<!--商户分布位置转移-->
<!--<div class="row" ng-if="mapFrame">
<div class="col-sm-12">
<div class="box" style="border-top: none">
<div class="embed-responsive" style="height: 300px;">
<iframe class="embed-responsive-item" id="merchant_maps" name="merchant_maps" src="{{mapFrame}}"></iframe>
</div>
</div>
</div>
</div>-->
</div>
</div>
</div>
</div>
</div>

@ -1,3 +1,12 @@
<section class="content-header">
<h1>Products</h1>
<ol class="breadcrumb">
<li>
<i class="fa fa-users"></i> Framework
</li>
<li class="active">Products</li>
</ol>
</section>
<div class="content">
<div class="row">
<div class="col-sm-12">

@ -11,7 +11,7 @@
<h1>AusTrac Report</h1>
<ol class="breadcrumb">
<li>
<i class="fa fa-comments-o"></i> Financial
<i class="fa fa-dollar"></i>Financial
</li>
<li class="active">AusTrac Report</li>
</ol>

@ -2,7 +2,7 @@
<section class="content-header">
<h1>Blacklist</h1>
<ol class="breadcrumb">
<li><i class="fa fa-gift"></i> Risk Manager</li>
<li><i class="fa fa-list-alt"></i> Risk Manager</li>
<li class="active">Blacklist</li>
</ol>
</section>

@ -2,7 +2,7 @@
<section class="content-header">
<h1>Risk Records</h1>
<ol class="breadcrumb">
<li><i class="fa fa-gift"></i> Risk Manager</li>
<li><i class="fa fa-list-alt"></i> Risk Manager</li>
<li class="active">Risk Records</li>
</ol>
</section>

@ -1,21 +1,17 @@
<section class="content-header">
<h1>Business compliance</h1>
<h1>Contract Award</h1>
<ol class="breadcrumb">
<li>
<i class="fa fa-sitemap"></i> Compliance Management
</li>
<li class="active">Business compliance</li>
<li class="active">contract award</li>
</ol>
</section>
<div class="modal-header">Contract</div>
<ul class="nav nav-tabs">
<li ui-sref-active-eq="active" class="active">
<a ui-sref="contract">Contract</a>
</li>
<li ui-sref-active-eq="active" class="active">
<a ui-sref="rate_warnings">Rate Warings</a>
</li>
<li ui-sref-active-eq="active" class="active">
<a ui-sref="manual_settle">Manual Settle</a>
</li>

@ -1,12 +1,17 @@
<div class="modal-header">Contract</div>
<section class="content-header">
<h1>Manual Settle</h1>
<ol class="breadcrumb">
<li>
<i class="fa fa-sitemap"></i> Compliance Management
</li>
<li class="active">Manual Settle</li>
</ol>
</section>
<ul class="nav nav-tabs">
<li ui-sref-active-eq="active" class="active">
<a ui-sref="contract">Contract</a>
</li>
<li ui-sref-active-eq="active" class="active">
<a ui-sref="rate_warnings">Rate Warings</a>
</li>
<li ui-sref-active-eq="active" class="active">
<a ui-sref="manual_settle">Manual Settle</a>
</li>

Loading…
Cancel
Save