openatc-components 0.1.114 → 0.1.116
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/DrawChannelization/drawsvg/detectorAssociatedComponent.vue +1 -1
- package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/countdownSvg.vue +2 -2
- package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/detectorIconSvg.vue +2 -2
- package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/motorwayIconSvg.vue +1 -1
- package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/pedroadIconSvg.vue +1 -1
- package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/refreshSvg.vue +1 -1
- package/package/kisscomps/components/IntersectionMap/crossDirection/crossDiagram.vue +1 -1
- package/package/kisscomps/components/PatternStatus/PatternStatus.vue +7 -7
- package/package/kisscomps/components/PhaseDirectionSelect/PhaseDirectionSelect.vue +12 -6
- package/package/kisscomps/components/PhaseDirectionText/PhaseDirectionText.vue +1 -1
- package/package/kisscomps/components/SchemeConfig/azimuthlocking/index.vue +18 -4
- package/package/kisscomps/components/StageBord/StageBord.vue +2 -2
- package/package/kissui.min.js +1 -1
- package/package.json +1 -1
- package/src/kisscomps/components/DrawChannelization/drawsvg/detectorAssociatedComponent.vue +1 -1
- package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/countdownSvg.vue +2 -2
- package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/detectorIconSvg.vue +2 -2
- package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/motorwayIconSvg.vue +1 -1
- package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/pedroadIconSvg.vue +1 -1
- package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/refreshSvg.vue +1 -1
- package/src/kisscomps/components/IntersectionMap/crossDirection/crossDiagram.vue +1 -1
- package/src/kisscomps/components/PatternStatus/PatternStatus.vue +7 -7
- package/src/kisscomps/components/PhaseDirectionSelect/PhaseDirectionSelect.vue +12 -6
- package/src/kisscomps/components/PhaseDirectionText/PhaseDirectionText.vue +1 -1
- package/src/kisscomps/components/SchemeConfig/azimuthlocking/index.vue +18 -4
- package/src/kisscomps/components/StageBord/StageBord.vue +2 -2
- package/src/node_modules/.package_versions.json +1 -0
- package/src/utils/RingDataModel.js +2 -2
- package/static/styles/channelizatioon.scss +1 -1
- package/static/styles/dark/theme/element-dark.scss +8 -8
- package/static/styles/light/theme/element-light.scss +1 -1
- package/static/styles/schemeconfig.scss +1 -1
- package/static/styles/uiComponents.scss +1 -0
|
@@ -226,11 +226,11 @@ export default {
|
|
|
226
226
|
}
|
|
227
227
|
.highlightBg {
|
|
228
228
|
border-radius: 50%;
|
|
229
|
-
background-color: #
|
|
229
|
+
background-color: #299BCC;
|
|
230
230
|
}
|
|
231
231
|
.centerText .text {
|
|
232
232
|
display: inline-block;
|
|
233
|
-
color: #
|
|
233
|
+
color: #299BCC;
|
|
234
234
|
margin-top: 20px;
|
|
235
235
|
}
|
|
236
236
|
</style>
|
|
@@ -194,7 +194,7 @@ export default {
|
|
|
194
194
|
background-color: transparent;
|
|
195
195
|
}
|
|
196
196
|
.highlightBg {
|
|
197
|
-
background-color: #
|
|
197
|
+
background-color: #299BCC;
|
|
198
198
|
}
|
|
199
199
|
.defaultVehicleBorder {
|
|
200
200
|
border: 2px solid #00FF00;
|
|
@@ -204,7 +204,7 @@ export default {
|
|
|
204
204
|
}
|
|
205
205
|
.centerText .text {
|
|
206
206
|
display: inline-block;
|
|
207
|
-
color: #
|
|
207
|
+
color: #299BCC;
|
|
208
208
|
margin-top: 20px;
|
|
209
209
|
}
|
|
210
210
|
</style>
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
</div>
|
|
50
50
|
</div>
|
|
51
51
|
<div v-show="(syncTime && cycle && cycle>0) || (syncTime && newCycle && newCycle>0)">
|
|
52
|
-
<div class="curTimeDiv" :style="{'left':paddingLeft, 'background-color': '#
|
|
52
|
+
<div class="curTimeDiv" :style="{'left':paddingLeft, 'background-color': '#299BCC'}">{{ timeNumDevide }}</div>
|
|
53
53
|
<div class="curTimeLine" :style="{'left':paddingLeft, 'height':barrierHeight}"></div>
|
|
54
54
|
</div>
|
|
55
55
|
</div>
|
|
@@ -1242,15 +1242,15 @@ export default {
|
|
|
1242
1242
|
<style lang="scss">
|
|
1243
1243
|
// el-tooltip样式
|
|
1244
1244
|
.el-tooltip__popper.is-light {
|
|
1245
|
-
background: #
|
|
1246
|
-
border: 1px solid #
|
|
1245
|
+
background: #299BCC !important;
|
|
1246
|
+
border: 1px solid #299BCC !important;
|
|
1247
1247
|
color: #FFFFFF !important;
|
|
1248
1248
|
}
|
|
1249
1249
|
.el-tooltip__popper.is-light[x-placement^="top"] .popper__arrow {
|
|
1250
|
-
border-top-color: #
|
|
1250
|
+
border-top-color: #299BCC !important;
|
|
1251
1251
|
}
|
|
1252
1252
|
.el-tooltip__popper.is-light[x-placement^="top"] .popper__arrow::after {
|
|
1253
|
-
border-top-color: #
|
|
1253
|
+
border-top-color: #299BCC !important;
|
|
1254
1254
|
}
|
|
1255
1255
|
</style>
|
|
1256
1256
|
<style lang="scss" scoped>
|
|
@@ -1332,7 +1332,7 @@ export default {
|
|
|
1332
1332
|
position: absolute;
|
|
1333
1333
|
top: -10px;
|
|
1334
1334
|
width: 2px;
|
|
1335
|
-
background-color: #
|
|
1335
|
+
background-color: #299BCC;
|
|
1336
1336
|
}
|
|
1337
1337
|
.curTimeDiv {
|
|
1338
1338
|
position: absolute;
|
|
@@ -1344,7 +1344,7 @@ export default {
|
|
|
1344
1344
|
width: 60px;
|
|
1345
1345
|
height: 19px;
|
|
1346
1346
|
color:#FFFFFF;
|
|
1347
|
-
background-color: #
|
|
1347
|
+
background-color: #299BCC;
|
|
1348
1348
|
}
|
|
1349
1349
|
}
|
|
1350
1350
|
.ring-first {
|
|
@@ -10,15 +10,15 @@
|
|
|
10
10
|
* See the Mulan PSL v2 for more details.
|
|
11
11
|
**/
|
|
12
12
|
<template>
|
|
13
|
-
<div class="cross-phase-dir">
|
|
14
|
-
<el-select v-model="
|
|
13
|
+
<div class="cross-phase-dir cross-phase-dir-select">
|
|
14
|
+
<el-select v-model="phaseId" style="width: 100%" clearable :placeholder="$t('openatccomponents.common.select')" :no-data-text="$t('openatccomponents.common.nodata')"
|
|
15
15
|
@change="handleSelect"
|
|
16
16
|
>
|
|
17
17
|
<el-option
|
|
18
18
|
v-for="(option, index) in phaseOption"
|
|
19
19
|
:key="index"
|
|
20
20
|
:label="option.phasedesc"
|
|
21
|
-
:value="option.
|
|
21
|
+
:value="option.phaseId"
|
|
22
22
|
>
|
|
23
23
|
<span>{{ option.phasedesc }}</span>
|
|
24
24
|
</el-option>
|
|
@@ -36,12 +36,15 @@ export default {
|
|
|
36
36
|
props: {
|
|
37
37
|
agentid: {
|
|
38
38
|
type: String
|
|
39
|
+
},
|
|
40
|
+
phaseid: {
|
|
41
|
+
type: String
|
|
39
42
|
}
|
|
40
43
|
},
|
|
41
44
|
data () {
|
|
42
45
|
return {
|
|
43
46
|
phaseOption: [],
|
|
44
|
-
|
|
47
|
+
phaseId: ''
|
|
45
48
|
}
|
|
46
49
|
},
|
|
47
50
|
mounted () {
|
|
@@ -71,11 +74,14 @@ export default {
|
|
|
71
74
|
this.$t('openatccomponents.overview.phase') +
|
|
72
75
|
ele.id + '-' +
|
|
73
76
|
this.getPhaseName(ele.direction).name,
|
|
74
|
-
|
|
77
|
+
phaseId: ele.id
|
|
75
78
|
}
|
|
76
79
|
})
|
|
77
80
|
console.log(options)
|
|
78
81
|
this.phaseOption = options
|
|
82
|
+
if (this.phaseid !== undefined) {
|
|
83
|
+
this.phaseId = this.phaseid
|
|
84
|
+
}
|
|
79
85
|
})
|
|
80
86
|
},
|
|
81
87
|
getName (status) {
|
|
@@ -108,7 +114,7 @@ export default {
|
|
|
108
114
|
return this.getName(status)
|
|
109
115
|
},
|
|
110
116
|
handleSelect (val) {
|
|
111
|
-
let phaseinfo = this.phaseOption.filter(ele => ele.
|
|
117
|
+
let phaseinfo = this.phaseOption.filter(ele => ele.phaseId === val)[0]
|
|
112
118
|
this.$emit('getSelectPhaseId', val)
|
|
113
119
|
this.$emit('getSelectPhaseInfo', phaseinfo)
|
|
114
120
|
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* See the Mulan PSL v2 for more details.
|
|
11
11
|
**/
|
|
12
12
|
<template>
|
|
13
|
-
<div class="cross-phase-dir">
|
|
13
|
+
<div class="cross-phase-dir cross-phase-dir-text">
|
|
14
14
|
<div v-for="phase in phaselist" :key="phase.id">
|
|
15
15
|
{{$t('openatccomponents.overview.phase')}}{{phase.id}} - {{phase.dirname}}
|
|
16
16
|
</div>
|
|
@@ -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,
|
|
@@ -234,10 +236,22 @@ export default {
|
|
|
234
236
|
|
|
235
237
|
}
|
|
236
238
|
lockPhase(submitdata).then(res => {
|
|
237
|
-
if (res.data.success
|
|
239
|
+
if (!res.data.success) {
|
|
240
|
+
if (res.data.code === '4002' && res.data.data.errorCode === '4209') {
|
|
241
|
+
let success = res.data.data.content.success
|
|
242
|
+
if (success !== 0) {
|
|
243
|
+
let errormsg = 'openatccomponents.overview.putTscControlError' + success
|
|
244
|
+
this.$message.error(this.$t(errormsg))
|
|
245
|
+
return
|
|
246
|
+
}
|
|
247
|
+
}
|
|
238
248
|
this.$message.error(getMessageByCode(res.data.code, this.$i18n.locale))
|
|
249
|
+
return
|
|
239
250
|
}
|
|
240
251
|
this.$alert(this.$t('openatccomponents.common.download'), { type: 'success' })
|
|
252
|
+
// if (res.data.success !== true) {
|
|
253
|
+
// this.$message.error(getMessageByCode(res.data.code, this.$i18n.locale))
|
|
254
|
+
// }
|
|
241
255
|
})
|
|
242
256
|
}
|
|
243
257
|
}
|
|
@@ -233,8 +233,8 @@ export default {
|
|
|
233
233
|
box-sizing: border-box;
|
|
234
234
|
}
|
|
235
235
|
.el-button--primary:hover, .el-button--primary:focus{
|
|
236
|
-
background: #
|
|
237
|
-
border-color: #
|
|
236
|
+
background: #299BCC;
|
|
237
|
+
border-color: #299BCC;
|
|
238
238
|
// color: #FFFFFF;
|
|
239
239
|
}
|
|
240
240
|
</style>
|