From 71a0e75ecb56ae643fe1e86188d45f93f48388c9 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期五, 28 八月 2020 14:07:41 +0800
Subject: [PATCH] 2020-08-28

---
 src/views/menudesign/index.jsx |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/src/views/menudesign/index.jsx b/src/views/menudesign/index.jsx
index e78a014..b7569eb 100644
--- a/src/views/menudesign/index.jsx
+++ b/src/views/menudesign/index.jsx
@@ -81,6 +81,12 @@
   submitConfig = () => {
     const { config, openEdition, parentId } = this.state
 
+    let _config = fromJS(config).toJS()
+    delete _config.fstMenuList
+    delete _config.permFuncField
+    delete _config.sysRoles
+    delete _config.tableFields
+
     let param = {
       func: 'sPC_TrdMenu_AddUpt',
       ParentID: parentId,
@@ -90,7 +96,7 @@
       Template: '',
       MenuName: '',
       PageParam: '',
-      LongParam: window.btoa(window.encodeURIComponent(JSON.stringify(config))),
+      LongParam: window.btoa(window.encodeURIComponent(JSON.stringify(_config))),
       // LText: _vals.func.map(item => `select '${menu.MenuID}' as MenuID,'${item.func}' as ProcName,'${item.label}' as MenuName`),
       // LTexttb: _tables.map(item => `select '${menu.MenuID}' as MenuID,'${item}' as tbName`),
       TypeCharOne: 'mob'
@@ -147,6 +153,7 @@
           config = {
             version: 1.0,
             uuid: this.props.match.params.MenuId,
+            MenuID: this.props.match.params.MenuId,
             Template: 'CustomPage',
             easyCode: '',
             enabled: false,

--
Gitblit v1.8.0