openatc-components 0.3.87 → 0.3.88
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -51,14 +51,14 @@
|
|
|
51
51
|
<span>{{scope.row.agentid}}</span>
|
|
52
52
|
</template>
|
|
53
53
|
</el-table-column>
|
|
54
|
-
<el-table-column align="center" :label="$t('openatccomponents.
|
|
54
|
+
<el-table-column align="center" :label="$t('openatccomponents.overview.crossname')" width="120" minWidth="40" v-if="isShowColumn('name')">
|
|
55
55
|
<template slot-scope="scope">
|
|
56
|
-
<span>{{
|
|
56
|
+
<span>{{getDevName(scope.row)}}</span>
|
|
57
57
|
</template>
|
|
58
58
|
</el-table-column>
|
|
59
|
-
<el-table-column align="center" :label="$t('openatccomponents.
|
|
59
|
+
<el-table-column align="center" :label="$t('openatccomponents.greenwaveoptimize.period')" width="100" minWidth="40" v-if="isShowColumn('period')">
|
|
60
60
|
<template slot-scope="scope">
|
|
61
|
-
<span>{{
|
|
61
|
+
<span>{{getPeriod(scope.row)}}</span>
|
|
62
62
|
</template>
|
|
63
63
|
</el-table-column>
|
|
64
64
|
<el-table-column property="isValid" :label="$t('openatccomponents.token.isValid')" align="center" width="80" prop="isused" v-if="isShowColumn('isused')">
|
|
@@ -200,7 +200,9 @@ export default {
|
|
|
200
200
|
},
|
|
201
201
|
watch: {
|
|
202
202
|
maxTableHeight: function () {
|
|
203
|
-
this
|
|
203
|
+
this.$nextTick(() => {
|
|
204
|
+
this.tableHeight = this.maxTableHeight // 动态更新高度
|
|
205
|
+
})
|
|
204
206
|
},
|
|
205
207
|
optList: {
|
|
206
208
|
handler: function (val) {
|
|
@@ -221,11 +223,6 @@ export default {
|
|
|
221
223
|
}
|
|
222
224
|
},
|
|
223
225
|
mounted: function () {
|
|
224
|
-
// var _this = this
|
|
225
|
-
// _this.$nextTick(function () {
|
|
226
|
-
// _this.tableHeight = _this.maxTableHeight
|
|
227
|
-
// })
|
|
228
|
-
// _this.tableHeight = _this.maxTableHeight
|
|
229
226
|
},
|
|
230
227
|
methods: {
|
|
231
228
|
onOptimizeClick (row, index) {
|