-
+
-
-
-
- {{ scope.row[head.prop] | commonFilter(head.filter) }}
-
-
+
+
+
+
+
+
+
+
+
+ {{ scope.row[head.prop] | commonFilter(head.filter) }}
+
+
+
@@ -36,27 +44,27 @@
export default {
name: 'BaseTable',
props: {
- tableHeadConfigs: {
- type: Array,
- default: () => []
- },
+ tableHeadConfigs: {
+ type: Array,
+ default: () => []
+ },
data: {
type: Array,
default: () => []
},
- maxHeight: {
- type: Number,
- default: 500
- }
+ maxHeight: {
+ type: Number,
+ default: 500
+ }
},
filters: {
commonFilter: (source, filterType = a => a) => {
return filterType(source)
}
},
- data () {
- return {}
- },
+ data() {
+ return {}
+ },
methods: {
handleSubEmitData(payload) {
this.$emit('operate-event', payload)
diff --git a/src/views/modules/monitoring/equipment.vue b/src/views/modules/monitoring/equipment.vue
index 0d050cf..22a4c8b 100644
--- a/src/views/modules/monitoring/equipment.vue
+++ b/src/views/modules/monitoring/equipment.vue
@@ -12,6 +12,7 @@