From 6f1282471e5fd213443ac1f6dabfd3ef8b08c5c3 Mon Sep 17 00:00:00 2001
From: kongdeqiang <123456>
Date: 星期二, 06 六月 2023 09:38:21 +0800
Subject: [PATCH] 修改前端页面
---
src/components/common/Sidebar.vue | 145 ++++++++++++++++++++++++++++++------------------
1 files changed, 90 insertions(+), 55 deletions(-)
diff --git a/src/components/common/Sidebar.vue b/src/components/common/Sidebar.vue
index 2a34483..17ede75 100644
--- a/src/components/common/Sidebar.vue
+++ b/src/components/common/Sidebar.vue
@@ -46,68 +46,103 @@
return {
collapse: false,
items: [
- {
+ {
+ id:1,
+ icon: 'el-icon-folder-opened',
+ indexUrl: '1',
+ name: '绯荤粺绠$悊',
+ children:[
+ {
id:1,
- icon: 'el-icon-document',
+ icon: 'el-icon-user-solid',
name: '浜哄憳绠$悊',
+ parentId: 1,
indexUrl: 'user'
- },
- {
- id:2,
- icon: 'el-icon-document',
- name: '鍋滆溅鍦虹鐞�',
- indexUrl: 'park'
- },
- {
- id:3,
+ }
+ ]
+ },
+ {
+ id:2,
+ icon: 'el-icon-folder-opened',
+ indexUrl: '2',
+ name: '鏅烘収娉婅溅绠$悊',
+ children:[
+ {
+ icon: 'el-icon-document',
+ name: '鍋滆溅鍦虹鐞�',
+ parentId: 2,
+ indexUrl: "park"
+ },
+ {
+ icon: 'el-icon-document',
+ name: '鏀惰垂瑙勫垯绠$悊',
+ parentId: 2,
+ indexUrl: "costRule"
+ },
+ {
+ icon: 'el-icon-document',
+ name: '杞﹁締鍏ュ満绠$悊',
+ parentId: 2,
+ indexUrl: "enterPark"
+ },
+ {
+ icon: 'el-icon-document',
+ name: '杞﹁締鍑哄満绠$悊',
+ parentId: 2,
+ indexUrl: "outPark"
+ },
+ {
+ icon: 'el-icon-document',
+ name: '鐧藉悕鍗曠鐞�',
+ parentId: 2,
+ indexUrl: "whiteList"
+ },
+ {
+ icon: 'el-icon-document',
+ name: '娉婅溅鍙戠エ绠$悊',
+ parentId: 2,
+ indexUrl: "parkticket"
+ },
+ {
+ icon: 'el-icon-document',
+ name: '璁㈠崟缁熻',
+ parentId: 2,
+ indexUrl: "orderRecord"
+ },
+ ]
+ },
+ {
+ id:3,
+ icon: 'el-icon-folder-opened',
+ indexUrl: '3',
+ name: '鏅烘収缃氭病绠$悊',
+ children:[
+ {
icon: 'el-icon-document',
name: '杩濈珷绫诲瀷绠$悊',
- indexUrl: 'violationType'
- },
- // {
- // id:4,
- // icon: 'el-icon-document',
- // name: '璁㈠崟绠$悊',
- // indexUrl: 'outPark'
- // },
- // {
- // id:5,
- // icon: 'el-icon-document',
- // name: '缃氬崟绠$悊',
- // indexUrl: 'ticket'
- // },
- {
- id:6,
- icon: 'el-icon-document',
- name: '鐧藉悕鍗�',
- indexUrl: 'whiteList'
- },
- {
- id:7,
+ parentId: 3,
+ indexUrl: "violationType"
+ },
+ {
icon: 'el-icon-document',
name: '琛楅亾绠$悊',
- indexUrl: 'street'
- },
- // {
- // id:3,
- // icon: 'el-icon-folder-opened',
- // indexUrl: '2',
- // name: '缁熻鎶ヨ〃',
- // children:[
- // {
- // icon: 'el-icon-document',
- // name: '鏅�氬憳宸ユ湀搴﹁瘎浠�',
- // parentId: 3,
- // indexUrl: "puTongYuanGongStatistic"
- // },
- // {
- // icon: 'el-icon-document',
- // name: '鑱岃兘閮ㄩ棬璇勪环缁撴灉',
- // parentId: 3,
- // indexUrl: "leaderStatistic"
- // }
- // ]
- // }
+ parentId: 3,
+ indexUrl: "street"
+ },
+ {
+ icon: 'el-icon-document',
+ name: '缃氬崟绠$悊',
+ parentId: 3,
+ indexUrl: "ticket"
+ },
+ {
+ icon: 'el-icon-document',
+ name: '缃氭病鍙戠エ绠$悊',
+ parentId: 3,
+ indexUrl: "zfticket"
+ },
+ ]
+ },
]
}
},
--
Gitblit v1.9.1