Skip to content
  • This project
    • Loading...
  • Sign in

liuzhen@situdata.com / yunxiao-admin-fe

Go to a project
Toggle navigation
Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • yunxiao-admin-fe
  • src
  • utils
  • mappingData.js
  • zhen's avatar
    资源监控列表以及详情完成 · 64f06602
    zhen committed 2020-10-22 10:06:17 +0800
    64f06602 Browse File
mappingData.js 400 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
// session key
export const NAME = 'name'
export const USER_ID = 'userId'
export const ROLE_TYPE = 'roleType'
export const USER_PASS = 'userpass'

// 权限字段
export const PERMISSION_USER_MAP = {
  admin: {
    code: 'admin',
    name: '管理员'
  },
  auditor: {
    code: 'auditor',
    name: '初级审核员'
  },
  dataAnalyst: {
    code: 'dataAnalyst',
    name: '数据分析员'
  }
}