From b636a3f64219455ee680bd626c65282c636cfcef Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 07 七月 2021 19:06:13 +0800
Subject: [PATCH] 2021-07-07

---
 src/mob/searchconfig/settingform/index.jsx |   38 ++++++++++++++++++++++++++++++++++----
 1 files changed, 34 insertions(+), 4 deletions(-)

diff --git a/src/mob/searchconfig/settingform/index.jsx b/src/mob/searchconfig/settingform/index.jsx
index 29099e7..8468602 100644
--- a/src/mob/searchconfig/settingform/index.jsx
+++ b/src/mob/searchconfig/settingform/index.jsx
@@ -1,6 +1,6 @@
 import React, {Component} from 'react'
 import PropTypes from 'prop-types'
-import { Form, Row, Col, Input, Radio, Select } from 'antd'
+import { Form, Row, Col, Input, Radio, Select, Tooltip, Icon } from 'antd'
 import { formRule } from '@/utils/option.js'
 import './index.scss'
 
@@ -83,8 +83,13 @@
               )}
             </Form.Item>
           </Col>
-          {type === 'title' ? <Col span={12}>
-            <Form.Item label="鏍囬">
+          <Col span={12}>
+            <Form.Item label={
+              <Tooltip placement="topLeft" title="浣跨敤鎼滅储鏍忔椂锛屾爣棰樼敤浜庢悳绱㈡潯浠堕殣钘忔椂鏄剧ず銆�">
+                <Icon type="question-circle" />
+                鏍囬
+              </Tooltip>
+            }>
               {getFieldDecorator('title', {
                 initialValue: config.setting.title,
                 rules: [
@@ -95,7 +100,7 @@
                 ]
               })(<Input placeholder="" autoComplete="off" onPressEnter={this.handleSubmit} />)}
             </Form.Item>
-          </Col> : null}
+          </Col>
           {type === 'search' ? <Col span={12}>
             <Form.Item label="鎼滅储瀛楁">
               {getFieldDecorator('field', {
@@ -131,6 +136,19 @@
             </Form.Item>
           </Col> : null}
           {type === 'search' ? <Col span={12}>
+            <Form.Item label="鍖归厤鏂瑰紡">
+              {getFieldDecorator('match', {
+                initialValue: config.setting.match || 'like'
+              })(
+                <Radio.Group>
+                  <Radio value="like">like</Radio>
+                  <Radio value="not like">not like</Radio>
+                  <Radio value="=">=</Radio>
+                </Radio.Group>
+              )}
+            </Form.Item>
+          </Col> : null}
+          {type === 'search' ? <Col span={12}>
             <Form.Item label="蹇呭~">
               {getFieldDecorator('required', {
                 initialValue: config.setting.required || 'false'
@@ -143,6 +161,18 @@
             </Form.Item>
           </Col> : null}
           {type === 'search' ? <Col span={12}>
+            <Form.Item label="闅愯棌">
+              {getFieldDecorator('Hide', {
+                initialValue: config.setting.Hide || 'false'
+              })(
+                <Radio.Group>
+                  <Radio value="true">鏄�</Radio>
+                  <Radio value="false">鍚�</Radio>
+                </Radio.Group>
+              )}
+            </Form.Item>
+          </Col> : null}
+          {type === 'search' ? <Col span={12}>
             <Form.Item label="鑷姩鑱氱劍">
               {getFieldDecorator('focus', {
                 initialValue: config.setting.focus || 'true'

--
Gitblit v1.8.0