|
|
|
@ -47,6 +47,8 @@ define(['angular', 'uiBootstrap', 'uiRouter'], function (angular) {
|
|
|
|
|
$uibModal.open({
|
|
|
|
|
templateUrl: '/static/analysis/templates/settle_tasks_customized_task_dialog.html',
|
|
|
|
|
controller: 'newCustomizedSettleDialogCtrl'
|
|
|
|
|
}).result.then(function () {
|
|
|
|
|
commonDialog.alert({type: 'success', title: 'Success', content: 'Settle Submitted'})
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
$scope.checkProgressStatus = function () {
|
|
|
|
@ -258,7 +260,7 @@ define(['angular', 'uiBootstrap', 'uiRouter'], function (angular) {
|
|
|
|
|
}
|
|
|
|
|
$http.post('/sys/settle_tasks/customized_settle', data).then(function () {
|
|
|
|
|
$scope.task = {}
|
|
|
|
|
$scope.$dismiss()
|
|
|
|
|
$scope.$close('OK')
|
|
|
|
|
}, function (resp) {
|
|
|
|
|
$scope.errorMsg = resp.data.message
|
|
|
|
|
})
|
|
|
|
|