Commit 1ded7713 authored by chase's avatar chase

merge 档案管理

parent e8c23e36
...@@ -927,7 +927,7 @@ ...@@ -927,7 +927,7 @@
"false": "否", "false": "否",
"ConditionColumnNum": "条件列", "ConditionColumnNum": "条件列",
"Condition": "查询条件", "Condition": "查询条件",
"Cancel4Tax": "取消", "Cancel": "取消",
"FinancialStatementsType": "财务报表", "FinancialStatementsType": "财务报表",
"~MustBeEndOneApp": "I Must be the End One, please!" "~MustBeEndOneApp": "I Must be the End One, please!"
} }
...@@ -193,7 +193,7 @@ ...@@ -193,7 +193,7 @@
></button> ></button>
<!--ng-disabled="newDocFileTypeForm.roleName.$invalid || newDocFileTypeForm.service_id.$invalid"--> <!--ng-disabled="newDocFileTypeForm.roleName.$invalid || newDocFileTypeForm.service_id.$invalid"-->
<button type="button" class="btn btn-third" data-dismiss="modal" <button type="button" class="btn btn-third" data-dismiss="modal"
ng-click="cancelDocFileType()" translate="Cancel4Tax"></button> ng-click="cancelDocFileType()" translate="Cancel"></button>
</center> </center>
</div> </div>
</form> </form>
......
...@@ -537,7 +537,7 @@ taxDocumentManageModule.controller('taxDocumentListController', ...@@ -537,7 +537,7 @@ taxDocumentManageModule.controller('taxDocumentListController',
showCancelButton: true, showCancelButton: true,
confirmButtonColor: "#DD6B55", confirmButtonColor: "#DD6B55",
confirmButtonText: $translate.instant('Confirm'), confirmButtonText: $translate.instant('Confirm'),
cancelButtonText: $translate.instant('Cancel4Tax'), cancelButtonText: $translate.instant('Cancel'),
closeOnConfirm: true, closeOnConfirm: true,
closeOnCancel: true closeOnCancel: true
}, },
...@@ -616,7 +616,7 @@ taxDocumentManageModule.controller('taxDocumentListController', ...@@ -616,7 +616,7 @@ taxDocumentManageModule.controller('taxDocumentListController',
showCancelButton: true, showCancelButton: true,
confirmButtonColor: "#DD6B55", confirmButtonColor: "#DD6B55",
confirmButtonText: $translate.instant('Confirm'), confirmButtonText: $translate.instant('Confirm'),
cancelButtonText: $translate.instant('Cancel4Tax'), cancelButtonText: $translate.instant('Cancel'),
closeOnConfirm: true, closeOnConfirm: true,
closeOnCancel: true closeOnCancel: true
}, },
...@@ -721,7 +721,7 @@ taxDocumentManageModule.controller('taxDocumentListController', ...@@ -721,7 +721,7 @@ taxDocumentManageModule.controller('taxDocumentListController',
showCancelButton: true, showCancelButton: true,
confirmButtonColor: "#DD6B55", confirmButtonColor: "#DD6B55",
confirmButtonText: $translate.instant('Confirm'), confirmButtonText: $translate.instant('Confirm'),
cancelButtonText: $translate.instant('Cancel4Tax'), cancelButtonText: $translate.instant('Cancel'),
closeOnConfirm: true, closeOnConfirm: true,
closeOnCancel: true closeOnCancel: true
}, },
...@@ -1631,6 +1631,7 @@ taxDocumentManageModule.directive('pdfPreview', function () { ...@@ -1631,6 +1631,7 @@ taxDocumentManageModule.directive('pdfPreview', function () {
if(typeof dataURL =="string"){ if(typeof dataURL =="string"){
pdfData = convertDataURIToBinary(dataURL); pdfData = convertDataURIToBinary(dataURL);
} }
pdfPromise=window.PDFJS.getDocument({data:pdfData});
return window.PDFJS.getDocument({data:pdfData}); return window.PDFJS.getDocument({data:pdfData});
}).then(function(data) { }).then(function(data) {
pdfSumPages = data.numPages; pdfSumPages = data.numPages;
......
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