From c6f7a23452a0e2b2d930e7aeea7c263832b23c3b Mon Sep 17 00:00:00 2001
From: shj <1790240199@qq.com>
Date: Thu, 07 Apr 2022 16:07:20 +0800
Subject: [PATCH] 自查
---
src/views/safetyproduction/new.vue | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/src/views/safetyproduction/new.vue b/src/views/safetyproduction/new.vue
index 9a8f99a..bbf960a 100644
--- a/src/views/safetyproduction/new.vue
+++ b/src/views/safetyproduction/new.vue
@@ -69,7 +69,9 @@
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"
@@ -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)
@@ -476,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