From b35e3f0bacdbadf5823e06fe8dc6e047089aae38 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期日, 19 一月 2020 00:25:45 +0800 Subject: [PATCH] 2020-01-19 --- src/templates/subtableconfig/settingform/index.jsx | 29 +++++++++++++++++++++++++++++ 1 files changed, 29 insertions(+), 0 deletions(-) diff --git a/src/templates/subtableconfig/settingform/index.jsx b/src/templates/subtableconfig/settingform/index.jsx index 628ce92..0bb4886 100644 --- a/src/templates/subtableconfig/settingform/index.jsx +++ b/src/templates/subtableconfig/settingform/index.jsx @@ -183,6 +183,23 @@ })(<TextArea rows={4} />)} </Form.Item> </Col> : null} + {interType !== 'outer' ? <Col span={12}> + <Form.Item label={ + <Tooltip placement="topLeft" title="鏌ヨ鏃讹紝鎼滅储鏉′欢浠here鏉′欢鎷兼帴杩涘叆sql锛岀粺璁℃椂锛屽皢鏁版嵁婧愪腑浠モ�淍+鎼滅储瀛楁鈥濈殑鍐呭锛屼互鎼滅储鏉′欢涓殑鍊艰繘琛屾浛鎹㈠悗锛屾彁浜ゆ煡璇紝娉細鏌ヨ绫诲瀷浠呭湪浣跨敤绯荤粺鍑芥暟鏃舵湁鏁堛��"> + <Icon type="question-circle" /> + {dict['header.form.queryType']} + </Tooltip> + }> + {getFieldDecorator('queryType', { + initialValue: data.queryType || 'query' + })( + <Radio.Group> + <Radio value="query">{dict['header.form.query']}</Radio> + <Radio value="statistics">{dict['header.form.statistics']}</Radio> + </Radio.Group> + )} + </Form.Item> + </Col> : null} <Col span={12}> <Form.Item label="涓婚敭"> {getFieldDecorator('primaryKey', { @@ -236,6 +253,18 @@ })(<Input placeholder="ID asc, UID desc" autoComplete="off" />)} </Form.Item> </Col> + <Col span={12}> + <Form.Item label="鍒濆鍖�"> + {getFieldDecorator('onload', { + initialValue: data.onload || 'true' + })( + <Select> + <Select.Option value="true">鍔犺浇鏁版嵁</Select.Option> + <Select.Option value="false">涓嶅姞杞芥暟鎹�</Select.Option> + </Select> + )} + </Form.Item> + </Col> </Row> </Form> ) -- Gitblit v1.8.0