Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-admin
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-admin
Commits
b604b630
Commit
b604b630
authored
Nov 26, 2020
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixbug
parent
22280e63
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
index.tsx
src/pages/member/components/SincerityInfo/index.tsx
+7
-0
index.ts
src/utils/index.ts
+3
-1
No files found.
src/pages/member/components/SincerityInfo/index.tsx
View file @
b604b630
...
@@ -15,6 +15,7 @@ import {
...
@@ -15,6 +15,7 @@ import {
MehFilled
,
MehFilled
,
FrownFilled
,
FrownFilled
,
}
from
'@ant-design/icons'
;
}
from
'@ant-design/icons'
;
import
{
isJSONStr
}
from
'@/utils'
;
import
PolymericTable
from
'@/components/PolymericTable'
;
import
PolymericTable
from
'@/components/PolymericTable'
;
import
{
EditableColumns
}
from
'@/components/PolymericTable/interface'
;
import
{
EditableColumns
}
from
'@/components/PolymericTable/interface'
;
import
{
Pie
}
from
'@/components/Charts'
;
import
{
Pie
}
from
'@/components/Charts'
;
...
@@ -298,11 +299,17 @@ const SincerityInfo: React.FC<SincerityInfoProps> = ({
...
@@ -298,11 +299,17 @@ const SincerityInfo: React.FC<SincerityInfoProps> = ({
title
:
'评价内容'
,
title
:
'评价内容'
,
dataIndex
:
'comment'
,
dataIndex
:
'comment'
,
align
:
'center'
,
align
:
'center'
,
ellipsis
:
true
,
},
},
{
{
title
:
'交易商品'
,
title
:
'交易商品'
,
dataIndex
:
'product'
,
dataIndex
:
'product'
,
align
:
'center'
,
align
:
'center'
,
ellipsis
:
true
,
render
:
text
=>
{
const
product
=
isJSONStr
(
text
)
||
{};
return
product
.
productName
||
''
;
},
},
},
{
{
title
:
'评价方'
,
title
:
'评价方'
,
...
...
src/utils/index.ts
View file @
b604b630
...
@@ -291,7 +291,9 @@ export interface FileData {
...
@@ -291,7 +291,9 @@ export interface FileData {
url
:
string
;
url
:
string
;
};
};
// 初始化 Upload 数据
/**
* 初始化 Upload 数据
*/
export
function
normalizeFiledata
<
T
>
(
url
:
T
):
T
export
function
normalizeFiledata
<
T
>
(
url
:
T
):
T
export
function
normalizeFiledata
(
url
:
string
):
FileData
export
function
normalizeFiledata
(
url
:
string
):
FileData
export
function
normalizeFiledata
(
url
:
any
):
any
{
export
function
normalizeFiledata
(
url
:
any
):
any
{
...
...
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