From 1b9fea7d4af68d8f933b2dc42bf6084b9646f64c Mon Sep 17 00:00:00 2001 From: 马宇豪 <978517621@qq.com> Date: 星期二, 04 三月 2025 08:39:55 +0800 Subject: [PATCH] 修改作业等级名称 --- src/views/specialWorkSystem/flow/ruleofApp/index.vue | 27 +++++++++++++++++++-------- 1 files changed, 19 insertions(+), 8 deletions(-) diff --git a/src/views/specialWorkSystem/flow/ruleofApp/index.vue b/src/views/specialWorkSystem/flow/ruleofApp/index.vue index 09bb87a..e8bd936 100644 --- a/src/views/specialWorkSystem/flow/ruleofApp/index.vue +++ b/src/views/specialWorkSystem/flow/ruleofApp/index.vue @@ -1,6 +1,6 @@ <template> <div class="home-container"> - <div style="height: 100%"> + <div style="height: 100%;display: flex;flex-direction: column;align-items: stretch;"> <el-row class="homeCard"> <div class="basic-line"> <span>规则名称:</span> @@ -145,13 +145,14 @@ { id: 5, name: '断路作业' }, { id: 6, name: '高处作业' }, { id: 7, name: '临时用电作业' }, - { id: 8, name: '盲板抽堵作业' } + { id: 8, name: '盲板抽堵作业' }, + { id: 9, name: '打开作业' } ], workLevelList: [ { id: 3, name: '特级动火作业' }, { id: 1, name: '一级动火作业' }, { id: 2, name: '二级动火作业' }, - { id: 7, name: '特级高处作业' }, + { id: 7, name: '四级高处作业' }, { id: 4, name: '一级高处作业' }, { id: 5, name: '二级高处作业' }, { id: 6, name: '三级高处作业' }, @@ -344,12 +345,14 @@ height: calc(100vh - 144px); box-sizing: border-box; overflow: hidden; + position: relative; .homeCard { width: 100%; padding: 20px; box-sizing: border-box; background: #fff; border-radius: 4px; + flex: 0 auto; .main-card { width: 100%; @@ -364,10 +367,18 @@ } } .pageBtn { - height: 60px; - display: flex; - align-items: center; - justify-content: right; + position: absolute; + width: 100%; + z-index: 99; + bottom: 0; + right: 0; + height: 60px; + border-radius: 0 0 4px 4px; + padding-right: 20px; + background: #fff; + display: flex; + align-items: center; + justify-content: right; .demo-pagination-block + .demo-pagination-block { margin-top: 10px; @@ -378,7 +389,7 @@ } } &:last-of-type { - height: calc(100% - 100px); + flex: 1; } } .el-row { -- Gitblit v1.9.2