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
7626ab73
Commit
7626ab73
authored
Dec 15, 2020
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 会员模块小bug
parent
57507249
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
9 additions
and
18 deletions
+9
-18
EditableCellTable.tsx
src/components/PolymericTable/EditableCellTable.tsx
+1
-1
index.tsx
src/pages/member/components/SincerityInfo/index.tsx
+1
-5
index.tsx
src/pages/member/memberLevel/index.tsx
+0
-4
index.tsx
src/pages/member/memberLevel/schema/index.tsx
+2
-1
index.tsx
src/pages/member/memberPr1/index.tsx
+1
-1
index.tsx
src/pages/member/memberPr2/index.tsx
+1
-1
index.tsx
src/pages/member/memberPrConfirm/index.tsx
+1
-1
index.tsx
src/pages/member/memberPrSubmit/index.tsx
+1
-1
index.tsx
src/pages/member/memberUpgradeRule/index.tsx
+1
-3
No files found.
src/components/PolymericTable/EditableCellTable.tsx
View file @
7626ab73
...
...
@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2020-08-20 16:15:59
* @LastEditors: XieZhiXiong
* @LastEditTime: 2020-12-15 1
4:27:38
* @LastEditTime: 2020-12-15 1
6:45:41
* @Description: 基于 NormalTable 简单的可编辑列 Table
*/
import
React
,
{
useContext
,
useState
,
useEffect
,
useRef
}
from
'react'
;
...
...
src/pages/member/components/SincerityInfo/index.tsx
View file @
7626ab73
...
...
@@ -286,10 +286,6 @@ const SincerityInfo: React.FC<SincerityInfoProps> = ({
dataIndex
:
'product'
,
align
:
'center'
,
ellipsis
:
true
,
render
:
text
=>
{
const
product
=
isJSONStr
(
text
)
||
{};
return
product
.
productName
||
''
;
},
},
{
title
:
'评价方'
,
...
...
@@ -303,7 +299,7 @@ const SincerityInfo: React.FC<SincerityInfoProps> = ({
},
{
title
:
'订单号'
,
dataIndex
:
'
remark
'
,
dataIndex
:
'
orderNo
'
,
align
:
'center'
,
},
];
...
...
src/pages/member/memberLevel/index.tsx
View file @
7626ab73
...
...
@@ -121,12 +121,8 @@ const MemberLevel: React.FC<[]> = () => {
PublicApi
.
postMemberAbilityLevelUpdatestatus
({
id
:
record
.
id
,
status
:
disabled
?
1
:
0
,
},
{
ctlType
:
'none'
,
}).
then
(
res
=>
{
if
(
res
.
code
===
1000
)
{
const
msg
=
disabled
?
'启用成功'
:
'禁用成功'
message
.
success
(
msg
);
ref
.
current
.
reload
();
}
});
...
...
src/pages/member/memberLevel/schema/index.tsx
View file @
7626ab73
...
...
@@ -19,7 +19,8 @@ export const levelSchema: ISchema = {
type
:
'string'
,
'x-component'
:
'Search'
,
'x-component-props'
:
{
placeholder
:
'搜索'
,
placeholder
:
'搜索'
,
tip
:
'输入 会员等级标签 进行搜索'
,
},
},
},
...
...
src/pages/member/memberPr1/index.tsx
View file @
7626ab73
...
...
@@ -203,7 +203,7 @@ const MemberPr1: React.FC<{}> = props => {
memberTypeId
:
memberTypes
.
map
(
item
=>
({
label
:
item
.
memberTypeName
,
value
:
item
.
memberTypeId
})),
status
:
status
.
map
(
item
=>
({
label
:
item
.
text
,
value
:
item
.
id
})),
roleId
:
roles
.
map
(
item
=>
({
label
:
item
.
roleName
,
value
:
item
.
roleId
})),
level
:
levels
.
map
(
item
=>
({
label
:
item
.
level
,
value
:
item
.
levelTag
})),
level
:
levels
.
map
(
item
=>
({
label
:
item
.
level
Tag
,
value
:
item
.
level
})),
source
:
sources
.
map
(
item
=>
({
label
:
item
.
text
,
value
:
item
.
id
})),
};
}
...
...
src/pages/member/memberPr2/index.tsx
View file @
7626ab73
...
...
@@ -203,7 +203,7 @@ const MemberPr2: React.FC<{}> = props => {
memberTypeId
:
memberTypes
.
map
(
item
=>
({
label
:
item
.
memberTypeName
,
value
:
item
.
memberTypeId
})),
status
:
status
.
map
(
item
=>
({
label
:
item
.
text
,
value
:
item
.
id
})),
roleId
:
roles
.
map
(
item
=>
({
label
:
item
.
roleName
,
value
:
item
.
roleId
})),
level
:
levels
.
map
(
item
=>
({
label
:
item
.
level
,
value
:
item
.
levelTag
})),
level
:
levels
.
map
(
item
=>
({
label
:
item
.
level
Tag
,
value
:
item
.
level
})),
source
:
sources
.
map
(
item
=>
({
label
:
item
.
text
,
value
:
item
.
id
})),
};
}
...
...
src/pages/member/memberPrConfirm/index.tsx
View file @
7626ab73
...
...
@@ -209,7 +209,7 @@ const MemberPrConfirm: React.FC<{}> = props => {
memberTypeId
:
memberTypes
.
map
(
item
=>
({
label
:
item
.
memberTypeName
,
value
:
item
.
memberTypeId
})),
status
:
status
.
map
(
item
=>
({
label
:
item
.
text
,
value
:
item
.
id
})),
roleId
:
roles
.
map
(
item
=>
({
label
:
item
.
roleName
,
value
:
item
.
roleId
})),
level
:
levels
.
map
(
item
=>
({
label
:
item
.
level
,
value
:
item
.
levelTag
})),
level
:
levels
.
map
(
item
=>
({
label
:
item
.
level
Tag
,
value
:
item
.
level
})),
source
:
sources
.
map
(
item
=>
({
label
:
item
.
text
,
value
:
item
.
id
})),
};
}
...
...
src/pages/member/memberPrSubmit/index.tsx
View file @
7626ab73
...
...
@@ -203,7 +203,7 @@ const MemberPrSubmit: React.FC<{}> = props => {
memberTypeId
:
memberTypes
.
map
(
item
=>
({
label
:
item
.
memberTypeName
,
value
:
item
.
memberTypeId
})),
status
:
status
.
map
(
item
=>
({
label
:
item
.
text
,
value
:
item
.
id
})),
roleId
:
roles
.
map
(
item
=>
({
label
:
item
.
roleName
,
value
:
item
.
roleId
})),
level
:
levels
.
map
(
item
=>
({
label
:
item
.
level
,
value
:
item
.
levelTag
})),
level
:
levels
.
map
(
item
=>
({
label
:
item
.
level
Tag
,
value
:
item
.
level
})),
source
:
sources
.
map
(
item
=>
({
label
:
item
.
text
,
value
:
item
.
id
})),
};
}
...
...
src/pages/member/memberUpgradeRule/index.tsx
View file @
7626ab73
...
...
@@ -56,6 +56,7 @@ const MemberUpgradeRule: React.FC<[]> = () => {
dataIndex
:
'remark'
,
align
:
'center'
,
ellipsis
:
true
,
render
:
text
=>
<
span
title=
{
text
}
>
{
text
}
</
span
>,
},
{
title
:
'适用会员等级类型'
,
...
...
@@ -111,12 +112,9 @@ const MemberUpgradeRule: React.FC<[]> = () => {
setSubmitLoading
(
true
);
const
res
=
await
PublicApi
.
postMemberAbilityLevelRuleUpdatescore
({
items
:
payload
,
},
{
ctlType
:
'none'
,
});
if
(
res
.
code
===
1000
)
{
message
.
success
(
'保存成功'
);
getRuleList
({
current
:
page
,
pageSize
:
size
,
...
...
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