From 76427d51a079a5fd1f45bf7188249e7a4647ae05 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 14 九月 2020 10:37:25 +0800
Subject: [PATCH] 2020-09-14

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

diff --git a/src/tabviews/zshare/actionList/excelInbutton/index.jsx b/src/tabviews/zshare/actionList/excelInbutton/index.jsx
index f22403e..53fd47f 100644
--- a/src/tabviews/zshare/actionList/excelInbutton/index.jsx
+++ b/src/tabviews/zshare/actionList/excelInbutton/index.jsx
@@ -251,7 +251,7 @@
       param.BID = this.props.BID
     }
 
-    if (btn.intertype === 'inner' && !btn.innerFunc) { // 绯荤粺瀛樺偍杩囩▼
+    if (btn.intertype === 'system') { // 绯荤粺瀛樺偍杩囩▼
       param.func = 'sPC_TableData_InUpDe'
       
       if (this.props.dataManager) { // 鏁版嵁鏉冮檺
@@ -268,10 +268,10 @@
       param.LText1 = Utils.formatOptions(result.insert)
       param.LText2 = Utils.formatOptions(result.bottom)
       param.LText = Utils.formatOptions(result.sql)
-      param.timestamp = moment().format('YYYY-MM-DD HH:mm:ss') + '.000'
+      param.timestamp = moment().format('YYYY-MM-DD HH:mm:ss')
       param.secretkey = Utils.encrypt(param.LText, param.timestamp)
       if (this.props.menuType === 'HS' && param.timestamp) { // 浜戠楠岃瘉
-        param.open_key = Utils.encrypt(param.secretkey, param.timestamp, true)
+        param.open_key = Utils.encryptOpenKey(param.secretkey, param.timestamp)
       }
 
       Api.genericInterface(param).then((res) => {
@@ -351,9 +351,9 @@
         
         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.timestamp = moment().format('YYYY-MM-DD HH:mm:ss')
           param.secretkey = Utils.encrypt(param.LText, param.timestamp)
-          param.open_key = Utils.encrypt(param.secretkey, param.timestamp, true)
+          param.open_key = Utils.encryptOpenKey(param.secretkey, param.timestamp)
         }
 
         return Api.genericInterface(res)

--
Gitblit v1.8.0