|
@@ -373,7 +373,7 @@ function renderReportDocsByTextbook(textbook){
|
|
|
// 开始文件合并导出
|
|
|
let filePath,pdfPath,urlDocx,urlPdf
|
|
|
let TemplateDocxPath
|
|
|
- if(json?.childrens?.length>0){
|
|
|
+ if(json?.childrens?.length>1){
|
|
|
TemplateDocxPath = path.join(TemplateDocxDir,"模板-本科教材申报书-全册.docx")
|
|
|
}else{
|
|
|
TemplateDocxPath = path.join(TemplateDocxDir,"模板-本科教材申报书-单册.docx")
|