diff --git a/frontend/pc/index.html b/frontend/pc/index.html index 1c85cbd01..729f6ea1f 100644 --- a/frontend/pc/index.html +++ b/frontend/pc/index.html @@ -35,6 +35,7 @@ window.TAM_PROJECT_ID = "{{TAM_PROJECT_ID}}"; window.DEFAULT_PROJECT = "{{DEFAULT_PROJECT}}"; window.BK_PAAS_ESB_HOST = "{{BK_PAAS_ESB_HOST}}"; + window.NOTICE_CENTER_SWITCH = "{{NOTICE_CENTER_SWITCH}}"; @@ -338,6 +351,18 @@ width: 100%; .bk-navigation { min-width: 1366px; + &.show-notice { + height: calc(100vh - 40px); + // overflow: hidden; + .bk-navigation-wrapper { + .container-content { + max-height: calc(100vh - 92px) !important; + } + .nav-slider-list { + height: calc(100vh - 148px) !important; + } + } + } .navigation-container { max-width: unset!important; } diff --git a/frontend/pc/src/store/index.js b/frontend/pc/src/store/index.js index f3d7efbf7..808412e3e 100644 --- a/frontend/pc/src/store/index.js +++ b/frontend/pc/src/store/index.js @@ -123,6 +123,7 @@ export default new Vuex.Store({ // 公共 store state: { language: "zh-cn", + showNotice: window.NOTICE_CENTER_SWITCH === 'on', // 任务执行后刷新任务记录列表 taskHistoryRefresh: false, // 缓存人员选择器数据 @@ -272,6 +273,9 @@ export default new Vuex.Store({ setLanguage(state, value) { state.language = value; }, + setNoticeShow(state, value) { + state.showNotice = value; + }, /** * 更新当前用户 user * diff --git a/frontend/pc/src/views/home/index.vue b/frontend/pc/src/views/home/index.vue index 5941f1966..a3ceb684e 100644 --- a/frontend/pc/src/views/home/index.vue +++ b/frontend/pc/src/views/home/index.vue @@ -22,7 +22,7 @@ diff --git a/frontend/pc/src/views/service/editService/ServiceFormStep.vue b/frontend/pc/src/views/service/editService/ServiceFormStep.vue index 089784044..f4152a462 100644 --- a/frontend/pc/src/views/service/editService/ServiceFormStep.vue +++ b/frontend/pc/src/views/service/editService/ServiceFormStep.vue @@ -21,7 +21,7 @@ -->