12345678910111213141516171819202122232425262728 |
- export const dictionaryDefine = {
-
- label_type: ['labelTypeList', 'labelTypeMap'],
- label_level: ['labelLevelList', 'labelLevelMap'],
- gx_method: ['gxMethodList', 'gxMethodMap'],
- gx_cycle: ['gxCycleList', 'gxCycleMap'],
- theme_mode: ['themeModeList', 'themeModeMap'],
- default_model: ['defaultModelList', 'defaultModelMap'],
- true_false: ['trueFalseList', 'trueFalseMap'],
- fie_type: ['fieTypeList', 'fieTypeMap'],
- analyzer: ['analyzerList', 'analyzerMap'],
- user_status: ['userStatusList', 'userStatusMap'],
- role_status: ['roleStatusList', 'roleStatusMap'],
- theme_type: ['themeTypeList', 'themeTypeMap'],
- theme_status: ['themeStatusList', 'themeStatusMap'],
- node_size: ['nodeSizeList', 'nodeSizeMap'],
- condition_type: ['conditionTypeList', 'conditionTypeMap'],
- is_main_index: ['isMainIndexList', 'isMainIndexMap'],
- sort_type: ['sortTypeList', 'sortTypeMap'],
- }
- const stateMap = {}
- Object.keys(dictionaryDefine).map(i => {
- stateMap[dictionaryDefine[i][0]] = []
- stateMap[dictionaryDefine[i][1]] = new Map()
- })
- export const dictionary = stateMap
|