From 75623dd039b742dbb44fb4c6b4af563404ed9c7f Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 03 二月 2020 16:06:04 +0800
Subject: [PATCH] 2020-02-03

---
 src/tabviews/tableshare/actionList/index.jsx |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/tabviews/tableshare/actionList/index.jsx b/src/tabviews/tableshare/actionList/index.jsx
index 52c1104..9c65c49 100644
--- a/src/tabviews/tableshare/actionList/index.jsx
+++ b/src/tabviews/tableshare/actionList/index.jsx
@@ -12,6 +12,7 @@
 class MainAction extends Component {
   static propTpyes = {
     BID: PropTypes.string,
+    BData: PropTypes.any,
     Tab: PropTypes.any,
     type: PropTypes.string,
     MenuID: PropTypes.string,
@@ -378,7 +379,7 @@
         }).then(res => {
           if (!res) return
           // 澶栭儴璇锋眰
-          _outParam = res
+          _outParam = JSON.parse(JSON.stringify(res))
           return Api.genericInterface(res)
         }).then(response => {
           if (!response) return
@@ -763,6 +764,7 @@
     let deffers = subfields.map(item => {
       let _option = Utils.getSelectQueryOptions(item)
       let _sql = Utils.formatOptions(_option.sql)
+      let isSSO = item.database === 'sso'
 
       let param = {
         func: 'sPC_Get_SelectedList',
@@ -775,7 +777,7 @@
       param.secretkey = Utils.encrypt(param.LText, param.timestamp)
 
       return new Promise(resolve => {
-        Api.getSystemCacheConfig(param).then(res => {
+        Api.getSystemCacheConfig(param, isSSO).then(res => {
           res.search = item
           resolve(res)
         })
@@ -937,6 +939,7 @@
           inputSubmit={this.handleOk}
           configMap={this.state.configMap}
           data={this.state.tabledata[0]}
+          BData={this.props.BData}
           wrappedComponentRef={(inst) => this.formRef = inst}
         />
       </Modal>

--
Gitblit v1.8.0