[fix]风控渠道处理结果改成select

master
lujian 6 years ago
parent 433c6ebf8d
commit 6580254327

@ -72,6 +72,20 @@ define(['angular', 'jquery', 'uiRouter', './monitoring/analysis-monitoring'],
"4000-4500": "4000-4500" "4000-4500": "4000-4500"
}; };
var channelResultArray = [
"关闭支付",
"恢复支付",
"单日10",
"单日200",
"单日300",
"单日500",
"单日1000",
"单日3000",
"单日5000",
"单日10000",
"其他"
];
var app = angular.module('riskBusinessApp', ['ui.router']); var app = angular.module('riskBusinessApp', ['ui.router']);
app.config(['$stateProvider', function ($stateProvider) { app.config(['$stateProvider', function ($stateProvider) {
$stateProvider.state('analysis_monitoring.risk_business', { $stateProvider.state('analysis_monitoring.risk_business', {
@ -152,6 +166,7 @@ define(['angular', 'jquery', 'uiRouter', './monitoring/analysis-monitoring'],
$scope.orderTypes = orderTypesMap; $scope.orderTypes = orderTypesMap;
$scope.resultTypes = resultTypesMap; $scope.resultTypes = resultTypesMap;
$scope.channelResults = channelResultArray;
$scope.riskEvent = riskEvent.data; $scope.riskEvent = riskEvent.data;
// 获取数据库中对应的渠道字段 // 获取数据库中对应的渠道字段
var orderChannel = 'enable_'; var orderChannel = 'enable_';

@ -447,11 +447,20 @@
for="channel-result-input">Channel Handle Result for="channel-result-input">Channel Handle Result
</label> </label>
<div class="col-sm-8"> <div class="col-sm-8">
<!--
<input class="form-control" <input class="form-control"
ng-model="riskEventEdit.channel_result" ng-model="riskEventEdit.channel_result"
type="text" type="text"
name="description" name="description"
id="channel-result-input"> id="channel-result-input">
-->
<select class="form-control"
name="channel_result"
ng-model="riskEventEdit.channel_result"
id="channel-result-input"
ng-options="item for item in channelResults">
<option value="">Please Choose</option>
</select>
</div> </div>
</div> </div>
</div> </div>

Loading…
Cancel
Save