parent
465772c5dc
commit
ac7836da81
@ -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"> 超期提醒 </span>
|
||||||
|
<span style="float: right;font-size: 14px;"
|
||||||
|
class="bg-red"> 等待合规 </span>
|
||||||
|
<span style="float: right;font-size: 14px;"
|
||||||
|
class="bg-green"> 绿色通道 </span>
|
||||||
|
<span style="float: right;font-size: 14px;"> 通过 </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="‹"
|
||||||
|
next-text="›"
|
||||||
|
first-text="«"
|
||||||
|
last-text="»"></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>
|
Loading…
Reference in new issue