From c98e45bfac25e9110ad0383faac54a54d98ea9d5 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 18 十一月 2021 20:47:04 +0800
Subject: [PATCH] 2021-11-18

---
 src/templates/sharecomponent/columncomponent/gridbtnform/index.jsx |   64 ++++++++++++++++----------------
 1 files changed, 32 insertions(+), 32 deletions(-)

diff --git a/src/templates/sharecomponent/columncomponent/gridbtnform/index.jsx b/src/templates/sharecomponent/columncomponent/gridbtnform/index.jsx
index 601f01d..17b5968 100644
--- a/src/templates/sharecomponent/columncomponent/gridbtnform/index.jsx
+++ b/src/templates/sharecomponent/columncomponent/gridbtnform/index.jsx
@@ -2,7 +2,7 @@
 import PropTypes from 'prop-types'
 import { Form, Row, Col, Input, Select, InputNumber, Radio } from 'antd'
 import { formRule } from '@/utils/option.js'
-import './index.scss'
+// import './index.scss'
 
 class MainSearch extends Component {
   static propTpyes = {
@@ -16,7 +16,7 @@
       {
         type: 'text',
         key: 'label',
-        label: this.props.dict['model.form.name'],
+        label: this.props.dict['model.name'],
         initVal: this.props.card.label,
         required: true
       },
@@ -41,38 +41,38 @@
         type: 'number',
         key: 'Width',
         decimal: 0,
-        label: this.props.dict['header.form.columnWidth'],
+        label: this.props.dict['model.form.columnWidth'],
         initVal: this.props.card.Width,
         required: true
       },
-      {
-        type: 'select',
-        key: 'style',
-        label: this.props.dict['header.form.style'],
-        initVal: this.props.card.style,
-        required: true,
-        options: [{
-          MenuID: 'button',
-          text: this.props.dict['header.form.button']
-        }, {
-          MenuID: 'text',
-          text: this.props.dict['model.form.text']
-        }]
-      },
-      {
-        type: 'select',
-        key: 'show',
-        label: this.props.dict['header.form.order'],
-        initVal: this.props.card.show,
-        required: true,
-        options: [{
-          MenuID: 'horizontal',
-          text: this.props.dict['header.form.horizontal']
-        }, {
-          MenuID: 'vertical',
-          text: this.props.dict['header.form.vertical']
-        }]
-      }
+      // {
+      //   type: 'select',
+      //   key: 'style',
+      //   label: this.props.dict['model.form.style'],
+      //   initVal: this.props.card.style,
+      //   required: true,
+      //   options: [{
+      //     MenuID: 'button',
+      //     text: this.props.dict['header.form.button']
+      //   }, {
+      //     MenuID: 'text',
+      //     text: this.props.dict['model.form.href']
+      //   }]
+      // },
+      // {
+      //   type: 'select',
+      //   key: 'show',
+      //   label: this.props.dict['header.form.order'],
+      //   initVal: this.props.card.show,
+      //   required: true,
+      //   options: [{
+      //     MenuID: 'horizontal',
+      //     text: this.props.dict['header.form.horizontal']
+      //   }, {
+      //     MenuID: 'vertical',
+      //     text: this.props.dict['header.form.vertical']
+      //   }]
+      // }
     ]
   }
 
@@ -208,7 +208,7 @@
       }
     }
     return (
-      <Form {...formItemLayout} className="commontable-gridbtn-column-form" id="gridbtncolumnwinter">
+      <Form {...formItemLayout} style={{minHeight: '190px'}} id="gridbtncolumnwinter">
         <Row gutter={24}>{this.getFields()}</Row>
       </Form>
     )

--
Gitblit v1.8.0