|
@@ -238,9 +238,12 @@ function fixVolumeData(json,volumeData,index,totalJson){
|
|
|
json.index = index + 1;
|
|
|
// 教材基本信息
|
|
|
|
|
|
- // 专业代码:前四位 discipline
|
|
|
- let majorCode4 = volumeData?.discipline?.code?.slice(0,4) || json?.discipline?.code?.slice(0,4) || ""
|
|
|
- let majorName4 = volumeData?.discipline?.name || json?.discipline?.name || ""
|
|
|
+ // 教材所属学科专业类:前四位 discipline
|
|
|
+ let disciplineCode4 = volumeData?.discipline?.code?.slice(0,4) || json?.discipline?.code?.slice(0,4) || ""
|
|
|
+ let disciplineName4 = volumeData?.discipline?.name || json?.discipline?.name || ""
|
|
|
+ // 教材应用对象及所属学科专业类:前四位 majorPoniter
|
|
|
+ let majorCode4 = volumeData?.majorPoniter?.code?.slice(0,4) || json?.majorPoniter?.code?.slice(0,4) || ""
|
|
|
+ let majorName4 = volumeData?.majorPoniter?.name || json?.majorPoniter?.name || ""
|
|
|
// 专业代码:前六位 major
|
|
|
let majorCode6 = volumeData?.major?.code?.slice(0,6) || json?.major?.code?.slice(0,6) || ""
|
|
|
let majorName6 = volumeData?.major?.name || json?.major?.name || ""
|
|
@@ -299,9 +302,11 @@ function fixVolumeData(json,volumeData,index,totalJson){
|
|
|
json.uHJ = circleCheck[(volumeData?.unitType?.indexOf("合建")>-1)?1:0];
|
|
|
json.uGJ = circleCheck[(volumeData?.unitType?.indexOf("共建")>-1)?1:0];
|
|
|
json.uQT = circleCheck[(volumeData?.unitType?.indexOf("其他")>-1)?1:0];
|
|
|
+ json.dc4 = disciplineCode4;
|
|
|
+ json.dn4 = disciplineName4;
|
|
|
json.mc4 = majorCode4;
|
|
|
- json.majorCodePad = majorCode4;
|
|
|
json.mn4 = majorName4;
|
|
|
+ json.majorCodePad = majorCode4;
|
|
|
json.mc6 = majorCode6;
|
|
|
json.mn6 = majorName6;
|
|
|
json.lCN = circleCheck[(volumeData?.lang=="中文")?1:0];
|