From 1a14ff6035932eadfb6ef7970e3adb24b4e158a6 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 18 十二月 2019 18:56:17 +0800
Subject: [PATCH] 2019-12-18

---
 src/templates/comtableconfig/settingform/index.jsx |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/templates/comtableconfig/settingform/index.jsx b/src/templates/comtableconfig/settingform/index.jsx
index ff83ed6..9b0ab62 100644
--- a/src/templates/comtableconfig/settingform/index.jsx
+++ b/src/templates/comtableconfig/settingform/index.jsx
@@ -8,6 +8,7 @@
 class SettingForm extends Component {
   static propTpyes = {
     dict: PropTypes.object, // 瀛楀吀椤�
+    menu: PropTypes.object,
     data: PropTypes.object,
     columns: PropTypes.array
   }
@@ -45,7 +46,7 @@
   }
 
   render() {
-    const { data, dict } = this.props
+    const { data, dict, menu } = this.props
     const { getFieldDecorator } = this.props.form
     const { interType } = this.state
 
@@ -67,6 +68,7 @@
         primaryKey = ''
       }
     }
+    console.log(menu)
 
     return (
       <Form {...formItemLayout} className="ant-advanced-search-form commontable-setting-form" id="commontable-setting-form">
@@ -138,8 +140,8 @@
               })(<Input placeholder="" autoComplete="off" />)}
             </Form.Item>
           </Col> : null}
-          <Col span={24}>
-            <Form.Item label={
+          {interType !== 'outer' ? <Col span={24}>
+            <Form.Item help={'鏁版嵁ID锛�' + menu.MenuID} label={
               <Tooltip placement="topLeft" title="浣跨敤绯荤粺鍑芥暟鏃讹紝闇�濉啓鏁版嵁婧愶紝鑷畾涔夊嚱鏁版椂锛屽彲蹇界暐銆�">
                 <Icon type="question-circle" />
                 {'鏁版嵁婧�'}
@@ -149,7 +151,7 @@
                 initialValue: data.dataresource
               })(<TextArea rows={4} />)}
             </Form.Item>
-          </Col>
+          </Col> : null}
           <Col span={12}>
             <Form.Item label="鍥哄畾鎸夐挳">
               {getFieldDecorator('actionfixed', {

--
Gitblit v1.8.0