@@ -372,6 +372,7 @@ module.exports = app => {
// console.log('pageSize: ' + pageSize);
const renderData = {
size: pageSize,
+ OSS_PATH: ctx.app.config.fujianOssPath,
// orientation: params.orientation,
};
await ctx.render('report/rpt_individual.ejs', renderData);
@@ -32,6 +32,7 @@
</body>
<SCRIPT type="text/javascript">
const SCREEN_DPI = [96, 96];
+ const OSS_PATH = '<%- OSS_PATH %>';
const WAIT_TIME_EXPORT = 300000;
const current_stage_status = 3;
const PAGE_SHOW = {closeWatermark: 0, closeExportPdf: 0, closeExportExcel: 0, showArchive: 0};