Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
traffic-front
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxiaoming
traffic-front
Commits
cf8b3128
Commit
cf8b3128
authored
Apr 23, 2019
by
chase
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
parent
4211c6e0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
tax-document-list.ctrl.js
...ocumentManage/tax-document-list/tax-document-list.ctrl.js
+0
-4
No files found.
atms-web/src/main/webapp/app/taxDocumentManage/tax-document-list/tax-document-list.ctrl.js
View file @
cf8b3128
...
...
@@ -1618,14 +1618,12 @@ taxDocumentManageModule.directive('pdfPreview', function () {
});
}
start
().
then
(
function
(
data
)
{
console
.
log
(
'result of start: '
,
data
);
return
taxDocumentListService
.
readPDF
({
path
:
url
});
}).
then
(
function
(
dataURL
)
{
var
pdfData
=
null
;
if
(
typeof
dataURL
==
"string"
){
pdfData
=
convertDataURIToBinary
(
dataURL
);
}
console
.
log
(
pdfData
);
return
window
.
PDFJS
.
getDocument
({
data
:
pdfData
});
}).
then
(
function
(
data
)
{
pdfSumPages
=
data
.
numPages
;
...
...
@@ -2046,7 +2044,6 @@ taxDocumentManageModule.directive('tempModule', function () {
}
$scope
.
loadSelectMap
=
function
()
{
taxDocumentListService
.
getFileInfoOptions
().
then
(
function
(
data
)
{
// console.log(data);
if
(
data
)
{
$scope
.
typeAndAttrMap
=
data
;
// 抽取每个元素的头一个字串,用于排序;
...
...
@@ -2086,7 +2083,6 @@ taxDocumentManageModule.directive('tempModule', function () {
//加载可用的档案属性
$scope
.
loadSelectEnableMap
=
function
()
{
taxDocumentListService
.
getFileInfoEnableOptions
().
then
(
function
(
data
)
{
// console.log(data);
if
(
data
)
{
$scope
.
typeAndAttrMap
=
data
;
// 抽取每个元素的头一个字串,用于排序;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment