Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
Project
Project
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
shenshaokai
jinfa-platform
Commits
e92c4a7c
Commit
e92c4a7c
authored
Jun 07, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 变更会员信息时不展示协议
parent
952b7992
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
index.tsx
src/pages/member/memberQuery/applyMember/index.tsx
+3
-3
schema.ts
src/pages/member/memberQuery/applyMember/schema.ts
+2
-2
No files found.
src/pages/member/memberQuery/applyMember/index.tsx
View file @
e92c4a7c
...
...
@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2021-05-26 16:52:48
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-06-07 1
1:56:12
* @LastEditTime: 2021-06-07 1
2:01:36
* @Description: 申请会员
*/
import
React
,
{
useState
,
useEffect
,
useRef
}
from
'react'
;
...
...
@@ -77,13 +77,13 @@ const onStepPrevious$ = createEffectHook('onStepPrevious');
const
MemberQueryApplyMember
:
React
.
FC
=
()
=>
{
const
{
upperMemberId
,
upperRoleId
,
validateId
}
=
usePageStatus
();
const
[
ticktack
,
setTicktack
]
=
useState
(
countDownLen
);
const
[
currenStep
,
setCurrenStep
]
=
useState
(
0
);
const
[
currenStep
,
setCurrenStep
]
=
useState
(
!
validateId
?
0
:
1
);
const
[
submitLoading
,
setSubmitLoading
]
=
useState
(
false
);
const
[
unsaved
,
setUnsaved
]
=
useState
(
false
);
const
[
depositInfo
,
setDepositInfo
]
=
useState
<
GroupItem
[]
>
([]);
const
[
loading
,
setLoading
]
=
useState
(
false
);
const
stepRef
=
useRef
(
0
);
const
stepRef
=
useRef
(
!
validateId
?
0
:
1
);
// eslint-disable-next-line no-undef
let
timer
:
NodeJS
.
Timeout
|
null
=
null
;
...
...
src/pages/member/memberQuery/applyMember/schema.ts
View file @
e92c4a7c
...
...
@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2021-05-26 17:00:39
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-06-07 11:5
4:56
* @LastEditTime: 2021-06-07 11:5
8:03
* @Description:
*/
import
{
ISchema
}
from
'@formily/antd'
;
...
...
@@ -68,7 +68,7 @@ const schema = (groups: GroupItem[], validateId?: number): ISchema => {
padding
:
'12px 16px'
,
backgroundColor
:
'#FAFBFC'
,
},
current
:
'{{currenStep}}'
,
//
current: '{{currenStep}}',
dataSource
:
[
!
validateId
?
{
...
...
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