From b7fdb64f2e14c60a020adc360b31708496878fc3 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期日, 25 八月 2024 21:27:52 +0800 Subject: [PATCH] 2024-08-25 --- src/tabviews/zshare/actionList/exceloutbutton/index.jsx | 6 +- src/tabviews/zshare/actionList/tabbutton/index.jsx | 12 +++--- src/tabviews/zshare/actionList/newpagebutton/index.jsx | 12 +++--- src/components/header/index.jsx | 6 +- src/tabviews/zshare/actionList/popupbutton/index.jsx | 6 +- src/components/sidemenu/index.jsx | 6 +- src/tabviews/zshare/actionList/normalbutton/index.jsx | 20 +++++----- src/views/main/index.jsx | 4 +- src/tabviews/zshare/actionList/excelInbutton/index.jsx | 6 +- src/tabviews/zshare/actionList/printbutton/index.jsx | 6 +- 10 files changed, 42 insertions(+), 42 deletions(-) diff --git a/src/components/header/index.jsx b/src/components/header/index.jsx index c8b66d5..eea9bda 100644 --- a/src/components/header/index.jsx +++ b/src/components/header/index.jsx @@ -559,9 +559,9 @@ MKEmitter.emit('modifyTabs', menu) } - if (window.GLOB.systemType === 'production') { - MKEmitter.emit('queryTrigger', {menuId: menu.MenuID, name: '鑿滃崟'}) - } + // if (window.GLOB.systemType === 'production') { + // MKEmitter.emit('queryTrigger', {menuId: menu.MenuID, name: '鑿滃崟'}) + // } } } diff --git a/src/components/sidemenu/index.jsx b/src/components/sidemenu/index.jsx index 263d66f..1889c7f 100644 --- a/src/components/sidemenu/index.jsx +++ b/src/components/sidemenu/index.jsx @@ -79,9 +79,9 @@ MKEmitter.emit('modifyTabs', menu) } - if (window.GLOB.systemType === 'production') { - MKEmitter.emit('queryTrigger', {menuId: menu.MenuID, name: '鑿滃崟'}) - } + // if (window.GLOB.systemType === 'production') { + // MKEmitter.emit('queryTrigger', {menuId: menu.MenuID, name: '鑿滃崟'}) + // } } onOpenChange = openKeys => { diff --git a/src/tabviews/zshare/actionList/excelInbutton/index.jsx b/src/tabviews/zshare/actionList/excelInbutton/index.jsx index c8d24bc..dd39f39 100644 --- a/src/tabviews/zshare/actionList/excelInbutton/index.jsx +++ b/src/tabviews/zshare/actionList/excelInbutton/index.jsx @@ -143,9 +143,9 @@ this.refs.excelIn.exceltrigger() }) - if (window.GLOB.systemType === 'production') { - MKEmitter.emit('queryTrigger', {menuId: btn.uuid, name: '瀵煎叆Excel'}) - } + // if (window.GLOB.systemType === 'production') { + // MKEmitter.emit('queryTrigger', {menuId: btn.uuid, name: '瀵煎叆Excel'}) + // } } } diff --git a/src/tabviews/zshare/actionList/exceloutbutton/index.jsx b/src/tabviews/zshare/actionList/exceloutbutton/index.jsx index 2a87051..711ad21 100644 --- a/src/tabviews/zshare/actionList/exceloutbutton/index.jsx +++ b/src/tabviews/zshare/actionList/exceloutbutton/index.jsx @@ -107,9 +107,9 @@ }) } else { MKEmitter.emit('queryModuleParam', btn.$menuId, this.triggerExcelout) - if (window.GLOB.systemType === 'production') { - MKEmitter.emit('queryTrigger', {menuId: btn.uuid, name: '瀵煎嚭Excel'}) - } + // if (window.GLOB.systemType === 'production') { + // MKEmitter.emit('queryTrigger', {menuId: btn.uuid, name: '瀵煎嚭Excel'}) + // } } } diff --git a/src/tabviews/zshare/actionList/newpagebutton/index.jsx b/src/tabviews/zshare/actionList/newpagebutton/index.jsx index 943d8a9..50dcdbf 100644 --- a/src/tabviews/zshare/actionList/newpagebutton/index.jsx +++ b/src/tabviews/zshare/actionList/newpagebutton/index.jsx @@ -158,10 +158,10 @@ lang = data[0].lang_s || '' } - let _name = '鏂伴〉闈�' + // let _name = '鏂伴〉闈�' if (btn.pageTemplate === 'billprint') { - _name = '鍗曟嵁鎵撳嵃' + // _name = '鍗曟嵁鎵撳嵃' if (btn.preHandle === 'true' && btn.pre_func) { MKEmitter.emit('queryModuleParam', btn.$menuId, (res) => { let searches = {} @@ -239,7 +239,7 @@ let src = '#/print/' + window.btoa(window.encodeURIComponent(JSON.stringify({ ID: Id, lang }))) window.open(src) } else if (btn.pageTemplate === 'pay') { - _name = '鏀粯' + // _name = '鏀粯' let appId = '' let merchId = '' @@ -338,9 +338,9 @@ window.open(url) } - if (window.GLOB.systemType === 'production') { - MKEmitter.emit('queryTrigger', {menuId: btn.uuid, name: _name}) - } + // if (window.GLOB.systemType === 'production') { + // MKEmitter.emit('queryTrigger', {menuId: btn.uuid, name: _name}) + // } } prequest = (ID, data, appId, merchId) => { diff --git a/src/tabviews/zshare/actionList/normalbutton/index.jsx b/src/tabviews/zshare/actionList/normalbutton/index.jsx index 47e76c9..daddf9d 100644 --- a/src/tabviews/zshare/actionList/normalbutton/index.jsx +++ b/src/tabviews/zshare/actionList/normalbutton/index.jsx @@ -307,16 +307,16 @@ } } - if (window.GLOB.systemType === 'production') { - let _change = { - prompt: '鎻愮ず妗�', - exec: '鐩存帴鎵ц', - pop: '寮圭獥锛堣〃鍗曪級', - formSubmit: '琛ㄥ崟', - form: '琛ㄥ崟', - } - MKEmitter.emit('queryTrigger', {menuId: btn.uuid, name: _change[btn.OpenType]}) - } + // if (window.GLOB.systemType === 'production') { + // let _change = { + // prompt: '鎻愮ず妗�', + // exec: '鐩存帴鎵ц', + // pop: '寮圭獥锛堣〃鍗曪級', + // formSubmit: '琛ㄥ崟', + // form: '琛ㄥ崟', + // } + // MKEmitter.emit('queryTrigger', {menuId: btn.uuid, name: _change[btn.OpenType]}) + // } } preTrigger = (callback) => { diff --git a/src/tabviews/zshare/actionList/popupbutton/index.jsx b/src/tabviews/zshare/actionList/popupbutton/index.jsx index c6a9e99..68f3828 100644 --- a/src/tabviews/zshare/actionList/popupbutton/index.jsx +++ b/src/tabviews/zshare/actionList/popupbutton/index.jsx @@ -184,9 +184,9 @@ visible: true }) - if (window.GLOB.systemType === 'production') { - MKEmitter.emit('queryTrigger', {menuId: btn.uuid, name: '寮圭獥锛堟爣绛撅級'}) - } + // if (window.GLOB.systemType === 'production') { + // MKEmitter.emit('queryTrigger', {menuId: btn.uuid, name: '寮圭獥锛堟爣绛撅級'}) + // } } syspopclose = () => { diff --git a/src/tabviews/zshare/actionList/printbutton/index.jsx b/src/tabviews/zshare/actionList/printbutton/index.jsx index e106de1..ba6fef3 100644 --- a/src/tabviews/zshare/actionList/printbutton/index.jsx +++ b/src/tabviews/zshare/actionList/printbutton/index.jsx @@ -204,9 +204,9 @@ this.triggerPrint(data) } - if (window.GLOB.systemType === 'production') { - MKEmitter.emit('queryTrigger', {menuId: btn.uuid, name: '鏍囩鎵撳嵃'}) - } + // if (window.GLOB.systemType === 'production') { + // MKEmitter.emit('queryTrigger', {menuId: btn.uuid, name: '鏍囩鎵撳嵃'}) + // } } triggerPrint = (data, formlist = []) => { diff --git a/src/tabviews/zshare/actionList/tabbutton/index.jsx b/src/tabviews/zshare/actionList/tabbutton/index.jsx index 94322e0..0dbb778 100644 --- a/src/tabviews/zshare/actionList/tabbutton/index.jsx +++ b/src/tabviews/zshare/actionList/tabbutton/index.jsx @@ -213,9 +213,9 @@ MKEmitter.emit('openNewTab') } - if (window.GLOB.systemType === 'production') { - MKEmitter.emit('queryTrigger', {menuId: btn.uuid, name: '鏍囩椤�'}) - } + // if (window.GLOB.systemType === 'production') { + // MKEmitter.emit('queryTrigger', {menuId: btn.uuid, name: '鏍囩椤�'}) + // } } triggerMenu = (tab) => { @@ -300,9 +300,9 @@ MKEmitter.emit('openNewTab') } - if (window.GLOB.systemType === 'production') { - MKEmitter.emit('queryTrigger', {menuId: btn.uuid, name: '鏍囩椤�'}) - } + // if (window.GLOB.systemType === 'production') { + // MKEmitter.emit('queryTrigger', {menuId: btn.uuid, name: '鏍囩椤�'}) + // } } render() { diff --git a/src/views/main/index.jsx b/src/views/main/index.jsx index 8723ebc..cf36bd0 100644 --- a/src/views/main/index.jsx +++ b/src/views/main/index.jsx @@ -4,7 +4,7 @@ import Header from '@/components/header' import MKEmitter from '@/utils/events.js' import Sidemenu from '@/components/sidemenu' -import QueryLog from '@/components/querylog' +// import QueryLog from '@/components/querylog' import ImgScale from '@/components/imgScale' // import './index.scss' @@ -78,7 +78,7 @@ {navBar === 'shutter' || navBar === 'menu_board_navigation' ? <Tabview key="tabview"/> : <Breadview key="breadview"/>} - {window.GLOB.systemType === 'production' ? <QueryLog /> : null} + {/* {window.GLOB.systemType === 'production' ? <QueryLog /> : null} */} <ImgScale /> </div> ) -- Gitblit v1.8.0