Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
周伟奇
/
bmw-ocr
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
8fa2ba72
authored
2023-04-20 15:31:50 +0800
by
冯轩
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
MOD:修改excel链接
1 parent
d373a787
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/apps/doc/views.py
src/apps/doc/views.py
View file @
8fa2ba7
...
...
@@ -1084,7 +1084,7 @@ class DocView(DocGenericView, DocHandler):
conf
.
BASE_URL
,
prefix
,
tmp_scheme
,
doc_dict
[
'application_id'
])
doc_dict
[
'target_url'
]
=
application_link
doc_id
=
doc_dict
.
get
(
'id'
)
doc_dict
[
'
pdf_link'
]
=
self
.
get_link
(
doc_id
,
business_type
)
doc_dict
[
'
excel_link'
]
=
self
.
get_link
(
doc_id
,
business_type
,
file
=
'excel'
)
# total = len(doc_list)
pagination
=
{
'current'
:
page
,
'total'
:
total
,
'page_size'
:
page_size
}
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment