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
黄庭坚
jinfa-platform
Commits
2229a998
Commit
2229a998
authored
Oct 13, 2020
by
GuanHua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:资讯搜索页面资讯图片链接问题
parent
90f46fa3
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
65 additions
and
6 deletions
+65
-6
afterServiceRoute.ts
config/routes/afterServiceRoute.ts
+10
-2
detail.tsx
...afterService/exchangeGoods/waitSubmitOrderList/detail.tsx
+51
-0
index.tsx
.../afterService/exchangeGoods/waitSubmitOrderList/index.tsx
+3
-2
search.tsx
src/pages/lxMall/information/search.tsx
+1
-2
No files found.
config/routes/afterServiceRoute.ts
View file @
2229a998
...
...
@@ -3,7 +3,7 @@
* @Author: ghua
* @Date: 2020-10-09 14:26:12
* @Last Modified by: ghua
* @Last Modified time: 2020-10-1
2 16:23:41
* @Last Modified time: 2020-10-1
3 14:00:35
*/
const
AfterServiceRoute
=
{
...
...
@@ -23,7 +23,7 @@ const AfterServiceRoute = {
component
:
'@/pages/afterService/exchangeGoods/orderList'
},
{
// 换货申请单
查询
// 换货申请单
详情
path
:
'/memberCenter/afterService/exchange/orderPreview'
,
name
:
'orderList'
,
hideInMenu
:
true
,
...
...
@@ -37,6 +37,14 @@ const AfterServiceRoute = {
component
:
'@/pages/afterService/exchangeGoods/waitSubmitOrderList'
},
{
// 待提交换货申请单新增或修改
path
:
'/memberCenter/afterService/exchange/waitSubmitOrderList/:type'
,
name
:
'waitSubmitOrderList'
,
hideInMenu
:
true
,
noMargin
:
true
,
component
:
'@/pages/afterService/exchangeGoods/waitSubmitOrderList/detail'
},
{
// 待新增退货发货单
path
:
'/memberCenter/afterService/exchange/waitAddReturnOrder'
,
name
:
'waitAddReturnOrder'
,
...
...
src/pages/afterService/exchangeGoods/waitSubmitOrderList/detail.tsx
0 → 100644
View file @
2229a998
import
React
,
{
useState
}
from
'react'
import
{
SaveOutlined
}
from
'@ant-design/icons'
import
{
PageHeaderWrapper
}
from
'@ant-design/pro-layout'
import
{
history
,
Helmet
}
from
'umi'
import
{
Button
}
from
'antd'
import
ReutrnEle
from
'@/components/ReturnEle'
interface
OrderDetailProps
{
location
:
any
,
match
:
any
}
const
OrderDetail
:
React
.
FC
<
OrderDetailProps
>
=
(
props
)
=>
{
const
{
type
}
=
props
.
match
.
params
const
[
btnLoading
,
setBtnLoading
]
=
useState
<
boolean
>
(
false
)
const
getPageTitle
=
()
=>
{
switch
(
type
)
{
case
'add'
:
return
'提交换货申请单'
case
'edit'
:
return
'编辑换货申请单'
default
:
return
''
}
}
return
(
<>
<
Helmet
>
<
title
>
{
getPageTitle
()
}
</
title
>
</
Helmet
>
<
PageHeaderWrapper
onBack=
{
()
=>
history
.
goBack
()
}
backIcon=
{
<
ReutrnEle
description=
"返回"
/>
}
title=
{
getPageTitle
()
}
extra=
{
[
<
Button
key=
"1"
onClick=
{
()
=>
{
}
}
loading=
{
btnLoading
}
type=
"primary"
icon=
{
<
SaveOutlined
/>
}
>
保存
</
Button
>,
]
}
>
OrderDetail
</
PageHeaderWrapper
>
</>
)
}
export
default
OrderDetail
src/pages/afterService/exchangeGoods/waitSubmitOrderList/index.tsx
View file @
2229a998
...
...
@@ -3,11 +3,12 @@
* @Author: ghua
* @Date: 2020-10-12 15:03:51
* @Last Modified by: ghua
* @Last Modified time: 2020-10-1
2 15:04:52
* @Last Modified time: 2020-10-1
3 14:02:30
*/
import
React
,
{
useRef
}
from
'react'
import
{
Card
,
Select
,
message
,
Space
,
Button
}
from
'antd'
import
{
StandardTable
}
from
'god'
import
{
history
}
from
'umi'
import
{
PageHeaderWrapper
}
from
'@ant-design/pro-layout'
import
{
PublicApi
}
from
'@/services/api'
import
{
useSelfTable
}
from
'./model/useSelfTable'
...
...
@@ -89,7 +90,7 @@ const WaitSubmitOrderList: React.FC<WaitSubmitOrderListProps> = (props) => {
}
}
formilyChilds=
{
{
children
:
<
Space
>
<
Button
onClick=
{
handleSubmitBatch
}
type=
"primary"
icon=
{
<
PlusOutlined
/>
}
style=
{
{
width
:
112
}
}
>
新建
</
Button
>
<
Button
onClick=
{
()
=>
history
.
push
(
'/memberCenter/afterService/exchange/waitSubmitOrderList/add'
)
}
type=
"primary"
icon=
{
<
PlusOutlined
/>
}
style=
{
{
width
:
112
}
}
>
新建
</
Button
>
</
Space
>,
layouts
:
{
span
:
8
...
...
src/pages/lxMall/information/search.tsx
View file @
2229a998
...
...
@@ -2,7 +2,6 @@ import React, { useEffect, useState } from 'react'
import
cx
from
'classnames'
import
{
Pagination
}
from
'antd'
import
{
ClockCircleOutlined
,
EyeOutlined
}
from
'@ant-design/icons'
import
informationImg2
from
'@/assets/imgs/information_2.png'
import
ImageBox
from
'@/components/ImageBox'
import
BreadCrumbs
from
'./components/breadCrumbs'
import
InformationRight
from
'./components/informationRight'
...
...
@@ -194,7 +193,7 @@ const InformationSearch: React.FC<InformationPropsType> = (props) => {
{
newsList
&&
newsList
.
map
(
item
=>
(
<
div
className=
{
styles
.
information_latest_release_list_item
}
key=
{
`information_latest_release_list_item_${item.id}`
}
>
<
ImageBox
width=
{
285
}
height=
{
190
}
imgUrl=
{
i
nformationImg2
}
/>
<
ImageBox
width=
{
285
}
height=
{
190
}
imgUrl=
{
i
tem
.
imageUrl
}
/>
<
div
className=
{
styles
.
information_latest_release_list_item_main
}
>
<
p
><
a
href=
{
toDetailLink
(
item
.
id
)
}
>
{
item
.
title
}
</
a
></
p
>
<
div
className=
{
styles
.
information_common_view
}
>
...
...
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