From 41239717c4446af79268b968557274f88a0afaeb Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期六, 15 八月 2020 10:16:07 +0800
Subject: [PATCH] 2020-08-15

---
 src/templates/menuconfig/editthdmenu/index.jsx |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/src/templates/menuconfig/editthdmenu/index.jsx b/src/templates/menuconfig/editthdmenu/index.jsx
index 6850d6b..42b66ba 100644
--- a/src/templates/menuconfig/editthdmenu/index.jsx
+++ b/src/templates/menuconfig/editthdmenu/index.jsx
@@ -29,6 +29,7 @@
 
 const ComTableConfig = asyncLoadComponent(() => import('@/templates/comtableconfig'))
 const TreePageConfig = asyncLoadComponent(() => import('@/templates/treepageconfig'))
+const CalendarPageConfig = asyncLoadComponent(() => import('@/templates/calendarconfig'))
 const FormTabConfig = asyncLoadComponent(() => import('@/templates/formtabconfig'))
 const ModalConfig = asyncLoadComponent(() => import('@/templates/modalconfig'))
 const SubTable = asyncLoadComponent(() => import('@/templates/subtableconfig'))
@@ -39,7 +40,8 @@
 
 const illust = { // 妯℃澘鍥剧墖锛岀敤浜庡凡浣跨敤妯℃澘
   CommonTable: mainsubtable,
-  TreePage: treepage
+  TreePage: treepage,
+  CalendarPage: treepage
 }
 
 class EditMenu extends Component {
@@ -78,7 +80,7 @@
     btnTabConfig: null,     // 鎵撳紑鏂版爣绛炬寜閽厤缃�
     handleMVisible: false,  // 娣诲姞鎴栦慨鏀硅彍鍗曟ā鎬佹锛堣鑹叉潈闄愬垎閰嶇瓑锛�
     sysMenu: false,         // 娣诲姞鎴栫紪杈戣彍鍗曪紙瑙掕壊鏉冮檺鍒嗛厤绛夛級
-    optionLibs: [],         // 鑷畾涔変笅鎷夐�夐」搴�
+    optionLibs: null,       // 鑷畾涔変笅鎷夐�夐」搴�
     fstMenuId: null,        // 涓�绾ц彍鍗旾d
     fstMenuList: null       // 涓�绾ц彍鍗曞垪琛�
   }
@@ -854,6 +856,14 @@
             handleView={this.handleView}
           /> : null
         }
+        {this.state.tabview === 'CalendarPage' ?
+          <CalendarPageConfig
+            menu={this.state.editMenu}
+            optionLibs={this.state.optionLibs}
+            reloadmenu={() => {this.props.reload()}}
+            handleView={this.handleView}
+          /> : null
+        }
         {this.state.tabview === 'CommonTable' ?
           <ComTableConfig
             menu={this.state.editMenu}

--
Gitblit v1.8.0