Commit 2a823f4b by cwq0219

路由配置

1 parent b11edc97
......@@ -55,6 +55,7 @@ export const sys = [
* 904 - 订单管理
* 905 - 财务管理
* 906 - 系统设置
* 908 - 我的分账
*/
export const resources = {
'902': {
......@@ -464,6 +465,45 @@ export const resources = {
},
component: _import('financeManage/financeDetail')
},
'90503': {
path: '/onlineAccountList',
name: 'onlineAccountList',
icon: 's-goods',
meta: {
title: '线上分账列表',
authId: '90503',
parentId: '905',
cache: false
},
auth: [{
authId: '9050301',
parentId: '90503',
label: '提现记录',
category: 'Button',
type: 'primary',
handle: 'handleRecord'
}, {
authId: '9050302',
parentId: '90503',
label: '导出',
category: 'Button',
handle: 'handleExport'
}],
component: _import('financeManage/onlineAccount/onlineAccountList')
},
'90504': {
path: '/accountRecord',
name: 'accountRecord',
icon: 's-goods',
meta: {
title: '提现记录',
authId: '90504',
parentId: '90503',
cache: false,
activePath: '/onlineAccountList'
},
component: _import('financeManage/onlineAccount/accountRecord')
},
'906': {
path: '/systemConfig',
name: 'systemConfig',
......@@ -502,6 +542,23 @@ export const resources = {
parentId: '90603',
label: '财务',
handle: 'handleDetail'
}, {
authId: '9060302',
parentId: '90603',
label: '关联4s店',
category: 'Button',
type: 'primary',
handle: 'handleRelate'
}, {
authId: '9060303',
parentId: '90603',
label: '查看详情',
handle: 'handleViewDetail'
}, {
authId: '9060304',
parentId: '90603',
label: '删除',
handle: 'handleDelete'
}],
component: _import('systemConfig/merchantManage')
},
......@@ -518,6 +575,62 @@ export const resources = {
},
component: _import('systemConfig/merchantDetail')
},
'90605': {
path: '/serviceManage',
name: 'serviceManage',
icon: 'user-solid',
meta: {
title: '服务商管理',
authId: '90605',
parentId: '906',
cache: false
},
auth: [{
authId: '9060501',
parentId: '90605',
label: '关联服务商',
category: 'Button',
type: 'primary',
handle: 'handleAdd'
}, {
authId: '9060502',
parentId: '90605',
label: '删除',
handle: 'handleDelete'
}],
component: _import('systemConfig/serviceManage')
},
'90606': {
path: '/accountList',
name: 'accountList',
icon: 'user-solid',
meta: {
title: '虚拟对公账户',
authId: '90606',
parentId: '906',
cache: false
},
auth: [{
authId: '9060601',
parentId: '90606',
label: '虚拟对账账户',
handle: 'handleApply'
}],
component: _import('systemConfig/account/accountList')
},
'90607': {
path: '/applyAccount',
name: 'applyAccount',
icon: 'user-solid',
meta: {
title: '申请虚拟对账账户',
authId: '90607',
parentId: '90606',
cache: false,
activePath: '/accountList'
},
component: _import('systemConfig/account/applyAccount')
},
'90602': {
path: '/serviceStore',
name: 'serviceStore',
......@@ -542,6 +655,30 @@ export const resources = {
handle: 'handleDelete'
}],
component: _import('systemConfig/serviceStore')
},
'908': {
path: '/myAccount',
name: 'myAccount',
icon: 's-tools',
meta: {
title: '我的分账',
authId: '908',
parentId: '1',
cache: false
},
component: _import('account/myAccount')
},
'90801': {
path: '/myAccount',
name: 'myAccount',
icon: 's-tools',
meta: {
title: '我的分账',
authId: '90801',
parentId: '908',
cache: false
},
component: _import('account/myAccount')
}
}
......
<!-- 我的分账 -->
<template>
<div></div>
</template>
<script>
export default {
name: 'myAccount',
data() {
return {
}
},
components: {},
computed: {},
mounted() {},
methods: {}
}
</script>
<style scoped>
</style>
<!-- 提现记录 -->
<template>
<div></div>
</template>
<script>
export default {
name: 'accountRecord',
data() {
return {
}
},
components: {},
computed: {},
mounted() {},
methods: {}
}
</script>
<style scoped>
</style>
<!-- 线上分账列表 -->
<template>
<div></div>
</template>
<script>
export default {
name: 'onlineAccountList',
data() {
return {
}
},
components: {},
computed: {},
mounted() {},
methods: {}
}
</script>
<style scoped>
</style>
<!-- 虚拟对账账户 -->
<template>
<div></div>
</template>
<script>
export default {
name: 'accountList',
data() {
return {
}
},
components: {},
computed: {},
mounted() {},
methods: {}
}
</script>
<style scoped>
</style>
<!-- 申请虚拟对账账户 -->
<template>
<div>申请虚拟对账账户</div>
</template>
<script>
export default {
name: 'applyAccount',
data() {
return {
}
},
components: {},
computed: {},
mounted() {},
methods: {}
}
</script>
<style scoped>
</style>
<!-- 服务商管理 -->
<template>
<div>服务商管理</div>
</template>
<script>
export default {
name: 'serviceManage',
data() {
return {
}
},
components: {},
computed: {},
mounted() {},
methods: {}
}
</script>
<style scoped>
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!