openatc-components 0.2.79 → 0.2.80

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 (57) hide show
  1. package/package/kisscomps/components/BoardCard/BoardCard.vue +4 -0
  2. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/SidewalkClickSvg.vue +4 -34
  3. package/package/kisscomps/components/IntersectionMap/crossDirection/crossDiagram.vue +7 -71
  4. package/package/kisscomps/components/IntersectionMap/crossDirection/phaseIcon/LphaseIconSvg.vue +19 -19
  5. package/package/kisscomps/components/IntersectionMap/crossDirection/phaseIcon/phaseIconSvg.vue +19 -19
  6. package/package/kisscomps/components/IntersectionMap/crossDirection/posJson/phasePos.json +8 -8
  7. package/package/kisscomps/components/IntersectionMap/crossDirection/posJson/phasePos.left.json +8 -8
  8. package/package/kisscomps/components/IntersectionMap/intersectionmap.vue +1 -13
  9. package/package/kisscomps/components/PatternStatus/PatternStatus.vue +94 -17
  10. package/package/kisscomps/components/SchemeConfig/SchemeConfig.vue +98 -5
  11. package/package/kisscomps/components/SchemeConfig/azimuthlocking/index.vue +7 -11
  12. package/package/kisscomps/components/SchemeConfig/closePhaselControlModal/index.vue +5 -9
  13. package/package/kisscomps/components/SchemeConfig/lockingPhaselControlModal/index.vue +5 -7
  14. package/package/kisscomps/components/SchemeConfig/manualControlModalNew/index.vue +10 -41
  15. package/package/kisscomps/components/SchemeConfig/priorityControl/index.vue +5 -9
  16. package/package/kisscomps/components/SchemeConfig/realtimeStatusModal/index.vue +1 -1
  17. package/package/kisscomps/components/SchemeConfig/tentativeplancontrolmodal/index.vue +8 -12
  18. package/package/kisscomps/components/Stages/index.vue +1 -2
  19. package/package/kisscomps/components/patternList/patternList.vue +4 -0
  20. package/package/kisscomps/index.js +0 -2
  21. package/package/kissui.min.js +1 -1
  22. package/package.json +1 -1
  23. package/src/api/cross.js +0 -4
  24. package/src/api/template.js +0 -4
  25. package/src/i18n/language/zh.js +2 -2
  26. package/src/kisscomps/components/BoardCard/BoardCard.vue +4 -0
  27. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/SidewalkClickSvg.vue +4 -34
  28. package/src/kisscomps/components/IntersectionMap/crossDirection/crossDiagram.vue +7 -71
  29. package/src/kisscomps/components/IntersectionMap/crossDirection/phaseIcon/LphaseIconSvg.vue +19 -19
  30. package/src/kisscomps/components/IntersectionMap/crossDirection/phaseIcon/phaseIconSvg.vue +19 -19
  31. package/src/kisscomps/components/IntersectionMap/crossDirection/posJson/phasePos.json +8 -8
  32. package/src/kisscomps/components/IntersectionMap/crossDirection/posJson/phasePos.left.json +8 -8
  33. package/src/kisscomps/components/IntersectionMap/intersectionmap.vue +1 -13
  34. package/src/kisscomps/components/PatternStatus/PatternStatus.vue +94 -17
  35. package/src/kisscomps/components/SchemeConfig/SchemeConfig.vue +98 -5
  36. package/src/kisscomps/components/SchemeConfig/azimuthlocking/index.vue +7 -11
  37. package/src/kisscomps/components/SchemeConfig/closePhaselControlModal/index.vue +5 -9
  38. package/src/kisscomps/components/SchemeConfig/lockingPhaselControlModal/index.vue +5 -7
  39. package/src/kisscomps/components/SchemeConfig/manualControlModalNew/index.vue +10 -41
  40. package/src/kisscomps/components/SchemeConfig/priorityControl/index.vue +5 -9
  41. package/src/kisscomps/components/SchemeConfig/realtimeStatusModal/index.vue +1 -1
  42. package/src/kisscomps/components/SchemeConfig/tentativeplancontrolmodal/index.vue +8 -12
  43. package/src/kisscomps/components/Stages/index.vue +1 -2
  44. package/src/kisscomps/components/patternList/patternList.vue +4 -0
  45. package/src/kisscomps/index.js +0 -2
  46. package/src/node_modules/.package_versions.json +1 -0
  47. package/src/views/intersection.vue +28 -60
  48. package/src/views/overView.vue +1 -1
  49. package/static/styles/commonkanban.scss +3 -3
  50. package/static/styles/overview.scss +2 -2
  51. package/static/styles/schemeconfig.scss +23 -38
  52. package/package/kisscomps/components/ChannelRealtimeIntersection/ChannelRealtimeIntersection.vue +0 -100
  53. package/package/kisscomps/components/ChannelRealtimeIntersection/index.js +0 -2
  54. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/sidewalk.svg +0 -535
  55. package/src/kisscomps/components/ChannelRealtimeIntersection/ChannelRealtimeIntersection.vue +0 -100
  56. package/src/kisscomps/components/ChannelRealtimeIntersection/index.js +0 -2
  57. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/sidewalk.svg +0 -535
@@ -24,8 +24,8 @@
24
24
  "id": 4,
25
25
  "name": "东掉头",
26
26
  "ename": "East-Back",
27
- "x": "591px",
28
- "y": "301px"
27
+ "x": "604px",
28
+ "y": "334px"
29
29
  },
30
30
  {
31
31
  "id": 5,
@@ -52,8 +52,8 @@
52
52
  "id": 8,
53
53
  "name": "西掉头",
54
54
  "ename": "West-Back",
55
- "x": "246px",
56
- "y": "325px"
55
+ "x": "248px",
56
+ "y": "301px"
57
57
  },
58
58
  {
59
59
  "id": 9,
@@ -80,8 +80,8 @@
80
80
  "id": 12,
81
81
  "name": "北掉头",
82
82
  "ename": "North-Back",
83
- "x": "412px",
84
- "y": "135px"
83
+ "x": "446px",
84
+ "y": "138px"
85
85
  },
86
86
  {
87
87
  "id": 13,
@@ -108,8 +108,8 @@
108
108
  "id": 16,
109
109
  "name": "南掉头",
110
110
  "ename": "South-Back",
111
- "x": "436px",
112
- "y": "481px"
111
+ "x": "412px",
112
+ "y": "495px"
113
113
  }
114
114
  ]
115
115
  }
@@ -40,7 +40,6 @@
40
40
  :isVipRoute="isVipRoute"
41
41
  :clickMode="clickMode"
42
42
  :isThirdSignal="isThirdSignal"
43
- :channelType="channelType"
44
43
  @handleClickCrossIcon="handleClickCrossIcon" />
45
44
  </div>
46
45
  </div>
@@ -126,10 +125,6 @@ export default {
126
125
  isThirdSignal: {
127
126
  type: Boolean,
128
127
  default: false
129
- },
130
- channelType: {
131
- type: Boolean,
132
- default: false
133
128
  }
134
129
  },
135
130
  watch: {
@@ -148,13 +143,6 @@ export default {
148
143
  this.reset = true
149
144
  }
150
145
  }
151
- },
152
- channelType: {
153
- handler: function (val, oldVal) {
154
- if (val) {
155
- this.reset = true
156
- }
157
- }
158
146
  }
159
147
  },
160
148
  created () {
@@ -164,7 +152,7 @@ export default {
164
152
  },
165
153
  mounted () {
166
154
  this.getParentSize()
167
- if (this.isVipRoute || this.channelType) {
155
+ if (this.isVipRoute) {
168
156
  this.reset = true
169
157
  }
170
158
  },
@@ -11,8 +11,33 @@
11
11
  **/
12
12
  <template>
13
13
  <div class="main-patternstatus">
14
+ <!-- rcp模式 -->
15
+ <div v-if="patternType === 'rcp'">
16
+ <div class="ring-first" v-for="(list, index1) in patternRcp" :key="index1">
17
+ <div style="position: relative" :style="{height: '34px',paddingRight: '1px',float: 'left',width:
18
+ ((item.split + (item.sum ? item.sum : 0)) /(item.cycle > cycles ? item.cycle : cycles)) *100 +'%',}"
19
+ v-for="(item, index2) in list" :key="index2">
20
+ <div class="first-1" :style="{ width:
21
+ (Number(item.greenWidth.replace('%', '')) /
22
+ Number((((item.split + (item.sum ? item.sum : 0)) /
23
+ (item.cycle > cycles ? item.cycle : cycles)) * 100 + '%').replace('%', ''))) * 100 + '%', height: '34px',background: '#7ccc66'}">
24
+ </div>
25
+ <el-tooltip placement="top-start" effect="light">
26
+ <div v-if="item.id" slot="content">P{{ item.id }}:{{ item.split }}</div>
27
+ <div v-if="item.id" style="cursor: pointer">
28
+ <div
29
+ class="box"
30
+ style="position: absolute; width:40px; left: 0; top: 5px"
31
+ >
32
+ <div class="ring-nums">P{{ item.id }}:{{ item.split }}</div>
33
+ </div>
34
+ </div>
35
+ </el-tooltip>
36
+ </div>
37
+ </div>
38
+ </div>
14
39
  <!-- 环模式true -->
15
- <div v-if="this.contrloType === 'ring' || !this.contrloType">
40
+ <div v-if="(this.contrloType === 'ring' || !this.contrloType) && patternType !== 'rcp'">
16
41
  <div class="ring-first" v-for="(list, index1) in patternInfo" :key="index1">
17
42
  <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
43
  <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'}">
@@ -48,7 +73,7 @@
48
73
  <div class="divider" :style="{'left':item, 'height':barrierHeight}"></div>
49
74
  </div>
50
75
  </div>
51
- <div v-show="(cycle && cycle>0 && this.isControl) || (newCycle && newCycle>0 && this.isControl)">
76
+ <div v-show="(this.curtime>0 && cycle && cycle>0 && this.isControl) || (this.curtime>0 && newCycle && newCycle>0 && this.isControl)">
52
77
  <div class="curTimeDiv" :style="{'left':paddingLeft }">{{ timeNumDevide }}</div>
53
78
  <div class="curTimeLine" :style="{'left':paddingLeft, 'height':barrierHeight}"></div>
54
79
  </div>
@@ -107,6 +132,7 @@ export default {
107
132
  newCycle: this.cycles,
108
133
  patternIds: this.patternId,
109
134
  newPatterns: [],
135
+ patternRcp: [],
110
136
  newList: [],
111
137
  isControl: true,
112
138
  contrloCycle: 0,
@@ -131,6 +157,9 @@ export default {
131
157
  controlPhase: {
132
158
  type: Object
133
159
  },
160
+ patternType: {
161
+ type: String
162
+ },
134
163
  contrloType: {
135
164
  type: String
136
165
  },
@@ -213,7 +242,7 @@ export default {
213
242
  watch: {
214
243
  controlPhase: {
215
244
  handler: function (val, oldVal) {
216
- if ((val && val.curTime) || val.curTime === 0) {
245
+ if (val && val.curTime) {
217
246
  this.curtime = val.curTime
218
247
  if (val.control === 4 || val.control === 16 || val.control === 22) {
219
248
  this.isControl = false
@@ -242,7 +271,7 @@ export default {
242
271
  }
243
272
  this.handleBarrierHeight()
244
273
  }
245
- if ((val && val.curTime) || val.curTime === 0) {
274
+ if (val && val.curTime) {
246
275
  this.curtime = val.curTime
247
276
  if (val.control === 4 || val.control === 16 || val.control === 22) {
248
277
  this.isControl = false
@@ -290,6 +319,9 @@ export default {
290
319
  cycles: {
291
320
  handler: function (val, oldVal) {
292
321
  this.newCycle = this.cycles
322
+ if (this.patternType === 'rcp') {
323
+ this.handleRcp(this.patternStatusList)
324
+ }
293
325
  },
294
326
  // 深度观察监听
295
327
  deep: true
@@ -314,6 +346,9 @@ export default {
314
346
  },
315
347
  patternStatusList: {
316
348
  handler: function (val, oldVal) {
349
+ if (this.patternType === 'rcp') {
350
+ this.handleRcp(this.patternStatusList)
351
+ }
317
352
  this.handleBarrierHeight() // 计算屏障高度
318
353
  if (this.patternStatusList && this.newCycle) {
319
354
  setTimeout(() => {
@@ -346,6 +381,9 @@ export default {
346
381
  if (this.contrloType === 'stage') {
347
382
  this.getStage()
348
383
  }
384
+ if (this.patternType === 'rcp') {
385
+ this.handleRcp(this.patternStatusList)
386
+ }
349
387
  },
350
388
  methods: {
351
389
  getPed (data) {
@@ -374,6 +412,48 @@ export default {
374
412
  }
375
413
  return ped
376
414
  },
415
+ handleRcp (val) {
416
+ this.patternRcp = []
417
+ let valSplit = val.map(item => {
418
+ return item.map(val => {
419
+ return val.splitchain
420
+ })
421
+ })
422
+ let splitCycle = valSplit.length > 0 ? valSplit.map(item => {
423
+ return item.length > 0 ? item.reduce((a, b) => {
424
+ return a + b
425
+ }) : 0
426
+ }) : 0
427
+ let cycle = Math.max(...splitCycle)// 每个环的周期最大值
428
+ for (let rings of val) {
429
+ if (rings.length === 0) continue
430
+ let list = []
431
+ for (let ring of rings) {
432
+ if (ring.splitchain === 0) continue
433
+ let obj = {}
434
+ let split = ring.splitchain
435
+ obj.split = split
436
+ obj.cycle = cycle
437
+ obj.id = ring.phases
438
+ // if (ring.sum) {
439
+ // obj.sum = ring.sum
440
+ // obj.redWidth = ((currPhase.redclear + ring.sum) / (this.fixCycle ? this.fixCycle : this.max ? this.max : this.newCycle) * 100) + '%'
441
+ // } else {
442
+ // obj.redWidth = (currPhase.redclear / (this.fixCycle ? this.fixCycle : this.max ? this.max : this.newCycle) * 100) + '%'
443
+ // }
444
+ // obj.mode = ring.mode
445
+ obj.greenWidth = (split / (cycle > this.cycles ? cycle : this.cycles)) * 100 + '%'
446
+ // obj.flashgreen = (currPhase.flashgreen / (this.fixCycle ? this.fixCycle : this.max ? this.max : this.newCycle) * 100) + '%'
447
+ // obj.yellowWidth = (currPhase.yellow / (this.fixCycle ? this.fixCycle : this.max ? this.max : this.newCycle) * 100) + '%'
448
+ // 忽略相位不显示
449
+ // let mode = ring.mode
450
+ // if (mode !== 7) { // 忽略相位不显示
451
+ list.push(obj)
452
+ // }
453
+ }
454
+ this.patternRcp.push(list)
455
+ }
456
+ },
377
457
  handleStageData (data) {
378
458
  if (!data) return
379
459
  let peddirections = this.getPed(data)
@@ -610,7 +690,6 @@ export default {
610
690
  // if (stg === walk.phaseid) {
611
691
  let objs = {}
612
692
  objs.name = walk.name
613
- objs.color = 'rgba(48,49,51,0.6)'
614
693
  objs.id = walk.id
615
694
  if (ped === walk.id) {
616
695
  peddirections.push(objs)
@@ -626,7 +705,7 @@ export default {
626
705
  obj.direction = ring.desc.map(item => { // 虚相位desc为空
627
706
  return {
628
707
  id: item.id,
629
- color: '#303133'
708
+ color: '#454545'
630
709
  }
631
710
  })
632
711
  } else {
@@ -635,14 +714,14 @@ export default {
635
714
  return {
636
715
  id: item,
637
716
  peddirection: peddirections,
638
- color: '#303133'
717
+ color: '#454545'
639
718
  }
640
719
  })
641
720
  } else {
642
721
  obj.direction = [
643
722
  {
644
723
  id: '',
645
- color: '#303133',
724
+ color: '#454545',
646
725
  peddirection: peddirections
647
726
  }
648
727
  ]
@@ -863,7 +942,6 @@ export default {
863
942
  let objs = {}
864
943
  objs.name = walk.name
865
944
  objs.id = walk.id
866
- objs.color = 'rgba(48,49,51,0.6)'
867
945
  if (ped === walk.id) {
868
946
  peddirections.push(objs)
869
947
  peddirections = Array.from(new Set(peddirections))
@@ -878,7 +956,7 @@ export default {
878
956
  obj.direction = ring.desc.map(item => { // 虚相位desc为空
879
957
  return {
880
958
  id: item.id,
881
- color: '#303133'
959
+ color: '#454545'
882
960
  }
883
961
  })
884
962
  } else {
@@ -887,14 +965,14 @@ export default {
887
965
  return {
888
966
  id: item,
889
967
  peddirection: peddirections,
890
- color: '#303133'
968
+ color: '#454545'
891
969
  }
892
970
  })
893
971
  } else {
894
972
  obj.direction = [
895
973
  {
896
974
  id: '',
897
- color: '#303133',
975
+ color: '#454545',
898
976
  peddirection: peddirections
899
977
  }
900
978
  ]
@@ -1091,7 +1169,6 @@ export default {
1091
1169
  let objs = {}
1092
1170
  objs.name = walk.name
1093
1171
  objs.id = walk.id
1094
- objs.color = 'rgba(48,49,51,0.6)'
1095
1172
  if (ped === walk.id) {
1096
1173
  peddirections.push(objs)
1097
1174
  peddirections = Array.from(new Set(peddirections))
@@ -1106,7 +1183,7 @@ export default {
1106
1183
  obj.direction = ring.desc.map(item => { // 虚相位desc为空
1107
1184
  return {
1108
1185
  id: item.id,
1109
- color: '#303133',
1186
+ color: '#454545',
1110
1187
  peddirection: peddirections
1111
1188
  }
1112
1189
  })
@@ -1115,7 +1192,7 @@ export default {
1115
1192
  obj.direction = currPhase.direction.map(item => {
1116
1193
  return {
1117
1194
  id: item,
1118
- color: '#303133',
1195
+ color: '#454545',
1119
1196
  peddirection: peddirections
1120
1197
  }
1121
1198
  })
@@ -1123,7 +1200,7 @@ export default {
1123
1200
  obj.direction = [
1124
1201
  {
1125
1202
  id: '',
1126
- color: '#303133',
1203
+ color: '#454545',
1127
1204
  peddirection: peddirections
1128
1205
  }
1129
1206
  ]
@@ -1372,7 +1449,7 @@ export default {
1372
1449
  <style lang="scss" scoped>
1373
1450
  .main-patternstatus {
1374
1451
  position: relative;
1375
- /* margin-bottom: 20px; */
1452
+ margin-bottom: 20px;
1376
1453
  }
1377
1454
  .main-patternstatus {
1378
1455
  position: relative;
@@ -38,7 +38,6 @@
38
38
  :overlap="overlap"
39
39
  :patternSelect="patternSelect"
40
40
  :allPatternList="allPatternList"
41
- :isShowBack="isShowBack"
42
41
  @closeManualModal="closeManualModal"
43
42
  @selectModel="selectModel"
44
43
  @selectStages="selectStages"
@@ -46,8 +45,76 @@
46
45
  @closePhaseBack="closePhaseBack"
47
46
  @closePhaseControl="closePhaseControl"
48
47
  @selectSpecialModel="selectSpecialModelNew" />
48
+ <!-- <ManualControlModal
49
+ :controlData="controlData"
50
+ :modelList="modelList"
51
+ :patternSelect="patternSelect"
52
+ :patternAll="patternAll"
53
+ :crossStatusData="crossStatusData"
54
+ :phaseList="phaseList"
55
+ :specialcontrolList="specialcontrolList"
56
+ :currModel="currModel"
57
+ :preselectModel="preselectModel"
58
+ :preselectStages="preselectStages"
59
+ :realtimeStatusModalvisible="realtimeStatusModalvisible"
60
+ :funcSort="funcSort"
61
+ :roadDirection="roadDirection"
62
+ @closeManualModal="closeManualModal"
63
+ @selectModel="selectModel"
64
+ @selectStages="selectStages"
65
+ @patternCommit="patternCommit"
66
+ @selectSpecialModel="selectSpecialModel" /> -->
49
67
  </div>
50
68
  </transition>
69
+ <!-- <transition name="fade-left" mode="out-in"
70
+ enter-active-class="animated fadeInRight"
71
+ leave-active-class="animated fadeOutRight">
72
+ <div style="position: absolute;width: 100%;height:100%" v-show="(isOperation && isClosePhase)">
73
+ <ClosePhaseControlModal
74
+ v-if="specialPage === 'closephase'"
75
+ :controlData="controlData"
76
+ :closePhaseRings="phaseRings"
77
+ :sidewalkPhaseData="sidewalkPhaseData"
78
+ :realtimeStatusModalvisible="realtimeStatusModalvisible"
79
+ :roadDirection="roadDirection"
80
+ @closePhaseBack="closePhaseBack"
81
+ @closePhaseControl="closePhaseControl" /> -->
82
+ <!-- <LockingPhaseControlModal
83
+ v-if="specialPage === 'lockingphase'"
84
+ :roadDirection="roadDirection"
85
+ :phaseList="phaseList"
86
+ :patternStatus="statusData"
87
+ :lockPhaseBtnName="lockPhaseBtnName"
88
+ @closePhaseBack="closePhaseBack"
89
+ @closePhaseControl="closePhaseControl" /> -->
90
+ <!-- <TentativePlanControlModal
91
+ v-if="specialPage === 'tentativeplan'"
92
+ :realtimeStatusModalvisible="realtimeStatusModalvisible"
93
+ :controlData="controlData"
94
+ :phaseList="phaseList"
95
+ :overlap="overlap"
96
+ :patternSelect="patternSelect"
97
+ :allPatternList="allPatternList"
98
+ @closePhaseBack="closePhaseBack"
99
+ @closePhaseControl="closePhaseControl"
100
+ />
101
+ <priorityControl
102
+ v-if="specialPage === 'prioritycontrol'"
103
+ :realtimeStatusModalvisible="realtimeStatusModalvisible"
104
+ :phaseList="phaseList"
105
+ @closePhaseBack="closePhaseBack"
106
+ @closePhaseControl="closePhaseControl"
107
+ /> -->
108
+ <!-- <AzimuthLocking
109
+ v-if="specialPage === 'azimuthlocking'"
110
+ :realtimeStatusModalvisible="realtimeStatusModalvisible"
111
+ :phaseList="phaseList"
112
+ :patternStatus="statusData"
113
+ @closePhaseBack="closePhaseBack"
114
+ @closePhaseControl="closePhaseControl"
115
+ /> -->
116
+ <!-- </div>
117
+ </transition> -->
51
118
 
52
119
  <transition name="fade-left" mode="out-in"
53
120
  enter-active-class="animated fadeInLeft"
@@ -173,10 +240,6 @@ export default {
173
240
  isFromAtc: {
174
241
  type: Boolean,
175
242
  default: true
176
- },
177
- isShowBack: {
178
- type: Boolean,
179
- default: true
180
243
  }
181
244
  },
182
245
  data () {
@@ -410,6 +473,32 @@ export default {
410
473
  faultvisible: false,
411
474
  isClosePhase: false, // 是否在相位关断
412
475
  toPage: 1, // 与哪一个页面交互,1 代表路口信息页面,3代表 相位关断页面
476
+ specialcontrolList: [{ // 特殊控制
477
+ id: 23,
478
+ isShow: true,
479
+ permission: 'configer:manual:optimize',
480
+ iconClass: 'closephase'
481
+ }, {
482
+ id: 22,
483
+ isShow: true,
484
+ permission: 'configer:manual:optimize',
485
+ iconClass: 'lockingphase'
486
+ }, {
487
+ id: 100,
488
+ isShow: true,
489
+ permission: 'configer:manual:optimize',
490
+ iconClass: 'tentativeplan'
491
+ }, {
492
+ id: 24,
493
+ isShow: true,
494
+ permission: 'configer:manual:preempt',
495
+ iconClass: 'prioritycontrol'
496
+ }, {
497
+ id: 25,
498
+ permission: 'configer:manual:optimize',
499
+ isShow: this.realtimeStatusModalvisible,
500
+ iconClass: 'azimuthlocking'
501
+ }],
413
502
  phaseRings: [],
414
503
  curFaultList: [],
415
504
  confirmedFault: [],
@@ -773,6 +862,10 @@ export default {
773
862
  }
774
863
  },
775
864
  closePhaseBack () {
865
+ // if (!this.realtimeStatusModalvisible) {
866
+ // this.$emit('closePhaseBack')
867
+ // return
868
+ // }
776
869
  this.toPage = 3
777
870
  this.isClosePhase = false
778
871
  },
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div class="tentativeplan-control manual-common-content">
2
+ <div class="tentativeplan-control">
3
3
  <!-- <div class="title" style="margin-bottom: 18px;">{{$t('openatccomponents.overview.azimuthlocking')}}</div> -->
4
4
  <el-row>
5
5
  <el-col :span="12">
@@ -45,10 +45,10 @@
45
45
  </el-col>
46
46
  </el-row>
47
47
  <el-row style="margin-top: 6px;">
48
- <el-col :span="24">
48
+ <el-col :span="5">
49
49
  <span class="model-label-title">{{$t('openatccomponents.overview.indirection')}}:</span>
50
50
  </el-col>
51
- <el-col :span="24">
51
+ <el-col :span="19">
52
52
  <div class="control-model" v-for="(item, index) in imgs" :key="index">
53
53
  <div :style="{'backgroundColor': item.bgcolor}" :class="{'single-model-select':spanIndex.indexOf(index)>-1}" class="single-model" @click="boxShow(index,item)">
54
54
  <div v-if="item.class" :style="{color: themeColor}" :class="item.class" style="border:0px;font-size: 50px;"></div>
@@ -89,13 +89,13 @@
89
89
  </div>
90
90
  </div> -->
91
91
  <div class="footer" v-if="realtimeStatusModalvisible">
92
- <el-button v-if="isShowBack" @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
93
- <el-button @click="toAutoControl()" v-if="isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
92
+ <el-button @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
93
+ <el-button type="primary" plain @click="toAutoControl()" v-if="isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
94
94
  <el-button type="primary" @click="handleManualControl()">{{$t('openatccomponents.overview.implement')}}</el-button>
95
95
  </div>
96
96
  <div class="footer" v-if="!realtimeStatusModalvisible">
97
- <el-button v-if="isShowBack" @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
98
- <el-button @click="toAutoControl()" v-if="isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
97
+ <el-button @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
98
+ <el-button type="primary" plain @click="toAutoControl()" v-if="isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
99
99
  <el-button type="primary" @click="handleManualControl()">{{$t('openatccomponents.overview.comfirm')}}</el-button>
100
100
  </div>
101
101
  </div>
@@ -117,10 +117,6 @@ export default {
117
117
  realtimeStatusModalvisible: {
118
118
  type: Boolean,
119
119
  default: true
120
- },
121
- isShowBack: {
122
- type: Boolean,
123
- default: true
124
120
  }
125
121
  },
126
122
  watch: {
@@ -10,7 +10,7 @@
10
10
  * See the Mulan PSL v2 for more details.
11
11
  **/
12
12
  <template>
13
- <div class="manual-control-modal closephase-control manual-common-content">
13
+ <div class="manual-control-modal closephase-control">
14
14
  <!-- <div class="title" style="margin-bottom: 18px;">{{$t('openatccomponents.overview.phaseclosecontrol')}}</div> -->
15
15
  <el-row>
16
16
  <el-col :span="24">
@@ -61,13 +61,13 @@
61
61
  </div>
62
62
  </el-row>
63
63
  <div class="footer" v-if="realtimeStatusModalvisible">
64
- <el-button v-if="isShowBack" @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
65
- <el-button @click="toAutoControl()" v-if="isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
64
+ <el-button @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
65
+ <el-button type="primary" plain @click="toAutoControl()" v-if="isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
66
66
  <el-button type="primary" @click="handleManualControl()">{{$t('openatccomponents.overview.implement')}}</el-button>
67
67
  </div>
68
68
  <div class="footer" v-if="!realtimeStatusModalvisible">
69
- <el-button v-if="isShowBack" @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
70
- <el-button @click="toAutoControl()" v-if="isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
69
+ <el-button @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
70
+ <el-button type="primary" plain @click="toAutoControl()" v-if="isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
71
71
  <el-button type="primary" @click="handleManualControl()">{{$t('openatccomponents.overview.comfirm')}}</el-button>
72
72
  </div>
73
73
  </div>
@@ -118,10 +118,6 @@ export default {
118
118
  },
119
119
  roadDirection: {
120
120
  type: String
121
- },
122
- isShowBack: {
123
- type: Boolean,
124
- default: true
125
121
  }
126
122
  },
127
123
  data () {
@@ -10,11 +10,12 @@
10
10
  * See the Mulan PSL v2 for more details.
11
11
  **/
12
12
  <template>
13
- <div class="lockingphase-control manual-common-content">
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
16
  <el-col :span="12">
17
17
  <el-form
18
+ :inline="true"
18
19
  ref="manual"
19
20
  label-position="left"
20
21
  :model="manualInfo"
@@ -40,6 +41,7 @@
40
41
  </el-col>
41
42
  <el-col :span="12">
42
43
  <el-form
44
+ :inline="true"
43
45
  ref="manual"
44
46
  label-position="left"
45
47
  :model="manualInfo"
@@ -88,8 +90,8 @@
88
90
  </div>
89
91
  </el-row>
90
92
  <div class="footer">
91
- <el-button v-if="isShowBack" @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
92
- <el-button @click="toAutoControl()" v-if="isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
93
+ <el-button @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
94
+ <el-button type="primary" plain @click="toAutoControl()" v-if="isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
93
95
  <el-button type="primary" @click="handleLockPhase()">{{lockPhaseBtnName}}</el-button>
94
96
  </div>
95
97
  </div>
@@ -116,10 +118,6 @@ export default {
116
118
  },
117
119
  roadDirection: {
118
120
  type: String
119
- },
120
- isShowBack: {
121
- type: Boolean,
122
- default: true
123
121
  }
124
122
  },
125
123
  data () {