Commit 9f437ae7 by chenjinjing

身份证改成正反面两个字段

parent a9aeaa95
...@@ -56,7 +56,7 @@ export async function getMemberData({userId}) { ...@@ -56,7 +56,7 @@ export async function getMemberData({userId}) {
baseSelectFiles = ["userId", "name", "sex", "nation", "birth", "documentType", "documentId", "sheng", "shi", "qu", "phone", "mail", baseSelectFiles = ["userId", "name", "sex", "nation", "birth", "documentType", "documentId", "sheng", "shi", "qu", "phone", "mail",
"addres", "photoUrl", "education", "uscc", "unitName"]; "addres", "photoUrl", "education", "uscc", "unitName"];
majorSelectFiles = ["unitName", "duties", "workTitle", "profCategory", "studyResume", "workResume", "profAchievement", "otherEMP", "otherPROF"]; majorSelectFiles = ["unitName", "duties", "workTitle", "profCategory", "studyResume", "workResume", "profAchievement", "otherEMP", "otherPROF"];
let otherAttachmentFiles = ["cardUrl", "academicCERTUrl", "professionalCERTUrl", "auxiliaryMaterial"]; let otherAttachmentFiles = ["cardUrlJust", "cardUrlBack", "academicCERTUrl", "professionalCERTUrl", "auxiliaryMaterial"];
otherAttachment = extractData(oldInfo, otherAttachmentFiles); otherAttachment = extractData(oldInfo, otherAttachmentFiles);
} }
......
...@@ -234,7 +234,7 @@ export async function individualMemberList({name, documentId, phone, individualM ...@@ -234,7 +234,7 @@ export async function individualMemberList({name, documentId, phone, individualM
* @returns {顶部数据, 基本信息, 专业信息, 其他附件} * @returns {顶部数据, 基本信息, 专业信息, 其他附件}
* 基本信息: "name":真实姓名, "sex":性别, "nation":民族, "birth":出身年月, "documentType":证件类型, "documentId":证件号码, "sheng":省, "shi":市, "qu":区, "phone":手机号码,"mail":电子邮箱,"addres":通信地址, "photoUrl":蓝底证件照, "education":学历, "uscc":原社会信用代码, "unitName":原发票抬头, "newUscc":新社会信用代码, "newUnitName":新发票抬头 * 基本信息: "name":真实姓名, "sex":性别, "nation":民族, "birth":出身年月, "documentType":证件类型, "documentId":证件号码, "sheng":省, "shi":市, "qu":区, "phone":手机号码,"mail":电子邮箱,"addres":通信地址, "photoUrl":蓝底证件照, "education":学历, "uscc":原社会信用代码, "unitName":原发票抬头, "newUscc":新社会信用代码, "newUnitName":新发票抬头
* 专业信息: "unitName":工作单位, "duties":职务, "workTitle":职称, "profCategory":专业类别, "studyResume":学习简历, "workResume":工作简历, "profAchievement":科研成果, "otherEMP":其他组织任职情况, "otherPROF":其他情况 * 专业信息: "unitName":工作单位, "duties":职务, "workTitle":职称, "profCategory":专业类别, "studyResume":学习简历, "workResume":工作简历, "profAchievement":科研成果, "otherEMP":其他组织任职情况, "otherPROF":其他情况
* 其他附件: "cardUrl":身份证正反面图片地址, "academicCERTUrl":学历证明图片地址, "professionalCERTUrl":工作证明图片地址, "auxiliaryMaterial":其他辅助材料 * 其他附件: "cardUrlJust":身份证正面图片地址, "cardUrlBack":身份证反面图片地址, "academicCERTUrl":学历证明图片地址, "professionalCERTUrl":工作证明图片地址, "auxiliaryMaterial":其他辅助材料
*/ */
const TopConfig = ["session", "memberLevel"]; const TopConfig = ["session", "memberLevel"];
...@@ -264,7 +264,7 @@ export async function individualMemberDetails({id}) { ...@@ -264,7 +264,7 @@ export async function individualMemberDetails({id}) {
let specialityInfo:any = extractData(oldInfo, SpecialityConfig); let specialityInfo:any = extractData(oldInfo, SpecialityConfig);
// basicInfo.profCategory = changeEnumValue(PROFCATEGORY, basicInfo.profCategory); // basicInfo.profCategory = changeEnumValue(PROFCATEGORY, basicInfo.profCategory);
let otherAttachment:any = extractData(oldInfo, ["cardUrl", "academicCERTUrl", "professionalCERTUrl", "auxiliaryMaterial"]); let otherAttachment:any = extractData(oldInfo, ["cardUrlJust", "cardUrlBack", "academicCERTUrl", "professionalCERTUrl", "auxiliaryMaterial"]);
return {topInfo, basicInfo, specialityInfo, otherAttachment}; return {topInfo, basicInfo, specialityInfo, otherAttachment};
} }
......
...@@ -368,7 +368,7 @@ export async function individualMemberDetails({id}) { ...@@ -368,7 +368,7 @@ export async function individualMemberDetails({id}) {
let specialityInfo:any = extractData(oldInfo, SpecialityConfig); let specialityInfo:any = extractData(oldInfo, SpecialityConfig);
basicInfo.profCategory = changeEnumValue(PROFCATEGORY, basicInfo.profCategory); basicInfo.profCategory = changeEnumValue(PROFCATEGORY, basicInfo.profCategory);
let otherAttachment:any = extractData(oldInfo, ["cardUrl", "academicCERTUrl", "professionalCERTUrl", "auxiliaryMaterial"]); let otherAttachment:any = extractData(oldInfo, ["cardUrlJust", "cardUrlBack", "academicCERTUrl", "professionalCERTUrl", "auxiliaryMaterial"]);
return {basicInfo, specialityInfo, otherAttachment}; return {basicInfo, specialityInfo, otherAttachment};
} }
......
...@@ -391,7 +391,8 @@ const ModelArray = [ ...@@ -391,7 +391,8 @@ const ModelArray = [
otherPROF:'String',//其他专业情况 otherPROF:'String',//其他专业情况
profCategory:{type:'[Number]', default:[]},//专业类别 枚举PROFCATEGORY profCategory:{type:'[Number]', default:[]},//专业类别 枚举PROFCATEGORY
/**第二步流程表单(个人)【其他附件】 */ /**第二步流程表单(个人)【其他附件】 */
cardUrl:{type:'[String]', default:[]},//身份证正反面图片地址 cardUrlJust:'String',//身份证正面图片地址
cardUrlBack:'String',//身份证反面图片地址
academicCERTUrl:'String',//学历证明图片地址 academicCERTUrl:'String',//学历证明图片地址
professionalCERTUrl:'String',//工作证明图片地址 professionalCERTUrl:'String',//工作证明图片地址
auxiliaryMaterial:{type:'[String]', default:[]},//其他辅助材料 auxiliaryMaterial:{type:'[String]', default:[]},//其他辅助材料
......
...@@ -31,9 +31,8 @@ export async function test1() { ...@@ -31,9 +31,8 @@ export async function test1() {
"memberState" : 1, "memberState" : 1,
"memberLevel" : 1, "memberLevel" : 1,
"isGracePeriod" : 0, "isGracePeriod" : 0,
"cardUrl" : [ "cardUrlJust" : "http://192.168.0.105:40012/whb/files/12/vue2024-03-22_16-11-873169.png",
"http://192.168.0.105:40012/whb/files/12/vue2024-03-22_16-11-873169.png" "cardUrlBack" : "http://192.168.0.105:40012/whb/files/12/vue2024-03-22_16-11-873169.png",
],
"auxiliaryMaterial" : [], "auxiliaryMaterial" : [],
"userId" : userId, "userId" : userId,
"memberType" : 1, "memberType" : 1,
...@@ -94,9 +93,8 @@ export async function initOrderData() { ...@@ -94,9 +93,8 @@ export async function initOrderData() {
"memberState" : 1, "memberState" : 1,
"memberLevel" : 1, "memberLevel" : 1,
"isGracePeriod" : 0, "isGracePeriod" : 0,
"cardUrl" : [ "cardUrlJust" : "http://192.168.0.105:40012/whb/files/12/vue2024-03-22_16-11-873169.png",
"http://192.168.0.105:40012/whb/files/12/vue2024-03-22_16-11-873169.png" "cardUrlBack" : "http://192.168.0.105:40012/whb/files/12/vue2024-03-22_16-11-873169.png",
],
"auxiliaryMaterial" : [], "auxiliaryMaterial" : [],
"userId" : userId, "userId" : userId,
"memberType" : 1, "memberType" : 1,
......
...@@ -60,7 +60,8 @@ export const Config = { ...@@ -60,7 +60,8 @@ export const Config = {
profAchievement:{type:'String', desc:'专业成果'}, profAchievement:{type:'String', desc:'专业成果'},
otherEMP:{type:'String', desc:'在其他社会组织任职情况'}, otherEMP:{type:'String', desc:'在其他社会组织任职情况'},
otherPROF:{type:'String', desc:'其他与本学会专业有关的情况'}, otherPROF:{type:'String', desc:'其他与本学会专业有关的情况'},
cardUrl:{type:'[String]', desc:'个人身份证扫描件'}, cardUrlJust:{type:'String', desc:'个人身份证扫描件正面'},
cardUrlBack:{type:'String', desc:'个人身份证扫描件反面'},
academicCERTUrl:{type:'String', desc:'个人学历证明扫描件'}, academicCERTUrl:{type:'String', desc:'个人学历证明扫描件'},
professionalCERTUrl:{type:'String', desc:'个人工作证明扫描件'}, professionalCERTUrl:{type:'String', desc:'个人工作证明扫描件'},
auxiliaryMaterial:{type:'[String]', desc:'论文发表等证明工作成果或成绩的材料'}, auxiliaryMaterial:{type:'[String]', desc:'论文发表等证明工作成果或成绩的材料'},
...@@ -391,7 +392,8 @@ export const Config = { ...@@ -391,7 +392,8 @@ export const Config = {
otherEMP:{type:'String', desc:'其他组织任职情况'}, otherEMP:{type:'String', desc:'其他组织任职情况'},
otherPROF:{type:'String', desc:'其他情况'}, otherPROF:{type:'String', desc:'其他情况'},
/**其他附件 */ /**其他附件 */
cardUrl:{type:'[String]', desc:'个人身份扫描件'}, cardUrlJust:{type:'String', desc:'个人身份证扫描件正面'},
cardUrlBack:{type:'String', desc:'个人身份证扫描件反面'},
academicCERTUrl:{type:'String', desc:'个人学历证明扫描件'}, academicCERTUrl:{type:'String', desc:'个人学历证明扫描件'},
professionalCERTUrl:{type:'String', desc:'个人工作证明扫描件'}, professionalCERTUrl:{type:'String', desc:'个人工作证明扫描件'},
auxiliaryMaterial:{type:'[String]', desc:'论文发表或成绩材料'}, auxiliaryMaterial:{type:'[String]', desc:'论文发表或成绩材料'},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment