index.vue
738 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<template>
<div class='observeTask'>
<BasicInfo></BasicInfo>
<taskPlan/>
<div class='footer'>
<el-button @click='backUp'>返回</el-button>
</div>
</div>
</template>
<script>
import BasicInfo from './cpns/BasicInfo'
import taskPlan from './cpns/taskPlan'
export default {
name: 'index',
components:{
BasicInfo,
taskPlan
},
methods:{
backUp(){
this.$root.to([
'任务中心',
'任务平台',
'任务管理',
'任务模板管理',
'任务管理列表'
])
}
}
}
</script>
<style scoped>
.observeTask{
padding: 20px;
}
.footer{
position: fixed;
bottom: 0;
width: 100%;
text-align: center;
background-color: #fff;
}
</style>