openatc-components 0.1.196 → 0.1.198
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.
- package/package/kisscomps/components/SchemeConfig/SchemeConfig.vue +1 -1
- package/package/kisscomps/components/patternConfig/index.vue +6 -0
- package/package/kisscomps/components/patternConfig/pattern/patternTable.vue +8 -9
- package/package/kissui.min.js +1 -1
- package/package.json +1 -1
- package/src/kisscomps/components/SchemeConfig/SchemeConfig.vue +1 -1
- package/src/kisscomps/components/patternConfig/index.vue +6 -0
- package/src/kisscomps/components/patternConfig/pattern/patternTable.vue +8 -9
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
<transition name="fade-right" mode="out-in"
|
|
17
17
|
:enter-active-class="toPage === 1 ? 'animated fadeInRight' : 'animated fadeInLeft'"
|
|
18
18
|
:leave-active-class="toPage === 1 ? 'animated fadeOutRight' : 'animated fadeOutLeft' ">
|
|
19
|
-
<div style="position: absolute;width: 100%;" v-show="(isOperation && !isClosePhase)">
|
|
19
|
+
<div style="position: absolute;width: 100%;height:100%;" v-show="(isOperation && !isClosePhase)">
|
|
20
20
|
<ManualControlModal
|
|
21
21
|
:controlData="controlData"
|
|
22
22
|
:modelList="modelList"
|
|
@@ -184,6 +184,7 @@
|
|
|
184
184
|
</div>
|
|
185
185
|
<div style="height: 94%;" class="table-container">
|
|
186
186
|
<PatternTable ref="patterntable"
|
|
187
|
+
:maxTableHeight="maxTableHeight"
|
|
187
188
|
:opt="item.devs"
|
|
188
189
|
:isAllowedExpand="isAllowedExpand"
|
|
189
190
|
@onNewPatternListChange="onNewPatternListChange"/>
|
|
@@ -210,6 +211,7 @@
|
|
|
210
211
|
<PatternTable ref="patterntable"
|
|
211
212
|
:opt="opt.optPatternList[0].devs"
|
|
212
213
|
:isAllowedExpand="isAllowedExpand"
|
|
214
|
+
:maxTableHeight="maxTableHeight"
|
|
213
215
|
@onNewPatternListChange="onNewPatternListChange"/>
|
|
214
216
|
</div>
|
|
215
217
|
<PlanContent v-show="false"
|
|
@@ -284,6 +286,7 @@ export default {
|
|
|
284
286
|
},
|
|
285
287
|
data () {
|
|
286
288
|
return {
|
|
289
|
+
maxTableHeight: 200,
|
|
287
290
|
chartData: {},
|
|
288
291
|
months: monthsModel,
|
|
289
292
|
days: [],
|
|
@@ -394,6 +397,9 @@ export default {
|
|
|
394
397
|
},
|
|
395
398
|
mounted () {
|
|
396
399
|
// this.getAllPlan()
|
|
400
|
+
const clientHeight = this.$el.parentElement.clientHeight
|
|
401
|
+
const extHeight = this.isShowSingle ? 0 : 94
|
|
402
|
+
this.maxTableHeight = clientHeight - extHeight - 1
|
|
397
403
|
},
|
|
398
404
|
methods: {
|
|
399
405
|
async handeAgentidsChange () {
|
|
@@ -106,6 +106,10 @@ export default {
|
|
|
106
106
|
isAllowedExpand: {
|
|
107
107
|
type: Boolean,
|
|
108
108
|
default: true
|
|
109
|
+
},
|
|
110
|
+
maxTableHeight: {
|
|
111
|
+
type: Number,
|
|
112
|
+
default: 200
|
|
109
113
|
}
|
|
110
114
|
},
|
|
111
115
|
data () {
|
|
@@ -119,9 +123,9 @@ export default {
|
|
|
119
123
|
created () {
|
|
120
124
|
},
|
|
121
125
|
watch: {
|
|
122
|
-
screenHeight: function () {
|
|
123
|
-
|
|
124
|
-
},
|
|
126
|
+
// screenHeight: function () {
|
|
127
|
+
// this.tableHeight = screen.height < 1080 ? screen.height * 0.35 : screen.height * 0.5
|
|
128
|
+
// },
|
|
125
129
|
optList: {
|
|
126
130
|
handler: function (val) {
|
|
127
131
|
if (val && val.length > 0) {
|
|
@@ -142,12 +146,7 @@ export default {
|
|
|
142
146
|
mounted: function () {
|
|
143
147
|
var _this = this
|
|
144
148
|
_this.$nextTick(function () {
|
|
145
|
-
_this
|
|
146
|
-
_this.tableHeight = screen.height < 1080 ? screen.height * 0.35 : screen.height * 0.5
|
|
147
|
-
window.onresize = function () {
|
|
148
|
-
_this.tableHeight = screen.height < 1080 ? screen.height * 0.35 : screen.height * 0.5
|
|
149
|
-
}
|
|
150
|
-
})
|
|
149
|
+
_this.tableHeight = _this.maxTableHeight
|
|
151
150
|
})
|
|
152
151
|
},
|
|
153
152
|
methods: {
|