Commit 5ec50987 by 吴佳

2022.03.30 wujia 面函中选择语种,生成面函PDF时按选择的语种对应的字体渲染

parent 82b7595b
......@@ -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;
}
......
......@@ -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);
......
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