king
2020-01-19 b35e3f0bacdbadf5823e06fe8dc6e047089aae38
src/templates/comtableconfig/settingform/index.jsx
@@ -213,15 +213,32 @@
              })(<TextArea rows={4} />)}
            </Form.Item>
          </Col> : null}
          {interType !== 'outer' ? <Col span={12}>
            <Form.Item label={
              <Tooltip placement="topLeft" title="查询时,搜索条件以where条件拼接进入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('actionfixed', {
                initialValue: data.actionfixed ? 'true' : 'false'
              })(
                <Select>
                  <Select.Option value="true">是</Select.Option>
                  <Select.Option value="false">否</Select.Option>
                </Select>
                <Radio.Group>
                  <Radio value="true">{dict['header.form.true']}</Radio>
                  <Radio value="false">{dict['header.form.false']}</Radio>
                </Radio.Group>
              )}
            </Form.Item>
          </Col>
@@ -242,14 +259,14 @@
            </Form.Item>
          </Col> : null}
          <Col span={12}>
            <Form.Item label="固定列">
            <Form.Item label="固定表头">
              {getFieldDecorator('columnfixed', {
                initialValue: data.columnfixed ? 'true' : 'false'
              })(
                <Select>
                  <Select.Option value="true">是</Select.Option>
                  <Select.Option value="false">否</Select.Option>
                </Select>
                <Radio.Group>
                  <Radio value="true">{dict['header.form.true']}</Radio>
                  <Radio value="false">{dict['header.form.false']}</Radio>
                </Radio.Group>
              )}
            </Form.Item>
          </Col>