From 730e05cb66cac2c3a9b90df5dfae3c4c1394aa6e Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 12 六月 2024 19:04:55 +0800
Subject: [PATCH] 2024-06-12

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

diff --git a/src/tabviews/zshare/actionList/exceloutbutton/index.jsx b/src/tabviews/zshare/actionList/exceloutbutton/index.jsx
index f3ce2a3..4b5b326 100644
--- a/src/tabviews/zshare/actionList/exceloutbutton/index.jsx
+++ b/src/tabviews/zshare/actionList/exceloutbutton/index.jsx
@@ -159,10 +159,8 @@
     if (btn.pagination !== 'true') {
       if (btn.intertype === 'system') { // 浣跨敤绯荤粺鍑芥暟
         let param = this.getExcelDefaultParam(viewParam.orderBy, viewParam.search)
-        if (btn.database === 'sso') {
-          if ((window.GLOB.mkHS || window.GLOB.systemType === 'production') && window.GLOB.mainSystemApi) {
-            param.rduri = window.GLOB.mainSystemApi
-          }
+        if (btn.database === 'sso' && window.GLOB.mainSystemApi) {
+          param.rduri = window.GLOB.mainSystemApi
         }
         Api.genericInterface(param).then(result => {
           if (result.status) {
@@ -380,10 +378,8 @@
     let param = null
     if (btn.intertype === 'system') { // 浣跨敤绯荤粺鍑芥暟
       param = this.getExcelDefaultParam(viewParam.orderBy, viewParam.search, true, pageIndex, pageSize)
-      if (btn.database === 'sso') {
-        if ((window.GLOB.mkHS || window.GLOB.systemType === 'production') && window.GLOB.mainSystemApi) {
-          param.rduri = window.GLOB.mainSystemApi
-        }
+      if (btn.database === 'sso' && window.GLOB.mainSystemApi) {
+        param.rduri = window.GLOB.mainSystemApi
       }
     } else if (btn.intertype === 'inner') { // 浣跨敤鍐呴儴鍑芥暟
       param = this.getExcelCustomParam(viewParam.orderBy, viewParam.search, true, pageIndex, pageSize)

--
Gitblit v1.8.0