| | |
| | | }, { |
| | | value: 'datemonth', |
| | | text: Formdict['model.form.datemonth'] |
| | | }, { |
| | | value: 'daterange', |
| | | text: Formdict['model.form.daterange'] |
| | | // }, { |
| | | // value: 'daterange', |
| | | // text: Formdict['model.form.daterange'] |
| | | }] |
| | | } else { |
| | | typeOptions = [{ |
| | |
| | | type: 'select', |
| | | key: 'fileType', |
| | | label: '显示方式', |
| | | initVal: card.fileType || (appType === 'mob' ? 'picture-card' : 'text'), |
| | | initVal: card.fileType || 'text', |
| | | options: [{ |
| | | value: 'text', |
| | | text: '文件' |
| | | }, { |
| | | }, |
| | | { |
| | | value: 'picture', |
| | | text: '图文信息' |
| | | }, { |
| | | }, |
| | | { |
| | | value: 'picture-card', |
| | | text: '图片卡' |
| | | }] |
| | | }], |
| | | forbid: appType === 'mob' |
| | | }, |
| | | { |
| | | type: 'number', |
| | |
| | | text: 'nvarchar(50)' |
| | | }] |
| | | }, |
| | | { |
| | | type: 'radio', |
| | | key: 'mode', |
| | | label: '模式', |
| | | initVal: card.mode || 'picker', |
| | | options: [{ |
| | | value: 'picker', |
| | | text: '选择器' |
| | | }, { |
| | | value: 'calendar', |
| | | text: '日历' |
| | | }], |
| | | forbid: appType !== 'mob' |
| | | }, |
| | | // { |
| | | // type: 'radio', |
| | | // key: 'mode', |
| | | // label: '模式', |
| | | // initVal: card.mode || 'picker', |
| | | // options: [{ |
| | | // value: 'picker', |
| | | // text: '选择器' |
| | | // }, { |
| | | // value: 'calendar', |
| | | // text: '日历' |
| | | // }], |
| | | // forbid: appType !== 'mob' |
| | | // }, |
| | | { |
| | | type: 'number', |
| | | key: 'span', |