From defa49d814172adcf46222b393c16e24e4fd81fd Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期一, 26 二月 2024 16:38:07 +0800 Subject: [PATCH] 11 --- src/views/project/fund/officeExpenseApply/index.vue | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 deletions(-) diff --git a/src/views/project/fund/officeExpenseApply/index.vue b/src/views/project/fund/officeExpenseApply/index.vue index 6395376..87ebe46 100644 --- a/src/views/project/fund/officeExpenseApply/index.vue +++ b/src/views/project/fund/officeExpenseApply/index.vue @@ -87,7 +87,9 @@ <!-- v-hasPermi="['project:medicalfund:export']" --> <!-- <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> --> </el-row> - <el-table v-loading="loading" border :data="donateconsolationfundList"> + <el-table v-loading="loading" border :data="donateconsolationfundList" + :row-class-name="rowClassName" + > <el-table-column label="鐢宠鏃ユ湡" align="center" @@ -1925,6 +1927,12 @@ a.download = item.name; a.href = url; a.dispatchEvent(event); + }, + rowClassName({ row, column, rowIndex, columnIndex }) { + //姝ゅ垽鏂负鏈�鍚庝笁琛� + if (row.recordstatus == -1 && row.backflowlevel > 0) { + return "error-row"; + } } }, @@ -1967,4 +1975,7 @@ </script> <style scoped> /* @import url(); 寮曞叆鍏叡css绫� */ +::v-deep.el-table .error-row { + background: #FCEBEB; +} </style> -- Gitblit v1.9.3