|
|
@ -294,24 +294,5 @@ define(['angular', 'uiRouter'], function () {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
])
|
|
|
|
])
|
|
|
|
// 处理
|
|
|
|
|
|
|
|
app.controller('handleCtrl', [
|
|
|
|
|
|
|
|
'$scope',
|
|
|
|
|
|
|
|
'$http',
|
|
|
|
|
|
|
|
'commonDialog',
|
|
|
|
|
|
|
|
'logId',
|
|
|
|
|
|
|
|
function ($scope, $http, commonDialog, logId) {
|
|
|
|
|
|
|
|
$scope.confirm = function () {
|
|
|
|
|
|
|
|
$http.post('/sys/financial/mark/resolve/message', { log_id: logId, message: $scope.message }).then(
|
|
|
|
|
|
|
|
function () {
|
|
|
|
|
|
|
|
$scope.$close()
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
function (resp) {
|
|
|
|
|
|
|
|
commonDialog.alert({ title: 'failed', content: resp.data.message, type: 'error' })
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
])
|
|
|
|
|
|
|
|
return app
|
|
|
|
return app
|
|
|
|
})
|
|
|
|
})
|
|
|
|