code init

This commit is contained in:
chenxiaoxi
2021-05-25 18:06:45 +08:00
parent 02698d6dab
commit f54a8d4fa1
1367 changed files with 540755 additions and 21713 deletions
+90
View File
@@ -0,0 +1,90 @@
<!-- 流程中心 -->
<template>
<div class="processCenter">
<!-- <com-header :isCollapsed="sideClose" @collapsedSider="toggleSideBar"></com-header>-->
<div class="main">
<!-- <side-bar :navList="navList" v-model="sideClose" @toggleSideBar="toggleSideBar" :class="{ 'side-close': sideClose }"></side-bar>-->
<div class="sub-container" :class="{ 'side-close': sideClose }">
<router-view></router-view>
<!--<components :is="active"></components>-->
</div>
</div>
</div>
</template>
<script>
// import ComHeader from '@/pages/components/Header'
// import SideBar from '@/pages/components/SideBar'
// import MyProcess from './pages/processList/tabComponents/processCenter'
export default {
name: 'index',
data () {
return {
navList: [{
title: '流程中心',
path: '/processCenter'
}],
sideClose: false, // 边栏收展状态
tabs: [
{
title: '待办流程',
path: '/uncompletedProcess'
}
],
active: 'MyProcess'
}
},
methods: {
/**
* @description: 边栏收缩
* @author: chenxiaoxi
* @date: 2018-09-18 11:11:46
*/
toggleSideBar () {
this.sideClose = !this.sideClose
}
},
components: {
// ComHeader,
// SideBar,
// MyProcess
},
mounted () {
let navList = []
this.navList.map((nav) => {
this.$store.getters.getMenuList.map((menu) => {
if (nav.path === menu.href) {
navList.push(nav)
}
})
})
this.navList = navList
}
}
</script>
<style lang="less">
.processCenter{
height: 100%;
.main{
height: 100%;
.sub-container{
height: 100%;
background-color: white;
}
}
.visible-options{
.search-select{
width: auto;
.ivu-select-dropdown{
max-width: none;
}
.search-input{
.ivu-input-wrapper{
width: 100%;
}
}
}
}
}
</style>