import resize from "./resize.js"
+import { mapGetters } from "vuex"
export default {
name: "ElTableSelf",
+ // filters: {
+ // statusFilter(status) {
+ // const typeMap = ['warm', 'success', 'danger']
+ // return typeMap[status]
+ // },
+ // statusFilter2(status) {
+ // const typeMap = ['danger', 'success']
+ // return typeMap[status]
+ // }
+ // },
+ mixins: [resize],
props: {
listLoading: Boolean, // tab 加载层
@@ -761,21 +774,13 @@ export default {
rowStyle: Function,
defaultExpandAll: Boolean,
},
- // filters: {
- // statusFilter(status) {
- // const typeMap = ['warm', 'success', 'danger']
- // return typeMap[status]
- // },
- // statusFilter2(status) {
- // const typeMap = ['danger', 'success']
- // return typeMap[status]
- // }
- // },
- mixins: [resize],
computed: {
totalCounts() {
return this.totalCount - 0
},
+ ...mapGetters({
+ fontSize: "table/fontSize",
+ }),
},
methods: {
// switch点击
@@ -857,6 +862,7 @@ export default {
}
}
.el-table-self {
+ border: 1px solid #f6f6f6;
margin-top: 20px;
.tab-svg {
width: 24px;
@@ -930,7 +936,7 @@ export default {
::v-deep .default {
th {
- background-color: #eef5fd !important;
+ background-color: #f6f6f6 !important;
color: #586276;
}
}
diff --git a/src/layouts/components/NavBar/index.vue b/src/layouts/components/NavBar/index.vue
index a936ae7e19b256c4edbe2c48b3db488cf15b6651..eb802147b6aab67589301e4ec3bdc8c2d863671e 100644
--- a/src/layouts/components/NavBar/index.vue
+++ b/src/layouts/components/NavBar/index.vue
@@ -11,16 +11,22 @@