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
linweijiong
jinfa-platform
Commits
45967a9f
Commit
45967a9f
authored
Sep 23, 2020
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完善代码
parent
9c488c57
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
12 deletions
+18
-12
addMember.tsx
src/pages/member/memberImport/addMember.tsx
+2
-2
frozen.tsx
src/pages/member/memberMaintain/frozen.tsx
+5
-2
maintainDetail.tsx
src/pages/member/memberMaintain/maintainDetail.tsx
+6
-4
auditPr2.tsx
src/pages/member/memberPr2/auditPr2.tsx
+0
-1
index.tsx
src/pages/member/memberQuery/detailed/index.tsx
+5
-3
No files found.
src/pages/member/memberImport/addMember.tsx
View file @
45967a9f
...
...
@@ -246,7 +246,7 @@ const AddMember: React.FC<any> = props => {
return
{};
};
const
use
AsyncLinkageEffect
=
()
=>
{
const
use
BusinessEffects
=
()
=>
{
const
linkage
=
useLinkageUtils
();
// 间接触发根据会员类型
...
...
@@ -421,7 +421,7 @@ const AddMember: React.FC<any> = props => {
getPageitemsBasic
,
);
use
AsyncLinkageEffect
();
use
BusinessEffects
();
onFormInputChange$
().
subscribe
(()
=>
{
if
(
!
unsaved
)
{
...
...
src/pages/member/memberMaintain/frozen.tsx
View file @
45967a9f
...
...
@@ -14,13 +14,13 @@ import {
MEMBER_OUTER_STATUS
,
}
from
'@/constants'
;
import
NiceForm
from
'@/components/NiceForm'
;
import
AvatarWrap
from
'@/components/AvatarWrap'
;
import
{
auditModalSchema
}
from
'./schema'
;
import
{
MEMBER_STATUS_TAG_MAP
,
MEMBER_INNER_STATUS_BADGE_COLOR
,
MEMBER_OUTER_STATUS_TYPE
,
}
from
'../constant'
;
import
HeadInfo
from
'../components/HeadInfo'
;
import
AuditProcess
from
'../components/AuditProcess'
;
import
BasicInfo
from
'../components/BasicInfo'
;
import
StatusTag
from
'../components/StatusTag'
;
...
...
@@ -84,11 +84,14 @@ const Frozen: React.FC<{}> = () => {
style=
{
{
padding
:
'0'
}
}
onBack=
{
()
=>
history
.
goBack
()
}
title=
{
<
HeadInfo
<
AvatarWrap
info=
{
{
name
:
basicInfo
?.
name
,
level
:
1
,
}
}
extra=
{
(
<
span
style=
{
{
fontSize
:
12
,
fontWeight
:
'normal'
}
}
>
{
basicInfo
?.
levelTag
}
</
span
>
)
}
/>
}
extra=
{
(
...
...
src/pages/member/memberMaintain/maintainDetail.tsx
View file @
45967a9f
...
...
@@ -15,8 +15,8 @@ import {
MEMBER_TYPE_CHANNEL_INDIVIDUAL
,
}
from
'@/constants'
;
import
NiceForm
from
'@/components/NiceForm'
;
import
AvatarWrap
from
'@/components/AvatarWrap'
;
import
{
auditModalSchema
}
from
'./schema'
;
import
HeadInfo
from
'../components/HeadInfo'
;
import
AuditProcess
from
'../components/AuditProcess'
;
import
BasicInfo
from
'../components/BasicInfo'
;
import
StatusTag
from
'../components/StatusTag'
;
...
...
@@ -60,7 +60,7 @@ const MaintainDetail: React.FC<{}> = () => {
remark
:
values
.
remark
||
''
,
}).
then
(
res
=>
{
if
(
res
.
code
===
1000
)
{
this
.
getDetailed
();
getDetailed
();
}
});
};
...
...
@@ -74,11 +74,13 @@ const MaintainDetail: React.FC<{}> = () => {
style=
{
{
padding
:
'0'
}
}
onBack=
{
()
=>
history
.
goBack
()
}
title=
{
<
HeadInfo
<
AvatarWrap
info=
{
{
name
:
detailed
?.
name
,
level
:
1
,
}
}
extra=
{
(
<
span
style=
{
{
fontSize
:
12
,
fontWeight
:
'normal'
}
}
>
{
detailed
?.
levelTag
}
</
span
>
)
}
/>
}
extra=
{
(
...
...
src/pages/member/memberPr2/auditPr2.tsx
View file @
45967a9f
...
...
@@ -19,7 +19,6 @@ import NiceForm from '@/components/NiceForm';
import
AvatarWrap
from
'@/components/AvatarWrap'
;
import
{
MEMBER_INNER_STATUS_BADGE_COLOR
,
MEMBER_STATUS_TAG_MAP
,
MEMBER_OUTER_STATUS_TYPE
}
from
'../constant'
;
import
{
auditModalSchema
}
from
'../schema/auditSchema'
;
import
HeadInfo
from
'../components/HeadInfo'
;
import
AuditProcess
from
'../components/AuditProcess'
;
import
BasicInfo
from
'../components/BasicInfo'
;
import
StatusTag
from
'../components/StatusTag'
;
...
...
src/pages/member/memberQuery/detailed/index.tsx
View file @
45967a9f
...
...
@@ -7,11 +7,11 @@ import { usePageStatus } from '@/hooks/usePageStatus';
import
{
PublicApi
}
from
'@/services/api'
;
import
{
GetMemberAbilityInfoDetailBasicResponse
}
from
'@/services/MemberApi'
;
import
{
IMemberModule
}
from
'@/module/memberModule'
;
import
AvatarWrap
from
'@/components/AvatarWrap'
;
import
{
MEMBER_STATUS_TAG_MAP
,
MEMBER_OUTER_STATUS_TYPE
,
}
from
'../../constant'
;
import
HeadInfo
from
'../../components/HeadInfo'
;
import
StatusTag
from
'../../components/StatusTag'
;
import
styles
from
'./index.less'
;
...
...
@@ -120,11 +120,13 @@ const MemberQueryDetailed: React.FC<QueryProps> = props => {
style=
{
{
padding
:
'0'
}
}
onBack=
{
()
=>
history
.
goBack
()
}
title=
{
<
HeadInfo
<
AvatarWrap
info=
{
{
name
:
basicInfo
?.
name
,
level
:
1
,
}
}
extra=
{
(
<
span
style=
{
{
fontSize
:
12
,
fontWeight
:
'normal'
}
}
>
{
basicInfo
?.
levelTag
}
</
span
>
)
}
/>
}
>
...
...
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