openatc-components 0.1.107 → 0.1.109
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 +6 -2
- package/package/kisscomps/components/SchemeConfig/azimuthlocking/index.vue +5 -3
- package/package/kissui.min.js +1 -1
- package/package.json +1 -1
- package/src/i18n/language/en.js +2 -1
- package/src/i18n/language/zh.js +2 -1
- package/src/icons/svg/prioritycontrol.svg +21 -0
- package/src/icons/svg/tentativeplan.svg +28 -33
- package/src/kisscomps/components/SchemeConfig/SchemeConfig.vue +6 -2
- package/src/kisscomps/components/SchemeConfig/azimuthlocking/index.vue +5 -3
- package/src/node_modules/.package_versions.json +1 -0
package/package.json
CHANGED
package/src/i18n/language/en.js
CHANGED
|
@@ -306,7 +306,8 @@ const en = {
|
|
|
306
306
|
'confirmed': 'confirmed',
|
|
307
307
|
'ignored': 'ignored',
|
|
308
308
|
'untreated': 'untreated',
|
|
309
|
-
'item': 'item'
|
|
309
|
+
'item': 'item',
|
|
310
|
+
'noselectcontroltip': 'Please select a control method first!'
|
|
310
311
|
},
|
|
311
312
|
'phase': {
|
|
312
313
|
'desc': 'LaneDirection',
|
package/src/i18n/language/zh.js
CHANGED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<svg id="优先控制" xmlns="http://www.w3.org/2000/svg" width="54" height="29.12" viewBox="0 0 54 29.12">
|
|
2
|
+
<defs>
|
|
3
|
+
<style>
|
|
4
|
+
.cls-1, .cls-3 {
|
|
5
|
+
fill: #7ccc66;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.cls-2 {
|
|
9
|
+
fill: #f27979;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.cls-3 {
|
|
13
|
+
fill-rule: evenodd;
|
|
14
|
+
}
|
|
15
|
+
</style>
|
|
16
|
+
</defs>
|
|
17
|
+
<rect id="矩形_3708_拷贝_8" data-name="矩形 3708 拷贝 8" class="cls-1" x="20.6" y="15.81" width="33.4" height="9"/>
|
|
18
|
+
<rect id="矩形_3708_拷贝_8-2" data-name="矩形 3708 拷贝 8" class="cls-2" y="15.81" width="20.78" height="9"/>
|
|
19
|
+
<path id="形状_3710_拷贝_4" data-name="形状 3710 拷贝 4" class="cls-3" d="M2441.42,1012.4h1.8v17.71h-1.8V1012.4Z" transform="translate(-2421.31 -1001)"/>
|
|
20
|
+
<path id="形状_2767_拷贝_5" data-name="形状 2767 拷贝 5" class="cls-3" d="M2434,1007.87a1.582,1.582,0,1,0,1.39,1.57A1.491,1.491,0,0,0,2434,1007.87Zm0,2.67a1.109,1.109,0,1,1,.97-1.1A1.037,1.037,0,0,1,2434,1010.54Zm13.69-2.67a1.58,1.58,0,1,0,1.4,1.57A1.491,1.491,0,0,0,2447.69,1007.87Zm0,2.67a1.107,1.107,0,1,1,.98-1.1A1.043,1.043,0,0,1,2447.69,1010.54Zm4.59-9.55h-22.21a1.517,1.517,0,0,0-1.42,1.6v2.77l-0.65.33v3.14a0.494,0.494,0,0,0,.46.52h3.67a1.876,1.876,0,1,1,3.74,0h9.95a1.88,1.88,0,1,1,3.75,0h1.24c1.19-.32,3.23-0.87,4.19-1.11v-4.2A2.9,2.9,0,0,0,2452.28,1000.99Zm-20.84,6.96a0.571,0.571,0,0,1-.53.6h-0.82a0.572,0.572,0,0,1-.54-0.6v-5.09a0.575,0.575,0,0,1,.54-0.61h0.82a0.574,0.574,0,0,1,.53.61v5.09Zm5.69-3.41a0.381,0.381,0,0,1-.36.4h-3.96a0.38,0.38,0,0,1-.35-0.4v-1.91a0.38,0.38,0,0,1,.35-0.4h3.96a0.381,0.381,0,0,1,.36.4v1.91Zm5.38,0a0.381,0.381,0,0,1-.36.4h-3.96a0.38,0.38,0,0,1-.35-0.4v-1.91a0.38,0.38,0,0,1,.35-0.4h3.96a0.381,0.381,0,0,1,.36.4v1.91Zm5.38,0a0.38,0.38,0,0,1-.35.4h-3.96a0.381,0.381,0,0,1-.36-0.4v-1.91a0.381,0.381,0,0,1,.36-0.4h3.96a0.38,0.38,0,0,1,.35.4v1.91Zm5.38,0a0.38,0.38,0,0,1-.35.4h-3.96a0.381,0.381,0,0,1-.36-0.4v-1.91a0.381,0.381,0,0,1,.36-0.4h3.96a0.38,0.38,0,0,1,.35.4v1.91Z" transform="translate(-2421.31 -1001)"/>
|
|
21
|
+
</svg>
|
|
@@ -1,33 +1,28 @@
|
|
|
1
|
-
<svg
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
<
|
|
22
|
-
|
|
23
|
-
<
|
|
24
|
-
|
|
25
|
-
<
|
|
26
|
-
|
|
27
|
-
<
|
|
28
|
-
|
|
29
|
-
<path fill-rule="evenodd" fill="rgb(255, 255, 255)"
|
|
30
|
-
d="M31.000,9.000 L32.000,9.000 L32.000,17.000 L31.000,17.000 L31.000,9.000 Z"/>
|
|
31
|
-
<path fill-rule="evenodd" fill="rgb(242, 121, 121)"
|
|
32
|
-
d="M46.000,9.000 L54.000,9.000 L54.000,17.000 L46.000,17.000 L46.000,9.000 Z"/>
|
|
33
|
-
</svg>
|
|
1
|
+
<svg id="临时方案" xmlns="http://www.w3.org/2000/svg" width="54" height="9" viewBox="0 0 54 9">
|
|
2
|
+
<defs>
|
|
3
|
+
<style>
|
|
4
|
+
.cls-1 {
|
|
5
|
+
fill: #7ccc66;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.cls-2 {
|
|
9
|
+
fill: #f9dc6a;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.cls-3 {
|
|
13
|
+
fill: #fff;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.cls-4 {
|
|
17
|
+
fill: #f27979;
|
|
18
|
+
}
|
|
19
|
+
</style>
|
|
20
|
+
</defs>
|
|
21
|
+
<rect id="矩形_683_拷贝_3" data-name="矩形 683 拷贝 3" class="cls-1" width="39" height="9"/>
|
|
22
|
+
<rect id="矩形_683_拷贝_3-2" data-name="矩形 683 拷贝 3" class="cls-2" x="39" width="8" height="9"/>
|
|
23
|
+
<rect id="矩形_686_拷贝_4" data-name="矩形 686 拷贝 4" class="cls-3" x="37" width="1" height="9"/>
|
|
24
|
+
<rect id="矩形_686_拷贝_4-2" data-name="矩形 686 拷贝 4" class="cls-3" x="35" width="1" height="9"/>
|
|
25
|
+
<rect id="矩形_686_拷贝_4-3" data-name="矩形 686 拷贝 4" class="cls-3" x="33" width="1" height="9"/>
|
|
26
|
+
<rect id="矩形_686_拷贝_4-4" data-name="矩形 686 拷贝 4" class="cls-3" x="31" width="1" height="9"/>
|
|
27
|
+
<rect id="矩形_683_拷贝_3-3" data-name="矩形 683 拷贝 3" class="cls-4" x="46" width="8" height="9"/>
|
|
28
|
+
</svg>
|
|
@@ -327,7 +327,7 @@ export default {
|
|
|
327
327
|
}, {
|
|
328
328
|
id: 24,
|
|
329
329
|
permission: 'configer:manual:preempt',
|
|
330
|
-
iconClass: '
|
|
330
|
+
iconClass: 'prioritycontrol'
|
|
331
331
|
}, {
|
|
332
332
|
id: 25,
|
|
333
333
|
permission: 'configer:manual:optimize',
|
|
@@ -540,12 +540,16 @@ export default {
|
|
|
540
540
|
patternCommit (manualInfo) {
|
|
541
541
|
let that = this
|
|
542
542
|
let control = {}
|
|
543
|
+
if (that.preselectModel === -1) {
|
|
544
|
+
this.$message.error(this.$t('openatccomponents.overview.noselectcontroltip'))
|
|
545
|
+
return
|
|
546
|
+
}
|
|
543
547
|
that.ParamsMode.forEach(function (value, key, map) {
|
|
544
548
|
if (that.controlData.mode === value) {
|
|
545
549
|
control.mode = key
|
|
546
550
|
}
|
|
547
551
|
})
|
|
548
|
-
control.control = that.preselectModel
|
|
552
|
+
control.control = that.preselectModel
|
|
549
553
|
// control.terminal = isNaN(parseInt(manualInfo.tempPatternid)) ? Number(manualInfo.tempPatternid.replace(/[^0-9]/ig, '')) : manualInfo.tempPatternid
|
|
550
554
|
control.terminal = Number(manualInfo.tempPatternid)
|
|
551
555
|
control.delay = Number(manualInfo.tempDelay)
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
|
|
102
102
|
<script>
|
|
103
103
|
import { getPhase } from './utils'
|
|
104
|
-
|
|
104
|
+
import { getIframdevid } from '../../../../utils/auth'
|
|
105
105
|
import { getlockPhase, lockPhase } from '../../../../api/control'
|
|
106
106
|
import Stages from '../../Stages/index'
|
|
107
107
|
import RingDataModel from '../../../../utils/RingDataModel.js'
|
|
@@ -190,8 +190,9 @@ export default {
|
|
|
190
190
|
},
|
|
191
191
|
getLockPhase (val) {
|
|
192
192
|
this.directions = [this.checkId(val)]
|
|
193
|
+
let iframdevid = getIframdevid()
|
|
193
194
|
let param = {
|
|
194
|
-
'agentid':
|
|
195
|
+
'agentid': iframdevid,
|
|
195
196
|
'direction': this.directions
|
|
196
197
|
}
|
|
197
198
|
getlockPhase(param).then(res => {
|
|
@@ -223,8 +224,9 @@ export default {
|
|
|
223
224
|
this.$message.error(this.$t('openatccomponents.overview.directionnull'))
|
|
224
225
|
return
|
|
225
226
|
}
|
|
227
|
+
let iframdevid = getIframdevid()
|
|
226
228
|
let submitdata = {
|
|
227
|
-
agentid:
|
|
229
|
+
agentid: iframdevid,
|
|
228
230
|
direction: this.directions,
|
|
229
231
|
greenflash: this.manualInfo.greenclear,
|
|
230
232
|
duration: this.manualInfo.duration,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|