|
|
|
@ -153,10 +153,11 @@ define(['angular', 'uiRouter'], function () {
|
|
|
|
|
app.controller('orderValidationNewCtrl', [
|
|
|
|
|
'$scope',
|
|
|
|
|
'$http',
|
|
|
|
|
'$sce',
|
|
|
|
|
'$stateParams',
|
|
|
|
|
'commonDialog',
|
|
|
|
|
'$uibModal',
|
|
|
|
|
function ($scope, $http, $stateParams, commonDialog, $uibModal) {
|
|
|
|
|
function ($scope, $http, $sce, $stateParams, commonDialog, $uibModal) {
|
|
|
|
|
// 清除sessionStorage
|
|
|
|
|
$scope.$on('$destroy', function () {
|
|
|
|
|
sessionStorage.clear()
|
|
|
|
@ -228,7 +229,10 @@ define(['angular', 'uiRouter'], function () {
|
|
|
|
|
}
|
|
|
|
|
// 是否清除缓存
|
|
|
|
|
$scope.clear = function (channelName, flag) {
|
|
|
|
|
$http.post('/sys/financial/redo_channel_validation/' + $stateParams.date, { channel: channelName, cache: flag }).then(
|
|
|
|
|
$http.post('/sys/financial/redo_channel_validation/' + $stateParams.date, {
|
|
|
|
|
channel: channelName,
|
|
|
|
|
cache: flag
|
|
|
|
|
}).then(
|
|
|
|
|
function () {
|
|
|
|
|
$scope.startValid()
|
|
|
|
|
},
|
|
|
|
@ -253,12 +257,19 @@ define(['angular', 'uiRouter'], function () {
|
|
|
|
|
$scope.message = merchantInfo.resolve_msg
|
|
|
|
|
}
|
|
|
|
|
$scope.confirm = function () {
|
|
|
|
|
$http.post('/sys/financial/mark/resolve/message', { log_id: merchantInfo.log_id, message: $scope.message }).then(
|
|
|
|
|
$http.post('/sys/financial/mark/resolve/message', {
|
|
|
|
|
log_id: merchantInfo.log_id,
|
|
|
|
|
message: $scope.message
|
|
|
|
|
}).then(
|
|
|
|
|
function () {
|
|
|
|
|
$scope.$close()
|
|
|
|
|
},
|
|
|
|
|
function (resp) {
|
|
|
|
|
commonDialog.alert({ title: 'failed', content: resp.data.message, type: 'error' })
|
|
|
|
|
commonDialog.alert({
|
|
|
|
|
title: 'failed',
|
|
|
|
|
content: resp.data.message,
|
|
|
|
|
type: 'error'
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|