From b4744510a44b2f59b7ecece75085d4b70da2b059 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 05 二月 2020 19:02:50 +0800
Subject: [PATCH] 2020-02-05

---
 src/templates/tableshare/verifycard/customform/index.jsx |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/src/templates/tableshare/verifycard/customform/index.jsx b/src/templates/tableshare/verifycard/customform/index.jsx
index d13eb4c..2ed3c12 100644
--- a/src/templates/tableshare/verifycard/customform/index.jsx
+++ b/src/templates/tableshare/verifycard/customform/index.jsx
@@ -7,9 +7,9 @@
 
 class CustomForm extends Component {
   static propTpyes = {
-    dict: PropTypes.object,  // 瀛楀吀椤�
-    fields: PropTypes.array,  // 琛ㄥ崟
-    customChange: PropTypes.func  // 琛ㄥ崟
+    dict: PropTypes.object,         // 瀛楀吀椤�
+    usefulfields: PropTypes.string, // 鍙敤瀛楁
+    customChange: PropTypes.func    // 琛ㄥ崟
   }
 
   state = {
@@ -74,6 +74,7 @@
   }
 
   render() {
+    const { usefulfields } = this.props
     const { getFieldDecorator } = this.props.form
     const formItemLayout = {
       labelCol: {
@@ -88,6 +89,11 @@
     return (
       <Form {...formItemLayout} className="verify-form" id="verifycard2">
         <Row gutter={24}>
+          {usefulfields ? <Col span={21} className="sqlfield">
+            <Form.Item label={'鍙敤瀛楁'}>
+              {usefulfields}
+            </Form.Item>
+          </Col> : null}
           <Col span={21} className="sql">
             <Form.Item label={'sql'}>
               {getFieldDecorator('sql', {

--
Gitblit v1.8.0