Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wenHuaBu_adminServer
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
node_server
wenHuaBu_adminServer
Commits
9f437ae7
Commit
9f437ae7
authored
Apr 16, 2024
by
chenjinjing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
身份证改成正反面两个字段
parent
a9aeaa95
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
13 deletions
+14
-13
homePage.ts
src/biz/member/homePage.ts
+1
-1
member.ts
src/biz/member/member.ts
+2
-2
register.ts
src/biz/register.ts
+1
-1
model.ts
src/data/models/model.ts
+2
-1
dataScript.ts
src/dataScript.ts
+4
-6
router.ts
src/routers/member/router.ts
+4
-2
No files found.
src/biz/member/homePage.ts
View file @
9f437ae7
...
...
@@ -56,7 +56,7 @@ export async function getMemberData({userId}) {
baseSelectFiles
=
[
"userId"
,
"name"
,
"sex"
,
"nation"
,
"birth"
,
"documentType"
,
"documentId"
,
"sheng"
,
"shi"
,
"qu"
,
"phone"
,
"mail"
,
"addres"
,
"photoUrl"
,
"education"
,
"uscc"
,
"unitName"
];
majorSelectFiles
=
[
"unitName"
,
"duties"
,
"workTitle"
,
"profCategory"
,
"studyResume"
,
"workResume"
,
"profAchievement"
,
"otherEMP"
,
"otherPROF"
];
let
otherAttachmentFiles
=
[
"cardUrl"
,
"academicCERTUrl"
,
"professionalCERTUrl"
,
"auxiliaryMaterial"
];
let
otherAttachmentFiles
=
[
"cardUrl
Just"
,
"cardUrlBack
"
,
"academicCERTUrl"
,
"professionalCERTUrl"
,
"auxiliaryMaterial"
];
otherAttachment
=
extractData
(
oldInfo
,
otherAttachmentFiles
);
}
...
...
src/biz/member/member.ts
View file @
9f437ae7
...
...
@@ -234,7 +234,7 @@ export async function individualMemberList({name, documentId, phone, individualM
* @returns {顶部数据, 基本信息, 专业信息, 其他附件}
* 基本信息: "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":其他情况
* 其他附件: "cardUrl
":身份证正
反面图片地址, "academicCERTUrl":学历证明图片地址, "professionalCERTUrl":工作证明图片地址, "auxiliaryMaterial":其他辅助材料
* 其他附件: "cardUrl
Just":身份证正面图片地址, "cardUrlBack":身份证
反面图片地址, "academicCERTUrl":学历证明图片地址, "professionalCERTUrl":工作证明图片地址, "auxiliaryMaterial":其他辅助材料
*/
const
TopConfig
=
[
"session"
,
"memberLevel"
];
...
...
@@ -264,7 +264,7 @@ export async function individualMemberDetails({id}) {
let
specialityInfo
:
any
=
extractData
(
oldInfo
,
SpecialityConfig
);
// basicInfo.profCategory = changeEnumValue(PROFCATEGORY, basicInfo.profCategory);
let
otherAttachment
:
any
=
extractData
(
oldInfo
,
[
"cardUrl"
,
"academicCERTUrl"
,
"professionalCERTUrl"
,
"auxiliaryMaterial"
]);
let
otherAttachment
:
any
=
extractData
(
oldInfo
,
[
"cardUrl
Just"
,
"cardUrlBack
"
,
"academicCERTUrl"
,
"professionalCERTUrl"
,
"auxiliaryMaterial"
]);
return
{
topInfo
,
basicInfo
,
specialityInfo
,
otherAttachment
};
}
...
...
src/biz/register.ts
View file @
9f437ae7
...
...
@@ -368,7 +368,7 @@ export async function individualMemberDetails({id}) {
let
specialityInfo
:
any
=
extractData
(
oldInfo
,
SpecialityConfig
);
basicInfo
.
profCategory
=
changeEnumValue
(
PROFCATEGORY
,
basicInfo
.
profCategory
);
let
otherAttachment
:
any
=
extractData
(
oldInfo
,
[
"cardUrl"
,
"academicCERTUrl"
,
"professionalCERTUrl"
,
"auxiliaryMaterial"
]);
let
otherAttachment
:
any
=
extractData
(
oldInfo
,
[
"cardUrl
Just"
,
"cardUrlBack
"
,
"academicCERTUrl"
,
"professionalCERTUrl"
,
"auxiliaryMaterial"
]);
return
{
basicInfo
,
specialityInfo
,
otherAttachment
};
}
...
...
src/data/models/model.ts
View file @
9f437ae7
...
...
@@ -391,7 +391,8 @@ const ModelArray = [
otherPROF
:
'String'
,
//其他专业情况
profCategory
:{
type
:
'[Number]'
,
default
:[]},
//专业类别 枚举PROFCATEGORY
/**第二步流程表单(个人)【其他附件】 */
cardUrl
:{
type
:
'[String]'
,
default
:[]},
//身份证正反面图片地址
cardUrlJust
:
'String'
,
//身份证正面图片地址
cardUrlBack
:
'String'
,
//身份证反面图片地址
academicCERTUrl
:
'String'
,
//学历证明图片地址
professionalCERTUrl
:
'String'
,
//工作证明图片地址
auxiliaryMaterial
:{
type
:
'[String]'
,
default
:[]},
//其他辅助材料
...
...
src/dataScript.ts
View file @
9f437ae7
...
...
@@ -31,9 +31,8 @@ export async function test1() {
"memberState"
:
1
,
"memberLevel"
:
1
,
"isGracePeriod"
:
0
,
"cardUrl"
:
[
"http://192.168.0.105:40012/whb/files/12/vue2024-03-22_16-11-873169.png"
],
"cardUrlJust"
:
"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"
:
[],
"userId"
:
userId
,
"memberType"
:
1
,
...
...
@@ -94,9 +93,8 @@ export async function initOrderData() {
"memberState"
:
1
,
"memberLevel"
:
1
,
"isGracePeriod"
:
0
,
"cardUrl"
:
[
"http://192.168.0.105:40012/whb/files/12/vue2024-03-22_16-11-873169.png"
],
"cardUrlJust"
:
"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"
:
[],
"userId"
:
userId
,
"memberType"
:
1
,
...
...
src/routers/member/router.ts
View file @
9f437ae7
...
...
@@ -60,7 +60,8 @@ export const Config = {
profAchievement
:{
type
:
'String'
,
desc
:
'专业成果'
},
otherEMP
:{
type
:
'String'
,
desc
:
'在其他社会组织任职情况'
},
otherPROF
:{
type
:
'String'
,
desc
:
'其他与本学会专业有关的情况'
},
cardUrl
:{
type
:
'[String]'
,
desc
:
'个人身份证扫描件'
},
cardUrlJust
:{
type
:
'String'
,
desc
:
'个人身份证扫描件正面'
},
cardUrlBack
:{
type
:
'String'
,
desc
:
'个人身份证扫描件反面'
},
academicCERTUrl
:{
type
:
'String'
,
desc
:
'个人学历证明扫描件'
},
professionalCERTUrl
:{
type
:
'String'
,
desc
:
'个人工作证明扫描件'
},
auxiliaryMaterial
:{
type
:
'[String]'
,
desc
:
'论文发表等证明工作成果或成绩的材料'
},
...
...
@@ -391,7 +392,8 @@ export const Config = {
otherEMP
:{
type
:
'String'
,
desc
:
'其他组织任职情况'
},
otherPROF
:{
type
:
'String'
,
desc
:
'其他情况'
},
/**其他附件 */
cardUrl
:{
type
:
'[String]'
,
desc
:
'个人身份扫描件'
},
cardUrlJust
:{
type
:
'String'
,
desc
:
'个人身份证扫描件正面'
},
cardUrlBack
:{
type
:
'String'
,
desc
:
'个人身份证扫描件反面'
},
academicCERTUrl
:{
type
:
'String'
,
desc
:
'个人学历证明扫描件'
},
professionalCERTUrl
:{
type
:
'String'
,
desc
:
'个人工作证明扫描件'
},
auxiliaryMaterial
:{
type
:
'[String]'
,
desc
:
'论文发表或成绩材料'
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment