From f448bd7b318f7696c97b392a263bc364700bc8a0 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 09 六月 2020 15:54:45 +0800
Subject: [PATCH] 2020-06-09

---
 src/templates/sharecomponent/actioncomponent/index.jsx |   17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/src/templates/sharecomponent/actioncomponent/index.jsx b/src/templates/sharecomponent/actioncomponent/index.jsx
index ca28bf8..1f96bd0 100644
--- a/src/templates/sharecomponent/actioncomponent/index.jsx
+++ b/src/templates/sharecomponent/actioncomponent/index.jsx
@@ -6,6 +6,7 @@
 
 import Api from '@/api'
 import Utils from '@/utils/utils.js'
+import DevUtils from '@/utils/devutils.js'
 import zhCN from '@/locales/zh-CN/model.js'
 import enUS from '@/locales/en-US/model.js'
 import { getActionForm } from '@/templates/zshare/formconfig'
@@ -712,8 +713,8 @@
                 fields: fields,
                 menuNo: menu.MenuNo
               }
-              newLText = Utils.formatOptions(Utils.getfunc(_param, btn, menu, _config))
-              DelText = Utils.formatOptions(Utils.dropfunc(btn.innerFunc))
+              newLText = Utils.formatOptions(DevUtils.getfunc(_param, btn, menu, _config))
+              DelText = Utils.formatOptions(DevUtils.dropfunc(btn.innerFunc))
               resolve(true)
             } else {
               notification.warning({
@@ -730,8 +731,8 @@
               funcName: btn.innerFunc,
               menuNo: menu.MenuNo
             }
-            newLText = Utils.formatOptions(Utils.getexcelInfunc(_param, btn, menu))
-            DelText = Utils.formatOptions(Utils.dropfunc(btn.innerFunc))
+            newLText = Utils.formatOptions(DevUtils.getexcelInfunc(_param, btn, menu))
+            DelText = Utils.formatOptions(DevUtils.dropfunc(btn.innerFunc))
             resolve(true)
           } else {
             notification.warning({
@@ -746,8 +747,8 @@
             innerFunc: btn.innerFunc
           }
 
-          newLText = Utils.formatOptions(Utils.getTableFunc(_param, menu, _config)) // 鍒涘缓瀛樺偍杩囩▼sql
-          DelText = Utils.formatOptions(Utils.dropfunc(btn.innerFunc))
+          newLText = Utils.formatOptions(DevUtils.getTableFunc(_param, menu, _config)) // 鍒涘缓瀛樺偍杩囩▼sql
+          DelText = Utils.formatOptions(DevUtils.dropfunc(btn.innerFunc))
 
           resolve(true)
         } else {
@@ -757,8 +758,8 @@
             fields: '',
             menuNo: menu.MenuNo
           }
-          newLText = Utils.formatOptions(Utils.getfunc(_param, btn, menu, _config))
-          DelText = Utils.formatOptions(Utils.dropfunc(btn.innerFunc))
+          newLText = Utils.formatOptions(DevUtils.getfunc(_param, btn, menu, _config))
+          DelText = Utils.formatOptions(DevUtils.dropfunc(btn.innerFunc))
           resolve(true)
         }
       }).then(res => {

--
Gitblit v1.8.0