openatc-components 0.1.197 → 0.1.199
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/PatternStatus/PatternStatus.vue +11 -11
- 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/PatternStatus/PatternStatus.vue +11 -11
- package/src/kisscomps/components/patternConfig/index.vue +6 -0
- package/src/kisscomps/components/patternConfig/pattern/patternTable.vue +8 -9
- package/static/styles/overview.scss +18 -7
|
@@ -810,7 +810,7 @@ export default {
|
|
|
810
810
|
newPattern.push(...i)
|
|
811
811
|
})
|
|
812
812
|
let barrier = this.step2(ringTeams, newPattern)
|
|
813
|
-
let barrierLeft = barrier.map(item => item
|
|
813
|
+
let barrierLeft = barrier.map(item => item)
|
|
814
814
|
this.barrierList = barrierLeft.map(j => {
|
|
815
815
|
return (j / (this.max ? this.max : this.contrloCycle) * 100) + '%'
|
|
816
816
|
})
|
|
@@ -1037,7 +1037,7 @@ export default {
|
|
|
1037
1037
|
this.max = ''
|
|
1038
1038
|
}
|
|
1039
1039
|
let barrier = this.step2(ringTeams, newPattern)
|
|
1040
|
-
let barrierLeft = barrier.map(item => item
|
|
1040
|
+
let barrierLeft = barrier.map(item => item)// 屏障左移显示出人行横道
|
|
1041
1041
|
this.barrierList = barrierLeft.map(j => {
|
|
1042
1042
|
return (j / (this.max ? this.max : this.newCycle) * 100) + '%'
|
|
1043
1043
|
})
|
|
@@ -1410,15 +1410,15 @@ export default {
|
|
|
1410
1410
|
border: 5px solid transparent;
|
|
1411
1411
|
border-left-color: rgba(30, 96, 12, 0.2);
|
|
1412
1412
|
}
|
|
1413
|
-
.divider {
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
}
|
|
1413
|
+
// .divider {
|
|
1414
|
+
// position: absolute;
|
|
1415
|
+
// top: -10px;
|
|
1416
|
+
// // left: 370px;
|
|
1417
|
+
// width: 2px;
|
|
1418
|
+
// // height: 99px;
|
|
1419
|
+
// z-index: 999;
|
|
1420
|
+
// background-color:#B9BABF;
|
|
1421
|
+
// }
|
|
1422
1422
|
// .curTimeLine {
|
|
1423
1423
|
// position: absolute;
|
|
1424
1424
|
// top: -10px;
|
|
@@ -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: {
|