| | |
| | | MKEmitter.emit('cardAddElement', card.uuid, res) |
| | | } else { |
| | | res.eleType = 'button' |
| | | res.width = res.width || 12 |
| | | res.width = typeof(res.width) === 'number' ? res.width : 12 |
| | | MKEmitter.emit('cardAddElement', card.uuid, res) |
| | | } |
| | | resolve({status: true}) |
| | |
| | | |
| | | if (element.copyType === 'action') { |
| | | element.eleType = 'button' |
| | | element.width = element.width || 12 |
| | | element.width = typeof(element.width) === 'number' ? element.width : 12 |
| | | } |
| | | |
| | | element.uuid = _uuid |
| | |
| | | |
| | | if (element.copyType === 'action') { |
| | | element.eleType = 'button' |
| | | element.width = element.width || 12 |
| | | element.width = typeof(element.width) === 'number' ? element.width : 12 |
| | | } |
| | | |
| | | element.uuid = _uuid |
| | |
| | | if (!cell.eleType) { |
| | | if (cell.copyType === 'action') { |
| | | cell.eleType = 'button' |
| | | cell.width = cell.width || 12 |
| | | cell.width = typeof(cell.width) === 'number' ? cell.width : 12 |
| | | } else { |
| | | cell.eleType = 'text' |
| | | } |
| | |
| | | if (!cell.eleType) { |
| | | if (cell.copyType === 'action') { |
| | | cell.eleType = 'button' |
| | | cell.width = cell.width || 12 |
| | | cell.width = typeof(cell.width) === 'number' ? cell.width : 12 |
| | | } else { |
| | | cell.eleType = 'text' |
| | | } |
| | |
| | | if (!cell.eleType) { |
| | | if (cell.copyType === 'action') { |
| | | cell.eleType = 'button' |
| | | cell.width = cell.width || 12 |
| | | cell.width = typeof(cell.width) === 'number' ? cell.width : 12 |
| | | } else { |
| | | cell.eleType = 'text' |
| | | } |
| | |
| | | |
| | | sqlmap = null |
| | | |
| | | // delete _val.controlField 删除按钮控制字段 |
| | | |
| | | UNSAFE_componentWillMount() { |
| | | document.body.className = '' |
| | | window.GLOB.syscheck = true |