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
a3f042fd
Commit
a3f042fd
authored
May 13, 2024
by
chenjinjing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
bf6b6bb5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
examine.ts
src/biz/member/examine.ts
+3
-3
member.ts
src/biz/member/member.ts
+2
-2
No files found.
src/biz/member/examine.ts
View file @
a3f042fd
...
...
@@ -46,7 +46,7 @@ export async function pendingReviewList({unitName, joinTime, memberType, sheng,
if
(
shi
)
selectParam
.
shi
=
shi
;
if
(
qu
)
selectParam
.
qu
=
qu
;
const
SelectFiles
=
[
"userId"
,
"userRegisterState"
,
"unitName"
,
"loginId"
,
"phone"
,
"askForTime"
,
"memberLevel"
,
"sheng"
,
"shi"
,
"qu"
,
"memberType"
];
const
SelectFiles
=
[
"userId"
,
"userRegisterState"
,
"unitName"
,
"loginId"
,
"phone"
,
"askForTime"
,
"memberLevel"
,
"sheng"
,
"shi"
,
"qu"
,
"memberType"
,
"mail"
];
let
dbList
=
await
findToPage
(
TABLEENUM
.
用户表
,
selectParam
,
SelectFiles
,
pageNumber
);
let
dataCount
=
await
findCount
(
TABLEENUM
.
用户表
,
selectParam
);
...
...
@@ -208,8 +208,8 @@ export async function outPutPendingReviewList({memberType}) {
let
selectTitle
=
[];
let
selectConf
=
[];
if
(
memberType
==
MEMBERTYPE
.
个人会员
)
{
selectTitle
=
[
"入会时间"
,
"是否是导入用户"
,
"会员状态"
,
"证书类型"
,
"个人会员类型"
,
"会员等级/职务"
,
"是否处于宽限期"
,
"用户名"
,
"联系电话"
,
"邮箱"
,
"真实姓名"
,
"性别"
,
"证件号码"
,
"证件类型"
,
"出生年月"
,
"民族"
,
"省"
,
"市"
,
"区"
,
"通信地址"
,
"学历"
,
"职务"
,
"职称"
,
"学习简历"
,
"工作简历"
,
"专业成果/教研成果"
,
"其他任职情况"
,
"其他专业情况"
,
"专业类别"
];
selectConf
=
[
"joinTime"
,
"isInput"
,
"memberState"
,
"certificateType"
,
"individualMemberType"
,
"memberLevel"
,
"isGracePeriod"
,
"loginId"
,
"phone"
,
"mail"
,
"name"
,
"sex"
,
"documentId"
,
"documentType"
,
"birth"
,
"nation"
,
"sheng"
,
"shi"
,
"qu"
,
"addres"
,
"education"
,
"duties"
,
"workTitle"
,
"studyResume"
,
"workResume"
,
"profAchievement"
,
"otherEMP"
,
"otherPROF"
,
"profCategory"
];
selectTitle
=
[
"入会时间"
,
"是否是导入用户"
,
"会员状态"
,
"证书类型"
,
"个人会员类型"
,
"会员等级/职务"
,
"是否处于宽限期"
,
"用户名"
,
"联系电话"
,
"邮箱"
,
"真实姓名"
,
"性别"
,
"证件号码"
,
"证件类型"
,
"出生年月"
,
"民族"
,
"省"
,
"市"
,
"区"
,
"通信地址"
,
"学历"
,
"职务"
,
"职称"
,
"学习简历"
,
"工作简历"
,
"专业成果/教研成果"
,
"其他任职情况"
,
"其他专业情况"
,
"专业类别"
,
"所在单位"
];
selectConf
=
[
"joinTime"
,
"isInput"
,
"memberState"
,
"certificateType"
,
"individualMemberType"
,
"memberLevel"
,
"isGracePeriod"
,
"loginId"
,
"phone"
,
"mail"
,
"name"
,
"sex"
,
"documentId"
,
"documentType"
,
"birth"
,
"nation"
,
"sheng"
,
"shi"
,
"qu"
,
"addres"
,
"education"
,
"duties"
,
"workTitle"
,
"studyResume"
,
"workResume"
,
"profAchievement"
,
"otherEMP"
,
"otherPROF"
,
"profCategory"
,
"unitName"
];
selectParam
[
"$or"
]
=
[
{
memberType
:
MEMBERTYPE
.
个人会员
,
userRegisterState
:
USERREGISTERSTATE
.
待审核
,
registerFlow
:
REGISTERFLOW
.
完成第二步
},
{
memberType
:
MEMBERTYPE
.
个人会员
,
userRegisterState
:
USERREGISTERSTATE
.
驳回修改
,
registerFlow
:
REGISTERFLOW
.
完成第一步
},
...
...
src/biz/member/member.ts
View file @
a3f042fd
...
...
@@ -338,9 +338,9 @@ export async function outPutIndividualMembers({}) {
isFirstPay
:
true
};
let
selectTitle
=
[
"入会时间"
,
"是否是导入用户"
,
"会员状态"
,
"证书类型"
,
"个人会员类型"
,
"会员等级/职务"
,
"是否处于宽限期"
,
"用户名"
,
"联系电话"
,
"邮箱"
,
"真实姓名"
,
"性别"
,
"证件号码"
,
"证件类型"
,
"出生年月"
,
"民族"
,
"省"
,
"市"
,
"区"
,
"通信地址"
,
"学历"
,
"职务"
,
"职称"
,
"学习简历"
,
"工作简历"
,
"专业成果/教研成果"
,
"其他任职情况"
,
"其他专业情况"
,
"专业类别"
];
"证件类型"
,
"出生年月"
,
"民族"
,
"省"
,
"市"
,
"区"
,
"通信地址"
,
"学历"
,
"职务"
,
"职称"
,
"学习简历"
,
"工作简历"
,
"专业成果/教研成果"
,
"其他任职情况"
,
"其他专业情况"
,
"专业类别"
,
"工作单位"
];
let
selectConf
=
[
"joinTime"
,
"isInput"
,
"memberState"
,
"certificateType"
,
"individualMemberType"
,
"memberLevel"
,
"isGracePeriod"
,
"loginId"
,
"phone"
,
"mail"
,
"name"
,
"sex"
,
"documentId"
,
"documentType"
,
"birth"
,
"nation"
,
"sheng"
,
"shi"
,
"qu"
,
"addres"
,
"education"
,
"duties"
,
"workTitle"
,
"studyResume"
,
"workResume"
,
"profAchievement"
,
"otherEMP"
,
"otherPROF"
,
"profCategory"
];
"documentType"
,
"birth"
,
"nation"
,
"sheng"
,
"shi"
,
"qu"
,
"addres"
,
"education"
,
"duties"
,
"workTitle"
,
"studyResume"
,
"workResume"
,
"profAchievement"
,
"otherEMP"
,
"otherPROF"
,
"profCategory"
,
"unitName"
];
let
dbList
=
await
find
(
TABLEENUM
.
用户表
,
selectParam
,
selectConf
);
let
timeChnageList
=
[
"joinTime"
,
"birth"
];
let
addList
=
[
"sheng"
,
"shi"
,
"qu"
];
...
...
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