From 17398ffb035d75d4fb4467ddd0b25871e6dc3f73 Mon Sep 17 00:00:00 2001 From: dong <58670809@qq.com> Date: Wed, 28 Dec 2022 15:01:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9ibp=E7=9B=98=E5=88=87?= =?UTF-8?q?=E6=8D=A2=E6=8C=89=E9=92=AE=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/modules/ibp.js | 9 ++++++++- src/views/ibp/ibpsystem/index.vue | 15 ++++++++++----- .../display/simulationMenu/simulationMenu.vue | 19 ++++++++++++++++++- 3 files changed, 36 insertions(+), 7 deletions(-) diff --git a/src/store/modules/ibp.js b/src/store/modules/ibp.js index 9c0c50d56..43a090311 100644 --- a/src/store/modules/ibp.js +++ b/src/store/modules/ibp.js @@ -10,7 +10,8 @@ const ibp = { ibp: null, // 数据 updateDeviceData: {}, // 修改的数据 rightClickCount: 0, // 右键点击设备 - ibpBgDevice: {} // ibp背景设备 + ibpBgDevice: {}, // ibp背景设备 + moreScreen: false // 切换按钮是否显示 }, getters: { @@ -42,6 +43,9 @@ const ibp = { setIbpData: (state, ibp) => { state.ibp = ibp; }, + setMoreScreen: (state, moreScreen) => { + state.moreScreen = moreScreen; + }, setUpdateDeviceData: (state, model) => { state.rightClickCount++; state.updateDeviceData = model; @@ -58,6 +62,9 @@ const ibp = { setIbpData: ({ commit }, ibp) => { commit('setIbpData', ibp); }, + setMoreScreen: ({ commit }, moreScreen) => { + commit('setMoreScreen', moreScreen); + }, updateIbpDevices: ({ commit }, models) => { return new Promise((resolve) => { if (!(models instanceof Array)) { diff --git a/src/views/ibp/ibpsystem/index.vue b/src/views/ibp/ibpsystem/index.vue index 77ccae44c..71e32ab5a 100644 --- a/src/views/ibp/ibpsystem/index.vue +++ b/src/views/ibp/ibpsystem/index.vue @@ -1,11 +1,11 @@