Commit 45a490e4 authored by wuzhilong's avatar wuzhilong

更新制证包上传提示判读

parent 38b46dd6
...@@ -151,15 +151,16 @@ angular.module('AvatarCheck.xmlAndSearch', ['ngRoute', 'AvatarCheck.http', 'tm.p ...@@ -151,15 +151,16 @@ angular.module('AvatarCheck.xmlAndSearch', ['ngRoute', 'AvatarCheck.http', 'tm.p
closeByDocument:false, closeByDocument:false,
controller: ['$scope', function ($scope) { controller: ['$scope', function ($scope) {
$scope.wrongMsg =-1; $scope.wrongMsg =-1;
$scope.msgText = "上传中,请稍等..." $scope.msgText = "/////上传中,请稍等.../////"
HttpService.uploadPackage(fd,function (data) { HttpService.uploadPackage(fd,function (data) {
if(data){ if(angular.equals(data.code,"200")){
$scope.closeThisDialog(); // $scope.closeThisDialog();
getData(); $scope.msgText = "上传成功!";
// MessageService.showAlert("上传成功")
}else{ }else{
$scope.wrongMsg = "上传失败" $scope.msgText="";
$scope.wrongMsg = data.errMsg;
} }
getData();//获取导入数据信息
}) })
}] }]
}); });
......
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