openatc-components 0.2.38 → 0.2.40
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/IntersectionMap/crossDirection/baseImg/PatternWalkSvg.vue +429 -0
- package/package/kisscomps/components/SchemeConfig/SchemeConfig.vue +3 -3
- package/package/kisscomps/components/SchemeConfig/azimuthlocking/index.vue +3 -3
- package/package/kisscomps/components/SchemeConfig/closePhaselControlModal/index.vue +1 -1
- package/package/kisscomps/components/SchemeConfig/lockingPhaselControlModal/index.vue +25 -12
- package/package/kisscomps/components/SchemeConfig/manualControlModalNew/index.vue +3 -3
- package/package/kisscomps/components/SchemeConfig/priorityControl/index.vue +4 -3
- package/package/kisscomps/components/SchemeConfig/tentativeplancontrolmodal/index.vue +2 -2
- package/package/kisscomps/components/StageBord/StageBord.vue +1 -0
- package/package/kisscomps/components/Stages/index.vue +31 -3
- package/package/kisscomps/components/XRDDirSelector/XRDDirSelector.vue +3 -1
- package/package/kissui.min.js +1 -1
- package/package.json +1 -1
- package/src/kisscomps/components/SchemeConfig/SchemeConfig.vue +3 -3
- package/src/kisscomps/components/SchemeConfig/azimuthlocking/index.vue +3 -3
- package/src/kisscomps/components/SchemeConfig/closePhaselControlModal/index.vue +1 -1
- package/src/kisscomps/components/SchemeConfig/lockingPhaselControlModal/index.vue +25 -12
- package/src/kisscomps/components/SchemeConfig/manualControlModalNew/index.vue +3 -3
- package/src/kisscomps/components/SchemeConfig/priorityControl/index.vue +4 -3
- package/src/kisscomps/components/SchemeConfig/tentativeplancontrolmodal/index.vue +2 -2
- package/src/kisscomps/components/StageBord/StageBord.vue +1 -0
- package/src/kisscomps/components/Stages/index.vue +31 -3
- package/src/kisscomps/components/XRDDirSelector/XRDDirSelector.vue +3 -1
- package/static/styles/commonkanban.scss +1 -0
- package/static/styles/light/theme/element-light.scss +4 -4
- package/static/styles/schemeconfig.scss +25 -5
- package/src/node_modules/.package_versions.json +0 -1
package/package.json
CHANGED
|
@@ -550,12 +550,12 @@ export default {
|
|
|
550
550
|
this.setHost(this.reqUrl)
|
|
551
551
|
this.PhaseDataModel = new PhaseDataModel(this.roadDirection)
|
|
552
552
|
this.CrossDiagramMgr = new CrossDiagramMgr()
|
|
553
|
-
if (this.realtimeStatusModalvisible === false) {
|
|
554
|
-
this.changeStatus()
|
|
555
|
-
}
|
|
556
553
|
this.getIntersectionInfo(this.agentId)
|
|
557
554
|
},
|
|
558
555
|
async mounted () {
|
|
556
|
+
if (this.realtimeStatusModalvisible === false) {
|
|
557
|
+
this.changeStatus()
|
|
558
|
+
}
|
|
559
559
|
this.setPropsToken(this.Token)
|
|
560
560
|
// await this.getPhase()
|
|
561
561
|
this.getFault()
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
ref="manual"
|
|
8
8
|
label-position="left"
|
|
9
9
|
:model="manualInfo"
|
|
10
|
-
label-width="
|
|
10
|
+
label-width="74px">
|
|
11
11
|
<el-form-item
|
|
12
12
|
:label="$t('openatccomponents.overview.duration') + ':'"
|
|
13
13
|
prop="count">
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
ref="manual"
|
|
31
31
|
label-position="left"
|
|
32
32
|
:model="manualInfo"
|
|
33
|
-
label-width="
|
|
33
|
+
label-width="74px">
|
|
34
34
|
<el-form-item
|
|
35
35
|
:label="$t('openatccomponents.overview.greenclear') + ':'"
|
|
36
36
|
prop="count">
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
</el-form>
|
|
45
45
|
</el-col>
|
|
46
46
|
</el-row>
|
|
47
|
-
<el-row>
|
|
47
|
+
<el-row style="margin-top: 6px;">
|
|
48
48
|
<el-col :span="5">
|
|
49
49
|
<span class="model-label-title">{{$t('openatccomponents.overview.indirection')}}:</span>
|
|
50
50
|
</el-col>
|
|
@@ -13,33 +13,25 @@
|
|
|
13
13
|
<div class="lockingphase-control manual-control-modal">
|
|
14
14
|
<!-- <div class="title" style="margin-bottom: 18px;">{{$t('openatccomponents.overview.phaselocking')}}</div> -->
|
|
15
15
|
<el-row>
|
|
16
|
-
<el-col :span="
|
|
16
|
+
<el-col :span="12">
|
|
17
17
|
<el-form
|
|
18
18
|
:inline="true"
|
|
19
19
|
ref="manual"
|
|
20
20
|
label-position="left"
|
|
21
21
|
:model="manualInfo"
|
|
22
|
-
label-width="
|
|
22
|
+
label-width="74px">
|
|
23
23
|
<el-form-item
|
|
24
24
|
:label="$t('openatccomponents.phase.greenclear') + ':'"
|
|
25
25
|
prop="intersection">
|
|
26
26
|
<el-input-number :min="0" :max="65535" :precision="0" :step="1" :controls="false" v-model.number="manualInfo.tempGreenflash" size="small"></el-input-number>
|
|
27
27
|
</el-form-item>
|
|
28
|
-
|
|
29
|
-
:label="$t('openatccomponents.overview.duration') + ':'"
|
|
30
|
-
prop="count">
|
|
31
|
-
<el-input-number :min="0" :max="65535" :precision="0" :step="1" :controls="false" v-model.number="manualInfo.tempDuration" size="small"></el-input-number>
|
|
32
|
-
</el-form-item>
|
|
28
|
+
|
|
33
29
|
<el-form-item
|
|
34
30
|
:label="$t('openatccomponents.overview.yellowflash') + ':'"
|
|
35
31
|
prop="intersection">
|
|
36
32
|
<el-input-number :min="0" :max="65535" :precision="0" :step="1" :controls="false" v-model.number="manualInfo.tempYellow" size="small"></el-input-number>
|
|
37
33
|
</el-form-item>
|
|
38
|
-
|
|
39
|
-
:label="$t('openatccomponents.overview.allred') + ':'"
|
|
40
|
-
prop="intersection">
|
|
41
|
-
<el-input-number :min="0" :max="65535" :precision="0" :step="1" :controls="false" v-model.number="manualInfo.tempRedclear" size="small"></el-input-number>
|
|
42
|
-
</el-form-item>
|
|
34
|
+
|
|
43
35
|
<el-form-item
|
|
44
36
|
:label="$t('openatccomponents.phase.mingreen') + ':'"
|
|
45
37
|
prop="count">
|
|
@@ -47,6 +39,27 @@
|
|
|
47
39
|
</el-form-item>
|
|
48
40
|
</el-form>
|
|
49
41
|
</el-col>
|
|
42
|
+
<el-col :span="12">
|
|
43
|
+
<el-form
|
|
44
|
+
:inline="true"
|
|
45
|
+
ref="manual"
|
|
46
|
+
label-position="left"
|
|
47
|
+
:model="manualInfo"
|
|
48
|
+
label-width="74px">
|
|
49
|
+
|
|
50
|
+
<el-form-item
|
|
51
|
+
:label="$t('openatccomponents.overview.duration') + ':'"
|
|
52
|
+
prop="count">
|
|
53
|
+
<el-input-number :min="0" :max="65535" :precision="0" :step="1" :controls="false" v-model.number="manualInfo.tempDuration" size="small"></el-input-number>
|
|
54
|
+
</el-form-item>
|
|
55
|
+
|
|
56
|
+
<el-form-item
|
|
57
|
+
:label="$t('openatccomponents.overview.allred') + ':'"
|
|
58
|
+
prop="intersection">
|
|
59
|
+
<el-input-number :min="0" :max="65535" :precision="0" :step="1" :controls="false" v-model.number="manualInfo.tempRedclear" size="small"></el-input-number>
|
|
60
|
+
</el-form-item>
|
|
61
|
+
</el-form>
|
|
62
|
+
</el-col>
|
|
50
63
|
</el-row>
|
|
51
64
|
<el-row>
|
|
52
65
|
<div class="model-label">{{$t('openatccomponents.overview.mode')}}:</div>
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
ref="manual"
|
|
28
28
|
label-position="left"
|
|
29
29
|
:model="manualInfo"
|
|
30
|
-
label-width="
|
|
30
|
+
label-width="74px">
|
|
31
31
|
<el-form-item
|
|
32
32
|
:label="$t('openatccomponents.overview.duration') + ':'"
|
|
33
33
|
prop="count">
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
ref="manual"
|
|
83
83
|
label-position="left"
|
|
84
84
|
:model="manualInfo"
|
|
85
|
-
label-width="
|
|
85
|
+
label-width="74px">
|
|
86
86
|
<el-form-item
|
|
87
87
|
:label="$t('openatccomponents.overview.duration') + ':'"
|
|
88
88
|
prop="count">
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
ref="manual"
|
|
107
107
|
label-position="left"
|
|
108
108
|
:model="manualInfo"
|
|
109
|
-
label-width="
|
|
109
|
+
label-width="74px">
|
|
110
110
|
<el-form-item
|
|
111
111
|
:label="$t('openatccomponents.overview.duration') + ':'"
|
|
112
112
|
prop="count">
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
ref="manual"
|
|
8
8
|
label-position="left"
|
|
9
9
|
:model="manualInfo"
|
|
10
|
-
label-width="
|
|
10
|
+
label-width="74px">
|
|
11
11
|
<el-form-item
|
|
12
12
|
:label="$t('openatccomponents.overview.delay') + ':'"
|
|
13
13
|
prop="intersection">
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
ref="manual"
|
|
35
35
|
label-position="left"
|
|
36
36
|
:model="manualInfo"
|
|
37
|
-
label-width="
|
|
37
|
+
label-width="74px">
|
|
38
38
|
<el-form-item
|
|
39
39
|
:label="$t('openatccomponents.overview.duration') + ':'"
|
|
40
40
|
prop="intersection">
|
|
@@ -67,8 +67,9 @@
|
|
|
67
67
|
ref="manual"
|
|
68
68
|
label-position="left"
|
|
69
69
|
:model="manualInfo"
|
|
70
|
-
label-width="
|
|
70
|
+
label-width="74px">
|
|
71
71
|
<el-form-item
|
|
72
|
+
style="margin-bottom: 0;"
|
|
72
73
|
:label="$t('openatccomponents.overview.level') + ':'"
|
|
73
74
|
prop="count">
|
|
74
75
|
<el-select v-model="manualInfo.level" class="col-inner" size="small" clearable :placeholder="$t('openatccomponents.common.select')">
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
ref="manual"
|
|
10
10
|
label-position="left"
|
|
11
11
|
:model="manualInfo"
|
|
12
|
-
label-width="
|
|
12
|
+
label-width="74px"
|
|
13
13
|
>
|
|
14
14
|
<el-form-item
|
|
15
15
|
:label="$t('openatccomponents.overview.patternid') + ':'"
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
ref="manual"
|
|
56
56
|
label-position="left"
|
|
57
57
|
:model="manualInfo"
|
|
58
|
-
label-width="
|
|
58
|
+
label-width="74px"
|
|
59
59
|
>
|
|
60
60
|
<el-form-item
|
|
61
61
|
:label="$t('openatccomponents.overview.patternoffset') + ':'"
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
:showWalk="item[0].peddirection"
|
|
29
29
|
:Width="'40'"
|
|
30
30
|
:Height="'40'" /> -->
|
|
31
|
-
<xdr-dir-selector Width="
|
|
32
|
-
<div style="
|
|
31
|
+
<xdr-dir-selector :Width="dirWidth" :Height="dirHeight" :Widths="dirWidths" :Heights="dirHeights" :Data="showStyle" :Datas="showStyles" :showlist="dirListSetTheme(item)"></xdr-dir-selector>
|
|
32
|
+
<div style="display:flex;flex-direction:row;justify-content:center;align-items:end;" :style="{height: StageHeight}">
|
|
33
33
|
<div class="current-stage-num" style="width:20%;" :style="{color: themeColor}">{{index + 1}}</div>
|
|
34
34
|
<div style="width:70%;">
|
|
35
35
|
<i class="iconfont icon-feijidongche" :style="{color: themeColor}" style="font-size:11PX;color:#606266;margin-left:10PX" v-if="item[item.length-1].controltype === 6"></i>
|
|
@@ -105,7 +105,23 @@ export default {
|
|
|
105
105
|
StageHeight: {
|
|
106
106
|
type: String,
|
|
107
107
|
default: '80px'
|
|
108
|
-
}
|
|
108
|
+
},
|
|
109
|
+
dirWidth: {
|
|
110
|
+
type: String,
|
|
111
|
+
default: '75PX'
|
|
112
|
+
},
|
|
113
|
+
dirHeight: {
|
|
114
|
+
type: String,
|
|
115
|
+
default: '75PX'
|
|
116
|
+
},
|
|
117
|
+
dirWidths: {
|
|
118
|
+
type: String,
|
|
119
|
+
default: '65PX'
|
|
120
|
+
},
|
|
121
|
+
dirHeights: {
|
|
122
|
+
type: String,
|
|
123
|
+
default: '65PX'
|
|
124
|
+
},
|
|
109
125
|
},
|
|
110
126
|
data () {
|
|
111
127
|
return {
|
|
@@ -153,6 +169,18 @@ export default {
|
|
|
153
169
|
}
|
|
154
170
|
},
|
|
155
171
|
watch: {
|
|
172
|
+
// phaseList: {
|
|
173
|
+
// handler: function (val, oldVal) {
|
|
174
|
+
// console.log(val, 'phaseList')
|
|
175
|
+
// // debugger
|
|
176
|
+
// }
|
|
177
|
+
// },
|
|
178
|
+
// crossStatusData: {
|
|
179
|
+
// handler: function (val, oldVal) {
|
|
180
|
+
// console.log(val, 'crossStatusData')
|
|
181
|
+
// // debugger
|
|
182
|
+
// }
|
|
183
|
+
// },
|
|
156
184
|
preselectStages: {
|
|
157
185
|
handler: function (val, oldVal) {
|
|
158
186
|
if(this.preselectStages === -1 && this.preselectModel !== -1) {
|
|
@@ -1034,7 +1034,9 @@ export default {
|
|
|
1034
1034
|
for (let j = 0; j < this.peoplestatus.length; j++) {
|
|
1035
1035
|
if (showlist[0].peddirection[i].name === this.peoplestatus[j].name) {
|
|
1036
1036
|
this.peoplestatus[j].isshow = true
|
|
1037
|
-
|
|
1037
|
+
if (showlist[0].peddirection[i].color) {
|
|
1038
|
+
this.peoplestatus[j].color = showlist[0].peddirection[i].color
|
|
1039
|
+
}
|
|
1038
1040
|
}
|
|
1039
1041
|
}
|
|
1040
1042
|
}
|
|
@@ -13,17 +13,17 @@
|
|
|
13
13
|
$--color-black: #f7f8fa;
|
|
14
14
|
$--color-primary: #299BCC;
|
|
15
15
|
// $--color-white: #202940;
|
|
16
|
-
// $--color-black: #
|
|
16
|
+
// $--color-black: #f7f8fa;
|
|
17
17
|
// $--background-color-base: #191F34;
|
|
18
18
|
// $--color-text-primary: #FFFFFF;
|
|
19
19
|
// $--color-text-regular: #FFFFFF;
|
|
20
20
|
// $--color-text-secondary: #B9BABF;
|
|
21
21
|
// $--color-text-placeholder: #8D9498;
|
|
22
22
|
// $--color-info: #8D9498;
|
|
23
|
-
// $--border-color-base: #
|
|
23
|
+
// $--border-color-base: #DCDFE6;
|
|
24
24
|
// $--border-color-light: #30384D;
|
|
25
|
-
// $--border-color-lighter: #
|
|
26
|
-
// $--border-color-extra-light:#
|
|
25
|
+
// $--border-color-lighter: #EBEEF5;
|
|
26
|
+
// $--border-color-extra-light:#F2F6FC;
|
|
27
27
|
// $--box-shadow-base: 0 2px 4px 0 rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04);
|
|
28
28
|
// $--button-primary-font-color: #FFFFFF;
|
|
29
29
|
// $--button-info-font-color: #FFFFFF;
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
}
|
|
120
120
|
.single-model-name-theme {
|
|
121
121
|
margin-top: 13PX;
|
|
122
|
-
font-size:
|
|
122
|
+
font-size: 13PX;
|
|
123
123
|
font-weight: normal;
|
|
124
124
|
font-stretch: normal;
|
|
125
125
|
// line-height: 22PX;
|
|
@@ -241,7 +241,7 @@
|
|
|
241
241
|
// width: 100% !important;
|
|
242
242
|
}
|
|
243
243
|
.model-label {
|
|
244
|
-
margin-top:
|
|
244
|
+
margin-top: 6PX;
|
|
245
245
|
}
|
|
246
246
|
.stage-label {
|
|
247
247
|
margin-top: 30PX;
|
|
@@ -283,21 +283,27 @@
|
|
|
283
283
|
}
|
|
284
284
|
}
|
|
285
285
|
.manual-control-modal-new {
|
|
286
|
-
padding: 20PX;
|
|
286
|
+
padding: 20PX 20PX 0 20PX;
|
|
287
287
|
.el-tabs__nav.is-top {
|
|
288
288
|
width: 100%;
|
|
289
289
|
}
|
|
290
|
+
.el-tabs--card>.el-tabs__header .el-tabs__nav {
|
|
291
|
+
border-color: $--border-color-lighter;
|
|
292
|
+
}
|
|
290
293
|
.el-tabs--card>.el-tabs__header .el-tabs__item {
|
|
291
|
-
background-color: $--
|
|
294
|
+
background-color: $--color-black;
|
|
292
295
|
width: 25%;
|
|
293
296
|
text-align: center;
|
|
294
297
|
border-left: none;
|
|
295
|
-
border-bottom-color: $--border-color-
|
|
298
|
+
border-bottom-color: $--border-color-lighter;
|
|
296
299
|
}
|
|
297
300
|
.el-tabs--card>.el-tabs__header .el-tabs__item.is-active {
|
|
298
301
|
background-color: $--color-white;
|
|
299
302
|
border-bottom: none;
|
|
300
303
|
}
|
|
304
|
+
.el-tabs__content {
|
|
305
|
+
overflow-x: auto;
|
|
306
|
+
}
|
|
301
307
|
.group-control {
|
|
302
308
|
margin-bottom: 20PX;
|
|
303
309
|
overflow: hidden;
|
|
@@ -321,6 +327,16 @@
|
|
|
321
327
|
float: right;
|
|
322
328
|
margin: 28PX 0PX 40PX 0;
|
|
323
329
|
}
|
|
330
|
+
|
|
331
|
+
.main-patternstatus {
|
|
332
|
+
margin-bottom: 0;
|
|
333
|
+
}
|
|
334
|
+
.closephasekanban:last-child {
|
|
335
|
+
margin-bottom: 0;
|
|
336
|
+
}
|
|
337
|
+
.stage-part {
|
|
338
|
+
margin-top: 6PX;
|
|
339
|
+
}
|
|
324
340
|
}
|
|
325
341
|
.priority-control{
|
|
326
342
|
height: 100%;
|
|
@@ -390,6 +406,7 @@
|
|
|
390
406
|
color: $--color-text-primary;
|
|
391
407
|
padding: 1px 1px;
|
|
392
408
|
box-sizing: border-box;
|
|
409
|
+
font-size: 14PX;
|
|
393
410
|
}
|
|
394
411
|
.title {
|
|
395
412
|
margin-bottom: 24PX;
|
|
@@ -406,6 +423,9 @@
|
|
|
406
423
|
.col-inner{
|
|
407
424
|
// width: 100% !important;
|
|
408
425
|
}
|
|
426
|
+
.model-label, .stage-label {
|
|
427
|
+
color: $--color-text-secondary;
|
|
428
|
+
}
|
|
409
429
|
.model-label {
|
|
410
430
|
margin-top: 14PX;
|
|
411
431
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{}
|