From ae0e1c96b6da4f4515bf449db45a4ee839d2c61f Mon Sep 17 00:00:00 2001
From: Admin <978517621@qq.com>
Date: 星期四, 14 七月 2022 09:08:37 +0800
Subject: [PATCH] 添加修改页面

---
 src/views/specialWorkSystem/workPlan/workReservation/index.vue |   20 +++++++++++++-------
 1 files changed, 13 insertions(+), 7 deletions(-)

diff --git a/src/views/specialWorkSystem/workPlan/workReservation/index.vue b/src/views/specialWorkSystem/workPlan/workReservation/index.vue
index b747f16..8546f9f 100644
--- a/src/views/specialWorkSystem/workPlan/workReservation/index.vue
+++ b/src/views/specialWorkSystem/workPlan/workReservation/index.vue
@@ -1,7 +1,8 @@
 <template>
 	<div class="home-container">
 		<el-scrollbar height="100%">
-		<el-row>
+		<el-row class="homeCard">
+<!--			<div class="homeCard">-->
 			<el-col :span="6">
 				<div class="grid-content topInfo">
 					<div>当前所属部门:</div>
@@ -42,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" />
@@ -56,12 +59,13 @@
 				<el-table-column prop="high" label="高处" />
 				<el-table-column prop="block" label="盲板抽堵"/>
 				<el-table-column prop="tempUse" label="临时用电"/>
-				<el-table-column fixed="right" label="操作">
+				<el-table-column fixed="right" label="操作" align="center" width="180">
 					<template #default>
 						<el-button link type="primary" size="small">操作</el-button>
 					</template>
 				</el-table-column>
 			</el-table>
+			</div>
 		</el-row>
 		<el-dialog v-model="dialogFormVisible" title="新增预约">
 			<el-form :model="reservationForm">
@@ -222,19 +226,21 @@
 	$homeNavLengh: 8;
 	.home-container {
 		height: 100%;
-		background: #fff;
 		overflow: hidden;
-		padding: 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