From 4326d688fdc99915eab54baf9457d522800ab5cb Mon Sep 17 00:00:00 2001 From: shj <1790240199@qq.com> Date: 星期三, 06 四月 2022 09:12:27 +0800 Subject: [PATCH] 滚动条 --- src/views/safetyproduction/new.vue | 16 +++++++++++----- 1 files changed, 11 insertions(+), 5 deletions(-) diff --git a/src/views/safetyproduction/new.vue b/src/views/safetyproduction/new.vue index 7e63649..9a8f99a 100644 --- a/src/views/safetyproduction/new.vue +++ b/src/views/safetyproduction/new.vue @@ -39,7 +39,7 @@ </el-row> <el-row> <el-col :span="22" :offset="1"> - <el-table ref="table" border :data="item.child"> + <el-table ref="table" border :stripe="true" :data="item.child" :header-cell-style="{background:'#eef1f6',color:'#606266'}" :cell-style="{background:'#fff',color:'#606266'}"> <el-table-column prop="standardizationRequirements" align="center" @@ -69,7 +69,7 @@ type="expand" > <template slot-scope="scope"> - <el-table :data="scope.row.deductionList"> + <el-table :data="scope.row.deductionList" :cell-style="{background:'#fff',color:'#606266'}"> <el-table-column prop="name" align="center" @@ -354,14 +354,18 @@ this.$router.push({ path: "/reviewXG", query: { - id: data.safetyInspectionItemId, + idX: data.safetyInspectionItemId, + name:this.id, + id:this.itemId }, }); } else { this.$router.push({ path: "/reviewXG", query: { - id: data.id, + idX: data.id, + name:this.id, + id:this.itemId }, }); } @@ -437,7 +441,7 @@ } .box-left { width: 20%; - min-height: 800px; + min-height: 850px; background-color: white; border-radius: 5px; } @@ -449,6 +453,8 @@ width: 79%; background-color: white; border-radius: 5px; + height: 850px; + overflow-y:overlay; } .title { font-size: 16px; -- Gitblit v1.9.2