Commit 31d0cfe1 authored by chase's avatar chase

fixbug

parent e0b65cf5
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
allowHeaderFiltering: true allowHeaderFiltering: true
}, },
{ {
dataField: 'reportFileName', dataField: 'reportName',
caption: $translate.instant('RepUploadDtlColFileName'), caption: $translate.instant('RepUploadDtlColFileName'),
fixed: true, fixed: true,
allowHeaderFiltering: true allowHeaderFiltering: true
......
...@@ -911,7 +911,7 @@ ...@@ -911,7 +911,7 @@
$scope.openExportPop = function (evenType) { $scope.openExportPop = function (evenType) {
$scope.evenType = evenType; $scope.evenType = evenType;
var grp = _.find($scope.$parent.$parent.groups, function (g) { var grp = _.find($scope.$parent.$parent.groups, function (g) {
return g.name == 'TaxReturn'; return g.name == 'TaxReturnType';
}); });
if (!grp || !grp.children) { if (!grp || !grp.children) {
...@@ -954,7 +954,7 @@ ...@@ -954,7 +954,7 @@
//批量导出EXCEL //批量导出EXCEL
$scope.export = function () { $scope.export = function () {
var grp = _.find($scope.$parent.$parent.groups, function (g) { var grp = _.find($scope.$parent.$parent.groups, function (g) {
return g.name == 'TaxReturn'; return g.name == 'TaxReturnType';
}); });
if (!grp || !grp.children) { if (!grp || !grp.children) {
...@@ -1088,10 +1088,10 @@ ...@@ -1088,10 +1088,10 @@
}, },
withCredentials: true withCredentials: true
}).then(function (resp) { }).then(function (resp) {
alert("上传保存成功"); SweetAlert.success('', $translate.instant('FileUploadSuccess'));
$('#busy-indicator-container').hide(); $('#busy-indicator-container').hide();
}, function (resp) { }, function (resp) {
alert("上传保存失败"); SweetAlert.error('', $translate.instant('FileUploadFailed'));
$('#busy-indicator-container').hide(); $('#busy-indicator-container').hide();
}, function (evt) { }, function (evt) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment