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/travelexpenseapply/index.vue | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/src/views/project/travelexpenseapply/index.vue b/src/views/project/travelexpenseapply/index.vue
index 5ea02c2..569e708 100644
--- a/src/views/project/travelexpenseapply/index.vue
+++ b/src/views/project/travelexpenseapply/index.vue
@@ -1754,7 +1754,7 @@
console.log(url);
const link = document.createElement("a");
link.href = url;
- const name=fileUrl["downloadName"]
+ const name = fileUrl["downloadName"];
link.setAttribute("download", name); // 鏇挎崲file.pdf涓哄疄闄呯殑鏂囦欢鍚�
document.body.appendChild(link);
link.click();
@@ -2579,19 +2579,24 @@
//鏄庢樉鎻愮ず瀹℃壒閫�鍥炶褰�
rowClassName({ row, column, rowIndex, columnIndex }) {
//姝ゅ垽鏂负鏈�鍚庝笁琛�
- if (row.backflowlevel == 199) {
- return "addClassva";
+ if (row.recordstatus == -1 && row.backflowlevel != 0) {
+ console.log("涓婅壊");
+ return "error-row";
}
+ return "";
}
}
};
</script>
<!-- <style scoped> -->
<!-- 涓嶅彲鍔爏coped,浼氱嫭绔嬫牱寮廵lement璁块棶涓嶅埌 -->
-<style>
+<style lang="scss" scoped>
.addClassva {
/* background: #10aec2; */
background: #e8f4ff !important;
/* color:whitesmoke; */
}
+::v-deep.el-table .error-row {
+ background: #FCEBEB;
+}
</style>
--
Gitblit v1.9.3