Commit 13bf256e authored by XieZhiXiong's avatar XieZhiXiong

调整会员详情页面 loading

parent c45aab7d
......@@ -28,21 +28,24 @@ const MemberRoute: RouterChild = {
{
path: '/memberCenter/memberAbility/manage/import/add',
name: 'addMember',
hideInMenu: true,
hideInMenu: true,
noMargin: true,
component: '@/pages/member/memberImport/addMember',
},
// 会员导入-编辑
{
path: '/memberCenter/memberAbility/manage/import/edit',
name: 'editMember',
hideInMenu: true,
hideInMenu: true,
noMargin: true,
component: '@/pages/member/memberImport/editMember',
},
// 会员导入-详情
{
path: '/memberCenter/memberAbility/manage/import/detail',
name: 'memberImportDetail',
hideInMenu: true,
hideInMenu: true,
noMargin: true,
component: '@/pages/member/memberImport/importDetail',
},
// 会员维护
......@@ -55,7 +58,8 @@ const MemberRoute: RouterChild = {
{
path: '/memberCenter/memberAbility/manage/maintain/detail',
name: 'maintainDetail',
hideInMenu: true,
hideInMenu: true,
noMargin: true,
component: '@/pages/member/memberMaintain/detailed',
routes: [
// 会员维护-详情-基础信息
......@@ -92,7 +96,8 @@ const MemberRoute: RouterChild = {
{
path: '/memberCenter/memberAbility/manage/maintain/frozen',
name: 'maintainFrozen',
hideInMenu: true,
hideInMenu: true,
noMargin: true,
component: '@/pages/member/memberMaintain/frozen',
},
// 待提交审核
......@@ -105,14 +110,16 @@ const MemberRoute: RouterChild = {
{
path: '/memberCenter/memberAbility/manage/memberPrSubmit/detail',
name: 'memberPrSubmitDetail',
hideInMenu: true,
hideInMenu: true,
noMargin: true,
component: '@/pages/member/memberPrSubmit/prSubmitDetail'
},
// 待提交审核-审核
{
path: '/memberCenter/memberAbility/manage/memberPrSubmit/verify',
name: 'memberPrSubmitDetail',
hideInMenu: true,
hideInMenu: true,
noMargin: true,
component: '@/pages/member/memberPrSubmit/auditPrSubmit'
},
// 待审核(一级)
......@@ -125,14 +132,16 @@ const MemberRoute: RouterChild = {
{
path: '/memberCenter/memberAbility/manage/memberPr1/detail',
name: 'memberPr1Detail',
hideInMenu: true,
hideInMenu: true,
noMargin: true,
component: '@/pages/member/memberPr1/pr1Detail'
},
// 待审核(一级)-审核
{
path: '/memberCenter/memberAbility/manage/memberPr1/verify',
name: 'memberPr1Detail',
hideInMenu: true,
hideInMenu: true,
noMargin: true,
component: '@/pages/member/memberPr1/auditPr1'
},
// 待审核(二级)
......@@ -145,14 +154,16 @@ const MemberRoute: RouterChild = {
{
path: '/memberCenter/memberAbility/manage/memberPr2/detail',
name: 'memberPr2Detail',
hideInMenu: true,
hideInMenu: true,
noMargin: true,
component: '@/pages/member/memberPr2/pr2Detail'
},
// 待审核(二级)-审核
{
path: '/memberCenter/memberAbility/manage/memberPr2/verify',
name: 'memberPr2Detail',
hideInMenu: true,
hideInMenu: true,
noMargin: true,
component: '@/pages/member/memberPr2/auditPr2'
},
// 待确认审核
......@@ -165,14 +176,16 @@ const MemberRoute: RouterChild = {
{
path: '/memberCenter/memberAbility/manage/memberPrConfirm/detail',
name: 'memberPrConfirmDetail',
hideInMenu: true,
hideInMenu: true,
noMargin: true,
component: '@/pages/member/memberPrConfirm/prComfirmDetail'
},
// 待确认审核-审核
{
path: '/memberCenter/memberAbility/manage/memberPrConfirm/verify',
name: 'memberPrConfirmDetail',
hideInMenu: true,
hideInMenu: true,
noMargin: true,
component: '@/pages/member/memberPrConfirm/auditPrComfirm'
},
// 会员升级规则
......@@ -191,14 +204,16 @@ const MemberRoute: RouterChild = {
{
path: '/memberCenter/memberAbility/manage/level/edit',
name: 'editMemberLevel',
hideInMenu: true,
hideInMenu: true,
noMargin: true,
component: '@/pages/member/memberLevel/addEquity',
},
// 会员等级-详情
{
path: '/memberCenter/memberAbility/manage/level/detail',
name: 'editMemberLevel',
hideInMenu: true,
hideInMenu: true,
noMargin: true,
component: '@/pages/member/memberLevel/equityDetail',
},
]
......@@ -214,7 +229,8 @@ const MemberRoute: RouterChild = {
path: '/memberCenter/memberAbility/query/detail',
name: 'memberQueryDetail',
component: '@/pages/member/memberQuery/detailed',
hideInMenu: true,
hideInMenu: true,
noMargin: true,
routes: [
// 会员信息查询-详情-基本信息
{
......@@ -250,14 +266,16 @@ const MemberRoute: RouterChild = {
{
path: '/memberCenter/memberAbility/query/update',
name: 'memberUpdate',
hideInMenu: true,
hideInMenu: true,
noMargin: true,
component: '@/pages/member/memberQuery/update',
},
// 新增会员角色
{
path: '/memberCenter/memberAbility/query/addSubRole',
name: 'addSubRole',
hideInMenu: true,
hideInMenu: true,
noMargin: true,
component: '@/pages/member/memberQuery/addSubRole',
},
]
......
......@@ -411,7 +411,10 @@ const MemberForm: React.FC<MemberFormProps> = ({
return (
<Spin spinning={infoLoading}>
<PageHeaderWrapper
<PageHeaderWrapper
style={{
padding: 24,
}}
onBack={() => history.goBack()}
backIcon={<ReutrnEle description="返回" />}
title={!id ? '新建会员' : '编辑会员'}
......
......@@ -40,7 +40,10 @@ const ImportDetail: React.FC<{}> = () => {
return (
<Spin spinning={infoLoading}>
<PageHeaderWrapper
<PageHeaderWrapper
style={{
padding: 24,
}}
title={
<>
<PageHeader
......
......@@ -108,7 +108,7 @@ const MemberMaintain: React.FC<[]> = () => {
align: 'center',
render: (text: any, record: any) => (
<EyePreview
url={`/memberCenter/memberAbility/manage/import/detail?id=${record.memberId}&validateId=${record.validateId}&preview=1`}
url={`/memberCenter/memberAbility/manage/import/detail?id=${record.memberId}&validateId=${record.validateId}`}
>
{text}
</EyePreview>
......
......@@ -229,7 +229,10 @@ const DetailInfo: React.FC<DetailInfoProps> = ({
return (
<Spin spinning={infoLoading}>
<PageHeaderWrapper
<PageHeaderWrapper
style={{
padding: 24,
}}
onBack={() => history.goBack()}
title={
<>
......
......@@ -116,7 +116,10 @@ const MemberMaintainDetailed: React.FC<QueryProps> = props => {
return (
<Spin spinning={infoLoading}>
<PageHeaderWrapper
<PageHeaderWrapper
style={{
padding: 24,
}}
title={
<>
<PageHeader
......
......@@ -78,6 +78,9 @@ const Frozen: React.FC<{}> = () => {
return (
<Spin spinning={infoLoading}>
<PageHeaderWrapper
style={{
padding: 24,
}}
title={
<>
<PageHeader
......
......@@ -135,6 +135,9 @@ const DetailInfo: React.FC<DetailInfoProps> = ({
return (
<Spin spinning={infoLoading}>
<PageHeaderWrapper
style={{
padding: 24,
}}
title={
<>
<PageHeader
......
......@@ -134,7 +134,10 @@ const DetailInfo: React.FC<DetailInfoProps> = ({
return (
<Spin spinning={infoLoading}>
<PageHeaderWrapper
<PageHeaderWrapper
style={{
padding: 24,
}}
title={
<>
<PageHeader
......
......@@ -151,6 +151,9 @@ const DetailInfo: React.FC<DetailInfoProps> = ({
return (
<Spin spinning={infoLoading}>
<PageHeaderWrapper
style={{
padding: 24,
}}
title={
<>
<PageHeader
......
......@@ -220,7 +220,10 @@ const DetailInfo: React.FC<DetailInfoProps> = ({
return (
<Spin spinning={infoLoading}>
<PageHeaderWrapper
<PageHeaderWrapper
style={{
padding: 24,
}}
title={
<>
<PageHeader
......
......@@ -78,7 +78,10 @@ const AddSubRole: React.FC<any> = props => {
return (
<Spin spinning={infoLoading}>
<PageHeaderWrapper
<PageHeaderWrapper
style={{
padding: 24,
}}
onBack={() => history.goBack()}
backIcon={<ReutrnEle description="返回" />}
title="填写会员资料"
......
......@@ -113,7 +113,10 @@ const MemberQueryDetailed: React.FC<QueryProps> = props => {
return (
<Spin spinning={infoLoading}>
<PageHeaderWrapper
<PageHeaderWrapper
style={{
padding: 24,
}}
title={
<>
<PageHeader
......
......@@ -79,7 +79,10 @@ const MemberUpdate: React.FC<any> = props => {
return (
<Spin spinning={infoLoading}>
<PageHeaderWrapper
<PageHeaderWrapper
style={{
padding: 24,
}}
onBack={() => history.goBack()}
backIcon={<ReutrnEle description="返回" />}
title="编辑会员"
......
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