From b0bc7311799d8e8cc2e385f8316ab32551f103fd Mon Sep 17 00:00:00 2001 From: Admin <978517621@qq.com> Date: 星期二, 05 七月 2022 17:06:18 +0800 Subject: [PATCH] 修改页面 --- src/views/specialWorkSystem/workPlan/workAppointSummary/index.vue | 16 ++++++++++------ 1 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/views/specialWorkSystem/workPlan/workAppointSummary/index.vue b/src/views/specialWorkSystem/workPlan/workAppointSummary/index.vue index 471eff5..2d9ebc4 100644 --- a/src/views/specialWorkSystem/workPlan/workAppointSummary/index.vue +++ b/src/views/specialWorkSystem/workPlan/workAppointSummary/index.vue @@ -1,5 +1,6 @@ <template> <div class="home-container"> + <el-scrollbar height="100%"> <el-row> <el-col :span="6"> <div class="grid-content topInfo"> @@ -31,8 +32,8 @@ </el-col> <el-col :span="12" class="topBtns"> <div class="grid-content topInfo"> - <div style="margin-right: 20px"><el-button type="primary" plain>查询历史</el-button></div> - <div><el-button type="primary" @click="dialogChartsVisible = true">查看统计图表</el-button></div> + <div style="margin-right: 20px"><el-button type="primary" plain size="default">查询历史</el-button></div> + <div><el-button type="primary" @click="dialogChartsVisible = true" size="default">查看统计图表</el-button></div> </div> </el-col> </el-row> @@ -49,7 +50,7 @@ <el-table-column prop="high" label="高处" /> <el-table-column prop="block" label="盲板抽堵" width="180" /> <el-table-column prop="tempUse" label="临时用电" width="180" /> - <el-table-column fixed label="操作"> + <el-table-column fixed="right" label="操作"> <template #default> <el-button link type="primary" size="small">操作</el-button> </template> @@ -65,7 +66,7 @@ v-model="dateRange" type="daterange" unlink-panels - range-separator="To" + range-separator="至" start-placeholder="Start date" end-placeholder="End date" :shortcuts="shortcuts" @@ -89,6 +90,7 @@ </el-row> <div ref="myChart" style="width: 100%;height:400px;"></div> </el-dialog> + </el-scrollbar> </div> </template> @@ -427,8 +429,10 @@ <style scoped lang="scss"> $homeNavLengh: 8; .home-container { + height: 100%; + background: #fff; overflow: hidden; - padding: 20px 40px; + padding: 40px; .el-row{ margin-bottom: 20px; } @@ -438,7 +442,7 @@ .el-col{ display: flex; align-items: center; - margin: 40px 0; + margin: 20px 0; } .grid-content{ display: flex; -- Gitblit v1.9.2