Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-gjjs
Overview
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fukai
vue-gjjs
Commits
5ec50987
Commit
5ec50987
authored
3 years ago
by
吴佳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2022.03.30 wujia 面函中选择语种,生成面函PDF时按选择的语种对应的字体渲染
parent
82b7595b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
+2
-1
Show.vue
src/views/Docpan/Show.vue
+1
-1
Docpan.vue
src/views/Public/Docpan.vue
+1
-0
No files found.
src/views/Docpan/Show.vue
View file @
5ec50987
...
...
@@ -47,7 +47,7 @@ export default {
];
});
if
(
this
.
model
.
docXML
!=
""
)
Api
.
post
(
"pdf"
,
{
xml
:
this
.
model
.
docXML
}).
then
((
res
)
=>
{
Api
.
post
(
"pdf"
,
{
xml
:
this
.
model
.
docXML
,
doclang
:
window
.
sessionStorage
.
docuil
}).
then
((
res
)
=>
{
if
(
res
.
respCode
==
SUCCESS
)
{
this
.
pdf
=
"data:application/pdf;base64,"
+
res
.
data
;
}
...
...
This diff is collapsed.
Click to expand it.
src/views/Public/Docpan.vue
View file @
5ec50987
...
...
@@ -507,6 +507,7 @@ export default {
let attr = DocUtils.getDocAttribute(docnam,structure,execution)
window.sessionStorage.docTXT = ''
window.sessionStorage.docXML = rtnmsg.data[attr];
window.sessionStorage.docuil = doceot.docuil;
}
// console.log( window.sessionStorage.docTXT);
// console.log( window.sessionStorage.docXML);
...
...
This diff is collapsed.
Click to expand it.
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