| | |
| | | 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 |
| | | |
| | | export const BaseConfig = { |
| | | type: 'Modal', |
| | |
| | | export const SearchItems = [ |
| | | { |
| | | type: 'form', |
| | | label: CommonDict['model.form.text'], |
| | | label: '文本', |
| | | subType: 'text', |
| | | }, |
| | | { |
| | | type: 'form', |
| | | label: CommonDict['model.form.number'], |
| | | label: '数字', |
| | | subType: 'number', |
| | | }, |
| | | { |
| | | type: 'form', |
| | | label: CommonDict['model.form.select'], |
| | | label: '下拉选择', |
| | | subType: 'select', |
| | | }, |
| | | { |
| | |
| | | }, |
| | | { |
| | | type: 'form', |
| | | label: CommonDict['model.form.multiselect'], |
| | | label: '下拉多选', |
| | | subType: 'multiselect', |
| | | }, |
| | | { |
| | | type: 'form', |
| | | label: CommonDict['model.form.link'], |
| | | label: '联动菜单', |
| | | subType: 'link', |
| | | }, |
| | | { |
| | |
| | | }, |
| | | { |
| | | type: 'form', |
| | | label: CommonDict['model.form.datemonth'], |
| | | label: '日期(月)', |
| | | subType: 'datemonth', |
| | | }, |
| | | { |
| | |
| | | }, |
| | | { |
| | | type: 'form', |
| | | label: CommonDict['model.form.color'], |
| | | label: '颜色', |
| | | subType: 'color', |
| | | }, |
| | | { |
| | |
| | | }, |
| | | { |
| | | type: 'form', |
| | | label: CommonDict['header.form.funcvar'], |
| | | label: '函数变量', |
| | | subType: 'funcvar', |
| | | }, |
| | | { |