openatc-components 0.2.36 → 0.2.38

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.
Files changed (23) hide show
  1. package/package/kisscomps/components/DirectionListConfiguration/DirectionListConfiguration.vue +49 -49
  2. package/package/kisscomps/components/IntersectionDirectionSelection/IntersectionDirectionSelection.vue +39 -8
  3. package/package/kisscomps/components/PatternStatus/PatternStatus.vue +1 -1
  4. package/package/kisscomps/components/SchemeConfig/manualControlModal/index.vue +1 -1
  5. package/package/kisscomps/components/SchemeConfig/tentativeplancontrolmodal/index.vue +26 -17
  6. package/package/kisscomps/components/XRDDirSelector/XRDDirSelector.vue +1 -0
  7. package/package/kisscomps/components/patternConfig/pattern/patternTable.vue +73 -13
  8. package/package/kisscomps/components/patternConfig/planContent.vue +3 -0
  9. package/package/kissui.min.js +1 -1
  10. package/package.json +2 -2
  11. package/src/i18n/language/en.js +1 -0
  12. package/src/i18n/language/zh.js +1 -0
  13. package/src/kisscomps/components/DirectionListConfiguration/DirectionListConfiguration.vue +49 -49
  14. package/src/kisscomps/components/IntersectionDirectionSelection/IntersectionDirectionSelection.vue +39 -8
  15. package/src/kisscomps/components/PatternStatus/PatternStatus.vue +1 -1
  16. package/src/kisscomps/components/SchemeConfig/manualControlModal/index.vue +1 -1
  17. package/src/kisscomps/components/SchemeConfig/tentativeplancontrolmodal/index.vue +26 -17
  18. package/src/kisscomps/components/XRDDirSelector/XRDDirSelector.vue +1 -0
  19. package/src/kisscomps/components/patternConfig/pattern/patternTable.vue +73 -13
  20. package/src/kisscomps/components/patternConfig/planContent.vue +3 -0
  21. package/src/views/intersection.vue +11 -5
  22. package/src/views/patternConfig.vue +7 -970
  23. package/src/views/schemeconfig.vue +50 -19
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openatc-components",
3
- "version": "0.2.36",
3
+ "version": "0.2.38",
4
4
  "description": "A Vue.js project",
5
5
  "author": "openatc developer",
6
6
  "private": false,
@@ -124,4 +124,4 @@
124
124
  "test": "test"
125
125
  },
126
126
  "license": "ISC"
127
- }
127
+ }
@@ -213,6 +213,7 @@ const en = {
213
213
  'modelList22': 'Priority Control',
214
214
  'modelList23': 'Close Phase',
215
215
  'modelList100': 'Tentative Plan',
216
+ 'modelList101': 'Direction Lock',
216
217
  'modelList24': 'Priority Control',
217
218
  'modelList25': 'Azimuth locking',
218
219
  'controlType201': 'Scheme Update Frequency',
@@ -266,6 +266,7 @@ const zh = {
266
266
  'modelList25': '方位锁定',
267
267
  'modelList23': '相位放行控制',
268
268
  'modelList100': '临时方案',
269
+ 'modelList101': '方向锁定',
269
270
  'modelList24': '优先控制',
270
271
  'modelList99': '设备维护',
271
272
  'controlType201': '方案更新频次',
@@ -47,7 +47,7 @@
47
47
  import xdrdirselector from '../XRDDirSelector/XRDDirSelector'
48
48
  import { uploadSingleTscParam } from '../../../api/param.js'
49
49
  import { getMessageByCode } from '../../../utils/responseMessage.js'
50
- import { getIntersectionInfo } from '../../../api/template.js'
50
+ // import { getIntersectionInfo } from '../../../api/template.js'
51
51
  import CrossDiagramMgr from '../../../EdgeMgr/controller/crossDiagramMgr.js'
52
52
  import PhaseDataModel from '../IntersectionMap/crossDirection/utils.js'
53
53
  // import { getTheme } from '../../../utils/auth'
@@ -100,57 +100,57 @@ export default {
100
100
  }
101
101
  },
102
102
  methods: {
103
- init () {
103
+ init (IntersectionInfo) {
104
104
  this.CrossDiagramMgr = new CrossDiagramMgr()
105
105
  this.PhaseDataModel = new PhaseDataModel(this.roadDirection)
106
- this.getIntersectionInfo() // 获取路口信息
106
+ this.getIntersectionInfo(IntersectionInfo) // 获取路口信息
107
107
  },
108
- getIntersectionInfo () {
108
+ getIntersectionInfo (res) {
109
109
  // 获取路口信息
110
- const agentid = this.agentId || '0'
111
- getIntersectionInfo(agentid).then(res => {
112
- if (!res.data.success) {
113
- this.isLoaded = false
114
- let commomMsg = this.$t('openatccomponents.overview.signalID') + ' : ' + agentid
115
- let msg = getMessageByCode(res.data.code, this.$i18n.locale)
116
- if (res.data.data) {
117
- // 子类型错误
118
- let childErrorCode = res.data.data.errorCode
119
- if (childErrorCode) {
120
- let childerror = getMessageByCode(res.data.data.errorCode, this.$i18n.locale)
121
- msg = msg + ' - ' + childerror
122
- }
123
- }
124
- msg = msg + ' - ' + commomMsg
125
- this.$message.error(msg)
126
- return
127
- }
128
- this.tempType = res.data.data.type
129
- // 获取车道相位、行人相位信息(坐标、名称)
130
- this.mainType = this.tempType.split('-')[0]
131
- this.mainDirection = this.tempType.split('-')[1]
132
- if (!this.isThirdSignal) {
133
- // 可点击模式下,非第三方设备,按通道显示相位方向
134
- this.getChannelInfo()
135
- return
136
- }
137
- this.crossInfo = res.data.data.param
138
- // 城市道路加载车道相位坐标和人行道坐标
139
- this.getPhasePos()
140
- this.getOverlapPhasePos()
141
- this.getPedPhasePos()
142
- this.getOverlapPedPhasePos()
143
- if (this.isThirdSignal) {
144
- // 第三方设备,按相位方向显示相位方向
145
- this.compLanePhaseData = this.CrossDiagramMgr.compare(this.LanePhaseData, this.overlapLanePhaseData, 'type', 'nostatus')
146
- this.compSidewalkPhaseData = this.CrossDiagramMgr.compare(this.sidewalkPhaseData, this.overlapsidewalkPhaseData, 'pedtype', 'nostatus')
147
- let allDir = this.compLanePhaseData.map(ele => ele.id)
148
- let allPedDir = this.compSidewalkPhaseData.map(ele => ele.id)
149
- this.inneChoosedDirection = this.choosedDirection.filter(dir => allDir.indexOf(dir) !== -1)
150
- this.inneChoosedPedDirection = this.choosedPedDirection.filter(dir => allPedDir.indexOf(dir) !== -1)
151
- this.drawPhaseIcon()
152
- }
153
- })
110
+ // const agentid = this.agentId || '0'
111
+ // getIntersectionInfo(agentid).then(res => {
112
+ // if (!res.data.success) {
113
+ // this.isLoaded = false
114
+ // let commomMsg = this.$t('openatccomponents.overview.signalID') + ' : ' + agentid
115
+ // let msg = getMessageByCode(res.data.code, this.$i18n.locale)
116
+ // if (res.data.data) {
117
+ // // 子类型错误
118
+ // let childErrorCode = res.data.data.errorCode
119
+ // if (childErrorCode) {
120
+ // let childerror = getMessageByCode(res.data.data.errorCode, this.$i18n.locale)
121
+ // msg = msg + ' - ' + childerror
122
+ // }
123
+ // }
124
+ // msg = msg + ' - ' + commomMsg
125
+ // this.$message.error(msg)
126
+ // return
127
+ // }
128
+ this.tempType = res.data.data.type
129
+ // 获取车道相位、行人相位信息(坐标、名称)
130
+ this.mainType = this.tempType.split('-')[0]
131
+ this.mainDirection = this.tempType.split('-')[1]
132
+ if (!this.isThirdSignal) {
133
+ // 可点击模式下,非第三方设备,按通道显示相位方向
134
+ this.getChannelInfo()
135
+ return
136
+ }
137
+ this.crossInfo = res.data.data.param
138
+ // 城市道路加载车道相位坐标和人行道坐标
139
+ this.getPhasePos()
140
+ this.getOverlapPhasePos()
141
+ this.getPedPhasePos()
142
+ this.getOverlapPedPhasePos()
143
+ if (this.isThirdSignal) {
144
+ // 第三方设备,按相位方向显示相位方向
145
+ this.compLanePhaseData = this.CrossDiagramMgr.compare(this.LanePhaseData, this.overlapLanePhaseData, 'type', 'nostatus')
146
+ this.compSidewalkPhaseData = this.CrossDiagramMgr.compare(this.sidewalkPhaseData, this.overlapsidewalkPhaseData, 'pedtype', 'nostatus')
147
+ let allDir = this.compLanePhaseData.map(ele => ele.id)
148
+ let allPedDir = this.compSidewalkPhaseData.map(ele => ele.id)
149
+ this.inneChoosedDirection = this.choosedDirection.filter(dir => allDir.indexOf(dir) !== -1)
150
+ this.inneChoosedPedDirection = this.choosedPedDirection.filter(dir => allPedDir.indexOf(dir) !== -1)
151
+ this.drawPhaseIcon()
152
+ }
153
+ // })
154
154
  },
155
155
  getPhasePos () {
156
156
  // 车道相位信息
@@ -448,7 +448,7 @@ export default {
448
448
  }
449
449
  },
450
450
  mounted () {
451
- this.init()
451
+ // this.init()
452
452
  }
453
453
  }
454
454
  </script>
@@ -1,19 +1,20 @@
1
1
  <template>
2
- <div class="intersection-direction-selection">
2
+ <div class="intersection-direction-selection" v-if="isSpecialIntersection !== undefined">
3
3
  <intersection-base-map
4
- v-if="!isSpecialIntersection"
4
+ v-if="!isSpecialIntersection && reset"
5
5
  ref="intersectionMap2"
6
6
  :crossStatusData="crossStatusData"
7
7
  :agentId="agentId"
8
8
  isVipRoute
9
- clickMode
9
+ :clickMode="clickMode"
10
10
  :isThirdSignal="isThirdSignal"
11
11
  :choosedDirection="choosedDirection"
12
12
  :choosedPedDirection="choosedPedDirection"
13
13
  :roadDirection="roadDirection"
14
14
  @handleClickCrossIcon="handleClickCrossIcon" />
15
15
  <direction-list-configuration
16
- v-if="isSpecialIntersection"
16
+ v-if="isSpecialIntersection && clickMode && reset"
17
+ ref="listConfiguration"
17
18
  :agentId="agentId"
18
19
  :isThirdSignal="isThirdSignal"
19
20
  :choosedDirection="choosedDirection"
@@ -34,8 +35,9 @@ export default {
34
35
  data () {
35
36
  return {
36
37
  crossStatusData: {},
37
- isSpecialIntersection: false,
38
- isThirdSignal: false
38
+ isSpecialIntersection: undefined,
39
+ isThirdSignal: false,
40
+ reset: true
39
41
  }
40
42
  },
41
43
  props: {
@@ -55,6 +57,23 @@ export default {
55
57
  },
56
58
  thirdSignal: { // 是否是第三方平台(可以直接传,也可以内部接口判断)
57
59
  type: Boolean
60
+ },
61
+ clickMode: {
62
+ type: Boolean,
63
+ default: true
64
+ }
65
+ },
66
+ watch: {
67
+ agentId: {
68
+ handler: function (val, oldVal) {
69
+ if (val) {
70
+ this.reset = false
71
+ this.$nextTick(() => {
72
+ this.reset = true
73
+ this.initSelection()
74
+ })
75
+ }
76
+ }
58
77
  }
59
78
  },
60
79
  methods: {
@@ -87,6 +106,11 @@ export default {
87
106
  this.mainType = this.tempType.split('-')[0]
88
107
  if (this.mainType === '999') {
89
108
  this.isSpecialIntersection = true
109
+ if (this.clickMode) {
110
+ this.$nextTick(() => {
111
+ this.$refs.listConfiguration.init(res)
112
+ })
113
+ }
90
114
  } else {
91
115
  this.isSpecialIntersection = false
92
116
  }
@@ -113,15 +137,22 @@ export default {
113
137
  },
114
138
  handleClickCrossIcon (allChoosedDir, curClickedPhase) {
115
139
  this.$emit('handleClickCrossIcon', allChoosedDir, curClickedPhase)
140
+ },
141
+ initSelection () {
142
+ this.getIntersectionInfo()
143
+ this.getPlatform()
116
144
  }
117
145
  },
118
146
  mounted () {
119
- this.getIntersectionInfo()
120
- this.getPlatform()
147
+ this.initSelection()
121
148
  },
122
149
  destroyed () {
123
150
  }
124
151
  }
125
152
  </script>
126
153
  <style lang='scss'>
154
+ .intersection-direction-selection {
155
+ width: 100%;
156
+ height: 100%
157
+ }
127
158
  </style>
@@ -433,7 +433,7 @@ export default {
433
433
  getStage () {
434
434
  if (!this.stagesChange) return
435
435
  const globalParamModel = this.$store.getters.globalParamModel
436
- let pattern = globalParamModel ? globalParamModel.getParamsByType('patternList') : this.allPatternList
436
+ let pattern = this.allPatternList ? this.allPatternList : globalParamModel.getParamsByType('patternList')
437
437
  let mapAdd = pattern.map(item => item.stagesList).map(item => {
438
438
  return item.map(val => {
439
439
  return val.stageSplit ? val.stageSplit : val.split
@@ -60,7 +60,7 @@
60
60
  </div>
61
61
  <div class="stage-label">{{$t('openatccomponents.overview.stage')}}:</div>
62
62
  <div style="width: 100%; height: auto;overflow: hidden;" v-if="isHasPermission('configer:manual:dwell')">
63
- <Stages :crossStatusData="manuals?manualsStage:realtimeStage"
63
+ <Stages :crossStatusData="crossStatusData"
64
64
  :phaseList="phaseList"
65
65
  :preselectStages="preselectStages"
66
66
  :preselectModel="preselectModel"
@@ -93,12 +93,9 @@
93
93
  </el-col>
94
94
  </el-row>
95
95
  <el-row>
96
- <el-radio
97
- v-model="isRing"
98
- :label="false"
99
- @change="changeRing"
100
- >{{ $t('openatccomponents.common.ringStyle') }}</el-radio
101
- >
96
+ <el-radio v-model="isRing" :label="false" @change="changeRing">{{
97
+ $t('openatccomponents.common.ringStyle')
98
+ }}</el-radio>
102
99
  <el-radio v-model="isRing" :label="true" @change="changeStage">{{
103
100
  $t('openatccomponents.common.stageStyle')
104
101
  }}</el-radio>
@@ -130,11 +127,11 @@
130
127
  </pattern-list>
131
128
  </el-row>
132
129
  <el-row>
133
- <el-tabs v-model="activeList" type="card">
130
+ <el-tabs v-model="activeTab" type="card">
134
131
  <el-tab-pane
135
132
  v-if="!isRing"
136
133
  :label="$t('openatccomponents.pattern.ringConfig')"
137
- name="ring"
134
+ name="kanban"
138
135
  >
139
136
  <div style="width: 100%; overflow: hidden; margin-top: 20px">
140
137
  <kan-ban
@@ -280,14 +277,14 @@
280
277
  <el-row :gutter="20">
281
278
  <el-col :span="24">
282
279
  <over-lap
283
- :stageList="stagesList"
284
- :overlap="overlap"
285
- :checked="true"
286
- :tentative="true"
287
- :cycleChange="false"
288
- :cycle="overLapCycle"
289
- >
290
- </over-lap>
280
+ :stageList="stagesList"
281
+ :overlap="overlap"
282
+ :checked="true"
283
+ :tentative="true"
284
+ :cycleChange="false"
285
+ :cycle="overLapCycle"
286
+ >
287
+ </over-lap>
291
288
  </el-col>
292
289
  </el-row>
293
290
  </el-tab-pane>
@@ -364,7 +361,15 @@ export default {
364
361
  type: Array
365
362
  }
366
363
  },
364
+ watch: {
365
+ isRing (newVal) {
366
+ this.activeTab = newVal ? 'ring' : 'kanban'
367
+ }
368
+ },
367
369
  computed: {
370
+ computedActiveTab () {
371
+ return this.isRing ? 'ring' : 'kanban'
372
+ },
368
373
  rings () {
369
374
  return this.patternOne.length === 0 ? this.planPattern.rings : this.patternOne[0].rings
370
375
  },
@@ -396,7 +401,8 @@ export default {
396
401
  max: '',
397
402
  contrloType: '',
398
403
  patternCycleEqual: true,
399
- activeList: 'ring',
404
+ // activeList: 'ring',
405
+ activeTab: 'kanban',
400
406
  isRing: false,
401
407
  // isChange: false,
402
408
  ringCount: 1,
@@ -1166,6 +1172,9 @@ export default {
1166
1172
  } else {
1167
1173
  submitdata.data.cycle = this.getMaxCycle(this.patternOne[0])
1168
1174
  }
1175
+ this.patternOne[0].stagesList.forEach((stage) => {
1176
+ delete stage.split
1177
+ })
1169
1178
  submitdata.data.stagesList = this.patternOne[0].stagesList
1170
1179
  }
1171
1180
  submitdata.data.offset = this.offset
@@ -1034,6 +1034,7 @@ 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
+ this.peoplestatus[j].color = showlist[0].peddirection[i].color
1037
1038
  }
1038
1039
  }
1039
1040
  }
@@ -80,9 +80,33 @@
80
80
  :patternStatusList="scope.row.rings"
81
81
  :cycles="scope.row.cycle"
82
82
  :phaseList="scope.row.currPhase"
83
+ :contrloType="getControlType(scope.row)"
83
84
  >
84
85
  </pattern-list>
85
- </div>
86
+ <!-- <pattern-list
87
+ v-if="getControlType(scope.row) === 'ring'"
88
+ :patternStatusList="scope.row.rings"
89
+ :cycles="scope.row.cycle"
90
+ :phaseList="scope.row.currPhase"
91
+ :contrloType="getControlType(scope.row)"
92
+ >
93
+ </pattern-list>
94
+ <pattern-list
95
+ v-else
96
+ :patternId="scope.row.patternid"
97
+ :contrloType="getControlType(scope.row)"
98
+ :index="scope.$index"
99
+ :cycleChange="true"
100
+ :stagesChange="getSelectedPattern(scope.row).stagesList"
101
+ :patternStatusList="getSelectedPattern(scope.row).rings"
102
+ :patternList="scope.row.allPatterns"
103
+ :allPatternList="scope.row.allPatterns"
104
+ :cycles="scope.row.cycle"
105
+ :phaseList="scope.row.currPhase"
106
+ :agentId="scope.row.agentid"
107
+ :showBarrier="false">
108
+ </pattern-list> -->
109
+ </div>
86
110
  </template>
87
111
  </el-table-column>
88
112
  </el-table>
@@ -91,7 +115,8 @@
91
115
 
92
116
  <script>
93
117
  import XiaoKanBan from '../../XiaoKanBan'
94
- import { getPatternList } from '../../../../api/route'
118
+ // import { getPatternList } from '../../../../api/route'
119
+ import { getIntersectionInfo } from '../../../../api/template'
95
120
  import { getMessageByCode } from '../../../../utils/responseMessage'
96
121
  // import { getDirName } from '../../../components/SelectCrossPhase/utils.js'
97
122
  export default {
@@ -114,6 +139,7 @@ export default {
114
139
  },
115
140
  data () {
116
141
  return {
142
+ controlType: 'stage',
117
143
  loading: true,
118
144
  tableHeight: 460,
119
145
  screenHeight: window.innerHeight, // 屏幕高度
@@ -179,6 +205,9 @@ export default {
179
205
  let currPattern
180
206
  if (Array.isArray(currPatternList)) {
181
207
  currPattern = currPatternList.filter(cpl => cpl.id === patternId)[0]
208
+ if (!currPattern) {
209
+ currPattern = currPatternList[0]
210
+ }
182
211
  } else {
183
212
  currPattern = currPatternList
184
213
  }
@@ -292,28 +321,59 @@ export default {
292
321
  }
293
322
  return res
294
323
  },
324
+ getControlType (row) {
325
+ let contrloType = 'ring'
326
+ let allPatternList = row.feature && row.feature.patternList ? row.feature.patternList : row.allPatterns
327
+ if (
328
+ !allPatternList[0].contrloType &&
329
+ allPatternList[0].rings.length > 0
330
+ ) {
331
+ contrloType = 'ring'
332
+ } else if (
333
+ !allPatternList[0].contrloType &&
334
+ allPatternList[0].rings.length === 0
335
+ ) {
336
+ contrloType = 'stage'
337
+ } else {
338
+ contrloType = allPatternList[0].contrloType
339
+ }
340
+ let res = contrloType
341
+ return res
342
+ },
343
+ getSelectedPattern (row) {
344
+ let res = []
345
+ let patternList = row.feature && row.feature.patternList ? row.feature.patternList : row.allPatterns
346
+ let pattern = patternList.find(item => item.id === row.patternid)
347
+ if (pattern) {
348
+ res = pattern
349
+ }
350
+ return res
351
+ },
295
352
  getCurPattern (agentid) {
296
353
  // 获取当前设备所有可选方案
297
354
  this.loading = true
298
355
  let _this = this
299
- // let patterns = this.newPatternList.filter(item => item.agentid === agentid)[0]
300
- // if (patterns.allPatterns && patterns.allPatterns.length > 0) {
301
- // patterns.allPatterns = patterns.allPatterns
302
- // return false
303
- // }
304
- getPatternList(agentid).then(res => {
356
+ getIntersectionInfo(agentid).then(res => {
305
357
  this.loading = false
306
358
  if (!res.data.success) {
307
- if (res.data.code === '4003') {
308
- this.$message.error(this.$t('openatc.common.devicenotonline'))
309
- return
359
+ let commomMsg = this.$t('openatccomponents.overview.signalID') + ' : ' + agentid
360
+ let msg = getMessageByCode(res.data.code, this.$i18n.locale)
361
+ if (res.data.data) {
362
+ // 子类型错误
363
+ let childErrorCode = res.data.data.errorCode
364
+ if (childErrorCode) {
365
+ let childerror = getMessageByCode(res.data.data.errorCode, this.$i18n.locale)
366
+ msg = msg + ' - ' + childerror
367
+ }
310
368
  }
311
- this.$message.error(getMessageByCode(res.data.code, this.$i18n.locale))
369
+ msg = msg + ' - ' + commomMsg
370
+ this.$message.error(msg)
312
371
  return
313
372
  }
373
+ let allPatternList = res.data.data.param.patternList
314
374
  _this.newPatternList.forEach(ele => {
315
375
  if (ele.agentid === agentid) {
316
- ele.allPatterns = res.data.data.data.patternList.map(ele => {
376
+ ele.allPatterns = allPatternList.map(ele => {
317
377
  return {
318
378
  ...ele,
319
379
  patternid: ele.id,
@@ -170,6 +170,9 @@ export default {
170
170
  let currPattern
171
171
  if (Array.isArray(currPatternList)) {
172
172
  currPattern = currPatternList.filter(cpl => cpl.id === patternId)[0]
173
+ if (!currPattern) {
174
+ currPattern = currPatternList[0]
175
+ }
173
176
  } else {
174
177
  currPattern = currPatternList
175
178
  }
@@ -9,13 +9,19 @@
9
9
 
10
10
  <!-- 显示按通道获取相位的模版路口图 -->
11
11
  <h2 class="text">显示配置的相位路口图</h2>
12
- <intersection-base-map
12
+ <!-- <intersection-base-map
13
13
  ref="intersectionMap"
14
14
  :crossStatusData="crossStatusData"
15
- agentId="bclgkxl"
15
+ agentId="tjblsxl-ticp6"
16
16
  isVipRoute
17
17
  :choosedDirection="[1,2,3]"
18
18
  :choosedPedDirection="[3,4]"
19
+ :roadDirection="roadDirection" /> -->
20
+ <intersection-direction-selection
21
+ :agentId="this.agentId"
22
+ :clickMode="false"
23
+ :choosedDirection="[14,6,13,8]"
24
+ :choosedPedDirection="[1]"
19
25
  :roadDirection="roadDirection" />
20
26
 
21
27
  <!-- 按通道获取相位的方向选择列表,特殊路口显示列表,普通路口显示模版路口图 -->
@@ -131,14 +137,14 @@ export default {
131
137
  name: 'demo',
132
138
  data () {
133
139
  return {
134
- roadDirection: 'left',
140
+ roadDirection: 'right',
135
141
  // reqUrl: 'http://192.168.13.103:10003/openatc',
136
- agentId: 'bclgkxl',
142
+ agentId: 'tjblsxl-ticp6',
137
143
  // agentId: '13013',
138
144
  // agentId: '12007_390',
139
145
  // agentId: '12014',
140
146
  reqUrl: 'http://192.168.13.103:10003/openatc',
141
- Token: 'eyJraWQiOiIxNzEwNzU4MTU3Njk0IiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiIxMjM0NTYiLCJleHAiOjE3MTM4ODgwMDAsImlhdCI6MTcxMDY5MTIwMH0.vicLABPjoZEWmHr12-5FXMbjYmEKv-WSTVRROR1eOME',
147
+ Token: 'eyJraWQiOiIxNzE0MDk1MjUwNTU5IiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTcxNDEzODQ1MCwiaWF0IjoxNzE0MDk1MjUwfQ.17SP6vzbImSV2jy_LC10xQaH7z4aXWvg3yc2bUFLYvE',
142
148
  // agentId: '30003-352',
143
149
  // reqUrl: 'https://kints-dev.devdolphin.com/openatc',
144
150
  // Token: 'eyJraWQiOiIxNjUwNTA5MDI2ODk2IiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJ4aWFvbWluZyIsImV4cCI6MTczNjkwOTAyNiwiaWF0IjoxNjUwNTA5MDI2fQ.-s4T-uMRmB2zf9yer87USKQXLY1a12Zq5lCOnqjNmfA',