|
|
@@ -17,7 +17,6 @@ interface Props {
|
|
|
interface TableRow {
|
|
|
category: string
|
|
|
label: string
|
|
|
- unit: string
|
|
|
field: keyof QhseMonthReportItem
|
|
|
summary: string
|
|
|
[key: string]: string | keyof QhseMonthReportItem
|
|
|
@@ -191,7 +190,6 @@ const tableRows = computed<TableRow[]>(() => {
|
|
|
return {
|
|
|
category: row.category,
|
|
|
label: row.label,
|
|
|
- unit: row.unit,
|
|
|
field: row.field,
|
|
|
summary: getMetricSummaryValue(row.field),
|
|
|
...companyValues
|
|
|
@@ -302,8 +300,7 @@ watch(
|
|
|
fixed="left"
|
|
|
width="140"
|
|
|
align="center" />
|
|
|
- <el-table-column prop="label" label="指标项" fixed="left" width="260" align="center" />
|
|
|
- <el-table-column prop="unit" label="单位" fixed="left" width="110" align="center" />
|
|
|
+ <el-table-column prop="label" label="单位" fixed="left" width="220" align="center" />
|
|
|
<el-table-column
|
|
|
v-for="company in companyColumns"
|
|
|
:key="company.key"
|
|
|
@@ -440,7 +437,7 @@ watch(
|
|
|
font-weight: 600;
|
|
|
}
|
|
|
|
|
|
-:deep(.qhse-report-preview__el-table .el-table__body-wrapper td:nth-child(n + 4):not(:last-child)) {
|
|
|
+:deep(.qhse-report-preview__el-table .el-table__body-wrapper td:nth-child(n + 3):not(:last-child)) {
|
|
|
color: #0f3f8f;
|
|
|
font-weight: 600;
|
|
|
}
|