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
linweijiong
jinfa-platform
Commits
a511cdac
Commit
a511cdac
authored
May 28, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 添加 会员规则配置 相关路由
parent
67c7f6ea
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
75 additions
and
32 deletions
+75
-32
memberRoute.ts
config/routes/memberRoute.ts
+66
-29
menu.ts
src/locales/zh-CN/menu.ts
+9
-3
No files found.
config/routes/memberRoute.ts
View file @
a511cdac
...
...
@@ -416,34 +416,6 @@ const MemberRoute: RouterChild = {
hideInMenu
:
true
,
noMargin
:
true
,
},
// 会员升级规则
{
path
:
'/memberCenter/memberAbility/manage/upgradeRule'
,
name
:
'memberUpgradeRule'
,
component
:
'@/pages/member/memberUpgradeRule/index'
,
},
// 会员等级
{
path
:
'/memberCenter/memberAbility/manage/level'
,
name
:
'memberLevel'
,
component
:
'@/pages/member/memberLevel/index'
,
},
// 会员等级-设置
{
path
:
'/memberCenter/memberAbility/manage/level/edit'
,
name
:
'editMemberLevel'
,
hideInMenu
:
true
,
noMargin
:
true
,
component
:
'@/pages/member/memberLevel/addEquity'
,
},
// 会员等级-详情
{
path
:
'/memberCenter/memberAbility/manage/level/detail'
,
name
:
'editMemberLevel'
,
hideInMenu
:
true
,
noMargin
:
true
,
component
:
'@/pages/member/memberLevel/equityDetail'
,
},
]
},
// 会员信息查询
...
...
@@ -716,7 +688,72 @@ const MemberRoute: RouterChild = {
component
:
'@/pages/member/memberWarning/tobeHandleWarning'
}
]
}
},
// 会员规则配置
{
path
:
'/memberCenter/memberAbility/ruleConfiguration'
,
name
:
'memberRuleConfiguration'
,
routes
:
[
// 会员等级
{
path
:
'/memberCenter/memberAbility/ruleConfiguration/level'
,
name
:
'memberLevel'
,
component
:
'@/pages/member/memberLevel/index'
,
},
// 会员等级-设置
{
path
:
'/memberCenter/memberAbility/ruleConfiguration/level/edit'
,
name
:
'memberLevelEdit'
,
hideInMenu
:
true
,
noMargin
:
true
,
component
:
'@/pages/member/memberLevel/addEquity'
,
},
// 会员等级-详情
{
path
:
'/memberCenter/memberAbility/ruleConfiguration/level/detail'
,
name
:
'memberLevelDetail'
,
hideInMenu
:
true
,
noMargin
:
true
,
component
:
'@/pages/member/memberLevel/equityDetail'
,
},
// 会员升级规则
{
path
:
'/memberCenter/memberAbility/ruleConfiguration/upgradeRule'
,
name
:
'memberUpgradeRule'
,
component
:
'@/pages/member/memberUpgradeRule/index'
,
},
// 会员管理流程规则配置
{
path
:
'/memberCenter/memberAbility/ruleConfiguration/memberFlowRule'
,
name
:
'memberFlowRule'
,
component
:
'@/pages/member/memberFlowRule/index'
,
},
// 会员管理流程规则配置-新增
{
path
:
'/memberCenter/memberAbility/ruleConfiguration/memberFlowRule/add'
,
name
:
'memberFlowRuleAdd'
,
hideInMenu
:
true
,
noMargin
:
true
,
component
:
'@/pages/member/memberFlowRule/addFlowRule'
,
},
// 会员管理流程规则配置-编辑
{
path
:
'/memberCenter/memberAbility/ruleConfiguration/memberFlowRule/edit'
,
name
:
'memberFlowRuleEdit'
,
hideInMenu
:
true
,
noMargin
:
true
,
component
:
'@/pages/member/memberFlowRule/editFlowRule'
,
},
// 会员管理流程规则配置-详情
{
path
:
'/memberCenter/memberAbility/ruleConfiguration/memberFlowRule/detail'
,
name
:
'memberFlowRuleDetail'
,
hideInMenu
:
true
,
noMargin
:
true
,
component
:
'@/pages/member/memberFlowRule/detail'
,
},
]
},
]
}
...
...
src/locales/zh-CN/menu.ts
View file @
a511cdac
...
...
@@ -125,9 +125,6 @@ export default {
'menu.memberAbility.memberManage.memberPrVerifyChangeConfirm'
:
'待确认会员变更'
,
'menu.memberAbility.memberManage.memberPrVerifyChangeConfirmDetail'
:
'待确认会员变更详情'
,
'menu.memberAbility.memberManage.memberPrVerifyChangeConfirmVerify'
:
'确认会员变更'
,
'menu.memberAbility.memberManage.memberUpgradeRule'
:
'会员升级规则'
,
'menu.memberAbility.memberManage.memberLevel'
:
'会员等级'
,
'menu.memberAbility.memberManage.editMemberLevel'
:
'会员权益设置'
,
'menu.memberAbility.memberManage.maintainDetail'
:
'会员详情'
,
'menu.memberAbility.memberManage.maintainDetail.basicInfo'
:
'会员基本信息'
,
'menu.memberAbility.memberManage.maintainDetail.levelInfo'
:
'会员等级信息'
,
...
...
@@ -143,6 +140,15 @@ export default {
'menu.memberAbility.memberUpdate'
:
'变更会员信息'
,
'menu.memberAbility.addSubRole'
:
'新建会员角色'
,
'menu.memberAbility.applyMember'
:
'申请会员'
,
'menu.memberAbility.memberRuleConfiguration'
:
'会员规则配置'
,
'menu.memberAbility.memberRuleConfiguration.memberLevel'
:
'会员等级'
,
'menu.memberAbility.memberRuleConfiguration.memberLevelEdit'
:
'会员权益设置'
,
'menu.memberAbility.memberRuleConfiguration.memberLevelDetail'
:
'会员权益详情'
,
'menu.memberAbility.memberRuleConfiguration.memberUpgradeRule'
:
'会员升级规则'
,
'menu.memberAbility.memberRuleConfiguration.memberFlowRule'
:
'会员管理流程规则配置'
,
'menu.memberAbility.memberRuleConfiguration.memberFlowRuleAdd'
:
'新建会员管理流程规则配置'
,
'menu.memberAbility.memberRuleConfiguration.memberFlowRuleEdit'
:
'编辑会员管理流程规则配置'
,
'menu.memberAbility.memberRuleConfiguration.memberFlowRuleDetail'
:
'会员管理流程规则配置详情'
,
// 店铺能力
'menu.shopAbility'
:
'店铺'
,
...
...
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