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