| | |
| | | { value: 'qrcode', text: '二维码', type: 'action', class: 'element', $init: true}, |
| | | { value: 'currentDate', text: '当前时间', type: 'action', class: 'element', $init: true}, |
| | | { value: 'formula', text: '公式', type: 'action', class: 'element', $init: true}, |
| | | { value: 'color', text: '颜色', type: 'action', class: 'element', $init: true}, |
| | | { value: 'sequence', text: '序号', type: 'action', class: 'element', $init: true } |
| | | ] |
| | | }, |
| | |
| | | { subType: 'hint', text: '提示', type: 'form' }, |
| | | { subType: 'split', text: '分隔线', type: 'form' }, |
| | | { subType: 'linkMain', text: '关联主表', type: 'form' }, |
| | | { subType: 'formula', text: '公式', type: 'form' } |
| | | { subType: 'formula', text: '公式', type: 'form' }, |
| | | { subType: 'vercode', text: '验证码', type: 'form' } |
| | | ] |
| | | }, |
| | | { |
| | |
| | | let options = fromJS(this.state.options).toJS() |
| | | |
| | | if (appType === 'mob') { |
| | | options[1].children = options[1].children.filter(item => ['pop', 'prompt', 'exec', 'innerpage', 'funcbutton'].includes(item.value)) |
| | | options[1].children = options[1].children.filter(item => ['pop', 'prompt', 'exec', 'excelOut', 'innerpage', 'funcbutton'].includes(item.value)) |
| | | options[2].children = options[2].children.filter(item => { |
| | | if (item.subType === 'select') { |
| | | item.text = '选择器' |