@@ -1487,6 +1549,7 @@ taxDocumentManageModule.directive('pdfPreview', function () {
renderPdf(pdf)
})
};
functiongetPdf(url){
// var url = 'http://47.94.233.173:11007/static/erp_tax_system/61063D1D-8C9E-47C1-B106-AFF696CF5D98?expire=1552466477&signiture=5IaoVIHX_pzmQgyaxdzYC2NsNOz_R0eyRUhQU1BJjiE=';
returnwindow.PDFJS.getDocument(url);
...
...
@@ -1525,7 +1588,7 @@ taxDocumentManageModule.directive('imgPreview', function () {
controller:['$scope',function($scope){
$scope.curImgSrc="";
$scope.curImgName="";
$scope.openImgPreviewPop=function(fileName,url){
$scope.openImgPreviewPop=function(fileName,url){
if($scope.curImgSrc!==url){
$scope.curImgName=fileName;
$scope.curImgSrc=url;
...
...
@@ -1543,8 +1606,8 @@ taxDocumentManageModule.directive('imgPreview', function () {