merchant-web/src/router/full-routers.js

193 lines
4.7 KiB
JavaScript
Raw Normal View History

2024-08-05 08:26:35 +00:00
import { getUUID } from "@/utils";
export default {
2024-09-28 09:12:06 +00:00
msg: "success",
menuList: [
// {
// "menuId": 999,
// url: 'http://localhost:8082/',
// type: 'iframe',
// // isMicroApp: true,
// name: '大屏展示',
// icon: 's-data',
// "type": 1,
// },
// new===
//放到首页
// {
// "menuId": getUUID(),
// "parentId": 0,
// "parentName": null,
// "name": "数据看板",
// "url": "local-dashboard/dashboard",
// "perms": "",
// "type": 1,
// "elIcon": "el-icon-data-analysis",
// "orderNum": 0,
// "open": null,
// list: []
// },
{
menuId: getUUID(),
parentId: 0,
parentName: null,
name: "商品",
url: "local-course/resources",
perms: "",
type: 0,
elIcon: "el-icon-menu",
orderNum: 0,
open: null,
list: [
2024-08-05 08:26:35 +00:00
{
2024-09-28 09:12:06 +00:00
menuId: getUUID(),
parentId: 0,
parentName: null,
name: "商品管理",
url: "product/index",
perms: "",
type: 1,
elIcon: "el-icon-menu",
orderNum: 0,
open: null,
list: [],
2024-08-05 08:26:35 +00:00
},
2024-09-28 09:12:06 +00:00
],
},
{
menuId: getUUID(),
parentId: 0,
parentName: null,
name: "运费管理",
url: "",
perms: "",
type: 0,
elIcon: "el-icon-money",
orderNum: 0,
open: null,
list: [
2024-08-18 06:26:20 +00:00
{
2024-09-28 09:12:06 +00:00
menuId: getUUID(),
parentId: 0,
parentName: null,
name: "运费模板",
url: "logistics-fare/logistics-template/index",
perms: "",
type: 1,
elIcon: "el-icon-postcard",
orderNum: 0,
open: null,
list: [],
2024-08-18 06:26:20 +00:00
},
2024-09-28 09:12:06 +00:00
],
},
{
menuId: getUUID(),
parentId: 0,
parentName: null,
name: "银行卡管理",
url: "bank-card/index",
perms: "",
type: 0,
2024-09-29 10:02:11 +00:00
elIcon: "el-icon-picture-outline",
2024-09-28 09:12:06 +00:00
orderNum: 0,
open: null,
list: [],
},
2024-10-20 09:00:39 +00:00
{
menuId: getUUID(),
parentId: 0,
parentName: null,
name: "品牌管理",
url: "",
perms: "",
type: 0,
elIcon: "el-icon-money",
orderNum: 0,
open: null,
list: [
{
menuId: getUUID(),
parentId: 0,
parentName: null,
name: "品牌管理",
url: "brand/config/index",
perms: "",
type: 1,
elIcon: "el-icon-postcard",
orderNum: 0,
open: null,
list: [],
},
],
},
2024-09-28 09:12:06 +00:00
// {
// "menuId": getUUID(),
// "parentId": 0,
// "parentName": null,
// "name": "教务管理",
// "url": "local-affairs",
// "perms": "",
// "type": 0,
// "elIcon": "el-icon-office-building",
// "orderNum": 0,
// "open": null,
// list: [
// {
// "menuId": getUUID(),
// "parentId": 2,
// "parentName": null,
// "name": "年级管理",
// "url": "local-affairs/grade",
// "perms": "",
// "type": 1,
// "icon": "log",
// "orderNum": 0,
// "open": null,
// "list": []
// },
// {
// "menuId": getUUID(),
// "parentId": 2,
// "parentName": null,
// "name": "班级管理",
// "url": "local-affairs/class",
// "perms": "",
// "type": 1,
// "icon": "log",
// "orderNum": 0,
// "open": null,
// "list": []
// },
// {
// "menuId": getUUID(),
// "parentId": 2,
// "parentName": null,
// "name": "教师管理",
// "url": "local-teacher/teacher",
// "perms": "",
// "type": 1,
// "icon": "log",
// "orderNum": 0,
// "open": null,
// "list": []
// },
// {
// "menuId": getUUID(),
// "parentId": 0,
// "parentName": null,
// "name": "学校管理",
// "url": "local-school/school",
// "perms": "",
// "type": 1,
// "elIcon": "el-icon-school",
// "orderNum": 0,
// "open": null,
// list: []
// },
// ]
// },
],
code: 0,
permissions: [],
};