Commit ecbf0961 authored by XieZhiXiong's avatar XieZhiXiong

chore: 修改跳转参数

parent 9fdaedad
......@@ -105,7 +105,7 @@ const DetailInfo: React.FC<DetailInfoProps> = ({
dataIndex: 'orderNo',
render: (text, record) => (
<a
href={`${target}/orderDetail?orderNo=${record.orderNo}`}
href={`${target}/orderDetail?id=${record.orderId}`}
target="_blank"
>
{text}
......
......@@ -115,9 +115,9 @@ const ExchangeForm: React.FC<BillsFormProps> = ({
title: '订单号',
dataIndex: 'orderNo',
align: 'center',
render: (text) => (
render: (text, record) => (
<a
href={`/memberCenter/afterService/exchangeApplication/exchangePrSubmit/orderDetail?orderNo=${text}`}
href={`/memberCenter/afterService/exchangeApplication/exchangePrSubmit/orderDetail?id=${record.id}`}
target="_blank"
        >
{text}
......
......@@ -190,7 +190,7 @@ const DetailInfo: React.FC<DetailInfoProps> = ({
dataIndex: 'orderNo',
render: (text, record) => (
<a
href={`${target}/orderDetail?orderNo=${record.orderNo}`}
href={`${target}/orderDetail?id=${record.orderId}`}
target="_blank"
>
{text}
......
......@@ -77,7 +77,7 @@ const DetailInfo: React.FC<DetailInfoProps> = ({
dataIndex: 'orderNo',
render: (text, record) => (
<a
href={`${target}/orderDetail?orderNo=${record.orderNo}`}
href={`${target}/orderDetail?id=${record.orderId}`}
target="_blank"
>
{text}
......
......@@ -77,7 +77,7 @@ const DetailInfo: React.FC<DetailInfoProps> = ({
dataIndex: 'orderNo',
render: (text, record) => (
<a
href={`${target}/orderDetail?orderNo=${record.orderNo}`}
href={`${target}/orderDetail?id=${record.orderId}`}
target="_blank"
>
{text}
......
......@@ -134,7 +134,7 @@ const DetailInfo: React.FC<DetailInfoProps> = ({
dataIndex: 'orderNo',
render: (text, record) => (
<a
href={`${target}/orderDetail?orderNo=${record.orderNo}`}
href={`${target}/orderDetail?id=${record.orderId}`}
target="_blank"
>
{text}
......
......@@ -117,9 +117,9 @@ const ReturnForm: React.FC<BillsFormProps> = ({
title: '订单号',
dataIndex: 'orderNo',
align: 'center',
render: (text) => (
render: (text, record) => (
<a
href={`/memberCenter/afterService/returnApplication/returnPrSubmit/orderDetail?orderNo=${text}`}
href={`/memberCenter/afterService/returnApplication/returnPrSubmit/orderDetail?id=${record.orderId}`}
target="_blank"
        >
{text}
......
......@@ -160,7 +160,7 @@ const DetailInfo: React.FC<DetailInfoProps> = ({
dataIndex: 'orderNo',
render: (text, record) => (
<a
href={`${target}/orderDetail?orderNo=${record.orderNo}`}
href={`${target}/orderDetail?id=${record.orderId}`}
target="_blank"
>
{text}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment