| | |
| | | </Form.Item> |
| | | </Col> */} |
| | | <Col span={24}> |
| | | <Form.Item label="显示方式"> |
| | | <Form.Item label={ |
| | | <Tooltip placement="topLeft" title="可选择表单的显示形式,注:标签打印按钮,暂不支持以抽屉显示表单。"> |
| | | <QuestionCircleOutlined className="mk-form-tip" /> |
| | | 显示方式 |
| | | </Tooltip> |
| | | }> |
| | | {getFieldDecorator('display', { |
| | | initialValue: display || 'modal' |
| | | })( |
| | |
| | | }> |
| | | {getFieldDecorator('width', { |
| | | initialValue: config.setting.width || (appType !== 'mob' ? 60 : 100) |
| | | })(<InputNumber min={10} max={2000} precision={0} onPressEnter={this.handleSubmit}/>)} |
| | | </Form.Item> |
| | | </Col> : null} |
| | | {display === 'dialog' && appType === 'mob' ? <Col span={12}> |
| | | <Form.Item label={ |
| | | <Tooltip placement="topLeft" title="小于100时为百分率,大于100时为绝对值。空值时宽度自适应。"> |
| | | <QuestionCircleOutlined className="mk-form-tip" /> |
| | | 宽度 |
| | | </Tooltip> |
| | | }> |
| | | {getFieldDecorator('width', { |
| | | initialValue: config.setting.width || '' |
| | | })(<InputNumber min={10} max={2000} precision={0} onPressEnter={this.handleSubmit}/>)} |
| | | </Form.Item> |
| | | </Col> : null} |
| | |
| | | )} |
| | | </Form.Item> |
| | | </Col> : null} |
| | | {!appType && display === 'modal' ? <Col span={12}> |
| | | <Form.Item label={ |
| | | <Tooltip placement="topLeft" title="是否可拖拽移动模态框。"> |
| | | <QuestionCircleOutlined className="mk-form-tip" /> |
| | | 可移动 |
| | | </Tooltip> |
| | | }> |
| | | {getFieldDecorator('moveable', { |
| | | initialValue: config.setting.moveable || 'false' |
| | | })( |
| | | <Radio.Group> |
| | | <Radio value="false">否</Radio> |
| | | <Radio value="true">是</Radio> |
| | | </Radio.Group> |
| | | )} |
| | | </Form.Item> |
| | | </Col> : null} |
| | | </Row> |
| | | </Form> |
| | | ) |