fix ui bugs

master
yixian 5 years ago
parent 3c031741fb
commit 400722149b

@ -157,7 +157,8 @@ define(['angular', 'uiBootstrap', 'uiRouter'], function (angular) {
} }
}]); }]);
app.controller('settleTasksPriorityListManageCtrl', ['$scope', '$http', 'commonDialog', function ($scope, $http, commonDialog) { app.controller('settleTasksPriorityListManageCtrl', ['$scope', '$http', '$uibModal', 'commonDialog',
function ($scope, $http, $uibModal, commonDialog) {
$scope.filters = {}; $scope.filters = {};
$scope.input = {} $scope.input = {}
$scope.loadPriorities = function () { $scope.loadPriorities = function () {
@ -165,6 +166,7 @@ define(['angular', 'uiBootstrap', 'uiRouter'], function (angular) {
$scope.clients = res.data; $scope.clients = res.data;
}) })
}; };
$scope.loadPriorities();
$scope.addPriorityClient = function () { $scope.addPriorityClient = function () {
if (!$scope.input.moniker) { if (!$scope.input.moniker) {
return; return;

@ -23,7 +23,7 @@
<div class="box-body"> <div class="box-body">
<button type="button" class="btn btn-primary" ng-click="redirectToSettleLogs()">Today Settlement Logs <button type="button" class="btn btn-primary" ng-click="redirectToSettleLogs()">Today Settlement Logs
</button> </button>
<button type="button" class="btn btn-primary" ng-click="modifyPriorityList()">Priority List</button> <a class="btn btn-primary" ui-sref=".priority_list">Priority List</a>
</div> </div>
</div> </div>
<div class="box box-info"> <div class="box box-info">

Loading…
Cancel
Save