图标修改
This commit is contained in:
@@ -2,10 +2,10 @@
|
||||
<el-dropdown placement="bottom">
|
||||
<div class="flx-center">
|
||||
<div class="avatar">
|
||||
<img :src="userInfo && userInfo.avatar || ''" alt="avatar" />
|
||||
<img :src="userInfo?.avatar || ''" alt="avatar" />
|
||||
</div>
|
||||
<span class="username" :style="{ color: themeConfig.footColor }">{{
|
||||
userInfo && userInfo.name || ''
|
||||
userInfo?.name || ''
|
||||
}}</span>
|
||||
</div>
|
||||
<template #dropdown>
|
||||
|
||||
@@ -61,7 +61,7 @@ const routerList = [
|
||||
icon: 'el-icon-s-data',
|
||||
name: "绩效考勤",
|
||||
requiresAuth: true,
|
||||
icon: "el-icon-s-data",
|
||||
icon: "Notebook",
|
||||
roles: [1, 2, 3] // 所有角色都可以访问
|
||||
},
|
||||
children: [
|
||||
@@ -73,7 +73,7 @@ const routerList = [
|
||||
title: '综合部初审列表',
|
||||
name: "综合部初审列表",
|
||||
requiresAuth: true,
|
||||
icon: "el-icon-s-data",
|
||||
icon: "Notebook",
|
||||
roles: [2] // 只有role=2的用户可以查看
|
||||
}
|
||||
},
|
||||
@@ -85,7 +85,7 @@ const routerList = [
|
||||
title: '综合部复审列表',
|
||||
name: "综合部复审列表",
|
||||
requiresAuth: true,
|
||||
icon: "el-icon-s-data",
|
||||
icon: "Notebook",
|
||||
roles: [2] // 只有role=2的用户可以查看
|
||||
}
|
||||
},
|
||||
@@ -96,7 +96,7 @@ const routerList = [
|
||||
meta: {
|
||||
title: '主管审批列表',
|
||||
name: "主管审批列表",
|
||||
icon: "el-icon-s-data",
|
||||
icon: "Notebook",
|
||||
requiresAuth: true,
|
||||
roles: [1] // 只有role=1的用户可以查看
|
||||
}
|
||||
@@ -108,7 +108,7 @@ const routerList = [
|
||||
meta: {
|
||||
title: '财务查看考勤列表',
|
||||
name: "财务查看考勤列表",
|
||||
icon: "el-icon-s-data",
|
||||
icon: "Notebook",
|
||||
requiresAuth: true,
|
||||
roles: [3] // 只有role=3的用户可以查看
|
||||
}
|
||||
@@ -136,7 +136,7 @@ const routerList = [
|
||||
title: '工资条列表',
|
||||
name: "工资条列表",
|
||||
requiresAuth: true,
|
||||
icon: "el-icon-money",
|
||||
icon: "Notebook",
|
||||
roles: [3] // 只有财务角色可以访问
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user