From a02fc6a77fa1b35c6516b2d37108d80e260c6c85 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 07 十一月 2024 22:05:08 +0800
Subject: [PATCH] 2024-11-07

---
 src/templates/comtableconfig/index.jsx |   79 +--------------------------------------
 1 files changed, 2 insertions(+), 77 deletions(-)

diff --git a/src/templates/comtableconfig/index.jsx b/src/templates/comtableconfig/index.jsx
index 4768e78..97f340e 100644
--- a/src/templates/comtableconfig/index.jsx
+++ b/src/templates/comtableconfig/index.jsx
@@ -3,8 +3,8 @@
 import { is, fromJS } from 'immutable'
 import { DndProvider } from 'react-dnd'
 import HTML5Backend from 'react-dnd-html5-backend'
-import { Button, Card, Collapse, notification, Spin, Tooltip, Col } from 'antd'
-import { QuestionCircleOutlined, RedoOutlined } from '@ant-design/icons'
+import { Button, Card, Collapse, notification, Spin, Col } from 'antd'
+import { RedoOutlined } from '@ant-design/icons'
 
 import Api from '@/api'
 import Utils from '@/utils/utils.js'
@@ -16,21 +16,16 @@
 import ColumnComponent from '@/templates/sharecomponent/columncomponent'
 
 import MenuForm from './menuform'
-import SourceElement from '@/templates/zshare/dragsource'
 import Source from './source'
 import './index.scss'
 
 const { Panel } = Collapse
 
-// const Versions = asyncComponent(() => import('@/menu/versions'))
 const UrlFieldComponent = asyncComponent(() => import('@/menu/urlfieldcomponent'))
-// const ReplaceField = asyncComponent(() => import('@/menu/replaceField'))
 const UpdateTable = asyncComponent(() => import('./updatetable'))
 const Unattended = asyncComponent(() => import('@/templates/zshare/unattended'))
-// const EditComponent = asyncComponent(() => import('@/templates/zshare/editcomponent'))
 const SettingComponent = asyncComponent(() => import('@/templates/sharecomponent/settingcomponent'))
 const TableComponent = asyncComponent(() => import('@/templates/sharecomponent/tablecomponent'))
-const FieldsComponent = asyncComponent(() => import('@/templates/sharecomponent/fieldscomponent'))
 const ChartGroupComponent = asyncComponent(() => import('@/templates/sharecomponent/chartgroupcomponent'))
 const ChartComponent = asyncComponent(() => import('@/templates/sharecomponent/chartcomponent'))
 const CardComponent = asyncComponent(() => import('@/templates/sharecomponent/cardcomponent'))
@@ -1076,8 +1071,6 @@
 
     if (!config) return null
 
-    const confActions = config.action.filter(_action => !_action.origin && (['pop', 'popview'].includes(_action.OpenType) || (_action.OpenType === 'tab' && _action.tabTemplate === 'FormTab') || (_action.OpenType === 'funcbutton' && _action.execMode === 'pop')))
-
     let configTabs = []
     config.tabgroups.forEach(group => {
       configTabs.push(...group.sublist)
@@ -1107,74 +1100,6 @@
                   containerId="main-basedata"
                   updatetable={this.updateconfig}
                 />
-              </Panel>
-              {/* 鎼滅储鏉′欢娣诲姞 */}
-              <Panel header="鎼滅储" key="1">
-                <div className="search-element">
-                  {Source.searchItems.map((item, index) => (<SourceElement key={index} content={item}/>))}
-                </div>
-                <FieldsComponent config={config} type="search" />
-              </Panel>
-              {/* 鎸夐挳娣诲姞 */}
-              <Panel header="鎸夐挳" key="2">
-                <div className="search-element">
-                  {Source.actionItems.map((item, index) => (<SourceElement key={index} content={item}/>))}
-                </div>
-                <div className="config-btn">
-                  {confActions.length > 0 ?
-                    <p className="config-btn-title">
-                      <Tooltip placement="topLeft" title="鐐瑰嚮鎸夐挳锛屽彲瀹屾垚鎴栨煡鐪嬫寜閽厤缃俊鎭��">
-                        <QuestionCircleOutlined className="mk-form-tip"/>
-                      </Tooltip>
-                      鎸夐挳閰嶇疆
-                    </p> : null
-                  }
-                </div>
-                {confActions.map((item, index) => {
-                  return (
-                    <div key={index}>
-                      <Button
-                        icon={item.icon}
-                        style={{marginBottom: '10px'}}
-                        className={'config-button mk-btn mk-' + item.class}
-                        onClick={() => this.setSubConfig(item, 'button')}
-                      >{item.label}</Button>
-                    </div>
-                  )
-                })}
-              </Panel>
-              {/* 娣诲姞鏄剧ず鍒� */}
-              <Panel header="鏄剧ず鍒�" key="3">
-                <div className="search-element">
-                  {Source.columnItems.map((item, index) => (<SourceElement key={index} content={item}/>))}
-                </div>
-                <FieldsComponent config={config} type="columns"/>
-              </Panel>
-              {/* 娣诲姞鏍囩 */}
-              <Panel header="鏍囩椤�" key="4">
-                <div className="search-element">
-                  {Source.tabItems.map((item, index) => (<SourceElement key={index} content={item}/>))}
-                </div>
-                {configTabs.length > 0 ?
-                  <p className="config-btn-title">
-                    <Tooltip placement="topLeft" title="鐐瑰嚮鎸夐挳锛屽彲瀹屾垚鎴栨煡鐪嬫爣绛鹃厤缃俊鎭��">
-                      <QuestionCircleOutlined className="mk-form-tip"/>
-                    </Tooltip>
-                    鏍囩閰嶇疆
-                  </p> : null
-                }
-                {configTabs.map((item, index) => {
-                  return (
-                    <div key={index}>
-                      <Button
-                        className="config-button"
-                        icon={item.icon}
-                        style={{marginBottom: '10px'}}
-                        onClick={() => this.setSubConfig(item, 'tab')}
-                      >{item.label}</Button>
-                    </div>
-                  )
-                })}
               </Panel>
             </Collapse>
           </div>

--
Gitblit v1.8.0