Commit 3a95e1dc by 李伟康

feat(vehicleManagement): 新增车辆管理模块及相关路由配置

新增车辆管理页面,包括列表、详情和编辑功能,支持权限控制和导出操作。
路由配置增加车辆管理相关路径及权限点,完善二手车管理模块功能。
1 parent 885e8fff
...@@ -94,5 +94,74 @@ export const routerName = { ...@@ -94,5 +94,74 @@ export const routerName = {
} }
], ],
component: _import("usedCarManagement/operateManagement/index") component: _import("usedCarManagement/operateManagement/index")
} },
92004: {
path: "/vehicleManagement",
name: "vehicleManagement",
meta: {
title: "车辆管理",
authId: "92004",
parentId: "920",
cache: false
},
auth: [
{
authId: "9200401",
parentId: "92004",
label: "详情",
handle: "handleDetail",
addRoutePath: [
{
authId: "9200404",
name: "车辆详情",
parentId: "92004"
},
{
authId: "9200405",
name: "编辑车辆",
parentId: "92004"
}
]
},
{
authId: "9200402",
parentId: "92004",
label: "状态变更",
handle: "handleChangeStatus"
},
{
authId: "9200403",
parentId: "92004",
label: "导出",
category: "Button",
type: "primary",
handle: "handleExport"
}
],
component: _import("usedCarManagement/vehicleManagement/index")
},
9200404: {
path: "/detail",
name: "vehicleDetail",
meta: {
title: "车辆详情",
authId: "9200404",
parentId: "92004",
cache: false
},
auth: [],
component: _import("usedCarManagement/vehicleManagement/detail")
},
9200405: {
path: "/detail",
name: "editVehicle",
meta: {
title: "编辑车辆",
authId: "9200405",
parentId: "92004",
cache: false
},
auth: [],
component: _import("usedCarManagement/vehicleManagement/detail")
},
} }
<template>
<div>
详情
</div>
</template>
<script type='text/ecmascript-6'>
export default {
name: '',
data () {
return {
}
},
mounted () {
},
methods: {
}
}
</script>
<style scoped lang='scss'>
</style>
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!