add 工作中心-流程配置

This commit is contained in:
赵霄
2023-10-08 14:53:13 +08:00
parent f35eb47a33
commit c498507ed3
7 changed files with 152 additions and 4 deletions
+7 -2
View File
@@ -20,7 +20,7 @@
<!-- </a-tab-pane>-->
<!--</a-tabs>-->
<breadcrumb/>
<breadcrumb v-if="!isEmbedded"/>
<div style="margin: 12px 12px 0;">
<!-- update-begin-author:taoyan date:20201221 for:此处删掉transition标签 不知道为什么加上后 页面路由切换的时候即1及菜单切到2及菜单的时候 两个菜单页面会同时出现300-500秒左右 -->
<keep-alive v-if="multipage">
@@ -45,6 +45,7 @@ import Vue from 'vue'
import { CACHE_INCLUDED_ROUTES } from '@/store/mutation-types'
import BlankLayout from './BlankLayout.vue'
import Breadcrumb from '../tools/Breadcrumb.vue'
import { mapState } from 'vuex'
const indexKey = '/'
@@ -91,7 +92,11 @@ export default {
// 是否外部打开
isInternalOrExternal () {
return this.$route.meta.internalOrExternal
}
},
...mapState({
// 是否嵌入在别的系统中
isEmbedded: state => state.app.isEmbedded
})
},
created () {
console.log(this.$route)
+1 -1
View File
@@ -103,7 +103,7 @@ const updatePageHeight = () => {
const isEmbedded = store.getters.isEmbedded
const obj = {
'user-info-height': isEmbedded ? '0px' : '59px', // 用户信息的高度
'breadcrumb-height': '45px' // 面包屑的高度
'breadcrumb-height': isEmbedded ? '12px' : '45px' // 面包屑的高度
}
for (const key in obj) {
document