|
@@ -294,11 +294,12 @@ function fixVolumeData(json,volumeData,index){
|
|
|
json.lOT = circleCheck[(volumeData?.lang?.indexOf("其他")>-1)?1:0];
|
|
|
json.lSS = circleCheck[(volumeData?.lang?.indexOf("少数")>-1)?1:0];
|
|
|
json.publisher = volumeData?.editionUnit;
|
|
|
- json.isZZ = circleCheck[(volumeData?.carrierShape?.indexOf("纸质")>-1)?1:0];
|
|
|
- json.isDZ = circleCheck[(volumeData?.carrierShape?.indexOf("电子")>-1)?1:0];
|
|
|
- json.isSZ = circleCheck[(volumeData?.carrierShape?.indexOf("数字")>-1 || volumeData?.carrierShape?.indexOf("电子")>-1)?1:0];
|
|
|
- json.isQT = circleCheck[(volumeData?.carrierShape?.indexOf("附带")>-1)?1:0];
|
|
|
- json.isFD = circleCheck[(volumeData?.carrierShape?.indexOf("其他")>-1)?1:0];
|
|
|
+
|
|
|
+ json.isDZ = circleCheck[(volumeData?.carrierShape?.indexOf("电子教材")>-1)?1:0];
|
|
|
+ json.isSZ = circleCheck[(volumeData?.carrierShape?.indexOf("数字教材")>-1 || volumeData?.carrierShape?.indexOf("电子教材")>-1)?1:0];
|
|
|
+ json.isQT = circleCheck[(volumeData?.carrierShape?.indexOf("其他")>-1)?1:0];
|
|
|
+ json.isFD = circleCheck[(volumeData?.carrierShape?.indexOf("附带")>-1)?1:0];
|
|
|
+ json.isZZ = circleCheck[(volumeData?.carrierShape?.indexOf("纸质教材")>-1 && volumeData?.carrierShape?.indexOf("附带")==-1)?1:0];
|
|
|
json.latestY = latestYear;
|
|
|
json.latestM = latestMonth;
|
|
|
json.currentY = currentYear;
|
|
@@ -312,8 +313,9 @@ function fixVolumeData(json,volumeData,index){
|
|
|
json.isBSQT = circleCheck[isBSQT&&bsqtName?1:0];
|
|
|
json.isFirstNot = circleCheck[volumeData?.importantProject?0:1];
|
|
|
// 作者列表 + 政治审查表
|
|
|
- json.examineList = []
|
|
|
+ json.examineList = json.examineList || []
|
|
|
let examineMap = {}
|
|
|
+ json.examineList.forEach(item=>examineMap[item]=true)
|
|
|
for (let index = 0; index < 6; index++) { // 补充空值
|
|
|
if(!volumeData?.authorList?.[index]){
|
|
|
volumeData.authorList.push({name:"",unit:"",birth:"",nationality:"",job:"",title:"",mobile:"",email:"",work:""})
|
|
@@ -330,6 +332,12 @@ function fixVolumeData(json,volumeData,index){
|
|
|
json.authorList = volumeData?.authorList;
|
|
|
json.examineList = Object.keys(examineMap)
|
|
|
|
|
|
+ // 其他编者政治审查表
|
|
|
+ json.otherList = json.otherList || []
|
|
|
+ if(volumeData?.otherEditor){
|
|
|
+ json.otherList.push(volumeData?.otherEditor)
|
|
|
+ }
|
|
|
+
|
|
|
// 成果列表
|
|
|
// aclist[index] = [json?.achievementOptions?.[index]?.name||" ",json?.achievementOptions?.[index]?.unit||" ",toYearMonth(json?.achievementOptions?.[index]?.date)||" "]
|
|
|
for (let index = 0; index < 5; index++) { // 补充空值
|
|
@@ -412,8 +420,13 @@ function renderReportDocsByTextbook(textbook){
|
|
|
|
|
|
// 附件信息
|
|
|
let mergeFiles = []
|
|
|
- // 1.教材电子版(必须提供)
|
|
|
+ // 教材电子版
|
|
|
// (教材出版单位配合按要求上传各地推荐的本单位出版的纸质教材最新印次的完整PDF电子版;数字教材上传全部教材内容电子版或填写能够查看全部教材内容的链接地址、账号;纸质教材附带数字资源的,上传纸质教材最新印次的完整PDF电子版,以及全部数字资源电子版或能够查看全部数字资源内容的链接地址、账号。)
|
|
|
+
|
|
|
+ // 1.获批截图
|
|
|
+ if(json?.approvedImgUrl){
|
|
|
+ mergeFiles.push(json?.approvedImgUrl);
|
|
|
+ }
|
|
|
// 2.所有作者政治审查意见(必须提供)
|
|
|
// (对应作者姓名上传“作者政治审查表”。作者单位党委对作者进行审查,对政治思想表现情况进行评价,确保作者的正确政治方向、价值取向,无违法违纪等记录。教材编写成员涉及多个不同单位时需要各单位分别出具意见,并由所在单位党委盖章,格式要求从申报平台下载。)
|
|
|
// console.log("json.examineList");
|
|
@@ -421,13 +434,17 @@ function renderReportDocsByTextbook(textbook){
|
|
|
// console.log("json.examineList");
|
|
|
// console.log("json.examineList");
|
|
|
// console.log(json.examineList);
|
|
|
- if(json?.approvedImgUrl){
|
|
|
- mergeFiles.push(json?.approvedImgUrl);
|
|
|
- }
|
|
|
+
|
|
|
json.examineList.forEach(fileurl=>{
|
|
|
if(fileurl) mergeFiles.push(fileurl)
|
|
|
})
|
|
|
|
|
|
+ let otherMap = {}
|
|
|
+ json?.otherList?.forEach(item=>{ // 合并不重复其他编者政治审查表
|
|
|
+ if(otherMap[item]) return
|
|
|
+ otherMap[item] = true
|
|
|
+ mergeFiles.push(item)
|
|
|
+ })
|
|
|
|
|
|
// 3.图书编校质量自查结果记录表(必须提供)
|
|
|
// (教材出版单位对申报教材的编校质量自查后,按要求提供图书编校质量自查结果记录表,并加盖出版社公章。全册教材的不同分册以不同文件分别上传。格式要求从申报平台下载。)
|