|
@@ -7,7 +7,7 @@
|
|
|
row-key="ROW_ID"
|
|
|
:stripe="stripe"
|
|
|
:border="border"
|
|
|
- :row-class-name="rowClassName"
|
|
|
+ :row-class-name="tableRowClassName"
|
|
|
:cell-class-name="cellClassName"
|
|
|
:height="height"
|
|
|
:highlight-current-row="highlightCurrentRow"
|
|
@@ -200,11 +200,11 @@ export default {
|
|
|
default: true,
|
|
|
},
|
|
|
// 行的 className 的回调方法,也可以使用字符串为所有行设置一个固定的 className。
|
|
|
- rowClassName: {
|
|
|
- default() {
|
|
|
- return ({ row, rowIndex }) => "";
|
|
|
- },
|
|
|
- },
|
|
|
+ // rowClassName: {
|
|
|
+ // default() {
|
|
|
+ // return ({ row, rowIndex }) => "";
|
|
|
+ // },
|
|
|
+ // },
|
|
|
// 单元格的 className 的回调方法,也可以使用字符串为所有单元格设置一个固定的 className。
|
|
|
cellClassName: {
|
|
|
default() {
|
|
@@ -268,18 +268,36 @@ export default {
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
-@media print {
|
|
|
- .el-pagination {
|
|
|
- display: none;
|
|
|
+
|
|
|
+.el-table .warning-row {
|
|
|
+ background: #fff ;
|
|
|
+ font-size: 22px;
|
|
|
+ height: 44px;
|
|
|
+ line-height: 46px;
|
|
|
+ font-size: 22px;
|
|
|
+ font-weight: 700;
|
|
|
}
|
|
|
-
|
|
|
-}
|
|
|
- /deep/.el-table .success-row {
|
|
|
- background: #fff !important;
|
|
|
- color: #f56c6c;
|
|
|
+
|
|
|
+ .el-table .success-row {
|
|
|
+ background: #fff ;
|
|
|
+ font-size: 22px;
|
|
|
height: 44px;
|
|
|
line-height: 46px;
|
|
|
font-size: 22px;
|
|
|
font-weight: 700;
|
|
|
}
|
|
|
+@media print {
|
|
|
+ .el-pagination {
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
+
|
|
|
+}
|
|
|
+// /deep/.el-table .success-row {
|
|
|
+// background: #fff !important;
|
|
|
+// color: #f56c6c;
|
|
|
+// height: 44px;
|
|
|
+// line-height: 46px;
|
|
|
+// font-size: 22px;
|
|
|
+// font-weight: 700;
|
|
|
+// }
|
|
|
</style>
|