业务统计修改合计行样式

This commit is contained in:
廖成初 2026-01-11 19:26:40 +08:00
parent 694a182eb3
commit 9c02f11973
1 changed files with 26 additions and 4 deletions

View File

@ -51,10 +51,10 @@
v-loading="loading" v-loading="loading"
:data="cphStatistics" :data="cphStatistics"
show-summary :summary-method="getSummaries" show-summary :summary-method="getSummaries"
class="custom-summary-table"
:row-class-name="tableRowClassName" :row-class-name="tableRowClassName"
cell-class-name="cell-class-name" cell-class-name="cell-class-name"
:header-cell-style="{'text-align':'center','background':'#5197FF',color:'#fff','fontWeight':'500','border-color':'#8CC3FB'}" :header-cell-style="{'text-align':'center','background':'#5197FF',color:'#fff','fontWeight':'500','border-color':'#8CC3FB'}"
:footer-cell-style="{'text-align':'center','border-color':'#8CC3FB'}"
style="width:100%;border:1px solid #8CC3FB" style="width:100%;border:1px solid #8CC3FB"
:cell-style="{'text-align':'center'}" :cell-style="{'text-align':'center'}"
> >
@ -86,8 +86,7 @@
<el-table-column prop="ualfknum" label="年报公示信息异议反馈" width="100px" /> <el-table-column prop="ualfknum" label="年报公示信息异议反馈" width="100px" />
<el-table-column prop="mytrnum" label="冒用他人身份信息" width="100px" /> <el-table-column prop="mytrnum" label="冒用他人身份信息" width="100px" />
<!-- <el-table-column prop="wtcznum" label="问题处置反馈" min-width="10%" />--> <!-- <el-table-column prop="wtcznum" label="问题处置反馈" min-width="10%" />-->
<!-- <el-table-column prop=" <!-- <el-table-column prop="legycnum" label="严重违法信用修复" min-width="10%" />-->
" label="严重违法信用修复" min-width="10%" />-->
<!-- <el-table-column prop="xyfxyynum" label="信用风险异议申请" min-width="10%" />--> <!-- <el-table-column prop="xyfxyynum" label="信用风险异议申请" min-width="10%" />-->
<!-- <el-table-column label="勘误">--> <!-- <el-table-column label="勘误">-->
<!-- <el-table-column prop="abnkwnum" label-class-name="bgColor" label="列异勘误" min-width="20%" />--> <!-- <el-table-column prop="abnkwnum" label-class-name="bgColor" label="列异勘误" min-width="20%" />-->
@ -316,10 +315,33 @@ export default {
} }
} }
/deep/.bgColor{ /deep/.bgColor{
background: #7cb1ff!important; // background: #7cb1ff!important;
} }
/deep/.cell-class-name{ /deep/.cell-class-name{
border-color: #8CC3FB!important; border-color: #8CC3FB!important;
} }
/* 穿透 scoped 样式Element Plus/UI 合计行类名) */
.custom-summary-table :deep(.el-table__footer-wrapper) {
/* 合计行整体样式 */
background-color: #f8f9fa; /* 背景色 */
}
.custom-summary-table :deep(.el-table__footer-wrapper td) {
/* 合计行单元格样式 */
color: #000000; /* 文字颜色 */
// font-weight: bold; /* */
font-size: 14px; /* 字体大小 */
border-color: #8CC3FB;
// border-top: 2px solid #409eff; /* */
height: 50px; /* 行高 */
text-align: center; /* 文字居中 */
}
/* 单独修改合计行第一列样式 */
.custom-summary-table :deep(.el-table__footer-wrapper td:first-child) {
color: #000000; /* 文字颜色 */
font-size: 20px; /* 字体大小 */
}
</style> </style>