king
2020-02-27 822bc67061448c6e3a1eb77d39be4ad2b84b416a
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>
    )
  }