From 633f26d8e772b2441fb3fab72ecab0a047def74c Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期三, 21 二月 2024 15:06:42 +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..18c2188 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