openatc-components 0.1.113 → 0.1.115
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/PhaseDirectionText/PhaseDirectionText.vue +1 -0
- 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/PhaseDirectionText/PhaseDirectionText.vue +1 -0
- 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/package.json
CHANGED
|
@@ -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 {
|
|
@@ -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>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
|
@@ -183,7 +183,6 @@ export default class RingDataModel {
|
|
|
183
183
|
}
|
|
184
184
|
getStageData () {
|
|
185
185
|
let data = this.crossStatusData
|
|
186
|
-
console.log(data, 'data')
|
|
187
186
|
let stagesTemp = []
|
|
188
187
|
let busPhaseData = this.getBusPos()
|
|
189
188
|
let sidewalkPhaseData = this.getPedPhasePos()
|
|
@@ -194,11 +193,12 @@ export default class RingDataModel {
|
|
|
194
193
|
let stageControType = 0
|
|
195
194
|
let peddirections = []
|
|
196
195
|
for (let stg of stage) {
|
|
196
|
+
let phaseMode = data.phase.filter(item => item.id === stg)
|
|
197
197
|
let currPhase = this.phaseList.filter((item) => {
|
|
198
198
|
return item.id === stg
|
|
199
199
|
})[0]
|
|
200
200
|
if (!currPhase) return
|
|
201
|
-
if (currPhase !== undefined) {
|
|
201
|
+
if (currPhase !== undefined && phaseMode[0].mode !== 1) {
|
|
202
202
|
directionList = [...currPhase.direction, ...directionList]
|
|
203
203
|
}
|
|
204
204
|
if (currPhase.peddirection) {
|
|
@@ -11,19 +11,19 @@
|
|
|
11
11
|
**/
|
|
12
12
|
/* 改变主题色变量 */
|
|
13
13
|
// $--color-black: #f7f8fa;
|
|
14
|
-
$--color-primary: #
|
|
15
|
-
$--color-white: #
|
|
16
|
-
$--color-black: #
|
|
17
|
-
$--background-color-base: #
|
|
14
|
+
$--color-primary: #299BCC;
|
|
15
|
+
$--color-white: #102C4E;
|
|
16
|
+
$--color-black: #243D59;
|
|
17
|
+
$--background-color-base: #0C2137;
|
|
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: #
|
|
24
|
-
$--border-color-light: #
|
|
25
|
-
$--border-color-lighter: #
|
|
26
|
-
$--border-color-extra-light:#
|
|
23
|
+
$--border-color-base: #243D59;
|
|
24
|
+
$--border-color-light: #61697B;
|
|
25
|
+
$--border-color-lighter: #243D59;
|
|
26
|
+
$--border-color-extra-light:#243D59;
|
|
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;
|