From b7c41fce93fbe30ac8334fc03eef700b1640bc15 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 06 二月 2020 15:16:38 +0800
Subject: [PATCH] 2020-02-06

---
 src/templates/tableshare/verifycard/index.jsx |   16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletions(-)

diff --git a/src/templates/tableshare/verifycard/index.jsx b/src/templates/tableshare/verifycard/index.jsx
index e9e35a7..c704bc2 100644
--- a/src/templates/tableshare/verifycard/index.jsx
+++ b/src/templates/tableshare/verifycard/index.jsx
@@ -1,6 +1,6 @@
 import React, {Component} from 'react'
 import PropTypes from 'prop-types'
-import { Form, Tabs, Row, Col, Radio, Button, Table, Popconfirm, Icon, notification, Modal, message, InputNumber } from 'antd'
+import { Form, Tabs, Row, Col, Radio, Button, Table, Popconfirm, Icon, notification, Modal, message, InputNumber, Tooltip } from 'antd'
 import moment from 'moment'
 
 import Api from '@/api'
@@ -361,6 +361,7 @@
 
     this.setState({
       verify: {
+        default: _verify.default || 'true',
         invalid: _verify.invalid || 'false',
         uniques: _verify.uniques || [],
         contrasts: _verify.contrasts || [],
@@ -923,6 +924,19 @@
           <Form {...formItemLayout}>
             <Row gutter={24}>
               <Col span={12}>
+                <Form.Item label={
+                  <Tooltip placement="bottomLeft" title={'榛樿sql鎵ц椤哄簭涓鸿嚜瀹氫箟鑴氭湰涔嬪墠'}>
+                    <Icon type="question-circle" style={{color: '#c49f47', marginRight: '5px'}} />
+                    榛樿sql
+                  </Tooltip>
+                }>
+                  <Radio.Group value={verify.default} onChange={(e) => {this.onOptionChange(e, 'default')}}>
+                    <Radio value="true">鎵ц</Radio>
+                    <Radio value="false">涓嶆墽琛�</Radio>
+                  </Radio.Group>
+                </Form.Item>
+              </Col>
+              <Col span={12}>
                 <Form.Item label={'璐︽湡楠岃瘉'}>
                   <Radio.Group value={verify.accountdate} onChange={(e) => {this.onOptionChange(e, 'accountdate')}}>
                     <Radio value="true">寮�鍚�</Radio>

--
Gitblit v1.8.0