From 044a4ec4ebe85f8c00e889fe3914de17a6ea1f28 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 17 十月 2024 18:18:01 +0800
Subject: [PATCH] 2024-10-17

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

diff --git a/src/tabviews/zshare/actionList/newpagebutton/index.jsx b/src/tabviews/zshare/actionList/newpagebutton/index.jsx
index 206d758..3c1c12e 100644
--- a/src/tabviews/zshare/actionList/newpagebutton/index.jsx
+++ b/src/tabviews/zshare/actionList/newpagebutton/index.jsx
@@ -159,10 +159,7 @@
       lang = data[0].lang_s || ''
     }
 
-    // let _name = '鏂伴〉闈�'
-
     if (btn.pageTemplate === 'billprint') {
-      // _name = '鍗曟嵁鎵撳嵃'
       if (btn.preHandle === 'true' && btn.pre_func) {
         MKEmitter.emit('queryModuleParam', btn.$menuId, (res) => {
           let searches = {}
@@ -273,8 +270,6 @@
       let src = '#/print/' + window.btoa(window.encodeURIComponent(JSON.stringify({ ID: Id, lang })))
       window.open(src)
     } else if (btn.pageTemplate === 'pay') {
-      // _name = '鏀粯'
-
       let appId = ''
       let merchId = ''
 
@@ -372,9 +367,14 @@
       window.open(url)
     }
 
-    // if (window.GLOB.systemType === 'production') {
-    //   MKEmitter.emit('queryTrigger', {menuId: btn.uuid, name: _name})
-    // }
+    if (window.GLOB.systemType === 'production') {
+      let _temname = {
+        billprint: '鍗曟嵁鎵撳嵃',
+        pay: '鐩存帴鎵ц',
+      }
+
+      MKEmitter.emit('queryTrigger', {menuId: btn.uuid, name: _temname[btn.pageTemplate] || '鏂伴〉闈�'})
+    }
   }
 
   prequest = (ID, data, appId, merchId) => {

--
Gitblit v1.8.0