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
f4052154
Commit
f4052154
authored
Mar 16, 2024
by
chenjinjing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
8fdc68d0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
member.ts
src/biz/member/member.ts
+5
-4
No files found.
src/biz/member/member.ts
View file @
f4052154
...
@@ -238,7 +238,7 @@ export async function individualMemberDetails({userId}) {
...
@@ -238,7 +238,7 @@ export async function individualMemberDetails({userId}) {
/**
/**
* 会员注册【个人会员】【流程一】success
* 会员注册【个人会员】【流程一】success
* @param
secureArgs
* @param
form
*/
*/
export
async
function
memberRegister1
({
form
})
{
export
async
function
memberRegister1
({
form
})
{
let
{
loginId
,
mail
,
pwd
,
confirmation
,
phone
,
codeNum
}
=
form
;
let
{
loginId
,
mail
,
pwd
,
confirmation
,
phone
,
codeNum
}
=
form
;
...
@@ -279,9 +279,9 @@ export async function individualMemberDetails({userId}) {
...
@@ -279,9 +279,9 @@ export async function individualMemberDetails({userId}) {
/**
/**
*
个人入会流程2
*
会员注册【个人会员】【流程2】success
* @param userId
* @param userId
* @param
secureArgs
* @param
form
* @returns
* @returns
*/
*/
export
async
function
memberRegister2
({
form
,
userId
})
{
export
async
function
memberRegister2
({
form
,
userId
})
{
...
@@ -296,12 +296,13 @@ export async function memberRegister2({form, userId}) {
...
@@ -296,12 +296,13 @@ export async function memberRegister2({form, userId}) {
eccEnumValue
(
EccFuncName
,
'专业类别'
,
PROFCATEGORY
,
form
.
profCategory
);
eccEnumValue
(
EccFuncName
,
'专业类别'
,
PROFCATEGORY
,
form
.
profCategory
);
eccEnumValue
(
EccFuncName
,
'会员等级职务'
,
MEMBERLEVEL
,
form
.
memberLevel
);
eccEnumValue
(
EccFuncName
,
'会员等级职务'
,
MEMBERLEVEL
,
form
.
memberLevel
);
form
.
registerFlow
=
REGISTERFLOW
.
个人会员注册
2
;
//todo 审核成功后修改
form
.
registerFlow
=
REGISTERFLOW
.
完成第二步
;
await
updateOneData
(
TABLEENUM
.
用户表
,
{
userId
},
form
);
await
updateOneData
(
TABLEENUM
.
用户表
,
{
userId
},
form
);
/**用户提交注册申请,等待审核 */
/**用户提交注册申请,等待审核 */
let
approvalHistoryInfo
=
await
find
(
TABLEENUM
.
审批历史表
,
{
userId
});
let
approvalHistoryInfo
=
await
find
(
TABLEENUM
.
审批历史表
,
{
userId
});
let
operationBehavior
;
let
operationBehavior
;
/**判断 */
if
(
approvalHistoryInfo
.
length
>
1
)
operationBehavior
=
OPERATIONREHAVIOR
.
重新提交
;
if
(
approvalHistoryInfo
.
length
>
1
)
operationBehavior
=
OPERATIONREHAVIOR
.
重新提交
;
else
operationBehavior
=
OPERATIONREHAVIOR
.
用户提交
;
else
operationBehavior
=
OPERATIONREHAVIOR
.
用户提交
;
...
...
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