openatc-components 0.3.83 → 0.3.85

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 (47) hide show
  1. package/config/index.js +2 -1
  2. package/package/kisscomps/components/BoardCard/BoardCard.vue +0 -11
  3. package/package/kisscomps/components/ChannelizationWithInterface/ChannelizationWithInterface.vue +1 -1
  4. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/motorwayIconSvg.vue +145 -46
  5. package/package/kisscomps/components/DrawChannelization/drawsvg/index.draw.vue +4 -4
  6. package/package/kisscomps/components/IntersectionMap/crossDirection/crossDiagram.vue +10 -11
  7. package/package/kisscomps/components/IntersectionMap/intersectionmap.vue +7 -11
  8. package/package/kisscomps/components/IntersectionWithInterface/IntersectionWithInterface.vue +6 -5
  9. package/package/kisscomps/components/PatternOptimize/PatternOptimize.vue +2 -11
  10. package/package/kisscomps/components/PatternStatus/PatternStatus.vue +8 -83
  11. package/package/kisscomps/components/SchemeConfig/SchemeConfig.vue +4 -28
  12. package/package/kisscomps/components/SchemeConfig/lockingPhaselControlModal/index.vue +11 -9
  13. package/package/kisscomps/components/SchemeConfig/realtimeStatusModal/index.vue +1 -21
  14. package/package/kisscomps/components/patternConfig/planContent.vue +3 -3
  15. package/package/kisscomps/components/patternList/patternList.vue +0 -11
  16. package/package/kisscomps/index.js +1 -3
  17. package/package/kissui.min.js +1 -1
  18. package/package.json +1 -1
  19. package/src/i18n/language/en.js +2 -11
  20. package/src/i18n/language/zh.js +2 -11
  21. package/src/kisscomps/components/BoardCard/BoardCard.vue +0 -11
  22. package/src/kisscomps/components/ChannelizationWithInterface/ChannelizationWithInterface.vue +1 -1
  23. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/motorwayIconSvg.vue +145 -46
  24. package/src/kisscomps/components/DrawChannelization/drawsvg/index.draw.vue +4 -4
  25. package/src/kisscomps/components/IntersectionMap/crossDirection/crossDiagram.vue +10 -11
  26. package/src/kisscomps/components/IntersectionMap/intersectionmap.vue +7 -11
  27. package/src/kisscomps/components/IntersectionWithInterface/IntersectionWithInterface.vue +6 -5
  28. package/src/kisscomps/components/PatternOptimize/PatternOptimize.vue +2 -11
  29. package/src/kisscomps/components/PatternStatus/PatternStatus.vue +8 -83
  30. package/src/kisscomps/components/SchemeConfig/SchemeConfig.vue +4 -28
  31. package/src/kisscomps/components/SchemeConfig/lockingPhaselControlModal/index.vue +11 -9
  32. package/src/kisscomps/components/SchemeConfig/realtimeStatusModal/index.vue +1 -21
  33. package/src/kisscomps/components/patternConfig/planContent.vue +3 -3
  34. package/src/kisscomps/components/patternList/patternList.vue +0 -11
  35. package/src/kisscomps/index.js +1 -3
  36. package/src/views/intersection.vue +6 -7
  37. package/src/views/intersection2.vue +2 -2
  38. package/src/views/overView.vue +4 -17
  39. package/src/views/patternConfig.vue +35 -5
  40. package/static/styles/common.scss +3 -3
  41. package/static/styles/dark/theme/element-dark.scss +1 -1
  42. package/static/styles/intersection.scss +15 -5
  43. package/static/styles/light/theme/element-light.scss +1 -1
  44. package/static/styles/schemeconfig.scss +3 -6
  45. package/src/kisscomps/components/OverviewComponent/index.js +0 -2
  46. package/src/kisscomps/components/OverviewComponent/index.vue +0 -793
  47. package/static/styles/theme/element-dark.scss +0 -0
@@ -212,8 +212,8 @@ export default {
212
212
  Detector: [], // 管理所有检测器
213
213
  DetectorChart: [], // 管理所有检测器统计图
214
214
  motorwayicon: '',
215
- IconLengh: 33,
216
- IconWdith: 109,
215
+ IconLengh: 60,
216
+ IconWdith: 134,
217
217
  textareaW: 200,
218
218
  textareaH: 100,
219
219
  pedW: 206,
@@ -389,8 +389,8 @@ export default {
389
389
  h: this.IconWdith,
390
390
  angle: 0
391
391
  }
392
- this.IconLengh = 33
393
- this.IconWdith = 109
392
+ this.IconLengh = 60
393
+ this.IconWdith = 134
394
394
  let Motorwaysitem = {
395
395
  index: this.index,
396
396
  id: this.motorid,
@@ -306,20 +306,19 @@ export default {
306
306
  this.handleDefaultStatus()
307
307
  }
308
308
  },
309
- // roadDirection: {
310
- // handler: function (val1, val2) {
311
- // if (val1 !== val2) {
312
- // this.init()
313
- // }
314
- // }
315
- // },
309
+ roadDirection: {
310
+ handler: function (val1, val2) {
311
+ if (val1 !== val2) {
312
+ this.init()
313
+ }
314
+ }
315
+ },
316
316
  agentId: {
317
317
  handler: function (val1, val2) {
318
318
  if (val1 !== val2) {
319
319
  this.init()
320
320
  }
321
- },
322
- immediate: true
321
+ }
323
322
  }
324
323
  },
325
324
  data () {
@@ -703,7 +702,7 @@ export default {
703
702
  },
704
703
  getIntersectionInfo () {
705
704
  // 获取路口信息
706
- const agentid = this.agentId
705
+ const agentid = this.agentId || '0'
707
706
  getIntersectionInfo(agentid).then(res => {
708
707
  if (!res.data.success) {
709
708
  this.isLoaded = false
@@ -1314,7 +1313,7 @@ export default {
1314
1313
  }
1315
1314
  },
1316
1315
  mounted () {
1317
- // this.init()
1316
+ this.init()
1318
1317
  }
1319
1318
  }
1320
1319
  </script>
@@ -74,7 +74,8 @@ export default {
74
74
  // default: 0
75
75
  // },
76
76
  agentId: {
77
- type: String
77
+ type: String,
78
+ default: '0'
78
79
  },
79
80
  graphicMode: {
80
81
  type: Boolean,
@@ -134,7 +135,7 @@ export default {
134
135
  watch: {
135
136
  $route: {
136
137
  handler: function (val, oldVal) {
137
- if (val.query !== undefined && val.query.agentid !== undefined) {
138
+ if (val.query !== undefined) {
138
139
  this.resetCrossDiagram()
139
140
  }
140
141
  },
@@ -154,23 +155,18 @@ export default {
154
155
  this.reset = true
155
156
  }
156
157
  }
157
- },
158
- agentId: {
159
- handler: function (val1, val2) {
160
- if (val1 !== val2 && val2 !== undefined) {
161
- this.resetCrossDiagram()
162
- }
163
- }
164
158
  }
165
159
  },
166
160
  created () {
167
- if (this.$route.query !== undefined && Object.keys(this.$route.query).length && this.$route.query.agentid !== undefined) {
161
+ if (this.$route.query !== undefined && Object.keys(this.$route.query).length) {
168
162
  this.resetCrossDiagram()
169
163
  }
170
164
  },
171
165
  mounted () {
172
166
  this.getParentSize()
173
- this.reset = true
167
+ if (this.isVipRoute || this.channelType) {
168
+ this.reset = true
169
+ }
174
170
  },
175
171
  updated () {
176
172
  },
@@ -59,7 +59,8 @@ export default {
59
59
  default: ''
60
60
  },
61
61
  AgentId: {
62
- type: String
62
+ type: String,
63
+ default: '0'
63
64
  },
64
65
  Token: {
65
66
  type: String,
@@ -92,12 +93,11 @@ export default {
92
93
  },
93
94
  watch: {
94
95
  AgentId: {
95
- handler: function (val) {
96
+ handler: function (val, oldVal) {
96
97
  this.agentId = val
97
98
  },
98
99
  // 深度观察监听
99
- deep: true,
100
- immediate: true
100
+ deep: true
101
101
  },
102
102
  Token: {
103
103
  handler: function (val) {
@@ -259,7 +259,7 @@ export default {
259
259
  })
260
260
  },
261
261
  firstInit () {
262
- if (this.$route.query !== undefined && Object.keys(this.$route.query).length && this.$route.query.agentid !== undefined) {
262
+ if (this.$route.query !== undefined && Object.keys(this.$route.query).length) {
263
263
  this.agentId = this.$route.query.agentid
264
264
  setIframdevid(this.agentId)
265
265
  this.registerMessage() // 注册消息
@@ -485,6 +485,7 @@ export default {
485
485
  }
486
486
  },
487
487
  created () {
488
+ this.agentId = this.AgentId
488
489
  this.setDialogWidth()
489
490
  this.setHost(this.reqUrl)
490
491
  this.controlFormat = new ControlFormat()
@@ -50,7 +50,7 @@
50
50
  <el-tooltip class="item" effect="dark" placement="left">
51
51
  <div slot="content">{{element.name}}</div>
52
52
  <div class="common-phase-description">
53
- <xdrdirselector Width="70px" Height="70px" Widths="58px" Heights="58px" :Datas="styles" :Data="showStyle" :showlist="element.desc" :ISActiveMask="ISActiveMask" :MaskColor="MaskColor"></xdrdirselector>
53
+ <xdrdirselector Width="70px" Height="70px" Widths="50px" Heights="50px" :Data="styles" :showlist="element.desc" :ISActiveMask="ISActiveMask" :MaskColor="MaskColor"></xdrdirselector>
54
54
  </div>
55
55
  </el-tooltip>
56
56
  </el-col>
@@ -79,13 +79,9 @@ export default {
79
79
  },
80
80
  data () {
81
81
  return {
82
- showStyle: {
83
- left: '2px',
84
- top: '0px'
85
- },
86
82
  styles: {
87
83
  left: '1px',
88
- top: '0px'
84
+ top: '0'
89
85
  },
90
86
  typeOptions: [{
91
87
  value: 'flow-split-opt'
@@ -101,9 +97,6 @@ export default {
101
97
  type: String,
102
98
  default: 'Header'
103
99
  },
104
- id: {
105
- type: Number
106
- },
107
100
  rings: {
108
101
  type: Object
109
102
  },
@@ -216,7 +209,6 @@ export default {
216
209
  }
217
210
  }
218
211
  }
219
- this.$emit('optimizesucess', this.id)
220
212
  }
221
213
  }).catch(error => {
222
214
  console.log(error)
@@ -240,7 +232,6 @@ export default {
240
232
  }
241
233
  }
242
234
  }
243
- this.$emit('optimizesucess', this.id)
244
235
  }
245
236
  }).catch(error => {
246
237
  console.log(error)
@@ -14,9 +14,8 @@
14
14
  <!-- 环模式true -->
15
15
  <div v-if="this.contrloType === 'ring' || !this.contrloType">
16
16
  <div class="ring-first" v-for="(list, index1) in patternInfo" :key="index1">
17
- <draggable :move="move" @end="endDrag(index1)" :disabled="isMove" :list="list">
18
- <div style="position: relative;" :style="{'height': '34px','float':'left','width':((item.split+(item.sum?item.sum:0)) / (max?max:item.cycle) * 100) + '%'}" v-for="(item,index2) in list" :key="index2" :class="item.mode===7?'direction': ''">
19
- <div class="first-1" :class="item.mode === 8 ? 'mask' : item.mode === 9 ? 'yellowClass' : ''" :style="{'width':Number(item.greenWidth.replace('%', ''))/Number((((item.split+(item.sum?item.sum:0)) / (max?max:item.cycle) * 100) + '%').replace('%', ''))*100+'%','height':'34px','background':'#7ccc66'}">
17
+ <div style="position: relative;" :style="{'height': '34px','float':'left','width':((item.split+(item.sum?item.sum:0)) / (max?max:item.cycle) * 100) + '%'}" v-for="(item,index2) in list" :key="index2" :class="item.mode===7?'direction': ''">
18
+ <div class="first-1" :class="item.mode === 8 ? 'mask' : item.mode === 9 ? 'yellowClass' : ''" :style="{'width':Number(item.greenWidth.replace('%', ''))/Number((((item.split+(item.sum?item.sum:0)) / (max?max:item.cycle) * 100) + '%').replace('%', ''))*100+'%','height':'34px','background':'#7ccc66'}">
20
19
  <el-tooltip placement="top-start" effect="light">
21
20
  <div slot="content">{{$t('openatccomponents.phase.phase')}}{{item.id}}:{{item.split}}</div>
22
21
  <div style="cursor:pointer;">
@@ -26,18 +25,7 @@
26
25
  </div>
27
26
  <div v-if="isShowTip" class="box" style="position: absolute; left:40px; width:40px; top: -1px;">
28
27
  <div class="ring-nums">{{$t('openatccomponents.phase.phase')}}{{item.id}}</div>
29
- <div v-if="isMove" class="ring-nums">{{item.split}}</div>
30
- <el-input-number
31
- v-if="!isMove"
32
- class="ring-nums"
33
- size="small"
34
- :controls="false"
35
- :min="0"
36
- :step="1"
37
- v-model.number="item.split"
38
- @change="handleEdit(item)"
39
- style="width: 24px"
40
- ></el-input-number>
28
+ <div class="ring-nums">{{item.split}}</div>
41
29
  </div>
42
30
  </div>
43
31
  </el-tooltip>
@@ -53,8 +41,7 @@
53
41
  <div class="first-1" :class="item.mode === 8 ? 'mask' : item.mode === 9 ? 'yellowClass' : ''" :style="{'width':Number(item.flashgreen.replace('%', ''))/Number((((item.split+(item.sum?item.sum:0)) / (max?max:item.cycle) * 100).toFixed(3) + '%').replace('%', ''))*100+'%','height':'34px','float':'left','background': 'linear-gradient(to right, #ffffff 50%, #7ccc66 0)','background-size': '4px 100%'}"></div>
54
42
  <div class="first-1" :class="item.mode === 8 ? 'mask' : item.mode === 9 ? 'yellowClass' : ''" :style="{'width':Number(item.yellowWidth.replace('%', ''))/Number((((item.split+(item.sum?item.sum:0)) / (max?max:item.cycle) * 100) + '%').replace('%', ''))*100+'%','height':'34px','background':'#f9dc6a'}"></div>
55
43
  <div class="first-1" :class="item.mode === 8 ? 'mask' : item.mode === 9 ? 'yellowClass' : ''" :style="{'width':Number(item.redWidth.replace('%', ''))/Number((((item.split+(item.sum?item.sum:0)) / (max?max:item.cycle) * 100).toFixed(3) + '%').replace('%', ''))*100+'%','height':'34px','background':'#f27979'}"></div>
56
- </div>
57
- </draggable>
44
+ </div>
58
45
  </div>
59
46
  <div v-if="showBarrier">
60
47
  <div v-for="(item, index) in barrierList" :key="index + '1'">
@@ -113,7 +100,6 @@
113
100
  <script>
114
101
  // import patternwalksvg from '../PatternWalkSvg/PatternWalkSvg'
115
102
  import xdrdirselector from '../XRDDirSelector/XRDDirSelector'
116
- import draggable from 'vuedraggable'
117
103
  // import PatternWalkSvg from '../IntersectionMap/crossDirection/baseImg/PatternWalkSvg'
118
104
  import PhaseDataModel from '../IntersectionMap/crossDirection/utils.js'
119
105
  import CrossDiagramMgr from '../../../EdgeMgr/controller/crossDiagramMgr.js'
@@ -121,7 +107,6 @@ export default {
121
107
  name: 'pattern-list',
122
108
  components: {
123
109
  // patternwalksvg,
124
- draggable,
125
110
  xdrdirselector
126
111
  },
127
112
  data () {
@@ -129,7 +114,6 @@ export default {
129
114
  barrierHeight: '',
130
115
  stageCycle: '',
131
116
  barrierList: [],
132
- barrierArr: [],
133
117
  newCycle: this.cycles,
134
118
  patternIds: this.patternId,
135
119
  newPatterns: [],
@@ -158,10 +142,6 @@ export default {
158
142
  stagesChange: {
159
143
  type: Array
160
144
  },
161
- isMove: {
162
- type: Boolean,
163
- default: true
164
- },
165
145
  controlPhase: {
166
146
  type: Object
167
147
  },
@@ -363,11 +343,11 @@ export default {
363
343
  handler: function (val, oldVal) {
364
344
  this.handleBarrierHeight() // 计算屏障高度
365
345
  if (this.patternStatusList && this.newCycle) {
366
- // setTimeout(() => {
367
- this.handleCurrentChange(this.patternStatusList)
346
+ setTimeout(() => {
347
+ this.handleCurrentChange(this.patternStatusList)
348
+ this.handleBarrierHeight()
349
+ }, 10)
368
350
  this.handleBarrierHeight()
369
- // }, 10)
370
- // this.handleBarrierHeight()
371
351
  }
372
352
  },
373
353
  // 深度观察监听
@@ -395,60 +375,6 @@ export default {
395
375
  }
396
376
  },
397
377
  methods: {
398
- move (e) {
399
- // 这里的e表示即将停靠的元素。
400
- let result = this.barrierArr.filter(item => item.includes(e.relatedContext.element.id))[0]
401
- if (!result.includes(e.draggedContext.element.id)) {
402
- return false
403
- }
404
- },
405
- endDrag (index) {
406
- // 拖动后对原数据排序
407
- const idIndexMap = {}
408
- this.patternInfo.forEach((subArray, subArrayIndex) => {
409
- subArray.forEach((item, index) => {
410
- idIndexMap[item.id] = { subArrayIndex, index }
411
- })
412
- })
413
- this.patternStatusList.forEach((subArray, subArrayIndex) => {
414
- if (subArray.length > 0) {
415
- subArray.sort((aItem, bItem) => {
416
- const aIndex = idIndexMap[aItem.id] ? idIndexMap[aItem.id].index : Infinity
417
- const bIndex = idIndexMap[bItem.id] ? idIndexMap[bItem.id].index : Infinity
418
- return aIndex - bIndex
419
- })
420
- }
421
- })
422
- },
423
- handleEdit (val) {
424
- this.patternStatusList.map(d => {
425
- d.map(r => {
426
- if (r.id === val.id) {
427
- r.value = val.split
428
- }
429
- })
430
- })
431
- // this.handleCurrentChange(this.patternStatusList)
432
- this.$emit('handleSplitMove', this.patternId)
433
- },
434
- getMaxCycle (pattern) {
435
- // let rings = pattern.rings
436
- let maxCycle = 0
437
- for (let ring of pattern) {
438
- if (ring.length === 0) continue
439
- let cycle = 0
440
- for (let r of ring) {
441
- if (r.mode === 7) { // 忽略相位不计周期
442
- continue
443
- }
444
- cycle = cycle + r.value
445
- }
446
- if (cycle > maxCycle) {
447
- maxCycle = cycle
448
- }
449
- }
450
- return maxCycle
451
- },
452
378
  getPed (data) {
453
379
  let ped = []
454
380
  for (let stg of data) {
@@ -1253,7 +1179,6 @@ export default {
1253
1179
  }
1254
1180
  }
1255
1181
  let resArr = ringArr.map(item => item.data)
1256
- this.barrierArr = resArr
1257
1182
  let ringTeam = this.step1(this.phaseList, resArr)
1258
1183
  let ringTeams = ringTeam.filter(item => item.length !== 0)
1259
1184
  if (this.patternList) {
@@ -19,7 +19,6 @@
19
19
  :leave-active-class="toPage === 1 ? 'animated fadeOutRight' : 'animated fadeOutLeft' ">
20
20
  <div class="new" style="position: absolute;width: 100%;height:100%;" v-show="(isOperation && !isClosePhase)">
21
21
  <ManualControlModalNew
22
- v-if="resetcomponent"
23
22
  ref="ManualControlModalNew"
24
23
  :residentControlList="residentControlList"
25
24
  :specialControlList="specialControlList"
@@ -82,7 +81,6 @@
82
81
  <div v-else style="height: 100%;">
83
82
  <div class="new" style="position: absolute;width: 100%;height:100%;" v-show="(isOperation && !isClosePhase)">
84
83
  <ManualControlModalNew
85
- v-if="resetcomponent"
86
84
  ref="ManualControlModalNew"
87
85
  :residentControlList="residentControlList"
88
86
  :specialControlList="specialControlList"
@@ -462,17 +460,13 @@ export default {
462
460
  patternAll: [],
463
461
  patternSelect: [], // 所有方案id
464
462
  specialPage: '', // 哪一个特殊控制页面
465
- nextcycleefficcontrol: [5, 6, 9, 10, 12, 19], // 下周期生效的控制方式
466
- resetcomponent: false
463
+ nextcycleefficcontrol: [5, 6, 9, 10, 12, 19] // 下周期生效的控制方式
467
464
  }
468
465
  },
469
466
  watch: {
470
467
  agentId: {
471
- handler: function (val1, val2) {
472
- if (val1 !== val2) {
473
- this.resetComponent()
474
- }
475
- this.getIntersectionInfo(val1)
468
+ handler: function (val) {
469
+ this.getIntersectionInfo(val)
476
470
  },
477
471
  // 深度观察监听
478
472
  deep: true
@@ -509,10 +503,9 @@ export default {
509
503
  this.setHost(this.reqUrl)
510
504
  this.PhaseDataModel = new PhaseDataModel(this.roadDirection)
511
505
  this.CrossDiagramMgr = new CrossDiagramMgr()
506
+ this.getIntersectionInfo(this.agentId)
512
507
  },
513
508
  async mounted () {
514
- this.resetcomponent = true
515
- this.init()
516
509
  if (this.realtimeStatusModalvisible === false) {
517
510
  this.changeStatus()
518
511
  }
@@ -523,23 +516,6 @@ export default {
523
516
  this.initData()
524
517
  },
525
518
  methods: {
526
- resetComponent () {
527
- this.resetcomponent = false
528
- this.$nextTick(() => {
529
- this.resetcomponent = true
530
- this.init()
531
- })
532
- },
533
- init () {
534
- this.getIntersectionInfo(this.agentId)
535
- if (this.realtimeStatusModalvisible === false) {
536
- this.changeStatus()
537
- }
538
- this.setPropsToken(this.Token)
539
- // await this.getPhase()
540
- this.getFault()
541
- this.initData()
542
- },
543
519
  setHost (host) {
544
520
  // 获取组件外传入的token,便于独立组件调用接口
545
521
  if (host && host !== '') {
@@ -20,10 +20,10 @@
20
20
  :model="manualInfo"
21
21
  label-width="90px">
22
22
  <el-form-item
23
- :label="$t('openatccomponents.overview.duration')"
24
- prop="count">
25
- <el-input-number :min="0" :max="65535" :precision="0" :step="1" :controls="false" v-model.number="manualInfo.tempDuration" size="small"></el-input-number>
26
- </el-form-item>
23
+ :label="$t('openatccomponents.overview.greenclear')"
24
+ prop="intersection">
25
+ <el-input-number :min="0" :max="65535" :precision="0" :step="1" :controls="false" v-model.number="manualInfo.tempGreenflash" size="small"></el-input-number>
26
+ </el-form-item>
27
27
 
28
28
  <el-form-item
29
29
  :label="$t('openatccomponents.overview.yellowflash')"
@@ -44,11 +44,13 @@
44
44
  label-position="left"
45
45
  :model="manualInfo"
46
46
  label-width="90px">
47
- <el-form-item
48
- :label="$t('openatccomponents.overview.greenclear')"
49
- prop="intersection">
50
- <el-input-number :min="0" :max="65535" :precision="0" :step="1" :controls="false" v-model.number="manualInfo.tempGreenflash" size="small"></el-input-number>
51
- </el-form-item>
47
+
48
+ <el-form-item
49
+ :label="$t('openatccomponents.overview.duration')"
50
+ prop="count">
51
+ <el-input-number :min="0" :max="65535" :precision="0" :step="1" :controls="false" v-model.number="manualInfo.tempDuration" size="small"></el-input-number>
52
+ </el-form-item>
53
+
52
54
  <el-form-item
53
55
  :label="$t('openatccomponents.overview.allred')"
54
56
  prop="intersection">
@@ -160,8 +160,7 @@
160
160
  <div class="cross-content">
161
161
  <div class="cross-name">{{$t('openatccomponents.overview.currentstage')}}:</div>
162
162
  <div>
163
- <Stages v-if="resetcomponent"
164
- :crossStatusData="crossStatusData"
163
+ <Stages :crossStatusData="crossStatusData"
165
164
  :phaseList="phaseList"
166
165
  @onSelectStages="onSelectStages"></Stages>
167
166
  </div>
@@ -261,27 +260,8 @@ export default {
261
260
  }
262
261
 
263
262
  },
264
- watch: {
265
- agentId: {
266
- handler: function (val1, val2) {
267
- this.$nextTick(() => {
268
- setTimeout(() => {
269
- if (val1 !== val2) {
270
- this.resetcomponent = false
271
- this.$nextTick(() => {
272
- this.resetcomponent = true
273
- })
274
- }
275
- }, 100)
276
- })
277
- },
278
- // 深度观察监听
279
- deep: true
280
- }
281
- },
282
263
  data () {
283
264
  return {
284
- resetcomponent: true
285
265
  }
286
266
  },
287
267
  methods: {
@@ -115,7 +115,7 @@ export default {
115
115
  // this.getRouteInfo()
116
116
  this.routeData = editableTab
117
117
  let patternList = this.getPatternListFromTab(editableTab, this.patternList)
118
- let phaseList = this.getPatternListFromTab(editableTab, this.patternList)
118
+ let phaseList = this.getPhaseListFromTab(editableTab, this.phaseList)
119
119
  if (patternList && patternList.length > 0 && phaseList && phaseList.length > 0) {
120
120
  this.patternList = patternList
121
121
  this.phaseList = phaseList
@@ -153,14 +153,14 @@ export default {
153
153
  return res
154
154
  }
155
155
  }
156
- let devPatternList = devs.map(item => {
156
+ let devPhaseList = devs.map(item => {
157
157
  let pattern = {
158
158
  agentid: item.agentid,
159
159
  feature: item.feature
160
160
  }
161
161
  return pattern
162
162
  })
163
- res = devPatternList
163
+ res = devPhaseList
164
164
  return res
165
165
  },
166
166
  closeInterval () {
@@ -5,7 +5,6 @@
5
5
  :contrloType="contrloType"
6
6
  :stagesChange="stagesChange"
7
7
  :isShowTip="isShowTip"
8
- :isMove="isMove"
9
8
  :patternStatusList="patternStatusList"
10
9
  :cycles="cycles"
11
10
  :cycle="cycle"
@@ -20,7 +19,6 @@
20
19
  :agentId="agentId"
21
20
  :controlData="controlData"
22
21
  :syncTime="syncTime"
23
- @handleSplitMove="handleSplitMove"
24
22
  :isPhase="isPhase"
25
23
  >
26
24
  </BoardCard>
@@ -504,10 +502,6 @@ export default {
504
502
  type: Boolean,
505
503
  default: true
506
504
  },
507
- isMove: {
508
- type: Boolean,
509
- default: true
510
- },
511
505
  contrloType: {
512
506
  type: String
513
507
  },
@@ -587,11 +581,6 @@ export default {
587
581
  // if (this.$route.query !== undefined && Object.keys(this.$route.query).length) {
588
582
  // this.resetCrossDiagram()
589
583
  // }
590
- },
591
- methods: {
592
- handleSplitMove (data) {
593
- this.$emit('handleSplitMove', data)
594
- }
595
584
  }
596
585
  }
597
586
  </script>
@@ -32,7 +32,6 @@ import XiaoKanBan from './components/XiaoKanBan/index.vue'
32
32
  import DirectionListConfiguration from './components/DirectionListConfiguration/index.js'
33
33
  import IntersectionDirectionSelection from './components/IntersectionDirectionSelection/index.js'
34
34
  import PhaseLegend from './components/PhaseLegend/index.js'
35
- import OverviewComponent from './components/OverviewComponent/index.js'
36
35
  import { setToken, setHost, setIsCheckPermission, setUserRoles, setPermissions } from '../utils/auth.js'
37
36
  import componentsGlobalParam from '../store/modules/globalParam'
38
37
 
@@ -74,8 +73,7 @@ const components = {
74
73
  PhaseDirectionSelect,
75
74
  DirectionListConfiguration,
76
75
  IntersectionDirectionSelection,
77
- PhaseLegend,
78
- OverviewComponent
76
+ PhaseLegend
79
77
  }
80
78
 
81
79
  const language = {