【修改】修改权限申请流程

This commit is contained in:
zhoulingpo
2023-05-10 15:07:35 +08:00
parent 0ca1c4c6f5
commit fc0f3245be
16 changed files with 686 additions and 504 deletions
+8 -7
View File
@@ -1,10 +1,11 @@
// 定义枚举
import Esenum from './index.js'
// 权限申请
export const PERMISSION = new Esenum([
export const PERMISSION = [
{ label: '预览', value: "1" },
{ label: '预览+下载', value: "2" }
])
{ label: '预览+下载', value: "2" },
{ label: '下载', value: "3" },
]
// 基础设置的枚举
// export const basMessage = new Esenum([
@@ -16,7 +17,7 @@ export const basMessage = new Esenum({
export const privacyLevelOptions= new Esenum([
export const privacyLevelOptions= [
{
value:'公开(内部公开)',
label:'公开(内部公开)'
@@ -29,8 +30,8 @@ export const privacyLevelOptions= new Esenum([
value:'核心商密',
label:'核心商密'
},
])
export const confidentialLevelOptions = new Esenum([
]
export const confidentialLevelOptions = [
{
value:'不涉及用户隐私',
label:'不涉及用户隐私'
@@ -43,4 +44,4 @@ export const confidentialLevelOptions = new Esenum([
value:'用户敏感信息',
label:'用户敏感信息'
}
])
]