【add】枚举和双语文件的整理

This commit is contained in:
fengchenchen
2023-08-16 09:50:45 +08:00
parent 74ac8c07d0
commit 9cc5f6443e
6 changed files with 175 additions and 24 deletions
+20
View File
@@ -1,3 +1,16 @@
import EsEnums from './EsEnum'
import DomesticList from '../views/system/tags/pages/DomesticList'
import ForeignList from '../views/system/tags/pages/ForeignList'
import EnterpriseList from '../views/system/tags/pages/EnterpriseList'
import ClauseSplittingList from '../views/system/tags/pages/ClauseSplittingList'
export const YesOrNoEnum = new EsEnums({
NO: { name: '否', index: 0 },
YES: { name: '是', index: 1 }
})
// 既可以使用EsEnums 也可以单独写明
export const FieldType = {
TREE: { text: '树形结构', value: '0' },
TEXT_STRING: { text: '输入框(字符串)', value: '1' },
@@ -12,3 +25,10 @@ export const FieldType = {
STANDARD: { text: '标准选择', value: '10' },
TEXT_LINK: { text: '输入框(链接)', value: '11' }
}
export const TagsTypeEnums = {
DOMESTIC_LIST: { text: '国内法规', langKey: '', value: 1 },
FOREIGN_LIST: { text: '海外标准', langKey: '', value: 2 },
ENTERPRISE_LIST: { text: '企业标准', langKey: '', value: 3 },
CLAUSE_SPLITTING_LIST: { text: '条款拆分', langKey: '', value: 4 }
}