From 39d90ac360f55f8835920c6e12e5cd1e4246bdcc Mon Sep 17 00:00:00 2001
From: Your Name <123456>
Date: 星期二, 05 七月 2022 19:18:34 +0800
Subject: [PATCH] '风险'

---
 src/views/specialWorkSystem/workPlan/workReservation/index.vue |   18 ++++++++++++++----
 1 files changed, 14 insertions(+), 4 deletions(-)

diff --git a/src/views/specialWorkSystem/workPlan/workReservation/index.vue b/src/views/specialWorkSystem/workPlan/workReservation/index.vue
index 52d567c..2378d4c 100644
--- a/src/views/specialWorkSystem/workPlan/workReservation/index.vue
+++ b/src/views/specialWorkSystem/workPlan/workReservation/index.vue
@@ -1,6 +1,8 @@
 <template>
 	<div class="home-container">
+		<el-scrollbar height="100%">
 		<el-row>
+			<div class="homeCard">
 			<el-col :span="6">
 				<div class="grid-content topInfo">
 					<div>当前所属部门:</div>
@@ -41,8 +43,10 @@
 					<div><el-button type="success" @click="dialogFormVisible = true">新增预约</el-button></div>
 				</div>
 			</el-col>
+		</div>
 		</el-row>
 		<el-row>
+			<div class="homeCard">
 			<el-table :data="tableData" border style="width: 100%">
 				<el-table-column prop="id" label="编号" width="120" />
 				<el-table-column prop="time" label="预约时间" width="150" />
@@ -61,6 +65,7 @@
 					</template>
 				</el-table-column>
 			</el-table>
+			</div>
 		</el-row>
 		<el-dialog v-model="dialogFormVisible" title="新增预约">
 			<el-form :model="reservationForm">
@@ -92,6 +97,7 @@
 			  </span>
 			</template>
 		</el-dialog>
+		</el-scrollbar>
 	</div>
 </template>
 
@@ -219,18 +225,22 @@
 <style scoped lang="scss">
 	$homeNavLengh: 8;
 	.home-container {
+		height: 100%;
 		overflow: hidden;
-		padding: 20px 40px;
+		padding: 20px;
 		.el-row{
 			margin-bottom: 20px;
 		}
-		.el-row:last-child {
+		.el-row:last-of-type {
 			margin-bottom: 0;
 		}
-		.el-col{
+		.homeCard{
+			width: 100%;
 			display: flex;
 			align-items: center;
-			margin: 40px 0 20px;
+			padding: 20px;
+			background: #fff;
+			border-radius: 4px;
 		}
 		.grid-content{
 			align-items: center;

--
Gitblit v1.9.2