You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

78 lines
1.7 KiB

<template>
<div style="background-color: white" :style="conheight" >
<!-- <div style="background-color: white" >-->
<Schedule :LCid = LCid />
<!-- <a-tabs default-active-key="1" @change="callback" style="padding:0px 10px">-->
<!-- <a-tab-pane key="1" tab="我的申请">-->
<!-- <apply-list/>-->
<!-- </a-tab-pane>-->
<!-- <a-tab-pane key="2" tab="我的待办" force-render>-->
<!-- <todo-manage/>-->
<!-- </a-tab-pane>-->
<!-- </a-tabs>-->
</div>
</template>
<script>
// import applyList from '@views/activiti/applyList'
// import todoManage from '@views/activiti/todoManage'
import Schedule from '@views/activiti/Schedule'
export default {
name: "Backlog",
components:{
// applyList,
// todoManage,
Schedule
},
data(){
return{
LCid :'',
conheight:{
height:''
}
};
},
created() {
// console.log(this.$route.query.id,"跳转=========");
// if (this.$route.query.id !== null) {
// this.LCid = this.$route.query.id
// }
},
watch:{
"$route": {
immediate: true,
handler() {
if(!!this.$route.query.id ){
this.LCid = this.$route.query.id
}else{
this.LCid = "222"
}
},
// 开启深度监听
deep: true
},
// LCid(val,oldVal) {
// console.log("===========");
// this.loadData(1);
// }
},
// 在 mounted 生命周期监听窗口变化并触发上文处理函数,修改高度
mounted() {
window.addEventListener('resize', this.getHeight);
this.getHeight();
},
methods:{
callback(key) {
console.log(key);
},
getHeight(){
this.conheight.height=window.innerHeight-130+'px';
},
}
}
</script>
<style scoped>
</style>