parent
91d51e4629
commit
5454ec2ac0
@ -0,0 +1,181 @@
|
||||
<div class="content" ui-view>
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div class="box-solid">
|
||||
<div class="box box-warning">
|
||||
<div class="box-header">
|
||||
<div class="form-horizontal">
|
||||
|
||||
<!--Partner Code-->
|
||||
<div class="form-group col-sm-6">
|
||||
<label class="control-label col-xs-4 col-sm-4"
|
||||
for="partner-code-search">Partner Code
|
||||
</label>
|
||||
<div class="col-xs-6">
|
||||
<input type="text"
|
||||
class="form-control"
|
||||
id="partner-code-search"
|
||||
ng-model="params.clientMoniker">
|
||||
</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-id-search">Sub Merchant ID
|
||||
</label>
|
||||
<div class="col-xs-6">
|
||||
<input type="text"
|
||||
class="form-control"
|
||||
id="sub-merchant-id-search"
|
||||
placeholder="子商户号"
|
||||
ng-model="params.subMerchantId">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--Order Type-->
|
||||
<div class="form-group col-sm-6">
|
||||
<label class="control-label col-xs-4 col-sm-4"
|
||||
for="order-type-input">Order Type
|
||||
</label>
|
||||
<div class="col-xs-6">
|
||||
<select class="form-control"
|
||||
name="order_type"
|
||||
ng-model="params.orderType"
|
||||
id="order-type-input"
|
||||
ng-options="key as value for (key, value) in orderTypesForBD">
|
||||
<option value="">ALL</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--Order IDs-->
|
||||
<div class="form-group col-sm-6">
|
||||
<label class="control-label col-xs-4 col-sm-4"
|
||||
for="order-ids-input">Order IDs
|
||||
</label>
|
||||
<div class="col-xs-6">
|
||||
<input class="form-control"
|
||||
ng-model="params.orderIds"
|
||||
type="text"
|
||||
name="order_ids"
|
||||
placeholder="多个订单请用逗号分隔"
|
||||
id="order-ids-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--Result Type-->
|
||||
<div class="form-group col-sm-6">
|
||||
<label class="control-label col-xs-4 col-sm-4"
|
||||
for="order-type-input">Result Type
|
||||
</label>
|
||||
<div class="col-xs-6">
|
||||
<select class="form-control"
|
||||
name="result_type"
|
||||
ng-model="params.resultType"
|
||||
id="result-type-input"
|
||||
ng-options="key as value for (key, value) in resultTypesForBD">
|
||||
<option value="">ALL</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--Industry-->
|
||||
<div class="form-group col-sm-6">
|
||||
<label class="control-label col-xs-4 col-sm-4"
|
||||
for="industry-select">Industry</label>
|
||||
<div class="col-xs-6">
|
||||
<select ng-model="params.industry"
|
||||
id="industry-select"
|
||||
class="form-control"
|
||||
ng-options="industry.value as industry.label for industry in industries">
|
||||
<option value="">ALL</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-xs-12">
|
||||
<button class="btn btn-primary"
|
||||
type="button"
|
||||
ng-click="loadRiskEvents(1)">
|
||||
<i class="fa fa-search"></i>Search
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="box">
|
||||
<div class="box-header">
|
||||
<h3 class="box-title">RiskEvent List</h3>
|
||||
</div>
|
||||
|
||||
<div class="box-body no-padding table-responsive">
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Partner</th>
|
||||
<th>Order Type</th>
|
||||
<th>Result Type</th>
|
||||
<th>Sub Merchant ID</th>
|
||||
<th>Description</th>
|
||||
<th>Channel Result</th>
|
||||
<th>Risk Manager</th>
|
||||
<th>Create Time</th>
|
||||
<th>Operation</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr ng-repeat="riskEvent in riskEvents">
|
||||
<td>
|
||||
<a role="button" ui-sref="partners.detail({clientMoniker: riskEvent.client_moniker})">
|
||||
{{riskEvent.short_name}}({{riskEvent.client_moniker}})
|
||||
</a>
|
||||
</td>
|
||||
<td ng-bind="riskEvent.order_type | orderType"></td>
|
||||
<td ng-class="{'text-orange': (riskEvent.result_type == 1), 'text-green': (riskEvent.result_type == 3), 'text-red': (riskEvent.result_type == 4)}">
|
||||
{{riskEvent.result_type | resultType:resultTypesForBD}}
|
||||
</td>
|
||||
<td ng-bind="riskEvent.sub_merchant_id"></td>
|
||||
<td ng-bind="riskEvent.description | limitTo:20"></td>
|
||||
<td ng-bind="riskEvent.channel_result"></td>
|
||||
<td ng-bind="riskEvent.fillin_person"></td>
|
||||
<td ng-bind="riskEvent.create_time"></td>
|
||||
<td>
|
||||
<a class="text-primary"
|
||||
role="button"
|
||||
title="Detail"
|
||||
ui-sref="analysis_monitoring.riskEvent_detail_bd({risk_id:riskEvent.risk_id})">
|
||||
<i class="fa fa-search"></i> Detail
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="box-footer"
|
||||
ng-if="riskEvents.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="loadRiskEvents()"
|
||||
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>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
Loading…
Reference in new issue