Commit bbcb2848 authored by XieZhiXiong's avatar XieZhiXiong

调整评价详情页面 loading

parent d1087c35
......@@ -230,13 +230,15 @@ const TranactionRoute = {
name: 'evaluate',
component: '@/pages/transaction/supplierEvaluation/unevaluated/evaluate/index',
hideInMenu: true,
noMargin: true,
},
// 待评价订单-订单详情
{
path: '/memberCenter/tranactionAbility/supplierEvaluation/unevaluated/order',
name: 'orderPreview',
hideInMenu: true,
component: '@/pages/transaction/saleOrder/orderPreview',
hideInMenu: true,
noMargin: true,
},
// 评价统计
{
......@@ -250,6 +252,7 @@ const TranactionRoute = {
name: 'receivedDetail',
component: '@/pages/transaction/supplierEvaluation/received/detail/index',
hideInMenu: true,
noMargin: true,
},
// 发出的评价-详情
{
......@@ -257,6 +260,7 @@ const TranactionRoute = {
name: 'sentDetail',
component: '@/pages/transaction/supplierEvaluation/sent/detail',
hideInMenu: true,
noMargin: true,
},
// 发出的评价-编辑
{
......@@ -264,6 +268,7 @@ const TranactionRoute = {
name: 'editSent',
component: '@/pages/transaction/supplierEvaluation/sent/edit',
hideInMenu: true,
noMargin: true,
},
// 收到的评价(UI合并到评价统计了,暂时不需要)
// {
......@@ -297,13 +302,15 @@ const TranactionRoute = {
name: 'evaluate',
component: '@/pages/transaction/purchaserEvaluation/unevaluated/evaluate/index',
hideInMenu: true,
noMargin: true,
},
// 待评价订单-订单详情
{
path: '/memberCenter/tranactionAbility/purchaserEvaluation/unevaluated/order',
name: 'orderPreview',
hideInMenu: true,
component: '@/pages/transaction/saleOrder/orderPreview',
hideInMenu: true,
noMargin: true,
},
// 评价统计
{
......@@ -317,6 +324,7 @@ const TranactionRoute = {
name: 'receivedDetail',
component: '@/pages/transaction/purchaserEvaluation/received/detail/index',
hideInMenu: true,
noMargin: true,
},
// 发出的评价-详情
{
......@@ -324,6 +332,7 @@ const TranactionRoute = {
name: 'sentDetail',
component: '@/pages/transaction/purchaserEvaluation/sent/detail',
hideInMenu: true,
noMargin: true,
},
// 发出的评价-编辑
{
......@@ -331,6 +340,7 @@ const TranactionRoute = {
name: 'editSent',
component: '@/pages/transaction/purchaserEvaluation/sent/edit',
hideInMenu: true,
noMargin: true,
},
// 收到的评价(UI合并到评价统计了,暂时不需要)
// {
......
......@@ -126,6 +126,9 @@ const ReceivedDetail: React.FC = () => {
return (
<Spin spinning={orderInfoLoading || evaluationInfoLoading}>
<PageHeaderWrapper
style={{
padding: 24,
}}
title={
<>
<PageHeader
......
......@@ -170,6 +170,9 @@ const DetailInfo: React.FC<DetailInfoProps> = ({
return (
<Spin spinning={orderInfoLoading || evaluationInfoLoading}>
<PageHeaderWrapper
style={{
padding: 24,
}}
title={
<>
<PageHeader
......
......@@ -139,6 +139,9 @@ const EvaluateOrder: React.FC = () => {
return (
<Spin spinning={infoLoading}>
<PageHeaderWrapper
style={{
padding: 24,
}}
title={
<>
<PageHeader
......
......@@ -126,6 +126,9 @@ const ReceivedDetail: React.FC = () => {
return (
<Spin spinning={orderInfoLoading || evaluationInfoLoading}>
<PageHeaderWrapper
style={{
padding: 24,
}}
title={
<>
<PageHeader
......
......@@ -169,6 +169,9 @@ const DetailInfo: React.FC<DetailInfoProps> = ({
return (
<Spin spinning={orderInfoLoading || evaluationInfoLoading}>
<PageHeaderWrapper
style={{
padding: 24,
}}
title={
<>
<PageHeader
......
......@@ -139,6 +139,9 @@ const EvaluateOrder: React.FC = () => {
return (
<Spin spinning={infoLoading}>
<PageHeaderWrapper
style={{
padding: 24,
}}
title={
<>
<PageHeader
......
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