hi-ucs/back/src/views/modules/workBench/workBench.vue

80 lines
1.7 KiB
Vue
Raw Normal View History

2022-06-29 15:50:26 +08:00
<template>
<div class="work-brnch-box">
<!-- -->
<div class="flex-row-start top">
<div class="flex-row-start dept-left">
<dept-todo-view title="部门待办" :dataInfo="toToData"></dept-todo-view>
<dept-todo-view title="部门已办" :dataInfo="hasToDodoData"></dept-todo-view>
</div>
<div class="dept-chart-box"></div>
</div>
<!-- -->
<div class="center">
<center-view></center-view>
</div>
<!-- -->
<div class="bottom">
<bottom-view></bottom-view>
</div>
</div>
</template>
<script>
import BottomView from '../workBench/components/bottom-view.vue'
import CenterView from '../workBench/components/center-view.vue'
import deptTodoView from '../workBench/components/dept-todo-view.vue'
export default {
components: {
deptTodoView,
BottomView,
CenterView,
},
data() {
return {
// 部门待办
toToData: {
color: '#f86f01',
// imgSrc: require(''),
},
// 部门已办
hasToDodoData: {
color: '#21b107',
}
}
},
methods: {
},
}
</script>
<style lang="scss" scoped>
.margin-h-16 {
margin: 0 16px;
}
.flex-row-start {
display: flex;
align-items: center;
justify-content: flex-start;
}
.work-brnch-box {
.top {
height: 284px;
margin-bottom: 16px;
background: green;
}
.dept-left {
width: 836px;
}
.dept-chart-box {
width: 780px;
height: 100%;
background: orange;
}
}
</style>