update
This commit is contained in:
parent
1c927c6940
commit
a9f9af33ec
@ -860,6 +860,102 @@ export default [
|
|||||||
path: 'SummaryOfReservation',
|
path: 'SummaryOfReservation',
|
||||||
name: 'SummaryOfReservation',
|
name: 'SummaryOfReservation',
|
||||||
component: './travelMember/SummaryOfReservation/index'
|
component: './travelMember/SummaryOfReservation/index'
|
||||||
|
},
|
||||||
|
// 预约订单汇总
|
||||||
|
{
|
||||||
|
path: 'SummaryOfReservation',
|
||||||
|
name: 'SummaryOfReservation',
|
||||||
|
component: './travelMember/SummaryOfReservation/index'
|
||||||
|
},
|
||||||
|
// 会员等级管理
|
||||||
|
{
|
||||||
|
path: 'MembershipLevelManage',
|
||||||
|
name: 'MembershipLevelManage',
|
||||||
|
component: './travelMember/MembershipLevelManage/index'
|
||||||
|
},
|
||||||
|
// 会员标签管理
|
||||||
|
{
|
||||||
|
path: 'MemberTagManage',
|
||||||
|
name: 'MemberTagManage',
|
||||||
|
component: './travelMember/MemberTagManage/index'
|
||||||
|
},
|
||||||
|
// 黑名单管理
|
||||||
|
{
|
||||||
|
path: 'BlacklistManage',
|
||||||
|
name: 'BlacklistManage',
|
||||||
|
component: './travelMember/BlacklistManage/index'
|
||||||
|
},
|
||||||
|
// 活动配置管理
|
||||||
|
{
|
||||||
|
path: 'ActivityConfigurationManage',
|
||||||
|
name: 'ActivityConfigurationManage',
|
||||||
|
component: './travelMember/ActivityConfigurationManage/index'
|
||||||
|
},
|
||||||
|
// 积分兑换商城
|
||||||
|
{
|
||||||
|
path: 'PointsExchangeMall',
|
||||||
|
name: 'PointsExchangeMall',
|
||||||
|
component: './travelMember/PointsExchangeMall/index'
|
||||||
|
},
|
||||||
|
// 新人入会奖励
|
||||||
|
{
|
||||||
|
path: 'NewcomerMembership',
|
||||||
|
name: 'NewcomerMembership',
|
||||||
|
component: './travelMember/NewcomerMembership/index'
|
||||||
|
},
|
||||||
|
// 节日生日权益
|
||||||
|
{
|
||||||
|
path: 'HolidayAndBirthdayBenefits',
|
||||||
|
name: 'HolidayAndBirthdayBenefits',
|
||||||
|
component: './travelMember/HolidayAndBirthdayBenefits/index'
|
||||||
|
},
|
||||||
|
// 消息推送配置
|
||||||
|
{
|
||||||
|
path: 'MessagePushConfiguration',
|
||||||
|
name: 'MessagePushConfiguration',
|
||||||
|
component: './travelMember/MessagePushConfiguration/index'
|
||||||
|
},
|
||||||
|
// 消息历史记录
|
||||||
|
{
|
||||||
|
path: 'MessageHistory',
|
||||||
|
name: 'MessageHistory',
|
||||||
|
component: './travelMember/MessageHistory/index'
|
||||||
|
},
|
||||||
|
// 注册留存分析
|
||||||
|
{
|
||||||
|
path: 'RegistrationRetentionAnalysis',
|
||||||
|
name: 'RegistrationRetentionAnalysis',
|
||||||
|
component: './travelMember/RegistrationRetentionAnalysis/index'
|
||||||
|
},
|
||||||
|
// 会员等级分布
|
||||||
|
{
|
||||||
|
path: 'MembershipLevelDistribution',
|
||||||
|
name: 'MembershipLevelDistribution',
|
||||||
|
component: './travelMember/MembershipLevelDistribution/index'
|
||||||
|
},
|
||||||
|
// 商户销售排行
|
||||||
|
{
|
||||||
|
path: 'MerchantSalesRanking',
|
||||||
|
name: 'MerchantSalesRanking',
|
||||||
|
component: './travelMember/MerchantSalesRanking/index'
|
||||||
|
},
|
||||||
|
// 商户评价汇总
|
||||||
|
{
|
||||||
|
path: 'SummaryofMerchantReviews',
|
||||||
|
name: 'SummaryofMerchantReviews',
|
||||||
|
component: './travelMember/SummaryofMerchantReviews/index'
|
||||||
|
},
|
||||||
|
// 热销滞销分析
|
||||||
|
{
|
||||||
|
path: 'AnalysisOfHotSellingButUnsoldProducts',
|
||||||
|
name: 'AnalysisOfHotSellingButUnsoldProducts',
|
||||||
|
component: './travelMember/AnalysisOfHotSellingButUnsoldProducts/index'
|
||||||
|
},
|
||||||
|
// 库存预警管理
|
||||||
|
{
|
||||||
|
path: 'InventoryWarningManagement',
|
||||||
|
name: 'InventoryWarningManagement',
|
||||||
|
component: './travelMember/InventoryWarningManagement/index'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
@ -311,6 +311,10 @@ const ShareBenefit: React.FC<{ props: BusinessProjectModel, showEdit?: boolean,
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
} else {
|
||||||
|
data.data.forEach((subItem: any) => {
|
||||||
|
subItem.showAgainBtn = true
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -1 +1,15 @@
|
|||||||
// 卡券兑换统计
|
// 卡券兑换统计
|
||||||
|
import { ConnectState } from "@/models/connect";
|
||||||
|
import { connect, CurrentUser } from "umi";
|
||||||
|
|
||||||
|
const CardHaveCollection: React.FC<{ currentUser: CurrentUser | undefined }> = (props) => {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default connect(({ user }: ConnectState) => ({
|
||||||
|
currentUser: user.currentUser
|
||||||
|
}))(CardHaveCollection);
|
||||||
@ -1 +1,15 @@
|
|||||||
// 卡券领取统计
|
// 卡券领取统计
|
||||||
|
import { ConnectState } from "@/models/connect";
|
||||||
|
import { connect, CurrentUser } from "umi";
|
||||||
|
|
||||||
|
const CardVoucherRedemption: React.FC<{ currentUser: CurrentUser | undefined }> = (props) => {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default connect(({ user }: ConnectState) => ({
|
||||||
|
currentUser: user.currentUser
|
||||||
|
}))(CardVoucherRedemption);
|
||||||
@ -1 +1,15 @@
|
|||||||
// 卡券领取查询
|
// 卡券领取查询
|
||||||
|
import { ConnectState } from "@/models/connect";
|
||||||
|
import { connect, CurrentUser } from "umi";
|
||||||
|
|
||||||
|
const CardVoucherSearch: React.FC<{ currentUser: CurrentUser | undefined }> = (props) => {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default connect(({ user }: ConnectState) => ({
|
||||||
|
currentUser: user.currentUser
|
||||||
|
}))(CardVoucherSearch);
|
||||||
@ -1 +1,15 @@
|
|||||||
// 新增卡券申请
|
// 新增卡券申请
|
||||||
|
import { ConnectState } from "@/models/connect";
|
||||||
|
import { connect, CurrentUser } from "umi";
|
||||||
|
|
||||||
|
const NewCouponApplication: React.FC<{ currentUser: CurrentUser | undefined }> = (props) => {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default connect(({ user }: ConnectState) => ({
|
||||||
|
currentUser: user.currentUser
|
||||||
|
}))(NewCouponApplication);
|
||||||
@ -1 +1,15 @@
|
|||||||
// 新增卡券审核
|
// 新增卡券审核
|
||||||
|
import { ConnectState } from "@/models/connect";
|
||||||
|
import { connect, CurrentUser } from "umi";
|
||||||
|
|
||||||
|
const NewCouponReview: React.FC<{ currentUser: CurrentUser | undefined }> = (props) => {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default connect(({ user }: ConnectState) => ({
|
||||||
|
currentUser: user.currentUser
|
||||||
|
}))(NewCouponReview);
|
||||||
15
src/pages/travelMember/ActivityConfigurationManage/index.tsx
Normal file
15
src/pages/travelMember/ActivityConfigurationManage/index.tsx
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
// 活动配置管理
|
||||||
|
import { ConnectState } from "@/models/connect";
|
||||||
|
import { connect, CurrentUser } from "umi";
|
||||||
|
|
||||||
|
const ActivityConfigurationManage: React.FC<{ currentUser: CurrentUser | undefined }> = (props) => {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default connect(({ user }: ConnectState) => ({
|
||||||
|
currentUser: user.currentUser
|
||||||
|
}))(ActivityConfigurationManage);
|
||||||
@ -1 +1,15 @@
|
|||||||
// 点餐售后管理
|
// 点餐售后管理
|
||||||
|
import { ConnectState } from "@/models/connect";
|
||||||
|
import { connect, CurrentUser } from "umi";
|
||||||
|
|
||||||
|
const AfterSalesManage: React.FC<{ currentUser: CurrentUser | undefined }> = (props) => {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default connect(({ user }: ConnectState) => ({
|
||||||
|
currentUser: user.currentUser
|
||||||
|
}))(AfterSalesManage);
|
||||||
@ -1 +1,15 @@
|
|||||||
// 售后类型管理
|
// 售后类型管理
|
||||||
|
import { ConnectState } from "@/models/connect";
|
||||||
|
import { connect, CurrentUser } from "umi";
|
||||||
|
|
||||||
|
const AfterSalesTypeManage: React.FC<{ currentUser: CurrentUser | undefined }> = (props) => {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default connect(({ user }: ConnectState) => ({
|
||||||
|
currentUser: user.currentUser
|
||||||
|
}))(AfterSalesTypeManage);
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
// 热销滞销分析
|
||||||
|
import { ConnectState } from "@/models/connect";
|
||||||
|
import { connect, CurrentUser } from "umi";
|
||||||
|
|
||||||
|
const AnalysisOfHotSellingButUnsoldProducts: React.FC<{ currentUser: CurrentUser | undefined }> = (props) => {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default connect(({ user }: ConnectState) => ({
|
||||||
|
currentUser: user.currentUser
|
||||||
|
}))(AnalysisOfHotSellingButUnsoldProducts);
|
||||||
15
src/pages/travelMember/BlacklistManage/index.tsx
Normal file
15
src/pages/travelMember/BlacklistManage/index.tsx
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
// 黑名单管理
|
||||||
|
import { ConnectState } from "@/models/connect";
|
||||||
|
import { connect, CurrentUser } from "umi";
|
||||||
|
|
||||||
|
const BlacklistManage: React.FC<{ currentUser: CurrentUser | undefined }> = (props) => {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default connect(({ user }: ConnectState) => ({
|
||||||
|
currentUser: user.currentUser
|
||||||
|
}))(BlacklistManage);
|
||||||
@ -1 +1,15 @@
|
|||||||
// 预约点餐订单
|
// 预约点餐订单
|
||||||
|
import { ConnectState } from "@/models/connect";
|
||||||
|
import { connect, CurrentUser } from "umi";
|
||||||
|
|
||||||
|
const BookingMealOrder: React.FC<{ currentUser: CurrentUser | undefined }> = (props) => {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default connect(({ user }: ConnectState) => ({
|
||||||
|
currentUser: user.currentUser
|
||||||
|
}))(BookingMealOrder);
|
||||||
@ -23,6 +23,7 @@ import type { FormInstance } from 'antd';
|
|||||||
import { getFieldEnumTree, getFieldEnumName } from "@/services/options"; // 枚举的引用,没有使用可以删除
|
import { getFieldEnumTree, getFieldEnumName } from "@/services/options"; // 枚举的引用,没有使用可以删除
|
||||||
import { handleDeleteGROWTHSETTING, handleGetGROWTHSETTINGList, handleSynchroGROWTHSETTING } from '../service';
|
import { handleDeleteGROWTHSETTING, handleGetGROWTHSETTINGList, handleSynchroGROWTHSETTING } from '../service';
|
||||||
import session from '@/utils/session';
|
import session from '@/utils/session';
|
||||||
|
import PageTitleBox from '@/components/PageTitleBox';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -263,7 +264,7 @@ const GrowthValueRuleConfig: React.FC<{ currentUser: CurrentUser | undefined }>
|
|||||||
return `${record?.GROWTHSETTING_ID}`
|
return `${record?.GROWTHSETTING_ID}`
|
||||||
}}
|
}}
|
||||||
formRef={formRef}
|
formRef={formRef}
|
||||||
headerTitle="会员成长值配置列表" // 列表表头
|
headerTitle={<PageTitleBox props={props} />}
|
||||||
actionRef={actionRef}
|
actionRef={actionRef}
|
||||||
bordered
|
bordered
|
||||||
search={{ span: 6, labelWidth: 'auto' }}
|
search={{ span: 6, labelWidth: 'auto' }}
|
||||||
|
|||||||
15
src/pages/travelMember/HolidayAndBirthdayBenefits/index.tsx
Normal file
15
src/pages/travelMember/HolidayAndBirthdayBenefits/index.tsx
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
// 节日生日权益
|
||||||
|
import { ConnectState } from "@/models/connect";
|
||||||
|
import { connect, CurrentUser } from "umi";
|
||||||
|
|
||||||
|
const HolidayAndBirthdayBenefits: React.FC<{ currentUser: CurrentUser | undefined }> = (props) => {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default connect(({ user }: ConnectState) => ({
|
||||||
|
currentUser: user.currentUser
|
||||||
|
}))(HolidayAndBirthdayBenefits);
|
||||||
@ -1 +1,15 @@
|
|||||||
// 首页精选卡券
|
// 首页精选卡券
|
||||||
|
import { ConnectState } from "@/models/connect";
|
||||||
|
import { connect, CurrentUser } from "umi";
|
||||||
|
|
||||||
|
const HomeSelectedCoupons: React.FC<{ currentUser: CurrentUser | undefined }> = (props) => {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default connect(({ user }: ConnectState) => ({
|
||||||
|
currentUser: user.currentUser
|
||||||
|
}))(HomeSelectedCoupons);
|
||||||
@ -1 +1,15 @@
|
|||||||
// 首页精选商城
|
// 首页精选商城
|
||||||
|
import { ConnectState } from "@/models/connect";
|
||||||
|
import { connect, CurrentUser } from "umi";
|
||||||
|
|
||||||
|
const HomeSelectedMall: React.FC<{ currentUser: CurrentUser | undefined }> = (props) => {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default connect(({ user }: ConnectState) => ({
|
||||||
|
currentUser: user.currentUser
|
||||||
|
}))(HomeSelectedMall);
|
||||||
@ -1 +1,15 @@
|
|||||||
// 首页精选商家
|
// 首页精选商家
|
||||||
|
import { ConnectState } from "@/models/connect";
|
||||||
|
import { connect, CurrentUser } from "umi";
|
||||||
|
|
||||||
|
const HomeSelectedMerchants: React.FC<{ currentUser: CurrentUser | undefined }> = (props) => {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default connect(({ user }: ConnectState) => ({
|
||||||
|
currentUser: user.currentUser
|
||||||
|
}))(HomeSelectedMerchants);
|
||||||
15
src/pages/travelMember/InventoryWarningManagement/index.tsx
Normal file
15
src/pages/travelMember/InventoryWarningManagement/index.tsx
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
// 库存预警管理
|
||||||
|
import { ConnectState } from "@/models/connect";
|
||||||
|
import { connect, CurrentUser } from "umi";
|
||||||
|
|
||||||
|
const InventoryWarningManagement: React.FC<{ currentUser: CurrentUser | undefined }> = (props) => {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default connect(({ user }: ConnectState) => ({
|
||||||
|
currentUser: user.currentUser
|
||||||
|
}))(InventoryWarningManagement);
|
||||||
@ -1 +1,15 @@
|
|||||||
// 图库信息管理
|
// 图库信息管理
|
||||||
|
import { ConnectState } from "@/models/connect";
|
||||||
|
import { connect, CurrentUser } from "umi";
|
||||||
|
|
||||||
|
const LibraryInformationManager: React.FC<{ currentUser: CurrentUser | undefined }> = (props) => {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default connect(({ user }: ConnectState) => ({
|
||||||
|
currentUser: user.currentUser
|
||||||
|
}))(LibraryInformationManager);
|
||||||
@ -1 +1,15 @@
|
|||||||
// 图库类型管理
|
// 图库类型管理
|
||||||
|
import { ConnectState } from "@/models/connect";
|
||||||
|
import { connect, CurrentUser } from "umi";
|
||||||
|
|
||||||
|
const LibraryTypeManager: React.FC<{ currentUser: CurrentUser | undefined }> = (props) => {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default connect(({ user }: ConnectState) => ({
|
||||||
|
currentUser: user.currentUser
|
||||||
|
}))(LibraryTypeManager);
|
||||||
@ -1,2 +1,15 @@
|
|||||||
// 失物招领申请
|
// 失物招领申请
|
||||||
|
import { ConnectState } from "@/models/connect";
|
||||||
|
import { connect, CurrentUser } from "umi";
|
||||||
|
|
||||||
|
const LostandFoundAPPliance: React.FC<{ currentUser: CurrentUser | undefined }> = (props) => {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default connect(({ user }: ConnectState) => ({
|
||||||
|
currentUser: user.currentUser
|
||||||
|
}))(LostandFoundAPPliance);
|
||||||
|
|||||||
@ -1 +1,15 @@
|
|||||||
// 失物招领审核
|
// 失物招领审核
|
||||||
|
import { ConnectState } from "@/models/connect";
|
||||||
|
import { connect, CurrentUser } from "umi";
|
||||||
|
|
||||||
|
const LostandFoundReview: React.FC<{ currentUser: CurrentUser | undefined }> = (props) => {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default connect(({ user }: ConnectState) => ({
|
||||||
|
currentUser: user.currentUser
|
||||||
|
}))(LostandFoundReview);
|
||||||
@ -1 +1,15 @@
|
|||||||
// 商城评价管理
|
// 商城评价管理
|
||||||
|
import { ConnectState } from "@/models/connect";
|
||||||
|
import { connect, CurrentUser } from "umi";
|
||||||
|
|
||||||
|
const MallEvaluationManage: React.FC<{ currentUser: CurrentUser | undefined }> = (props) => {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default connect(({ user }: ConnectState) => ({
|
||||||
|
currentUser: user.currentUser
|
||||||
|
}))(MallEvaluationManage);
|
||||||
@ -1 +1,15 @@
|
|||||||
// 商城订单管理
|
// 商城订单管理
|
||||||
|
import { ConnectState } from "@/models/connect";
|
||||||
|
import { connect, CurrentUser } from "umi";
|
||||||
|
|
||||||
|
const MallOrderManage: React.FC<{ currentUser: CurrentUser | undefined }> = (props) => {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default connect(({ user }: ConnectState) => ({
|
||||||
|
currentUser: user.currentUser
|
||||||
|
}))(MallOrderManage);
|
||||||
@ -20,6 +20,7 @@ import type { ActionType, ProColumns } from '@ant-design/pro-table';
|
|||||||
import type { ProDescriptionsItemProps } from '@ant-design/pro-descriptions';
|
import type { ProDescriptionsItemProps } from '@ant-design/pro-descriptions';
|
||||||
import type { FormInstance } from 'antd';
|
import type { FormInstance } from 'antd';
|
||||||
import { handleDeleteMEMBERADDRESS, handleGetMEMBERADDRESSList, handleSynchroMEMBERADDRESS } from '../service';
|
import { handleDeleteMEMBERADDRESS, handleGetMEMBERADDRESSList, handleSynchroMEMBERADDRESS } from '../service';
|
||||||
|
import PageTitleBox from '@/components/PageTitleBox';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -293,7 +294,8 @@ const MemberAddress: React.FC<{ currentUser: CurrentUser | undefined }> = (props
|
|||||||
return `${record?.MEMBERADDRESS_ID}`
|
return `${record?.MEMBERADDRESS_ID}`
|
||||||
}}
|
}}
|
||||||
formRef={formRef}
|
formRef={formRef}
|
||||||
headerTitle="会员收货地址列表" // 列表表头
|
// headerTitle="会员收货地址列表" // 列表表头
|
||||||
|
headerTitle={<PageTitleBox props={props} />}
|
||||||
actionRef={actionRef}
|
actionRef={actionRef}
|
||||||
search={{ span: 6, labelWidth: 'auto' }}
|
search={{ span: 6, labelWidth: 'auto' }}
|
||||||
bordered
|
bordered
|
||||||
|
|||||||
15
src/pages/travelMember/MemberTagManage/index.tsx
Normal file
15
src/pages/travelMember/MemberTagManage/index.tsx
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
// 会员标签管理
|
||||||
|
import { ConnectState } from "@/models/connect";
|
||||||
|
import { connect, CurrentUser } from "umi";
|
||||||
|
|
||||||
|
const MemberTagManage: React.FC<{ currentUser: CurrentUser | undefined }> = (props) => {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default connect(({ user }: ConnectState) => ({
|
||||||
|
currentUser: user.currentUser
|
||||||
|
}))(MemberTagManage);
|
||||||
15
src/pages/travelMember/MembershipLevelDistribution/index.tsx
Normal file
15
src/pages/travelMember/MembershipLevelDistribution/index.tsx
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
// 会员等级分布
|
||||||
|
import { ConnectState } from "@/models/connect";
|
||||||
|
import { connect, CurrentUser } from "umi";
|
||||||
|
|
||||||
|
const MembershipLevelDistribution: React.FC<{ currentUser: CurrentUser | undefined }> = (props) => {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default connect(({ user }: ConnectState) => ({
|
||||||
|
currentUser: user.currentUser
|
||||||
|
}))(MembershipLevelDistribution);
|
||||||
15
src/pages/travelMember/MembershipLevelManage/index.tsx
Normal file
15
src/pages/travelMember/MembershipLevelManage/index.tsx
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
// 会员等级管理
|
||||||
|
import { ConnectState } from "@/models/connect";
|
||||||
|
import { connect, CurrentUser } from "umi";
|
||||||
|
|
||||||
|
const MembershipLevelManage: React.FC<{ currentUser: CurrentUser | undefined }> = (props) => {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default connect(({ user }: ConnectState) => ({
|
||||||
|
currentUser: user.currentUser
|
||||||
|
}))(MembershipLevelManage);
|
||||||
@ -1 +1,15 @@
|
|||||||
// 商家评价管理
|
// 商家评价管理
|
||||||
|
import { ConnectState } from "@/models/connect";
|
||||||
|
import { connect, CurrentUser } from "umi";
|
||||||
|
|
||||||
|
const MerchantEvaluationManage: React.FC<{ currentUser: CurrentUser | undefined }> = (props) => {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default connect(({ user }: ConnectState) => ({
|
||||||
|
currentUser: user.currentUser
|
||||||
|
}))(MerchantEvaluationManage);
|
||||||
|
|||||||
@ -1 +1,15 @@
|
|||||||
// 合作商户商品申请
|
// 合作商户商品申请
|
||||||
|
import { ConnectState } from "@/models/connect";
|
||||||
|
import { connect, CurrentUser } from "umi";
|
||||||
|
|
||||||
|
const MerchantProductApplication: React.FC<{ currentUser: CurrentUser | undefined }> = (props) => {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default connect(({ user }: ConnectState) => ({
|
||||||
|
currentUser: user.currentUser
|
||||||
|
}))(MerchantProductApplication);
|
||||||
@ -1 +1,15 @@
|
|||||||
// 合作商户商品审核
|
// 合作商户商品审核
|
||||||
|
import { ConnectState } from "@/models/connect";
|
||||||
|
import { connect, CurrentUser } from "umi";
|
||||||
|
|
||||||
|
const MerchantProductReview: React.FC<{ currentUser: CurrentUser | undefined }> = (props) => {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default connect(({ user }: ConnectState) => ({
|
||||||
|
currentUser: user.currentUser
|
||||||
|
}))(MerchantProductReview);
|
||||||
15
src/pages/travelMember/MerchantSalesRanking/index.tsx
Normal file
15
src/pages/travelMember/MerchantSalesRanking/index.tsx
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
// 商户销售排行
|
||||||
|
import { ConnectState } from "@/models/connect";
|
||||||
|
import { connect, CurrentUser } from "umi";
|
||||||
|
|
||||||
|
const MerchantSalesRanking: React.FC<{ currentUser: CurrentUser | undefined }> = (props) => {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default connect(({ user }: ConnectState) => ({
|
||||||
|
currentUser: user.currentUser
|
||||||
|
}))(MerchantSalesRanking);
|
||||||
15
src/pages/travelMember/MessageHistory/index.tsx
Normal file
15
src/pages/travelMember/MessageHistory/index.tsx
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
// 消息历史记录
|
||||||
|
import { ConnectState } from "@/models/connect";
|
||||||
|
import { connect, CurrentUser } from "umi";
|
||||||
|
|
||||||
|
const MessageHistory: React.FC<{ currentUser: CurrentUser | undefined }> = (props) => {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default connect(({ user }: ConnectState) => ({
|
||||||
|
currentUser: user.currentUser
|
||||||
|
}))(MessageHistory);
|
||||||
15
src/pages/travelMember/MessagePushConfiguration/index.tsx
Normal file
15
src/pages/travelMember/MessagePushConfiguration/index.tsx
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
// 消息推送配置
|
||||||
|
import { ConnectState } from "@/models/connect";
|
||||||
|
import { connect, CurrentUser } from "umi";
|
||||||
|
|
||||||
|
const MessagePushConfiguration: React.FC<{ currentUser: CurrentUser | undefined }> = (props) => {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default connect(({ user }: ConnectState) => ({
|
||||||
|
currentUser: user.currentUser
|
||||||
|
}))(MessagePushConfiguration);
|
||||||
15
src/pages/travelMember/NewcomerMembership/index.tsx
Normal file
15
src/pages/travelMember/NewcomerMembership/index.tsx
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
// 新人入会奖励
|
||||||
|
import { ConnectState } from "@/models/connect";
|
||||||
|
import { connect, CurrentUser } from "umi";
|
||||||
|
|
||||||
|
const NewcomerMembership: React.FC<{ currentUser: CurrentUser | undefined }> = (props) => {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default connect(({ user }: ConnectState) => ({
|
||||||
|
currentUser: user.currentUser
|
||||||
|
}))(NewcomerMembership);
|
||||||
@ -1 +1,15 @@
|
|||||||
// 订单售后管理
|
// 订单售后管理
|
||||||
|
import { ConnectState } from "@/models/connect";
|
||||||
|
import { connect, CurrentUser } from "umi";
|
||||||
|
|
||||||
|
const OrderAfterSalesManage: React.FC<{ currentUser: CurrentUser | undefined }> = (props) => {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default connect(({ user }: ConnectState) => ({
|
||||||
|
currentUser: user.currentUser
|
||||||
|
}))(OrderAfterSalesManage);
|
||||||
@ -1 +1,15 @@
|
|||||||
// 点餐类别管理
|
// 点餐类别管理
|
||||||
|
import { ConnectState } from "@/models/connect";
|
||||||
|
import { connect, CurrentUser } from "umi";
|
||||||
|
|
||||||
|
const OrderCategoryManage: React.FC<{ currentUser: CurrentUser | undefined }> = (props) => {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default connect(({ user }: ConnectState) => ({
|
||||||
|
currentUser: user.currentUser
|
||||||
|
}))(OrderCategoryManage);
|
||||||
@ -1 +1,15 @@
|
|||||||
// 点餐商品管理
|
// 点餐商品管理
|
||||||
|
import { ConnectState } from "@/models/connect";
|
||||||
|
import { connect, CurrentUser } from "umi";
|
||||||
|
|
||||||
|
const OrderProductManage: React.FC<{ currentUser: CurrentUser | undefined }> = (props) => {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default connect(({ user }: ConnectState) => ({
|
||||||
|
currentUser: user.currentUser
|
||||||
|
}))(OrderProductManage);
|
||||||
15
src/pages/travelMember/PointsExchangeMall/index.tsx
Normal file
15
src/pages/travelMember/PointsExchangeMall/index.tsx
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
// 积分兑换商城
|
||||||
|
import { ConnectState } from "@/models/connect";
|
||||||
|
import { connect, CurrentUser } from "umi";
|
||||||
|
|
||||||
|
const PointsExchangeMall: React.FC<{ currentUser: CurrentUser | undefined }> = (props) => {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default connect(({ user }: ConnectState) => ({
|
||||||
|
currentUser: user.currentUser
|
||||||
|
}))(PointsExchangeMall);
|
||||||
@ -23,6 +23,7 @@ import type { FormInstance } from 'antd';
|
|||||||
import { getFieldEnumTree, getFieldEnumName } from "@/services/options"; // 枚举的引用,没有使用可以删除
|
import { getFieldEnumTree, getFieldEnumName } from "@/services/options"; // 枚举的引用,没有使用可以删除
|
||||||
import { handleDeleteSCORESETTING, handleGetSCORESETTINGList, handleSynchroSCORESETTING } from '../service';
|
import { handleDeleteSCORESETTING, handleGetSCORESETTINGList, handleSynchroSCORESETTING } from '../service';
|
||||||
import session from '@/utils/session';
|
import session from '@/utils/session';
|
||||||
|
import PageTitleBox from '@/components/PageTitleBox';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -286,7 +287,7 @@ const PointsRuleConfig: React.FC<{ currentUser: CurrentUser | undefined }> = (pr
|
|||||||
}}
|
}}
|
||||||
bordered
|
bordered
|
||||||
formRef={formRef}
|
formRef={formRef}
|
||||||
headerTitle="积分规则列表" // 列表表头
|
headerTitle={<PageTitleBox props={props} />}
|
||||||
actionRef={actionRef}
|
actionRef={actionRef}
|
||||||
search={{ span: 6, labelWidth: 'auto' }}
|
search={{ span: 6, labelWidth: 'auto' }}
|
||||||
// 请求数据
|
// 请求数据
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
49
src/pages/travelMember/ProductListingManagement/service.ts
Normal file
49
src/pages/travelMember/ProductListingManagement/service.ts
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
import { tableList, wrapTreeNode } from '@/utils/format';
|
||||||
|
import request from '@/utils/request';
|
||||||
|
import requestEncryption from '@/utils/requestEncryption';
|
||||||
|
import type { COMMODITYModel } from './data'; // 引用标准接口数据对象
|
||||||
|
// 获取列表【商品管理】
|
||||||
|
export async function getList(params?: any) {
|
||||||
|
const data = await requestEncryption(`/MemberBasic/GetCOMMODITYList`, {
|
||||||
|
method: 'POST',
|
||||||
|
data: { ...params, requestEncryption: true }
|
||||||
|
});
|
||||||
|
|
||||||
|
if (data.Result_Code !== 100) {
|
||||||
|
return {
|
||||||
|
List: []
|
||||||
|
}
|
||||||
|
|
||||||
|
return data.Result_Data;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// 获取明细【商品管理】
|
||||||
|
export async function getDetail(params: any) {
|
||||||
|
const data = await requestEncryption(`/MemberBasic/GetCOMMODITYDetail`, {
|
||||||
|
method: 'POST',
|
||||||
|
data: { ...params, requestEncryption: true },
|
||||||
|
});
|
||||||
|
|
||||||
|
if (data.Result_Code !== 100) {
|
||||||
|
return data
|
||||||
|
}
|
||||||
|
|
||||||
|
return data.Result_Data;
|
||||||
|
}
|
||||||
|
// 同步数据【商品管理】
|
||||||
|
export async function updatecommodity(params: any) {
|
||||||
|
const data = await requestEncryption(`/MemberBasic/SynchroCOMMODITY`, {
|
||||||
|
method: 'POST',
|
||||||
|
data: { ...params, requestEncryption: true }
|
||||||
|
});
|
||||||
|
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
// 删除数据【商品管理】
|
||||||
|
export async function delcommodity(params: any) {
|
||||||
|
const data = await requestEncryption(`/MemberBasic/DeleteCOMMODITY`, {
|
||||||
|
method: 'POST',
|
||||||
|
data: { ...params, requestEncryption: true }
|
||||||
|
});
|
||||||
|
return data;
|
||||||
|
}
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
// 注册留存分析
|
||||||
|
import { ConnectState } from "@/models/connect";
|
||||||
|
import { connect, CurrentUser } from "umi";
|
||||||
|
|
||||||
|
const RegistrationRetentionAnalysis: React.FC<{ currentUser: CurrentUser | undefined }> = (props) => {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default connect(({ user }: ConnectState) => ({
|
||||||
|
currentUser: user.currentUser
|
||||||
|
}))(RegistrationRetentionAnalysis);
|
||||||
@ -1 +1,15 @@
|
|||||||
// 自营餐饮商品申请
|
// 自营餐饮商品申请
|
||||||
|
import { ConnectState } from "@/models/connect";
|
||||||
|
import { connect, CurrentUser } from "umi";
|
||||||
|
|
||||||
|
const SelfOperatedProductApplication: React.FC<{ currentUser: CurrentUser | undefined }> = (props) => {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default connect(({ user }: ConnectState) => ({
|
||||||
|
currentUser: user.currentUser
|
||||||
|
}))(SelfOperatedProductApplication);
|
||||||
@ -1 +1,15 @@
|
|||||||
// 自营餐饮商品审核
|
// 自营餐饮商品审核
|
||||||
|
import { ConnectState } from "@/models/connect";
|
||||||
|
import { connect, CurrentUser } from "umi";
|
||||||
|
|
||||||
|
const SelfOperatedProductReview: React.FC<{ currentUser: CurrentUser | undefined }> = (props) => {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default connect(({ user }: ConnectState) => ({
|
||||||
|
currentUser: user.currentUser
|
||||||
|
}))(SelfOperatedProductReview);
|
||||||
@ -1 +1,15 @@
|
|||||||
//商城商品查询
|
//商城商品查询
|
||||||
|
import { ConnectState } from "@/models/connect";
|
||||||
|
import { connect, CurrentUser } from "umi";
|
||||||
|
|
||||||
|
const ShoppingMallProductSearch: React.FC<{ currentUser: CurrentUser | undefined }> = (props) => {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default connect(({ user }: ConnectState) => ({
|
||||||
|
currentUser: user.currentUser
|
||||||
|
}))(ShoppingMallProductSearch);
|
||||||
@ -1 +1,15 @@
|
|||||||
// 预约订单汇总
|
// 预约订单汇总
|
||||||
|
import { ConnectState } from "@/models/connect";
|
||||||
|
import { connect, CurrentUser } from "umi";
|
||||||
|
|
||||||
|
const SummaryOfReservation: React.FC<{ currentUser: CurrentUser | undefined }> = (props) => {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default connect(({ user }: ConnectState) => ({
|
||||||
|
currentUser: user.currentUser
|
||||||
|
}))(SummaryOfReservation);
|
||||||
15
src/pages/travelMember/SummaryofMerchantReviews/index.tsx
Normal file
15
src/pages/travelMember/SummaryofMerchantReviews/index.tsx
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
// 商户评价汇总
|
||||||
|
import { ConnectState } from "@/models/connect";
|
||||||
|
import { connect, CurrentUser } from "umi";
|
||||||
|
|
||||||
|
const SummaryofMerchantReviews: React.FC<{ currentUser: CurrentUser | undefined }> = (props) => {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default connect(({ user }: ConnectState) => ({
|
||||||
|
currentUser: user.currentUser
|
||||||
|
}))(SummaryofMerchantReviews);
|
||||||
@ -1 +1,15 @@
|
|||||||
// 供货商户分类
|
// 供货商户分类
|
||||||
|
import { ConnectState } from "@/models/connect";
|
||||||
|
import { connect, CurrentUser } from "umi";
|
||||||
|
|
||||||
|
const SupplierClassification: React.FC<{ currentUser: CurrentUser | undefined }> = (props) => {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default connect(({ user }: ConnectState) => ({
|
||||||
|
currentUser: user.currentUser
|
||||||
|
}))(SupplierClassification);
|
||||||
@ -1 +1,15 @@
|
|||||||
// 供货商户管理
|
// 供货商户管理
|
||||||
|
import { ConnectState } from "@/models/connect";
|
||||||
|
import { connect, CurrentUser } from "umi";
|
||||||
|
|
||||||
|
const SupplierMerchantManage: React.FC<{ currentUser: CurrentUser | undefined }> = (props) => {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default connect(({ user }: ConnectState) => ({
|
||||||
|
currentUser: user.currentUser
|
||||||
|
}))(SupplierMerchantManage);
|
||||||
Loading…
x
Reference in New Issue
Block a user