openatc-components 0.5.74 → 0.5.76
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/lockingPhaselControlModal/index.vue +13 -1
- package/package/kisscomps/components/SchemeConfig/manualControlModalNew/index.vue +16 -13
- package/package/kisscomps/components/Stages/index.vue +13 -3
- package/package/kissui.min.js +1 -1
- package/package.json +1 -1
- package/src/i18n/language/en.js +3 -0
- package/src/i18n/language/ru.js +3 -0
- package/src/i18n/language/zh.js +3 -0
- package/src/kisscomps/components/SchemeConfig/lockingPhaselControlModal/index.vue +13 -1
- package/src/kisscomps/components/SchemeConfig/manualControlModalNew/index.vue +16 -13
- package/src/kisscomps/components/Stages/index.vue +13 -3
- package/src/views/RcpRightPanel.vue +2 -2
- package/src/views/home.vue +3 -3
- package/src/views/intersection.vue +2 -2
- package/src/views/intersection2.vue +3 -3
- package/src/views/overView.vue +2 -2
- package/src/views/patternConfig.vue +3 -3
- package/src/views/schemeconfig.vue +3 -3
|
@@ -54,6 +54,14 @@
|
|
|
54
54
|
prop="intersection">
|
|
55
55
|
<el-input-number :min="0" :max="65535" :precision="0" :step="1" :controls="false" v-model.number="manualInfo.tempRedclear" size="small"></el-input-number>
|
|
56
56
|
</el-form-item>
|
|
57
|
+
<el-form-item
|
|
58
|
+
:label="$t('openatccomponents.overview.lockingtype')"
|
|
59
|
+
prop="group">
|
|
60
|
+
<el-select v-model="manualInfo.group" size="small" style="width: 100%;">
|
|
61
|
+
<el-option :label="$t('openatccomponents.overview.phasepass')" :value="0"></el-option>
|
|
62
|
+
<el-option :label="$t('openatccomponents.overview.stagepass')" :value="1"></el-option>
|
|
63
|
+
</el-select>
|
|
64
|
+
</el-form-item>
|
|
57
65
|
</el-form>
|
|
58
66
|
</el-col>
|
|
59
67
|
</el-row>
|
|
@@ -140,7 +148,8 @@ export default {
|
|
|
140
148
|
tempDuration: 600, // 控制方式手动操作的情况下的持续时间的临时值。
|
|
141
149
|
tempYellow: 3,
|
|
142
150
|
tempRedclear: 2,
|
|
143
|
-
tempMingreen: 15
|
|
151
|
+
tempMingreen: 15,
|
|
152
|
+
group: 0
|
|
144
153
|
},
|
|
145
154
|
lockingOption: [{
|
|
146
155
|
value: 0
|
|
@@ -187,6 +196,9 @@ export default {
|
|
|
187
196
|
if (this.manualInfo.tempMingreen !== undefined) {
|
|
188
197
|
submitdata.data.mingreen = Number(this.manualInfo.tempMingreen)
|
|
189
198
|
}
|
|
199
|
+
if (this.manualInfo.group !== undefined) {
|
|
200
|
+
submitdata.data.group = Number(this.manualInfo.group)
|
|
201
|
+
}
|
|
190
202
|
submitdata.data.phases = this.phases
|
|
191
203
|
this.$emit('closePhaseControl', submitdata)
|
|
192
204
|
},
|
|
@@ -41,19 +41,22 @@
|
|
|
41
41
|
|
|
42
42
|
<div class="stage-part" v-if="preselecttype === '阶段锁定'">
|
|
43
43
|
<div class="stage-label">{{$t('openatccomponents.overview.stage')}}</div>
|
|
44
|
-
<div style="width: 100%; height: auto;overflow: hidden;
|
|
45
|
-
<
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
44
|
+
<div style="width: 100%; height: auto;overflow: hidden;" v-if="isHasPermission('configer:manual:dwell')">
|
|
45
|
+
<Stages :crossStatusData="manuals?manualsStage:realtimeStage"
|
|
46
|
+
:phaseList="phaseList"
|
|
47
|
+
:preselectStages="preselectStages"
|
|
48
|
+
:preselectModel="preselectModel"
|
|
49
|
+
:isShowCurrentStage="false"
|
|
50
|
+
@onSelectStages="selectStages">
|
|
51
|
+
<template v-slot:after-stages>
|
|
52
|
+
<div class="control-model">
|
|
53
|
+
<div class="single-model stage-btn stage-btn-extend" @click="selectStages(998)" :class="preselectStages === 998 ? 'stage-btn-active' : ''">延长</div>
|
|
54
|
+
</div>
|
|
55
|
+
<div class="control-model">
|
|
56
|
+
<div class="single-model stage-btn stage-btn-shorten" @click="selectStages(999)" :class="preselectStages === 999 ? 'stage-btn-active' : ''">缩短</div>
|
|
57
|
+
</div>
|
|
58
|
+
</template>
|
|
59
|
+
</Stages>
|
|
57
60
|
</div>
|
|
58
61
|
</div>
|
|
59
62
|
|
|
@@ -46,6 +46,7 @@
|
|
|
46
46
|
</div>
|
|
47
47
|
</div>
|
|
48
48
|
</div>
|
|
49
|
+
<slot name="after-stages"></slot>
|
|
49
50
|
</div>
|
|
50
51
|
</div>
|
|
51
52
|
</template>
|
|
@@ -203,16 +204,19 @@ export default {
|
|
|
203
204
|
}
|
|
204
205
|
},
|
|
205
206
|
watch: {
|
|
206
|
-
preselectStages: {
|
|
207
|
+
preselectStages: {
|
|
207
208
|
handler: function (val, oldVal) {
|
|
208
|
-
if(this.preselectStages
|
|
209
|
+
if (this.preselectStages > 0 && this.preselectStages <= this.stagesList.length) {
|
|
210
|
+
this.currentStage = this.preselectStages
|
|
211
|
+
} else {
|
|
209
212
|
this.currentStage = -1
|
|
210
213
|
}
|
|
214
|
+
this.clickType(this.stagesList, this.currentStage)
|
|
211
215
|
},
|
|
212
216
|
// 深度观察监听
|
|
213
217
|
deep: true
|
|
214
218
|
},
|
|
215
|
-
preselectModel: {
|
|
219
|
+
preselectModel: {
|
|
216
220
|
handler: function (val, oldVal) {
|
|
217
221
|
if(this.preselectStages === -1 && this.preselectModel !== -1) {
|
|
218
222
|
this.currentStage = -1
|
|
@@ -228,6 +232,12 @@ export default {
|
|
|
228
232
|
} else {
|
|
229
233
|
this.presetStageIndex = this.presetIndex
|
|
230
234
|
}
|
|
235
|
+
if (this.preselectStages > 0 && this.preselectStages <= this.stagesList.length) {
|
|
236
|
+
this.currentStage = this.preselectStages
|
|
237
|
+
} else {
|
|
238
|
+
this.currentStage = -1
|
|
239
|
+
}
|
|
240
|
+
this.clickType(this.stagesList, this.currentStage)
|
|
231
241
|
},
|
|
232
242
|
// 深度观察监听
|
|
233
243
|
deep: true
|