From da64ab0923bf8817fc8599a6e37b953ce38f64c8 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期日, 27 八月 2023 18:37:36 +0800
Subject: [PATCH] 2023-08-27

---
 src/templates/subtableconfig/index.jsx |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/templates/subtableconfig/index.jsx b/src/templates/subtableconfig/index.jsx
index 19bfb12..3459581 100644
--- a/src/templates/subtableconfig/index.jsx
+++ b/src/templates/subtableconfig/index.jsx
@@ -185,7 +185,7 @@
       loading: type,
       tabviews: []
     })
-    Api.getSystemConfig({func: 'sPC_Get_UserTemp', TypeCharTwo: 'tab'}).then(res => {
+    Api.getCloudConfig({func: 'sPC_Get_UserTemp', TypeCharTwo: 'tab'}).then(res => {
       if (res.status) {
         let _tabviews = []
         res.UserTemp.forEach(temp => {
@@ -273,7 +273,7 @@
         func: 'sPC_MainMenu_Del',
         MenuID: item
       }
-      Api.getSystemConfig(_param)
+      Api.getCloudConfig(_param)
     })
 
     this.props.handleView(param)
@@ -438,7 +438,7 @@
           }
 
           return new Promise(resolve => {
-            Api.getSystemConfig(_param).then(response => {
+            Api.getCloudConfig(_param).then(response => {
               resolve(response)
             })
           })
@@ -493,7 +493,7 @@
     }).then(resp => {
       if (resp === false) return
 
-      Api.getSystemConfig(param).then(response => {
+      Api.getCloudConfig(param).then(response => {
         if (response.status) {
           this.setState({
             openEdition: response.open_edition || '',
@@ -551,7 +551,7 @@
     if (oriActions.length === 0) return
 
     oriActions.forEach(action => {
-      Api.getSystemConfig({
+      Api.getCloudConfig({
         func: 'sPC_Get_LongParam',
         MenuID: action.prebtn ? action.prebtn.uuid : ''
       }).then(result => {
@@ -578,7 +578,7 @@
               PageParam: JSON.stringify({Template: _LongParam.type}),
               LongParam: result.LongParam
             }
-            Api.getSystemConfig(param).then(() => {})
+            Api.getCloudConfig(param).then(() => {})
           }
         }
       })
@@ -675,7 +675,7 @@
           loading: true
         })
 
-        Api.getSystemConfig({
+        Api.getCloudConfig({
           func: 'sPC_Get_LongParam',
           MenuID: btn.OpenType === 'popview' ? btn.linkTab : btn.uuid
         }).then(res => {
@@ -863,7 +863,7 @@
       MenuID: config.uuid
     }
 
-    Api.getSystemConfig(param).then(res => {
+    Api.getCloudConfig(param).then(res => {
       if (res.status) {
         let _config = ''
         if (res.LongParam) {

--
Gitblit v1.8.0