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
ff18286f
Commit
ff18286f
authored
Dec 23, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 新增 全新售后申请商品组件
parent
c7189923
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
58 additions
and
0 deletions
+58
-0
index.less
src/pages/afterService/components/AsProductList/index.less
+0
-0
index.tsx
src/pages/afterService/components/AsProductList/index.tsx
+58
-0
No files found.
src/pages/afterService/components/AsProductList/index.less
0 → 100644
View file @
ff18286f
src/pages/afterService/components/AsProductList/index.tsx
0 → 100644
View file @
ff18286f
/**
* @Description: 售后申请商品组件
*/
import
React
from
'react'
;
import
MellowCard
,
{
MellowCardProps
}
from
'@/components/MellowCard'
;
import
PolymericTable
from
'@/components/PolymericTable'
;
import
{
EditableColumns
}
from
'@/components/PolymericTable/interface'
;
interface
AsProductListProps
{
/**
* 数据
*/
dataSource
:
{
[
key
:
string
]:
any
,
}[];
/**
* 标题
*/
title
:
string
;
/**
* 表格列
*/
columns
:
EditableColumns
[];
/**
* 行 key
*/
rowKey
?:
string
;
/**
* Table loading
*/
loading
?:
boolean
;
};
const
AsProductList
:
React
.
FC
<
AsProductListProps
>
=
({
dataSource
=
[],
title
=
''
,
columns
=
[],
rowKey
=
'id'
,
loading
=
false
,
})
=>
{
return
(
<
MellowCard
title=
{
title
}
>
<
PolymericTable
rowKey=
{
rowKey
}
dataSource=
{
dataSource
}
columns=
{
columns
}
loading=
{
loading
}
pagination=
{
null
}
/>
</
MellowCard
>
);
};
export
default
AsProductList
;
\ No newline at end of file
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