| | |
| | | import Utils from '@/utils/utils.js' |
| | | import zhCN from '@/locales/zh-CN/model.js' |
| | | import enUS from '@/locales/en-US/model.js' |
| | | |
| | | const CommonDict = sessionStorage.getItem('lang') !== 'en-US' ? zhCN : enUS |
| | | |
| | | class CalendarBaseData { |
| | | baseConfig = { |
| | |
| | | searchItems = [ |
| | | { |
| | | type: 'search', |
| | | label: CommonDict['model.form.text'], |
| | | label: '文本', |
| | | subType: 'text', |
| | | url: '' |
| | | }, |
| | | { |
| | | type: 'search', |
| | | label: CommonDict['model.form.select'], |
| | | label: '下拉选择', |
| | | subType: 'select', |
| | | url: '' |
| | | }, |
| | | { |
| | | type: 'search', |
| | | label: CommonDict['model.form.multiselect'], |
| | | label: '下拉多选', |
| | | subType: 'multiselect', |
| | | url: '' |
| | | }, |
| | | { |
| | | type: 'search', |
| | | label: CommonDict['model.form.link'], |
| | | label: '联动菜单', |
| | | subType: 'link', |
| | | url: '' |
| | | }, |
| | |
| | | }, |
| | | { |
| | | type: 'search', |
| | | label: CommonDict['model.form.datemonth'], |
| | | label: '日期(月)', |
| | | subType: 'datemonth', |
| | | url: '' |
| | | }, |
| | | { |
| | | type: 'search', |
| | | label: CommonDict['model.form.daterange'], |
| | | label: '日期(区间)', |
| | | subType: 'daterange', |
| | | url: '' |
| | | }, |
| | | { |
| | | type: 'search', |
| | | label: CommonDict['model.form.dategroup'], |
| | | label: '日期(组合)', |
| | | subType: 'group', |
| | | url: '' |
| | | } |