From 55071f5a06673369ceba07e36cd7f85e584c3eac Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 23 十二月 2019 10:55:49 +0800
Subject: [PATCH] 2019-12-23

---
 src/templates/subtableconfig/settingform/index.jsx |   30 +++---------------------------
 1 files changed, 3 insertions(+), 27 deletions(-)

diff --git a/src/templates/subtableconfig/settingform/index.jsx b/src/templates/subtableconfig/settingform/index.jsx
index 52d3212..19c8939 100644
--- a/src/templates/subtableconfig/settingform/index.jsx
+++ b/src/templates/subtableconfig/settingform/index.jsx
@@ -8,7 +8,7 @@
 class SettingForm extends Component {
   static propTpyes = {
     dict: PropTypes.object, // 瀛楀吀椤�
-    menu: PropTypes.object,
+    tabId: PropTypes.string,
     data: PropTypes.object,
     columns: PropTypes.array,
     usefulFields: PropTypes.array
@@ -50,7 +50,7 @@
   }
 
   render() {
-    const { data, dict, menu, usefulFields } = this.props
+    const { data, dict, tabId, usefulFields } = this.props
     const { getFieldDecorator } = this.props.form
     const { interType, columns } = this.state
 
@@ -161,7 +161,7 @@
             </Form.Item>
           </Col> : null}
           {interType !== 'outer' ? <Col span={24}>
-            <Form.Item help={'鏁版嵁ID锛�' + menu.MenuID} label={
+            <Form.Item help={'鏁版嵁ID锛�' + tabId} label={
               <Tooltip placement="topLeft" title="浣跨敤绯荤粺鍑芥暟鏃讹紝闇�濉啓鏁版嵁婧愶紝鑷畾涔夊嚱鏁版椂锛屽彲蹇界暐銆�">
                 <Icon type="question-circle" />
                 {'鏁版嵁婧�'}
@@ -172,30 +172,6 @@
               })(<TextArea rows={4} />)}
             </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>
-              )}
-            </Form.Item>
-          </Col>
-          <Col span={12}>
-            <Form.Item label="鍥哄畾鍒�">
-              {getFieldDecorator('columnfixed', {
-                initialValue: data.columnfixed ? 'true' : 'false'
-              })(
-                <Select>
-                  <Select.Option value="true">鏄�</Select.Option>
-                  <Select.Option value="false">鍚�</Select.Option>
-                </Select>
-              )}
-            </Form.Item>
-          </Col>
           <Col span={12}>
             <Form.Item label="涓婚敭">
               {getFieldDecorator('primaryKey', {

--
Gitblit v1.8.0