Commit f4052154 by chenjinjing

no message

parent 8fdc68d0
......@@ -238,7 +238,7 @@ export async function individualMemberDetails({userId}) {
/**
* 会员注册【个人会员】【流程一】success
* @param secureArgs
* @param form
*/
export async function memberRegister1({form}) {
let {loginId, mail, pwd, confirmation, phone, codeNum} = form;
......@@ -279,9 +279,9 @@ export async function individualMemberDetails({userId}) {
/**
* 个人入会流程2
* 会员注册【个人会员】【流程2】success
* @param userId
* @param secureArgs
* @param form
* @returns
*/
export async function memberRegister2({form, userId}) {
......@@ -296,12 +296,13 @@ export async function memberRegister2({form, userId}) {
eccEnumValue(EccFuncName, '专业类别', PROFCATEGORY, form.profCategory);
eccEnumValue(EccFuncName, '会员等级职务', MEMBERLEVEL, form.memberLevel);
form.registerFlow = REGISTERFLOW.个人会员注册2; //todo 审核成功后修改
form.registerFlow = REGISTERFLOW.完成第二步;
await updateOneData(TABLEENUM.用户表, {userId}, form);
/**用户提交注册申请,等待审核 */
let approvalHistoryInfo = await find(TABLEENUM.审批历史表, {userId});
let operationBehavior;
/**判断 */
if(approvalHistoryInfo.length>1) operationBehavior = OPERATIONREHAVIOR.重新提交;
else operationBehavior = OPERATIONREHAVIOR.用户提交;
......
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