From 9441a51a13a5df50c30f021e5314b412d7890a95 Mon Sep 17 00:00:00 2001 From: shj <1790240199@qq.com> Date: 星期四, 07 四月 2022 16:06:05 +0800 Subject: [PATCH] 自查清单 --- src/views/safetyproduction/new.vue | 17 +++++++++++++---- 1 files changed, 13 insertions(+), 4 deletions(-) diff --git a/src/views/safetyproduction/new.vue b/src/views/safetyproduction/new.vue index f14f39c..bbf960a 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,9 @@ type="expand" > <template slot-scope="scope"> - <el-table :data="scope.row.deductionList"> + <el-table border :data="scope.row.deductionList" + :header-cell-style="{background:'#eef1f6',color:'#606266'}" :cell-style="{background:'#fff',color:'#606266'}" + > <el-table-column prop="name" align="center" @@ -231,6 +233,8 @@ safetySelfInspectionId: "", safetyInspectionItemId: "", } + arr[i].child[j].deductionList= arr[i].child[j].selfDeductionList + console.log(arr[i].child[j]) capB.safetySelfInspectionId=arr[i].child[j].safetySelfInspectionId capB.safetyInspectionItemId=arr[i].child[j].safetyInspectionItemId cser.push(capB) @@ -365,7 +369,7 @@ query: { idX: data.id, name:this.id, - id:this.itemId + id:this.itemId }, }); } @@ -441,7 +445,7 @@ } .box-left { width: 20%; - min-height: 800px; + min-height: 850px; background-color: white; border-radius: 5px; } @@ -453,6 +457,8 @@ width: 79%; background-color: white; border-radius: 5px; + height: 850px; + overflow-y:overlay; } .title { font-size: 16px; @@ -474,4 +480,7 @@ background-color: #034ea2; border: 1px solid #034ea2; } +.box-right /deep/ .el-table__expanded-cell{ + background-color: #fff !important; +} </style> -- Gitblit v1.9.2