|
|
|
@ -4,10 +4,10 @@
|
|
|
|
|
* @Author: JC9527
|
|
|
|
|
* @Date: 2023-09-04 10:20:06
|
|
|
|
|
* @LastEditors: JC9527
|
|
|
|
|
* @LastEditTime: 2023-09-05 15:54:32
|
|
|
|
|
* @LastEditTime: 2023-09-06 11:07:50
|
|
|
|
|
-->
|
|
|
|
|
<template>
|
|
|
|
|
<div class="plan-management" :style="main">
|
|
|
|
|
<div class="plan-management">
|
|
|
|
|
<div class="plan-topBox">
|
|
|
|
|
<div class="drup-downs">
|
|
|
|
|
<div class="year">
|
|
|
|
@ -45,11 +45,11 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="plan-bottomBox">
|
|
|
|
|
<div class="tables">
|
|
|
|
|
<div class="tables" :style="main">
|
|
|
|
|
<el-table
|
|
|
|
|
:data="tableData"
|
|
|
|
|
style="width: 100%"
|
|
|
|
|
:border="false"
|
|
|
|
|
height="100%"
|
|
|
|
|
@selection-change="handleSelectionChange"
|
|
|
|
|
:row-class-name="tableRowClassName"
|
|
|
|
|
>
|
|
|
|
@ -131,6 +131,18 @@
|
|
|
|
|
date: '2016-05-03',
|
|
|
|
|
name: '王小虎',
|
|
|
|
|
address: '上海市普陀区金沙江路 1518 弄'
|
|
|
|
|
},{
|
|
|
|
|
date: '2016-05-03',
|
|
|
|
|
name: '王小虎',
|
|
|
|
|
address: '上海市普陀区金沙江路 1518 弄'
|
|
|
|
|
},{
|
|
|
|
|
date: '2016-05-03',
|
|
|
|
|
name: '王小虎',
|
|
|
|
|
address: '上海市普陀区金沙江路 1518 弄'
|
|
|
|
|
},{
|
|
|
|
|
date: '2016-05-03',
|
|
|
|
|
name: '王小虎',
|
|
|
|
|
address: '上海市普陀区金沙江路 1518 弄'
|
|
|
|
|
}, {
|
|
|
|
|
date: '2016-05-02',
|
|
|
|
|
name: '王小虎',
|
|
|
|
@ -228,11 +240,11 @@
|
|
|
|
|
mounted() {
|
|
|
|
|
this.checkListTwo = this.checkList;
|
|
|
|
|
this.$nextTick(()=>{
|
|
|
|
|
let dom = document.getElementsByClassName('plan-management');
|
|
|
|
|
let dom = document.getElementsByClassName('tables');
|
|
|
|
|
let height = dom[0].getBoundingClientRect();
|
|
|
|
|
let windowHeight = window.innerHeight;
|
|
|
|
|
let relativeHeight = windowHeight - height.top
|
|
|
|
|
this.main.height = relativeHeight + 'px'
|
|
|
|
|
this.main.height = relativeHeight - 80 + 'px'
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
@ -241,6 +253,7 @@
|
|
|
|
|
.plan-management {
|
|
|
|
|
padding: 0 20px;
|
|
|
|
|
background-color: #fff;
|
|
|
|
|
height: 100%;
|
|
|
|
|
.plan-topBox {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
@ -324,6 +337,7 @@
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.plan-bottomBox {
|
|
|
|
|
margin-top: 10px;
|
|
|
|
|
.tables {
|
|
|
|
|
background-color: #EAF2FD;
|
|
|
|
|
.tabs-btns {
|
|
|
|
@ -376,17 +390,13 @@
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.el-table__body-wrapper {
|
|
|
|
|
height: 450px !important;
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
::v-deep .el-table::before {
|
|
|
|
|
height: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.pagination {
|
|
|
|
|
margin-top: 20px;
|
|
|
|
|
margin-top: 40px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|