From c14ad8237b10d9e24ad3101e706e90c4366636c0 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 05 十月 2022 23:28:09 +0800
Subject: [PATCH] 2022-10-05

---
 src/menu/tablenodes/index.jsx |   18 +++++++++++++++++-
 1 files changed, 17 insertions(+), 1 deletions(-)

diff --git a/src/menu/tablenodes/index.jsx b/src/menu/tablenodes/index.jsx
index 0610c01..8f31c88 100644
--- a/src/menu/tablenodes/index.jsx
+++ b/src/menu/tablenodes/index.jsx
@@ -138,8 +138,14 @@
               item[item.tbname].forEach((m, i) => {
                 if (m.debug_url) {
                   let _param = JSON.parse(window.decodeURIComponent(window.atob(m.debug_url)))
+                  let label = _param.MenuName
+
+                  if (_param && _param.type === 'app') {
+                    label += ` (${_param.kei_no} | ${_param.typename}${param.lang !== 'zh-CN' ? ' | ' + param.lang : ''})`
+                  }
+
                   cell.children.push({
-                    label: _param.MenuName,
+                    label: label,
                     id: item.tbname + 'menu' + i,
                     direction: 'right',
                     color: '#1890ff',
@@ -176,6 +182,16 @@
           _param = window.btoa(window.encodeURIComponent(JSON.stringify(_param)))
           window.open(`#/menudesign/${_param}`)
         }
+      } else if (menu.param.type === 'app') {
+        if (menu.param.typename !== 'pc') {
+          let _param = {...menu.param}
+          _param = window.btoa(window.encodeURIComponent(JSON.stringify(_param)))
+          window.open(`#/mobdesign/${_param}`)
+        } else {
+          let _param = {...menu.param}
+          _param = window.btoa(window.encodeURIComponent(JSON.stringify(_param)))
+          window.open(`#/pcdesign/${_param}`)
+        }
       }
     }
   }

--
Gitblit v1.8.0