From 2cfae2f496b90278d9af3c11159faa655e25a4ef Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 29 六月 2020 19:21:06 +0800
Subject: [PATCH] 2020-06-29

---
 src/tabviews/zshare/actionList/excelInbutton/index.jsx |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/src/tabviews/zshare/actionList/excelInbutton/index.jsx b/src/tabviews/zshare/actionList/excelInbutton/index.jsx
index 5238361..383b19a 100644
--- a/src/tabviews/zshare/actionList/excelInbutton/index.jsx
+++ b/src/tabviews/zshare/actionList/excelInbutton/index.jsx
@@ -326,7 +326,7 @@
       }).then(res => {
         if (!res) return
         // 澶栭儴璇锋眰
-        _outParam = JSON.parse(JSON.stringify(res))
+        _outParam = fromJS(res).toJS()
 
         if (this.props.menuType === 'HS') {
           if (btn.sysInterface === 'true' && options.cloudServiceApi) {
@@ -345,6 +345,13 @@
         if (btn.outerFunc) {
           res.func = btn.outerFunc
         }
+        
+        if (this.props.menuType === 'HS' && res.func === 's_sDataDictb_excelIn') { // s_sDataDictb_excelIn 浜戠楠岃瘉
+          param.LText = Utils.formatOptions(result.sql)
+          param.timestamp = moment().format('YYYY-MM-DD HH:mm:ss') + '.000'
+          param.secretkey = Utils.encrypt(param.LText, param.timestamp)
+          param.open_key = Utils.encrypt(param.secretkey, param.timestamp, true)
+        }
 
         return Api.genericInterface(res)
       }).then(response => {

--
Gitblit v1.8.0