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
58a1e8b3
Commit
58a1e8b3
authored
Jan 29, 2021
by
前端-许佳敏
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://10.0.0.22:3000/lingxi/lingxi-business-system
into dev
parents
25dce168
b882ce1f
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
42 additions
and
10 deletions
+42
-10
utils.tsx
src/pages/content/utils/utils.tsx
+3
-1
lineChart.tsx
src/pages/home/components/MemberStatistics/lineChart.tsx
+12
-1
index.tsx
src/pages/home/components/OrderStatistics/index.tsx
+1
-1
index.tsx
src/pages/home/components/Settlement/index.tsx
+1
-1
index.tsx
src/pages/home/components/StatisticsColumn/index.tsx
+12
-4
index.tsx
src/pages/platformSettlement/accountPayable/index.tsx
+13
-2
No files found.
src/pages/content/utils/utils.tsx
View file @
58a1e8b3
...
@@ -64,7 +64,9 @@ const ADVERTISE_WEB_COLUMN_TYPE = {
...
@@ -64,7 +64,9 @@ const ADVERTISE_WEB_COLUMN_TYPE = {
const
ADVERTISE_APP_COLUMN_TYPE
=
{
const
ADVERTISE_APP_COLUMN_TYPE
=
{
"4"
:
'找店铺广告图'
,
"4"
:
'找店铺广告图'
,
"5"
:
"人气店铺广告图"
"5"
:
"人气店铺广告图"
,
"6"
:
"商品询价广告"
,
"7"
:
"未开通电子签章推广页广告"
}
}
// 内容管理 - 公告栏目
// 内容管理 - 公告栏目
...
...
src/pages/home/components/MemberStatistics/lineChart.tsx
View file @
58a1e8b3
...
@@ -8,7 +8,18 @@ interface IProps {
...
@@ -8,7 +8,18 @@ interface IProps {
const
LineChart
:
React
.
FC
<
IProps
>
=
(
props
)
=>
{
const
LineChart
:
React
.
FC
<
IProps
>
=
(
props
)
=>
{
return
(
return
(
<
Chart
height=
{
360
}
autoFit
data=
{
props
.
data
}
>
<
Chart
height=
{
360
}
autoFit
data=
{
props
.
data
}
scale=
{
{
count
:
{
tickInterval
:
1
,
}
}
}
>
<
Legend
position=
"top-left"
/>
<
Legend
position=
"top-left"
/>
{
/* <Axis name="dateTime" />
{
/* <Axis name="dateTime" />
<Axis name="count"/> */
}
<Axis name="count"/> */
}
...
...
src/pages/home/components/OrderStatistics/index.tsx
View file @
58a1e8b3
...
@@ -57,7 +57,7 @@ const OrderStatistics: React.FC<Iprops> = (props) => {
...
@@ -57,7 +57,7 @@ const OrderStatistics: React.FC<Iprops> = (props) => {
<
Card
<
Card
headStyle=
{
{
borderBottom
:
'none'
}
}
headStyle=
{
{
borderBottom
:
'none'
}
}
style=
{
{
height
:
'100%'
}
}
style=
{
{
height
:
'100%'
}
}
title=
"
会员
统计"
title=
"
订单
统计"
bordered=
{
false
}
bordered=
{
false
}
extra=
{
extra=
{
<
Radio
.
Group
value=
{
timeRadio
}
buttonStyle=
"solid"
size=
"small"
onChange=
{
handleChangeTime
}
>
<
Radio
.
Group
value=
{
timeRadio
}
buttonStyle=
"solid"
size=
"small"
onChange=
{
handleChangeTime
}
>
...
...
src/pages/home/components/Settlement/index.tsx
View file @
58a1e8b3
...
@@ -83,7 +83,7 @@ const Settlement: React.FC = () => {
...
@@ -83,7 +83,7 @@ const Settlement: React.FC = () => {
<
img
src=
{
feeIcon3
}
alt=
""
/>
<
img
src=
{
feeIcon3
}
alt=
""
/>
<
div
className=
{
styles
.
lineDescText
}
>
<
div
className=
{
styles
.
lineDescText
}
>
<
p
className=
{
styles
.
lineDescTitle
}
>
{
settlements
.
tobeValifyCashout
?.
count
}
</
p
>
<
p
className=
{
styles
.
lineDescTitle
}
>
{
settlements
.
tobeValifyCashout
?.
count
}
</
p
>
<
p
className=
{
styles
.
lineDescTip
}
>
待提现申请
</
p
>
<
p
className=
{
styles
.
lineDescTip
}
>
待
审核
提现申请
</
p
>
</
div
>
</
div
>
</
div
>
</
div
>
<
Link
to=
{
settlements
.
tobeValifyCashout
?.
link
}
>
查看
<
RightOutlined
/></
Link
>
<
Link
to=
{
settlements
.
tobeValifyCashout
?.
link
}
>
查看
<
RightOutlined
/></
Link
>
...
...
src/pages/home/components/StatisticsColumn/index.tsx
View file @
58a1e8b3
...
@@ -40,7 +40,9 @@ const StatisticsColumn = (props) => {
...
@@ -40,7 +40,9 @@ const StatisticsColumn = (props) => {
<
p
className=
{
styles
.
lineDescTip
}
>
{
data
.
addProduct
?.
name
}
</
p
>
<
p
className=
{
styles
.
lineDescTip
}
>
{
data
.
addProduct
?.
name
}
</
p
>
</
div
>
</
div
>
</
div
>
</
div
>
<
Link
to=
{
data
.
addProduct
?.
link
}
>
查看
<
RightOutlined
/></
Link
>
{
data
.
addProduct
?.
link
&&
<
Link
to=
{
data
.
addProduct
?.
link
}
>
查看
<
RightOutlined
/></
Link
>
}
</
div
>
</
div
>
</
Col
>
</
Col
>
<
Col
xxl=
{
12
}
xl=
{
12
}
lg=
{
24
}
md=
{
12
}
sm=
{
24
}
xs=
{
24
}
className=
{
styles
.
commodityTotalDesc
}
>
<
Col
xxl=
{
12
}
xl=
{
12
}
lg=
{
24
}
md=
{
12
}
sm=
{
24
}
xs=
{
24
}
className=
{
styles
.
commodityTotalDesc
}
>
...
@@ -52,7 +54,9 @@ const StatisticsColumn = (props) => {
...
@@ -52,7 +54,9 @@ const StatisticsColumn = (props) => {
<
p
className=
{
styles
.
lineDescTip
}
>
{
data
.
toBeProductValify
?.
name
}
</
p
>
<
p
className=
{
styles
.
lineDescTip
}
>
{
data
.
toBeProductValify
?.
name
}
</
p
>
</
div
>
</
div
>
</
div
>
</
div
>
<
Link
to=
{
data
.
toBeProductValify
?.
link
}
>
查看
<
RightOutlined
/></
Link
>
{
data
.
toBeProductValify
?.
link
&&
<
Link
to=
{
data
.
toBeProductValify
?.
link
}
>
查看
<
RightOutlined
/></
Link
>
}
</
div
>
</
div
>
</
Col
>
</
Col
>
</
Row
>
</
Row
>
...
@@ -88,7 +92,9 @@ const StatisticsColumn = (props) => {
...
@@ -88,7 +92,9 @@ const StatisticsColumn = (props) => {
<
p
className=
{
styles
.
lineDescTip
}
>
{
data
.
addBrand
?.
name
}
</
p
>
<
p
className=
{
styles
.
lineDescTip
}
>
{
data
.
addBrand
?.
name
}
</
p
>
</
div
>
</
div
>
</
div
>
</
div
>
<
Link
to=
{
data
.
addBrand
?.
link
}
>
查看
<
RightOutlined
/></
Link
>
{
data
.
addBrand
?.
link
&&
<
Link
to=
{
data
.
addBrand
?.
link
}
>
查看
<
RightOutlined
/></
Link
>
}
</
div
>
</
div
>
</
Col
>
</
Col
>
<
Col
xxl=
{
12
}
xl=
{
12
}
lg=
{
24
}
md=
{
12
}
sm=
{
24
}
xs=
{
24
}
className=
{
styles
.
commodityTotalDesc
}
>
<
Col
xxl=
{
12
}
xl=
{
12
}
lg=
{
24
}
md=
{
12
}
sm=
{
24
}
xs=
{
24
}
className=
{
styles
.
commodityTotalDesc
}
>
...
@@ -100,7 +106,9 @@ const StatisticsColumn = (props) => {
...
@@ -100,7 +106,9 @@ const StatisticsColumn = (props) => {
<
p
className=
{
styles
.
lineDescTip
}
>
{
data
.
toBeBrandValify
?.
name
}
</
p
>
<
p
className=
{
styles
.
lineDescTip
}
>
{
data
.
toBeBrandValify
?.
name
}
</
p
>
</
div
>
</
div
>
</
div
>
</
div
>
<
Link
to=
{
data
.
toBeBrandValify
?.
link
}
>
查看
<
RightOutlined
/></
Link
>
{
data
.
toBeBrandValify
?.
link
&&
<
Link
to=
{
data
.
toBeBrandValify
?.
link
}
>
查看
<
RightOutlined
/></
Link
>
}
</
div
>
</
div
>
</
Col
>
</
Col
>
</
Row
>
</
Row
>
...
...
src/pages/platformSettlement/accountPayable/index.tsx
View file @
58a1e8b3
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* @Description: 应付账款结算
* @Description: 应付账款结算
*/
*/
import
React
,
{
useRef
}
from
'react'
;
import
React
,
{
useRef
,
useEffect
,
useState
}
from
'react'
;
import
{
PageHeaderWrapper
}
from
'@ant-design/pro-layout'
import
{
PageHeaderWrapper
}
from
'@ant-design/pro-layout'
import
{
Card
,
Button
,
Modal
,
DatePicker
,
Tag
,
Space
}
from
'antd'
;
import
{
Card
,
Button
,
Modal
,
DatePicker
,
Tag
,
Space
}
from
'antd'
;
import
NiceForm
from
'@/components/NiceForm'
;
import
NiceForm
from
'@/components/NiceForm'
;
...
@@ -37,6 +37,7 @@ const { RangePicker } = DatePicker;
...
@@ -37,6 +37,7 @@ const { RangePicker } = DatePicker;
const
formActions
=
createFormActions
();
const
formActions
=
createFormActions
();
const
PLATFORM_PAYER
=
4
;
const
PLATFORM_PAYER
=
4
;
const
SettlementList
=
()
=>
{
const
SettlementList
=
()
=>
{
const
[
hasBrokerage
,
setHasBrokerage
]
=
useState
(
true
);
const
ref
=
useRef
<
any
>
({})
const
ref
=
useRef
<
any
>
({})
const
fetchListData
=
async
(
params
)
=>
{
const
fetchListData
=
async
(
params
)
=>
{
// /settle/accounts/platform/settlement/pagePayableSettlement
// /settle/accounts/platform/settlement/pagePayableSettlement
...
@@ -105,6 +106,15 @@ const SettlementList = () => {
...
@@ -105,6 +106,15 @@ const SettlementList = () => {
}
}
]
]
useEffect
(()
=>
{
PublicApi
.
getSettleAccountsPlatformSettlementIsExistsBrokerage
()
.
then
(({
data
,
code
})
=>
{
if
(
code
===
1000
&&
!
data
)
{
setHasBrokerage
(
false
)
}
})
},
[])
/**
/**
*
*
* @param params 手动结算
* @param params 手动结算
...
@@ -141,6 +151,7 @@ const SettlementList = () => {
...
@@ -141,6 +151,7 @@ const SettlementList = () => {
const
endTime
=
values
.
endTime
?
values
.
endTime
.
format
(
format
)
+
" 23:59:59"
:
""
;
const
endTime
=
values
.
endTime
?
values
.
endTime
.
format
(
format
)
+
" 23:59:59"
:
""
;
ref
.
current
.
reload
({...
values
,
startTime
,
endTime
});
ref
.
current
.
reload
({...
values
,
startTime
,
endTime
});
}
}
const
frozenColumn
=
hasBrokerage
?
columns
:
columns
.
filter
((
item
:
any
)
=>
item
.
dataIndex
!==
'brokerage'
)
return
(
return
(
<
PageHeaderWrapper
>
<
PageHeaderWrapper
>
<
Card
>
<
Card
>
...
@@ -148,7 +159,7 @@ const SettlementList = () => {
...
@@ -148,7 +159,7 @@ const SettlementList = () => {
tableProps=
{
{
tableProps=
{
{
rowKey
:
'id'
,
rowKey
:
'id'
,
}
}
}
}
columns=
{
columns
}
columns=
{
frozenColumn
}
currentRef=
{
ref
}
currentRef=
{
ref
}
fetchTableData=
{
(
params
:
any
)
=>
fetchListData
(
params
)
}
fetchTableData=
{
(
params
:
any
)
=>
fetchListData
(
params
)
}
controlRender=
{
controlRender=
{
...
...
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