From 822bc67061448c6e3a1eb77d39be4ad2b84b416a Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 27 二月 2020 09:36:34 +0800
Subject: [PATCH] 2020-02-27

---
 src/tabviews/managetable/index.jsx |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/src/tabviews/managetable/index.jsx b/src/tabviews/managetable/index.jsx
index 3e9a357..89a9c42 100644
--- a/src/tabviews/managetable/index.jsx
+++ b/src/tabviews/managetable/index.jsx
@@ -9,6 +9,7 @@
 import zhCN from '@/locales/zh-CN/main.js'
 import enUS from '@/locales/en-US/main.js'
 import Utils from '@/utils/utils.js'
+import options from '@/store/options.js'
 import asyncComponent from '@/utils/asyncLoadComponent'
 import {refreshTabView, modifyTabview} from '@/store/action'
 
@@ -363,9 +364,9 @@
     if (setting.interType === 'inner') {
       param.func = setting.innerFunc
     } else {
-      if (setting.sysInterface === 'true') {
-        param.rduri = window.GLOB.mainSystemApi || window.GLOB.subSystemApi
-      } else {
+      if (setting.sysInterface === 'true' && options.cloudServiceApi) {
+        param.rduri = options.cloudServiceApi
+      } else if (setting.sysInterface !== 'true') {
         param.rduri = setting.interface
       }
 
@@ -862,6 +863,7 @@
               ref="mainButton"
               BID=""
               type="main"
+              menuType="HS"
               setting={setting}
               actions={actions}
               dict={this.state.dict}
@@ -915,6 +917,7 @@
                       } key={`${index}`}>
                         {_tab.type === 'SubTable' ?
                           <SubTable
+                            menuType="HS"
                             Tab={_tab}
                             MenuID={_tab.linkTab}
                             SupMenuID={this.props.MenuID}
@@ -952,6 +955,7 @@
           >
             {<SubTabTable 
               BID={''}
+              menuType="HS"
               SupMenuID={this.props.MenuID}
               MenuID={this.state.popAction.linkTab}
               BData={this.state.BIDs['mainTabledata'] || ''}
@@ -982,7 +986,7 @@
           </Modal>
           {viewlost ? <NotFount msg={this.state.lostmsg} /> : null}
         </div> : null}
-        {view === 'formtab' ? <FormTab MenuID={this.state.tabBtn.uuid} param={this.state.tabParam} refresh={this.refreshbyformtab}/> : null}
+        {view === 'formtab' ? <FormTab menuType="HS" MenuID={this.state.tabBtn.uuid} param={this.state.tabParam} refresh={this.refreshbyformtab}/> : null}
       </div>
     )
   }

--
Gitblit v1.8.0