From 9e716f3bd30820a08757845b592db73363faa48c Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 25 四月 2022 14:53:37 +0800
Subject: [PATCH] 2022-04-25

---
 src/templates/sharecomponent/actioncomponent/actionform/index.jsx | 1078 +++++++++++++++++++++++++++++------------------------------
 1 files changed, 530 insertions(+), 548 deletions(-)

diff --git a/src/templates/sharecomponent/actioncomponent/actionform/index.jsx b/src/templates/sharecomponent/actioncomponent/actionform/index.jsx
index 982b65c..d0ef468 100644
--- a/src/templates/sharecomponent/actioncomponent/actionform/index.jsx
+++ b/src/templates/sharecomponent/actioncomponent/actionform/index.jsx
@@ -1,11 +1,28 @@
 import React, {Component} from 'react'
 import PropTypes from 'prop-types'
-import { Form, Row, Col, Input, Select, Icon, Radio, notification, Tooltip, InputNumber } from 'antd'
-import { btnIcons, btnClasses, formRule } from '@/utils/option.js'
+import { fromJS } from 'immutable'
+import { Form, Row, Col, Input, Select, Radio, notification, Tooltip, InputNumber, Cascader } from 'antd'
+import { QuestionCircleOutlined } from '@ant-design/icons'
+
+import { formRule } from '@/utils/option.js'
+import asyncComponent from '@/utils/asyncComponent'
 import Utils from '@/utils/utils.js'
 import './index.scss'
 
+const MkEditIcon = asyncComponent(() => import('@/components/mkIcon'))
+
 const { TextArea } = Input
+const actionTypeOptions = {
+  pop: ['label', 'position', 'OpenType', 'intertype', 'Ot', 'icon', 'class', 'execSuccess', 'execError', 'openmenu', 'output', 'tipTitle'],
+  prompt: ['label', 'position', 'OpenType', 'intertype', 'Ot', 'icon', 'class', 'execSuccess', 'execError', 'openmenu', 'output', 'tipTitle'],
+  exec: ['label', 'position', 'OpenType', 'intertype', 'Ot', 'icon', 'class', 'execSuccess', 'execError', 'openmenu', 'output'],
+  excelIn: ['label', 'Ot', 'OpenType', 'intertype', 'icon', 'class', 'sheet', 'execSuccess', 'execError'],
+  excelOut: ['label', 'OpenType', 'intertype', 'icon', 'class', 'execSuccess', 'execError', 'pagination', 'search'],
+  popview: ['label', 'Ot', 'OpenType', 'icon', 'class', 'position', 'tabType', 'linkTab', 'popClose', 'display', 'ratio', 'clickouter'],
+  tab: ['label', 'Ot', 'OpenType', 'icon', 'class', 'position', 'linkmenu'],
+  innerpage: ['label', 'Ot', 'OpenType', 'pageTemplate', 'icon', 'class', 'position'],
+  funcbutton: ['label', 'OpenType', 'funcType', 'icon', 'class']
+}
 
 class MainSearch extends Component {
   static propTpyes = {
@@ -13,16 +30,11 @@
     setting: PropTypes.object,   // 椤甸潰璁剧疆
     formlist: PropTypes.any,     // 琛ㄥ崟淇℃伅
     card: PropTypes.any,         // 鎸夐挳淇℃伅
-    tabs: PropTypes.array,       // 鎵�鏈夋爣绛鹃〉
     inputSubmit: PropTypes.any   // 鍥炶溅鎻愪氦浜嬩欢
   }
 
   state = {
     formlist: null,  // 琛ㄥ崟淇℃伅
-    openType: null,  // 鎵撳紑鏂瑰紡
-    interType: null, // 鎺ュ彛绫诲瀷锛氬唴閮ㄣ�佸閮�
-    funcType: null,  // 鍔熻兘绫诲瀷
-    position: null,  // 鎸夐挳浣嶇疆
     requireOptions: [{
       value: 'notRequired',
       text: this.props.dict['header.form.notRequired']
@@ -37,9 +49,6 @@
       text: this.props.dict['header.form.requiredOnce']
     }],
     insertUpdateOptions: [{
-      value: '',
-      text: this.props.dict['header.form.empty']
-    }, {
       value: 'insert',
       text: this.props.dict['header.form.action.insert']
     }, {
@@ -50,116 +59,57 @@
       text: this.props.dict['header.form.action.audit']
     }],
     deleteOptions: [{
-      value: '',
-      text: this.props.dict['header.form.empty']
-    }, {
       value: 'LogicDelete',
-      text: this.props.dict['header.form.action.LogicDelete']
+      text: '閫昏緫鍒犻櫎'
     }, {
       value: 'delete',
-      text: this.props.dict['header.form.action.delete']
+      text: '鐗╃悊鍒犻櫎'
     }, {
       value: 'custom',
       text: this.props.dict['header.form.custom']
+    }],
+    interTypeOptions: [{
+      value: 'system',
+      text: this.props.dict['model.interface.system']
+    }, {
+      value: 'inner',
+      text: this.props.dict['model.interface.inner']
+    }, {
+      value: 'outer',
+      text: this.props.dict['model.interface.outer']
+    }, {
+      value: 'custom',
+      text: '鑷畾涔�'
     }]
   }
 
+  record = {}
   
   UNSAFE_componentWillMount () {
-    const { card } = this.props
+    this.props.formlist.forEach(item => {
+      this.record[item.key] = item.initVal
+    })
 
-    let _opentype = card.OpenType             // 鎵撳紑鏂瑰紡
-    let _tabType = card.tabType || 'SubTable' // 鎸夐挳涓哄脊绐楋紙鏍囩锛夋椂锛屾爣绛剧殑绫诲瀷
-    let _options = null                       // 閫夐」鍒楄〃
+    let { shows, reOptions, reTypes, reRequired, reReadonly } = this.getMutilOptions()
 
-    if (card.execMode) {           // 杞崲鎵撳嵃鏃舵墦寮�鏂瑰紡
-      _opentype = 'funcbutton'
-    } else if (_opentype === 'outerpage') {
-      card.pageTemplate = 'custom'
-      _opentype = 'innerpage'
-    }
-
-    let _tabs = this.props.tabs.filter(tab => tab.type === _tabType)
-
-    if (_opentype === 'innerpage') {                                     // 鏂伴〉闈紝鍙�夋ā鏉�(鑷畾涔夋椂锛屽彲濉叆澶栭儴閾炬帴)
-      _options = ['label', 'Ot', 'OpenType', 'pageTemplate', 'icon', 'class', 'position']
-      if (card.pageTemplate === 'custom') {
-        _options.push('url')
-      }
-    } else if (_opentype === 'blank' || _opentype === 'tab') {           // 鏂版爣绛炬垨褰撳墠椤甸潰鏇挎崲
-      _options = ['label', 'Ot', 'OpenType', 'icon', 'class', 'position', 'tabTemplate']
-    } else if (_opentype === 'popview') {                                // 妯℃�佹鏍囩椤�
-      _options = ['label', 'Ot', 'OpenType', 'icon', 'class', 'position', 'tabType', 'linkTab', 'popClose']
-    } else if (_opentype === 'excelOut') {    // 瀵煎叆瀵煎嚭
-      if (card.intertype === 'outer') {
-        _options = ['label', 'OpenType', 'intertype', 'innerFunc', 'sysInterface', 'interface', 'outerFunc', 'icon', 'class', 'execSuccess', 'execError', 'pagination', 'search']
-      } else {
-        _options = ['label', 'OpenType', 'intertype', 'innerFunc', 'icon', 'class', 'execSuccess', 'execError', 'pagination', 'search']
-      }
-    } else if (_opentype === 'excelIn') {    // 瀵煎叆瀵煎嚭
-      if (card.intertype === 'outer') {
-        _options = ['label', 'Ot', 'OpenType', 'intertype', 'innerFunc', 'sysInterface', 'interface', 'outerFunc', 'callbackFunc', 'icon', 'class', 'sheet', 'execSuccess', 'execError']
-      } else {
-        _options = ['label', 'Ot', 'OpenType', 'intertype', 'innerFunc', 'icon', 'class', 'sheet', 'execSuccess', 'execError']
-      }
-    } else if (_opentype === 'funcbutton') {
-      if (!card.funcType) {
-        _options = ['label', 'OpenType', 'funcType', 'icon', 'class']
-      } else if (card.funcType === 'changeuser') {
-        _options = ['label', 'OpenType', 'funcType', 'icon', 'class']
-      } else if (card.funcType === 'print') {
-        if (card.intertype === 'outer') {
-          _options = ['label', 'OpenType', 'funcType', 'execMode', 'intertype', 'innerFunc', 'sysInterface', 'interface', 'outerFunc', 'callbackFunc', 'Ot', 'icon', 'class', 'execSuccess', 'execError']
-        } else {
-          _options = ['label', 'OpenType', 'funcType', 'execMode', 'intertype', 'innerFunc', 'Ot', 'icon', 'class', 'execSuccess', 'execError']
-        }
-      }
-    } else {
-      if (card.intertype === 'outer') {
-        _options = ['label', 'position', 'OpenType', 'intertype', 'innerFunc', 'sysInterface', 'interface', 'outerFunc', 'callbackFunc', 'Ot', 'icon', 'class', 'execSuccess', 'execError']
-      } else {
-        _options = ['label', 'position', 'OpenType', 'intertype', 'innerFunc', 'Ot', 'icon', 'class', 'execSuccess', 'execError', 'sql', 'sqlType']
-      }
-    }
     this.setState({
-      openType: _opentype,
-      interType: card.intertype || 'inner',
-      position: card.position || 'toolbar',
-      funcType: card.funcType,
       formlist: this.props.formlist.map(item => {
-        if (item.key === 'class') {
-          item.options = btnClasses
-        } else if (item.key === 'icon') {
-          item.options = btnIcons
-        } else if (item.key === 'Ot') {
-          if (card.position === 'grid') {
-            item.options = this.state.requireOptions.filter(op => ['requiredSgl'].includes(op.value))
-          } else if (['innerpage', 'blank', 'tab', 'popview', 'excelIn'].includes(_opentype)) {
-            item.options = this.state.requireOptions.filter(op => ['notRequired', 'requiredSgl'].includes(op.value))
-          } else if (card.sqlType === 'insert') {
-            item.options = this.state.requireOptions.filter(op => ['notRequired', 'requiredSgl', 'required'].includes(op.value))
-          } else {
-            item.options = this.state.requireOptions
-          }
-        } else if (item.key === 'sqlType') {
-          if (['prompt', 'exec'].includes(_opentype)) {
-            item.options = this.state.deleteOptions
-          } else {
-            item.options = this.state.insertUpdateOptions
-          }
-        } else if (item.key === 'linkTab') {
-          item.options = [
-            {
-              value: '',
-              text: '鏂板缓'
-            },
-            ..._tabs
-          ]
-        } else if (item.key === 'OpenType') {
-          item.initVal = _opentype
+        item.hidden = !shows.includes(item.key)
+        item.initVal = this.record[item.key]
+
+        if (reOptions[item.key]) {
+          item.options = reOptions[item.key]
+        }
+        if (reTypes[item.key]) {
+          item.type = reTypes[item.key]
+        }
+        if (reRequired[item.key] !== undefined) {
+          item.required = reRequired[item.key]
+        }
+        if (reReadonly[item.key] !== undefined) {
+          item.readonly = reReadonly[item.key]
         }
 
-        item.hidden = !_options.includes(item.key)
         return item
       })
     })
@@ -172,301 +122,353 @@
       try {
         let _form = document.getElementById('label')
         _form.select()
-      } catch {
+      } catch (e) {
         console.warn('琛ㄥ崟focus澶辫触锛�')
       }
     }
   }
 
-  /**
-   * @description 涓嬫媺鍒囨崲
-   * 1銆佹墦寮�鏂瑰紡鍒囨崲锛岄噸缃彲瑙佽〃鍗曞拰琛ㄥ崟鍊�
-   * 2銆佹樉绀轰綅缃垏鎹紝閲嶇疆閫夋嫨琛�
-   * 3銆佸垏鎹㈡爣绛剧被鍨嬶紝閲嶇疆鍙�夋爣绛�
-   */
-  openTypeChange = (key, value) => {
-    const { card } = this.props
+  getMutilOptions = () => {
+    const { requireOptions } = this.state
 
-    if (key === 'OpenType') {
-      let _options = null
-      if (value === 'innerpage') {
-        _options = ['label', 'Ot', 'OpenType', 'pageTemplate', 'icon', 'class', 'position']
-        if (card.pageTemplate === 'custom') {
-          _options.push('url')
-        }
-      } else if (value === 'blank' || value === 'tab') {
-        _options = ['label', 'Ot', 'OpenType', 'icon', 'class', 'position', 'tabTemplate']
-      } else if (value === 'popview') {
-        _options = ['label', 'Ot', 'OpenType', 'icon', 'class', 'position', 'tabType', 'linkTab', 'popClose']
-      } else if (value === 'excelOut') {
-        if (this.state.interType === 'outer') {
-          _options = ['label', 'OpenType', 'intertype', 'innerFunc', 'sysInterface', 'interface', 'outerFunc', 'icon', 'class', 'execSuccess', 'execError', 'pagination', 'search']
+    let openType = this.record.OpenType
+    let Ot = this.record.Ot
+    let shows = fromJS(actionTypeOptions[openType] || []).toJS()
+    let reOptions = {}
+    let reTypes = {}
+    let reRequired = {}
+    let reReadonly = {}
+
+    if (openType === 'pop' || openType === 'prompt' || openType === 'exec') {
+      let intertype = this.record.intertype
+
+      reOptions.intertype = this.state.interTypeOptions
+
+      if (intertype === 'custom') {
+        shows.push('procMode', 'interface', 'callbackType', 'cbTable', 'proInterface', 'method', 'cross')
+        if (this.record.procMode === 'system') {
+          shows.push('sql', 'sqlType')
         } else {
-          _options = ['label', 'OpenType', 'intertype', 'innerFunc', 'icon', 'class', 'execSuccess', 'execError', 'pagination', 'search']
+          reRequired.innerFunc = true
+          shows.push('innerFunc')
         }
-      } else if (value === 'excelIn') {
-        if (this.state.interType === 'outer') {
-          _options = ['label', 'Ot', 'OpenType', 'intertype', 'innerFunc', 'sysInterface', 'interface', 'outerFunc', 'callbackFunc', 'icon', 'class', 'sheet', 'execSuccess', 'execError']
+        reReadonly.interface = false
+        reRequired.interface = true
+      } else if (intertype === 'outer') {
+        shows.push('innerFunc', 'sysInterface', 'interface', 'proInterface', 'outerFunc', 'callbackFunc', 'output')
+        reRequired.innerFunc = false
+
+        if (this.record.sysInterface === 'false') {
+          reReadonly.interface = false
+          reRequired.interface = true
         } else {
-          _options = ['label', 'Ot', 'OpenType', 'intertype', 'innerFunc', 'icon', 'class', 'sheet', 'execSuccess', 'execError']
+          reReadonly.interface = true
+          reRequired.interface = false
         }
-      } else if (value === 'funcbutton') {
-        if (!this.state.funcType) {
-          _options = ['label', 'OpenType', 'funcType', 'icon', 'class']
-        } else if (this.state.funcType === 'changeuser') {
-          _options = ['label', 'OpenType', 'funcType', 'icon', 'class']
-        } else if (this.state.funcType === 'print') {
-          if (this.state.interType === 'outer') {
-            _options = ['label', 'OpenType', 'funcType', 'execMode', 'intertype', 'innerFunc', 'sysInterface', 'interface', 'outerFunc', 'callbackFunc', 'Ot', 'icon', 'class', 'execSuccess', 'execError']
-          } else {
-            _options = ['label', 'OpenType', 'funcType', 'execMode', 'intertype', 'innerFunc', 'Ot', 'icon', 'class', 'execSuccess', 'execError']
-          }
-        }
+      } else if (intertype === 'inner') {
+        shows.push('innerFunc', 'output')
+        reRequired.innerFunc = true
       } else {
-        if (this.state.interType === 'inner') {
-          _options = ['label', 'position', 'OpenType', 'intertype', 'innerFunc', 'Ot', 'icon', 'class', 'execSuccess', 'execError', 'sql', 'sqlType']
-        } else {
-          _options = ['label', 'position', 'OpenType', 'intertype', 'innerFunc', 'Ot', 'icon', 'class', 'execSuccess', 'execError', 'sysInterface', 'interface', 'outerFunc', 'callbackFunc']
-        }
+        shows.push('sql', 'sqlType', 'output')
       }
 
-      let _fieldval = {}
+      if (this.record.sqlType === 'insert') {
+        reOptions.Ot = requireOptions.filter(op => op.value === 'notRequired')
+      } else {
+        reOptions.Ot = requireOptions
+      }
+
+      if (openType === 'prompt' || openType === 'exec') {
+        reOptions.sqlType = this.state.deleteOptions
+      } else {
+        reOptions.sqlType = this.state.insertUpdateOptions
+      }
+    } else if (openType === 'excelIn') {
+      reOptions.intertype = this.state.interTypeOptions.filter(op => op.value !== 'custom')
+      reOptions.Ot = requireOptions.filter(op => ['notRequired', 'requiredSgl'].includes(op.value))
+
+      if (this.record.intertype === 'outer') {
+        shows.push('innerFunc', 'sysInterface', 'interface', 'proInterface', 'outerFunc', 'callbackFunc')
+        reRequired.innerFunc = false
+
+        if (this.record.sysInterface === 'false') {
+          reReadonly.interface = false
+          reRequired.interface = true
+        } else {
+          reReadonly.interface = true
+          reRequired.interface = false
+        }
+      } else if (this.record.intertype === 'inner') {
+        shows.push('innerFunc')
+        reRequired.innerFunc = true
+      }
+    } else if (openType === 'excelOut') {
+      reOptions.intertype = this.state.interTypeOptions.filter(op => op.value !== 'custom')
+
+      if (this.record.intertype === 'outer') {
+        shows.push('innerFunc', 'sysInterface', 'interface', 'proInterface', 'outerFunc')
+        reRequired.innerFunc = false
+
+        if (this.record.sysInterface === 'false') {
+          reReadonly.interface = false
+          reRequired.interface = true
+        } else {
+          reReadonly.interface = true
+          reRequired.interface = false
+        }
+      } else if (this.record.intertype === 'inner') {
+        shows.push('innerFunc')
+        reRequired.innerFunc = true
+      }
+    } else if (openType === 'popview') {
+      reOptions.Ot = requireOptions.filter(op => ['notRequired', 'requiredSgl'].includes(op.value))
+
+      if (this.record.display === 'drawer') {
+        shows.push('placement')
+      }
+    } else if (openType === 'tab') {
+      reOptions.Ot = requireOptions.filter(op => ['notRequired', 'requiredSgl'].includes(op.value))
+
+      reRequired.linkmenu = true
+    } else if (openType === 'innerpage') {
+      reOptions.Ot = requireOptions.filter(op => ['notRequired', 'requiredSgl'].includes(op.value))
+
+      if (this.record.pageTemplate === 'custom') {
+        shows.push('url', 'joint')
+      } else if (this.record.pageTemplate === 'billprint') {
+        shows.push('printTemp')
+        reOptions.Ot = requireOptions.filter(op => ['notRequired', 'requiredSgl', 'required'].includes(op.value))
+      } else if (this.record.pageTemplate === 'pay' || this.record.pageTemplate === 'print' || this.record.pageTemplate === 'billprintTemp') {
+        reOptions.Ot = requireOptions.filter(op => op.value === 'requiredSgl')
+      }
+    } else if (openType === 'funcbutton') {
+      reOptions.intertype = this.state.interTypeOptions.filter(op => op.value !== 'custom')
+      reOptions.Ot = requireOptions
+
+      let _funcType = this.record.funcType
+
+      if (_funcType === 'print') {
+        shows.push('execMode', 'intertype', 'Ot', 'execSuccess', 'execError', 'resetPageIndex')
+        if (this.record.intertype === 'outer') {
+          shows.push('innerFunc', 'sysInterface', 'interface', 'proInterface', 'outerFunc', 'callbackFunc')
+          reRequired.innerFunc = false
+
+          if (this.record.sysInterface === 'false') {
+            reReadonly.interface = false
+            reRequired.interface = true
+          } else {
+            reReadonly.interface = true
+            reRequired.interface = false
+          }
+        } else if (this.record.intertype === 'inner') {
+          shows.push('innerFunc')
+          reRequired.innerFunc = true
+        }
+      } else if (_funcType === 'closetab') {
+        shows.push('refreshTab')
+      }
+    }
+
+    if (this.record.position === 'grid') { // 琛ㄦ牸涓寜閽彧鑳介�夊崟琛�
+      reOptions.Ot = requireOptions.filter(op => op.value === 'requiredSgl')
+    }
+    
+    if (Ot !== 'notRequired') {
+      reOptions.control = [
+        { value: '', text: '鏃�' },
+        { value: 'disabled', text: '绂佺敤' },
+        { value: 'hidden', text: '闅愯棌' },
+        { value: 'parent', text: '涓婄骇' }
+      ]
+    } else {
+      reOptions.control = [
+        { value: '', text: '鏃�' },
+        { value: 'parent', text: '涓婄骇' }
+      ]
+    }
+    shows.push('control')
+    if (this.record.control === 'parent') {
+      reTypes.controlField = 'text'
+    } else {
+      reTypes.controlField = 'select'
+    }
+    if (this.record.control) {
+      shows.push('controlField', 'controlVal')
+    }
+    if (this.record.control === 'disabled') {
+      shows.push('reason')
+    }
+
+    return {
+      shows,
+      reOptions,
+      reTypes,
+      reRequired,
+      reReadonly
+    }
+  }
+
+  /**
+   * @description 鍒囨崲
+   */
+  optionChange = (key, value) => {
+    this.record[key] = value
+    let _fieldval = {}
+
+    if (key === 'OpenType') {
+      this.record.intertype = 'system'
+      this.record.procMode = 'system'
+      this.record.display = 'modal'
+      this.record.position = 'toolbar'
+      this.record.pageTemplate = ''
+      this.record.funcType = ''
+      this.record.sqlType = ''
+
+      if (value === 'pop' || value === 'prompt' || value === 'exec') {
+        _fieldval.intertype = 'system'
+        _fieldval.sqlType = ''
+  
+      } else if (value === 'excelIn') {
+        _fieldval.intertype = 'system'
+        _fieldval.Ot = 'notRequired'
+        
+        _fieldval.label = this.props.dict['model.form.excelIn']
+        _fieldval.class = 'dgreen'
+        this.record.Ot = 'notRequired'
+        this.record.label = this.props.dict['model.form.excelIn']
+        this.record.class = 'dgreen'
+       
+  
+      } else if (value === 'excelOut') {
+        _fieldval.intertype = 'system'
+        _fieldval.label = this.props.dict['model.form.excelOut']
+        _fieldval.class = 'dgreen'
+        this.record.Ot = 'notRequired'
+        this.record.label = this.props.dict['model.form.excelOut']
+        this.record.class = 'dgreen'
+  
+      } else if (value === 'popview') {
+        _fieldval.display = 'modal'
+        _fieldval.Ot = 'requiredSgl'
+        _fieldval.popClose = 'grid'
+        this.record.display = 'modal'
+        this.record.Ot = 'requiredSgl'
+        this.record.popClose = 'grid'
+  
+      } else if (value === 'tab') {
+        _fieldval.Ot = 'requiredSgl'
+        this.record.Ot = 'requiredSgl'
+  
+      } else if (value === 'innerpage') {
+        _fieldval.Ot = 'requiredSgl'
+        this.record.Ot = 'requiredSgl'
+        
+      }
       
-      let _formlist = this.state.formlist.map(item => {
-        item.hidden = !_options.includes(item.key)
+      if (value === 'excelIn') {
+        _fieldval.label = this.props.dict['model.form.excelIn']
+        _fieldval.class = 'border-dgreen'
+      } else if (value === 'excelOut') {
+        _fieldval.label = this.props.dict['model.form.excelOut']
+        _fieldval.class = 'dgreen'
+        _fieldval.control = ''
+        this.record.control = ''
+      }
 
-        if (item.hidden) return item
+      if (_fieldval.Ot === 'notRequired') {
+        this.record.control = ''
+        _fieldval.control = ''
+      }
 
-        if (item.key === 'intertype') {
-          _fieldval.intertype = this.state.interType
-        } else if (item.key === 'Ot') {
-          if (this.state.position === 'grid') {
-            item.options = this.state.requireOptions.filter(op => ['requiredSgl'].includes(op.value))
-            _fieldval.Ot = 'requiredSgl'
-          } else if (['innerpage', 'blank', 'tab', 'popview'].includes(value)) {
-            item.options = this.state.requireOptions.filter(op => ['notRequired', 'requiredSgl'].includes(op.value))
-            _fieldval.Ot = 'requiredSgl'
-          } else if (value === 'excelIn') {
-            item.options = this.state.requireOptions.filter(op => ['notRequired', 'requiredSgl'].includes(op.value))
-            _fieldval.Ot = 'notRequired'
-          } else {
-            item.options = this.state.requireOptions
-          }
-        } else if (item.key === 'sqlType') {
-          if (['prompt', 'exec'].includes(value)) {
-            item.options = this.state.deleteOptions
-          } else {
-            item.options = this.state.insertUpdateOptions
-          }
-          _fieldval.sqlType = ''
+      if (!['funcbutton', 'excelIn', 'excelOut'].includes(value)) {
+        _fieldval.position = 'toolbar'
+      }
+    } else if (key === 'position') {
+      if (value === 'grid') {
+        _fieldval.Ot = 'requiredSgl'
+        this.record.Ot = 'requiredSgl'
+      } else if (['pop', 'prompt', 'exec'].includes(this.record.OpenType) && this.record.sqlType === 'insert') {
+        _fieldval.Ot = 'notRequired'
+        this.record.Ot = 'notRequired'
+      }
+    } else if (key === 'funcType') {
+      if (value === 'print') {
+        _fieldval.label = '鎵撳嵃'
+      } else if (value === 'closetab') {
+        _fieldval.label = '鍏抽棴'
+      }
+    } else if (key === 'sqlType') {
+      if (value === 'insert') {
+        _fieldval.label = '娣诲姞'
+        _fieldval.Ot = 'notRequired'
+        _fieldval.class = 'green'
+      } else if (value === 'update') {
+        _fieldval.label = '淇敼'
+        _fieldval.Ot = 'requiredSgl'
+        _fieldval.class = 'purple'
+      } else if (value === 'audit') {
+        _fieldval.label = '瀹℃牳'
+        _fieldval.Ot = 'requiredSgl'
+        _fieldval.class = 'primary'
+      } else if (value === 'LogicDelete' || value === 'delete') {
+        _fieldval.label = '鍒犻櫎'
+        _fieldval.Ot = 'requiredSgl'
+        _fieldval.class = 'danger'
+      }
+
+      if (this.record.position === 'grid') {
+        _fieldval.Ot = 'requiredSgl'
+      }
+
+      this.record.label = _fieldval.label
+      this.record.Ot = _fieldval.Ot
+      this.record.class = _fieldval.class || ''
+
+      if (_fieldval.Ot === 'notRequired') {
+        this.record.control = ''
+        _fieldval.control = ''
+      }
+      
+    } else if (key === 'pageTemplate') {
+      if (value === 'pay') {
+        _fieldval.Ot = 'requiredSgl'
+      } else if (value === 'billprint') {
+        _fieldval.Ot = 'requiredSgl'
+      }
+    } else if (key === 'intertype') {
+      this.record.sysInterface = 'false'
+    } else if (key === 'sysInterface') {
+      if (value === 'true') {
+        _fieldval.interface = window.GLOB.mainSystemApi || ''
+        this.record.interface = window.GLOB.mainSystemApi || ''
+      }
+    }
+
+    let { shows, reOptions, reTypes, reRequired, reReadonly } = this.getMutilOptions()
+
+    this.setState({
+      formlist: this.state.formlist.map(item => {
+        item.hidden = !shows.includes(item.key)
+        item.initVal = this.record[item.key]
+
+        if (reOptions[item.key]) {
+          item.options = reOptions[item.key]
+        }
+        if (reTypes[item.key]) {
+          item.type = reTypes[item.key]
+        }
+        if (reRequired[item.key] !== undefined) {
+          item.required = reRequired[item.key]
+        }
+        if (reReadonly[item.key] !== undefined) {
+          item.readonly = reReadonly[item.key]
         }
 
         return item
       })
-
-      this.setState({
-        openType: value,
-        formlist: _formlist
-      }, () => {
-        if (value === 'excelIn') {
-          _fieldval.label = this.props.dict['model.form.excelIn']
-          _fieldval.class = 'border-dgreen'
-        } else if (value === 'excelOut') {
-          _fieldval.label = this.props.dict['model.form.excelOut']
-          _fieldval.class = 'dgreen'
-        }
-
-        this.props.form.setFieldsValue(_fieldval)
-      })
-    } else if (key === 'position') {
-      let _fieldval = {}
-
-      this.setState({
-        position: value,
-        formlist: this.state.formlist.map(item => {
-          if (item.key === 'Ot') {
-            if (value === 'grid') {
-              item.options = this.state.requireOptions.filter(op => ['requiredSgl'].includes(op.value))
-              _fieldval.Ot = 'requiredSgl'
-            } else if (['innerpage', 'blank', 'tab', 'popview'].includes(this.state.openType)) {
-              item.options = this.state.requireOptions.filter(op => ['notRequired', 'requiredSgl'].includes(op.value))
-              _fieldval.Ot = 'requiredSgl'
-            } else {
-              item.options = this.state.requireOptions
-            }
-          }
-          return item
-        })
-      }, () => {
-        this.props.form.setFieldsValue(_fieldval)
-      })
-    } else if (key === 'tabType') {
-      let _tabs = this.props.tabs.filter(tab => tab.type === value)
-      let _fieldval = {}
-
-      this.setState({
-        formlist: this.state.formlist.map(item => {
-          if (item.key === 'linkTab') {
-            item.options = [
-              {
-                value: '',
-                text: '鏂板缓'
-              },
-              ..._tabs
-            ]
-          }
-          return item
-        })
-      }, () => {
-        this.props.form.setFieldsValue(_fieldval)
-      })
-    } else if (key === 'funcType') {
-      let _options = null
-      if (!value) {
-        _options = ['label', 'OpenType', 'funcType', 'icon', 'class']
-      } else if (value === 'changeuser') {
-        _options = ['label', 'OpenType', 'funcType', 'icon', 'class']
-      } else if (value === 'print') {
-        if (this.state.interType === 'outer') {
-          _options = ['label', 'OpenType', 'funcType', 'execMode', 'intertype', 'innerFunc', 'sysInterface', 'interface', 'outerFunc', 'callbackFunc', 'Ot', 'icon', 'class', 'execSuccess', 'execError']
-        } else {
-          _options = ['label', 'OpenType', 'funcType', 'execMode', 'intertype', 'innerFunc', 'Ot', 'icon', 'class', 'execSuccess', 'execError']
-        }
-      }
-
-      this.setState({
-        formlist: this.state.formlist.map(item => {
-          item.hidden = !_options.includes(item.key)
-
-          if (item.hidden) return item
-
-          if (item.key === 'Ot' && value === 'print') {
-            item.options = this.state.requireOptions
-          }
-
-          return item
-        })
-      })
-    } else if (key === 'sqlType') {
-      let _fieldval = {}
-      this.setState({
-        formlist: this.state.formlist.map(item => {
-          if (item.key === 'Ot' && value === 'insert') {
-            item.options = this.state.requireOptions.filter(op => ['notRequired', 'requiredSgl', 'required'].includes(op.value))
-          } else if (item.key === 'Ot') {
-            item.options = this.state.requireOptions
-          }
-          return item
-        })
-      }, () => {
-        if (value === 'insert') {
-          _fieldval.label = '娣诲姞'
-          _fieldval.class = 'green'
-          _fieldval.Ot = 'notRequired'
-        } else if (value === 'update') {
-          _fieldval.label = '淇敼'
-          _fieldval.class = 'purple'
-          _fieldval.Ot = 'requiredSgl'
-        } else if (value === 'audit') {
-          _fieldval.label = '瀹℃牳'
-          _fieldval.class = 'purple'
-          _fieldval.Ot = 'requiredSgl'
-        } else if (value === 'LogicDelete' || value === 'delete') {
-          _fieldval.label = '鍒犻櫎'
-          _fieldval.class = 'danger'
-          _fieldval.Ot = 'required'
-        }
-
-        this.props.form.setFieldsValue(_fieldval)
-      })
-    } else if (key === 'pageTemplate') {
-      let _options = null
-      if (value === 'custom') {
-        _options = ['label', 'Ot', 'OpenType', 'pageTemplate', 'url', 'icon', 'class', 'position']
-      } else {
-        _options = ['label', 'Ot', 'OpenType', 'pageTemplate', 'icon', 'class', 'position']
-      }
-
-      this.setState({
-        openType: value,
-        formlist: this.state.formlist.map(item => {
-          item.hidden = !_options.includes(item.key)
-  
-          return item
-        })
-      })
-    }
-  }
-
-  onChange = (e, key) => {
-    const { openType } = this.state
-    let value = e.target.value
-
-    if (key === 'intertype') {
-      let _options = null
-      if (openType === 'excelOut') {
-        if (value === 'outer') {
-          _options = ['label', 'OpenType', 'intertype', 'innerFunc', 'sysInterface', 'interface', 'outerFunc', 'icon', 'class', 'execSuccess', 'execError', 'pagination', 'search']
-        } else {
-          _options = ['label', 'OpenType', 'intertype', 'innerFunc', 'icon', 'class', 'execSuccess', 'execError', 'pagination', 'search']
-        }
-      } else if (openType === 'excelIn') {
-        if (value === 'outer') {
-          _options = ['label', 'Ot', 'OpenType', 'intertype', 'innerFunc', 'sysInterface', 'interface', 'outerFunc', 'callbackFunc', 'icon', 'class', 'sheet', 'execSuccess', 'execError']
-        } else {
-          _options = ['label', 'Ot', 'OpenType', 'intertype', 'innerFunc', 'icon', 'class', 'sheet', 'execSuccess', 'execError']
-        }
-      } else if (openType === 'funcbutton') {
-        if (value === 'outer') {
-          _options = ['label', 'OpenType', 'funcType', 'execMode', 'intertype', 'innerFunc', 'sysInterface', 'interface', 'outerFunc', 'callbackFunc', 'Ot', 'icon', 'class', 'execSuccess', 'execError']
-        } else {
-          _options = ['label', 'OpenType', 'funcType', 'execMode', 'intertype', 'innerFunc', 'Ot', 'icon', 'class', 'execSuccess', 'execError']
-        }
-      } else {
-        if (value === 'inner') {
-          _options = ['label', 'position', 'OpenType', 'intertype', 'innerFunc', 'Ot', 'icon', 'class', 'execSuccess', 'execError', 'sql', 'sqlType']
-        } else {
-          _options = ['label', 'position', 'OpenType', 'intertype', 'innerFunc', 'Ot', 'icon', 'class', 'execSuccess', 'execError', 'sysInterface', 'interface', 'outerFunc', 'callbackFunc']
-        }
-      }
-
-      this.setState({
-        interType: value,
-        formlist: this.state.formlist.map(item => {
-          item.hidden = !_options.includes(item.key)
-
-          if (item.key === 'interface') {
-            item.readonly = false
-          } else if (item.key === 'sysInterface') {
-            item.initVal = 'false'
-          } else if (item.key === 'Ot') {
-            item.options = this.state.requireOptions
-          }
-          return item
-        })
-      }, () => {
-        if (this.props.form.getFieldValue('sqlType') !== undefined) {
-          this.props.form.setFieldsValue({sqlType: ''})
-        }
-      })
-    } else if (key === 'sysInterface') {
-      if (value === 'true') {
-        this.props.form.setFieldsValue({
-          interface: window.GLOB.mainSystemApi || ''
-        })
-      }
-      this.setState({
-        formlist: this.state.formlist.map(item => {
-          if (item.key === 'interface' && value === 'true') {
-            item.readonly = true
-          } else if (item.key === 'interface') {
-            item.readonly = false
-          }
-
-          return item
-        })
-      })
-    }
+    }, () => {
+      this.props.form.setFieldsValue(_fieldval)
+    })
   }
 
   handleSubmit = (e) => {
@@ -478,211 +480,191 @@
   }
 
   getFields() {
+    const { dict } = this.props
     const { getFieldDecorator } = this.props.form
     const fields = []
 
     this.state.formlist.forEach((item, index) => {
       if (item.hidden) return
 
-      if (item.type === 'text') { // 鏂囨湰鎼滅储
-        let _rules = []
+      let span = 12
+      let rules = []
+      let className = ''
+      let content = null
+      let initVal = item.initVal || ''
+
+      if (item.type === 'text') {
+        rules = [
+          { required: item.required, message: dict['form.required.input'] + item.label + '!' }
+        ]
+  
         if (item.key === 'innerFunc') {
           let str = '^(' + item.fields.join('|') + ')'
           let _patten = new RegExp(str + formRule.func.innerPattern + '$', 'g')
-          _rules = [{
-            pattern: _patten,
-            message: formRule.func.innerMessage
-          }, {
-            max: formRule.func.max,
-            message: formRule.func.maxMessage
-          }]
+          rules.push(
+            { pattern: _patten, message: formRule.func.innerMessage },
+            { max: formRule.func.max, message: formRule.func.maxMessage }
+          )
         } else if (item.key === 'outerFunc' || item.key === 'callbackFunc') {
-          _rules = [{
-            pattern: formRule.func.pattern,
-            message: formRule.func.message
-          }, {
-            max: formRule.func.max,
-            message: formRule.func.maxMessage
-          }]
+          rules.push(
+            { pattern: formRule.func.pattern, message: formRule.func.message },
+            { max: formRule.func.max, message: formRule.func.maxMessage }
+          )
         } else {
-          _rules = [{
-            max: formRule.input.max,
-            message: formRule.input.message
-          }]
+          rules.push({ max: formRule.input.max, message: formRule.input.message })
         }
-        fields.push(
-          <Col span={12} key={index}>
-            <Form.Item label={item.tooltip ?
-              <Tooltip placement="topLeft" overlayClassName={item.tooltipClass} title={item.tooltip}>
-                <Icon type="question-circle" />
-                {item.label}
-              </Tooltip> : item.label
-            }>
-              {getFieldDecorator(item.key, {
-                initialValue: item.initVal || '',
-                rules: [
-                  {
-                    required: item.readonly ? false : !!item.required,
-                    message: this.props.dict['form.required.input'] + item.label + '!'
-                  },
-                  ..._rules
-                ]
-              })(<Input placeholder="" autoComplete="off" disabled={item.readonly} onPressEnter={this.handleSubmit} />)}
-            </Form.Item>
-          </Col>
-        )
+
+        content = <Input placeholder="" autoComplete="off" onPressEnter={this.handleSubmit} />
       } else if (item.type === 'number') {
-        fields.push(
-          <Col span={12} key={index}>
-            <Form.Item label={item.tooltip ?
-              <Tooltip placement="topLeft" overlayClassName={item.tooltipClass} title={item.tooltip}>
-                <Icon type="question-circle" />
-                {item.label}
-              </Tooltip> : item.label
-            }>
-              {getFieldDecorator(item.key, {
-                initialValue: item.initVal,
-                rules: [
-                  {
-                    required: item.readonly ? false : !!item.required,
-                    message: this.props.dict['form.required.input'] + item.label + '!'
-                  }
-                ]
-              })(<InputNumber min={0} max={10000} precision={0} />)}
-            </Form.Item>
-          </Col>
-        )
-      } else if (item.type === 'select') { // 涓嬫媺鎼滅储
-        fields.push(
-          <Col span={12} key={index}>
-            <Form.Item label={item.tooltip ?
-              <Tooltip placement="topLeft" overlayClassName={item.tooltipClass} title={item.tooltip}>
-                <Icon type="question-circle" />
-                {item.label}
-              </Tooltip> : item.label
-            }>
-              {getFieldDecorator(item.key, {
-                initialValue: item.initVal || '',
-                rules: [
-                  {
-                    required: !!item.required,
-                    message: this.props.dict['form.required.select'] + item.label + '!'
-                  }
-                ]
-              })(
-                <Select
-                  showSearch
-                  filterOption={(input, option) => option.props.children[2].toLowerCase().indexOf(input.toLowerCase()) >= 0}
-                  onChange={(value) => {this.openTypeChange(item.key, value)}}
-                  getPopupContainer={() => document.getElementById('winter')}
-                >
-                  {item.options.map((option, index) =>
-                    <Select.Option id={`${index}`} title={option.text} key={`${index}`} value={option.value}>
-                      {item.key === 'icon' && option.value && <Icon type={option.value} />} {option.text}
-                    </Select.Option>
-                  )}
-                </Select>
-              )}
-            </Form.Item>
-          </Col>
-        )
+        rules = [
+          { required: item.required, message: dict['form.required.input'] + item.label + '!' }
+        ]
+
+        content = <InputNumber min={item.min} max={item.max} precision={item.precision} onPressEnter={this.handleSubmit}/>
+      } else if (item.type === 'select') {
+        rules = [
+          { required: item.required, message: dict['form.required.select'] + item.label + '!' }
+        ]
+
+        content = <Select
+          showSearch
+          allowClear={item.allowClear === true}
+          filterOption={(input, option) => option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0}
+          onChange={(value) => {this.optionChange(item.key, value)}}
+          getPopupContainer={() => document.getElementById('winter')}
+        >
+          {item.options.map((option, index) =>
+            <Select.Option key={index} value={(option.value || option.field || '')}>
+              {(option.text || option.label)}
+            </Select.Option>
+          )}
+        </Select>
       } else if (item.type === 'radio') {
-        fields.push(
-          <Col span={12} key={index}>
-            <Form.Item label={item.label}>
-              {getFieldDecorator(item.key, {
-                initialValue: item.initVal,
-                rules: [
-                  {
-                    required: !!item.required,
-                    message: this.props.dict['form.required.select'] + item.label + '!'
-                  }
-                ]
-              })(
-                <Radio.Group onChange={(e) => {this.onChange(e, item.key)}} disabled={item.readonly}>
-                  {
-                    item.options.map(option => {
-                      return (
-                        <Radio key={option.value} value={option.value}>{option.text}</Radio>
-                      )
-                    })
-                  }
-                </Radio.Group>
-              )}
-            </Form.Item>
-          </Col>
-        )
+        rules = [
+          { required: item.required, message: dict['form.required.select'] + item.label + '!' }
+        ]
+
+        content = <Radio.Group onChange={(e) => {this.optionChange(item.key, e.target.value)}}>
+          {item.options.map(option => <Radio key={option.value} value={option.value}>{option.text}</Radio>)}
+        </Radio.Group>
+      } else if (item.type === 'cascader') {
+        initVal = item.initVal || []
+        rules = [
+          { required: item.required, message: dict['form.required.select'] + item.label + '!' }
+        ]
+
+        content = <Cascader options={item.options || []} expandTrigger="hover" placeholder=""/>
+      } else if (item.type === 'icon') {
+        rules = [
+          { required: item.required, message: dict['form.required.select'] + item.label + '!' }
+        ]
+
+        content = <MkEditIcon options={['edit', 'hint', 'direction', 'normal', 'data']} allowClear/>
       } else if (item.type === 'textarea') {
-        fields.push(
-          <Col span={24} key={index}>
-            <Form.Item label={item.label} className="textarea">
-              {getFieldDecorator(item.key, {
-                initialValue: item.initVal
-              })(<TextArea rows={4} />)}
-            </Form.Item>
-          </Col>
-        )
+        span = 24
+        className = 'textarea'
+        rules = [
+          { required: item.readonly ? false : item.required, message: dict['form.required.input'] + item.label + '!' }
+        ]
+
+        content = <TextArea rows={2} readOnly={item.readonly}/>
       }
+
+      fields.push(
+        <Col span={span} key={index}>
+          <Form.Item className={className} label={item.tooltip ?
+            <Tooltip placement="topLeft" title={item.tooltip}>
+              <QuestionCircleOutlined className="mk-form-tip" />
+              {item.label}
+            </Tooltip> : item.label
+          }>
+            {getFieldDecorator(item.key, {
+              initialValue: initVal,
+              rules: rules
+            })(content)}
+          </Form.Item>
+        </Col>
+      )
     })
     return fields
   }
 
   handleConfirm = () => {
-    const { setting } = this.props
+    const { setting, card } = this.props
     // 琛ㄥ崟鎻愪氦鏃舵鏌ヨ緭鍏ュ�兼槸鍚︽纭�
     return new Promise((resolve, reject) => {
       this.props.form.validateFieldsAndScroll((err, values) => {
         if (!err) {
-          values.uuid = this.props.card.uuid
-          values.verify = this.props.card.verify || null
+          values.uuid = card.uuid
+          values.verify = card.verify || null
+          values.position = values.position || 'toolbar'
 
-          if (values.OpenType === 'excelIn') {
-            values.position = 'toolbar'
-          } else if (values.OpenType === 'excelOut') {
-            if (values.intertype === 'inner' && !values.innerFunc) {
-              if ((setting.interType === 'inner' && setting.innerFunc) || setting.interType === 'outer') {
-                notification.warning({
-                  top: 92,
-                  message: '琛ㄦ牸鏁版嵁鏌ヨ鏈娇鐢ㄦ暟鎹簮锛屽鍑篍xcel浣跨敤鍐呴儴鎺ュ彛鏃讹紝闇�鑷畾涔夊唴閮ㄥ嚱鏁帮紒',
-                  duration: 5
-                })
-                return
-              }
+          if (values.OpenType === 'excelOut') {
+            if (values.intertype === 'system' && setting.interType !== 'system') { // 瀵煎嚭excel闇�浣跨敤鏌ヨ鏁版嵁婧�
+              notification.warning({
+                top: 92,
+                message: '琛ㄦ牸鏁版嵁鏌ヨ鏈娇鐢ㄧ郴缁熷嚱鏁帮紝瀵煎嚭Excel涓嶅彲浣跨敤绯荤粺鍑芥暟锛�',
+                duration: 5
+              })
+              return
             }
             
-            values.position = 'toolbar'
             values.Ot = 'notRequired'
           } else if (values.OpenType === 'popview' && !values.linkTab) { // 娌℃湁鍏宠仈鏍囩锛堟柊寤烘椂锛夛紝鍒涘缓鏂版爣绛綢d
             values.linkTab = Utils.getuuid()
-            values.createTab = true // 鐢ㄤ簬鏍囪鎸夐挳澶嶅埗鏃讹紝鏄惁澶嶅埗鍘熸湁鏍囩
-          } else if (values.OpenType === 'funcbutton') { // 杞崲鎵撳嵃鏃舵墦寮�鏂瑰紡
-            values.position = 'toolbar'
-            if (values.funcType === 'print') {
-              values.OpenType = values.execMode
-            }
           } else if (['pop', 'prompt', 'exec'].includes(values.OpenType) && values.verify) {
-            if (values.Ot === 'requiredOnce' && ['notRequired', 'requiredSgl', 'required'].includes(this.props.card.Ot)) {
-              values.verify.uniques = []
-            } else if (this.props.card.Ot === 'requiredOnce' && ['notRequired', 'requiredSgl', 'required'].includes(values.Ot)) {
+            if ((values.Ot === 'requiredOnce' || card.Ot === 'requiredOnce') && card.Ot !== values.Ot) {
               values.verify.uniques = []
             }
+            if (card.Ot !== values.Ot) {
+              if (values.Ot === 'notRequired') {
+                values.verify.invalid = 'false'
+              } else if (card.Ot === 'notRequired' && values.Ot !== 'notRequired') {
+                values.verify.invalid = 'true'
+              }
+            }
+          } else if (values.OpenType === 'tab' && values.linkmenu) {
+            if (sessionStorage.getItem('thdMenuList')) {
+              let list = null
+              try {
+                list = JSON.parse(sessionStorage.getItem('thdMenuList')) || []
+              } catch (e) {
+                list = []
+              }
+
+              let id = values.linkmenu[values.linkmenu.length - 1]
+        
+              list.forEach(item => {
+                if (item.MenuID === id) {
+                  values.MenuID = id
+                  values.MenuName = item.MenuName
+                  values.MenuNo = item.MenuNo
+                  values.tabType = item.type
+                }
+              })
+            }
+          }
+          if (values.openmenu && Array.isArray(values.openmenu) && values.openmenu.length > 0) {
+            let list = null
+            try {
+              list = JSON.parse(sessionStorage.getItem('thdMenuList')) || []
+            } catch (e) {
+              list = []
+            }
+
+            let id = values.openmenu[values.openmenu.length - 1]
+
+            list.forEach(item => {
+              if (item.MenuID === id) {
+                values.MenuID = id
+                values.MenuName = item.MenuName
+                values.MenuNo = item.MenuNo
+                values.tabType = item.type
+              }
+            })
           }
 
-          if (values.innerFunc === '' && values.sql === '') {
-            notification.warning({
-              top: 92,
-              message: this.props.dict['header.form.actionhelp.tablename'],
-              duration: 5
-            })
-          } else if (values.innerFunc === '' && values.sql !== '' && values.sqlType === '') {
-            notification.warning({
-              top: 92,
-              message: this.props.dict['header.form.actionhelp.sqlType'],
-              duration: 5
-            })
-          } else {
-            resolve(values)
-          }
+          resolve(values)
         } else {
           reject(err)
         }
@@ -702,7 +684,7 @@
       }
     }
     return (
-      <Form {...formItemLayout} className="ant-advanced-search-form commontable-action-form" id="winter">
+      <Form {...formItemLayout} className="normal-action-list-form" id="winter">
         <Row gutter={24}>{this.getFields()}</Row>
       </Form>
     )

--
Gitblit v1.8.0