From 89a58758f2045daf62383dc993178d857f3bbc39 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 10 七月 2023 15:07:50 +0800
Subject: [PATCH] 2023-07-10

---
 src/tabviews/custom/components/share/tabtransfer/index.jsx |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/src/tabviews/custom/components/share/tabtransfer/index.jsx b/src/tabviews/custom/components/share/tabtransfer/index.jsx
index f2be4a6..2e26fb1 100644
--- a/src/tabviews/custom/components/share/tabtransfer/index.jsx
+++ b/src/tabviews/custom/components/share/tabtransfer/index.jsx
@@ -40,6 +40,7 @@
 const MkBaseTable = asyncComponent(() => import('@/tabviews/custom/components/table/base-table'))
 const AntvG6 = asyncComponent(() => import('@/tabviews/custom/components/chart/antv-G6'))
 const AntvX6 = asyncComponent(() => import('@/tabviews/custom/components/chart/antv-X6'))
+const Calendar = asyncComponent(() => import('@/tabviews/custom/components/calendar'))
 
 class TabTransfer extends Component {
   static propTpyes = {
@@ -183,6 +184,8 @@
 
       if (item.style && item.style.clear === 'left') {
         style = {clear: 'left'}
+      } else if (item.style && item.style.clear === 'right') {
+        style = {float: 'right'}
       }
 
       if (item.type === 'card' && item.subtype === 'datacard') {
@@ -310,6 +313,12 @@
             <NormalTree config={item} data={data} mainSearch={mainSearch}/>
           </Col>
         )
+      } else if (item.type === 'calendar') {
+        return (
+          <Col span={item.width} style={style} key={item.uuid}>
+            <Calendar config={item} mainSearch={mainSearch}/>
+          </Col>
+        )
       } else if (item.type === 'editor') {
         return (
           <Col span={item.width} style={style} key={item.uuid}>

--
Gitblit v1.8.0