| | |
| | | type="expand" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <el-table :data="scope.row.deductionList" :cell-style="{background:'#fff',color:'#606266'}"> |
| | | <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" |
| | |
| | | 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) |
| | |
| | | } |
| | | .box-left { |
| | | width: 20%; |
| | | min-height: 800px; |
| | | min-height: 850px; |
| | | background-color: white; |
| | | border-radius: 5px; |
| | | } |
| | |
| | | width: 79%; |
| | | background-color: white; |
| | | border-radius: 5px; |
| | | height: 850px; |
| | | overflow-y:overlay; |
| | | } |
| | | .title { |
| | | font-size: 16px; |
| | |
| | | background-color: #034ea2; |
| | | border: 1px solid #034ea2; |
| | | } |
| | | .box-right /deep/ .el-table__expanded-cell{ |
| | | background-color: #fff !important; |
| | | } |
| | | </style> |