| | |
| | | } else { |
| | | typeOptions = [{ |
| | | value: 'text', |
| | | text: Formdict['model.form.text'] |
| | | text: '文本' |
| | | }, { |
| | | value: 'select', |
| | | text: Formdict['model.form.select'] |
| | | text: '下拉选择' |
| | | }, { |
| | | value: 'multiselect', |
| | | text: Formdict['model.form.multiselect'] |
| | | text: '下拉多选' |
| | | }, { |
| | | value: 'link', |
| | | text: Formdict['model.form.link'] |
| | | text: '联动菜单' |
| | | }, { |
| | | value: 'checkcard', |
| | | text: '选项卡' |
| | |
| | | text: '日期(周)' |
| | | }, { |
| | | value: 'datemonth', |
| | | text: Formdict['model.form.datemonth'] |
| | | text: '日期(月)' |
| | | }, { |
| | | value: 'daterange', |
| | | text: Formdict['model.form.daterange'] |
| | | text: '日期(区间)' |
| | | }, { |
| | | value: 'group', |
| | | text: Formdict['model.form.dategroup'] |
| | | text: '日期(组合)' |
| | | }] |
| | | } |
| | | |
| | |
| | | |
| | | let _openType = [{ |
| | | value: 'text', |
| | | text: Formdict['model.form.text'] |
| | | text: '文本' |
| | | }, { |
| | | value: 'number', |
| | | text: Formdict['model.form.number'] |
| | | text: '数字' |
| | | }, { |
| | | value: 'select', |
| | | text: Formdict['model.form.select'] |
| | | text: '下拉选择' |
| | | }, { |
| | | value: 'textarea', |
| | | text: '多行文本' |
| | | }, { |
| | | value: 'multiselect', |
| | | text: Formdict['model.form.multiselect'] |
| | | text: '下拉多选' |
| | | }, { |
| | | value: 'link', |
| | | text: Formdict['model.form.link'] |
| | | text: '联动菜单' |
| | | }, { |
| | | value: 'switch', |
| | | text: '开关' |
| | |
| | | text: '日期(天)' |
| | | }, { |
| | | value: 'datemonth', |
| | | text: Formdict['model.form.datemonth'] |
| | | text: '日期(月)' |
| | | // }, { |
| | | // value: 'datetime', |
| | | // text: '日期(分/秒)' |
| | |
| | | text: '评分' |
| | | }, { |
| | | value: 'color', |
| | | text: Formdict['model.form.color'] |
| | | text: '颜色' |
| | | }, { |
| | | value: 'brafteditor', |
| | | text: '富文本' |
| | | }, { |
| | | value: 'funcvar', |
| | | text: Formdict['header.form.funcvar'] |
| | | text: '函数变量' |
| | | }, { |
| | | value: 'hint', |
| | | text: '提示' |
| | |
| | | if (appType === 'mob') { |
| | | _openType = [{ |
| | | value: 'text', |
| | | text: Formdict['model.form.text'] |
| | | text: '文本' |
| | | }, { |
| | | value: 'number', |
| | | text: Formdict['model.form.number'] |
| | | text: '数字' |
| | | }, { |
| | | value: 'select', |
| | | text: '选择器' |
| | | }, { |
| | | value: 'link', |
| | | text: Formdict['model.form.link'] |
| | | text: '联动菜单' |
| | | }, { |
| | | value: 'textarea', |
| | | text: '多行文本' |
| | | }, { |
| | | value: 'switch', |
| | | text: '开关' |
| | |
| | | text: '日期(天)' |
| | | }, { |
| | | value: 'datemonth', |
| | | text: Formdict['model.form.datemonth'] |
| | | // }, { |
| | | // value: 'datetime', |
| | | // text: '日期(分/秒)' |
| | | }, { |
| | | value: 'textarea', |
| | | text: Formdict['model.form.textarea'] |
| | | text: '日期(月)' |
| | | }, { |
| | | value: 'cascader', |
| | | text: '级联菜单' |
| | |
| | | text: '评分' |
| | | }, { |
| | | value: 'funcvar', |
| | | text: Formdict['header.form.funcvar'] |
| | | text: '函数变量' |
| | | }, { |
| | | value: 'hint', |
| | | text: '提示' |