6.27 报表打印
This commit is contained in:
@ -59,7 +59,7 @@
|
||||
<!--AfterPublishAsPDFToURL-->
|
||||
|
||||
<body
|
||||
onload="path=getQueryString('path');fileName=getQueryString('fileName');fileType=getQueryString('fileType');init(path);">
|
||||
onload="path=getQueryString('path');fileName=decodeURI(getQueryString('fileName'));fileType=getQueryString('fileType');init(path);">
|
||||
|
||||
<script type="text/javascript" for="TANGER_OCX" event="OnDocumentOpened(File, Document)">
|
||||
|
||||
|
@ -89,7 +89,7 @@ const ReportPrint: React.FC<{}> = () => {
|
||||
const onClickLink = (url: string, name: string, type: string, data: any) => {
|
||||
editLoading();
|
||||
const fileName: string = `${data.sectionName}-${data.sectionNum}-${data.roomType == 1 ? '预审' : ''}${name}${defId == 'recruit_multi' ? `第${data.roomSort}轮` : ''}${data.reviewMark == 1 ? `(第${data.reviewSort}次重新评审)` : ''}`;
|
||||
const format = fileName.replace(/\//g, "-") //格式化文件名称
|
||||
const format = encodeURI(encodeURI(fileName.replace(/\//g, "-"))) //格式化文件名称
|
||||
window.ntkoBrowser.openWindow('/Weboffice4Path.html?path=' + encodeURIComponent(url) + '&fileType=' + type + '&fileName=' + format);
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user