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
@@ -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 () {
@@ -54,7 +54,6 @@
54
54
  :phaseList="phaseList"
55
55
  :patternStatus="statusData"
56
56
  :lockPhaseBtnName="lockPhaseBtnName"
57
- :isShowBack="isShowBack"
58
57
  @closePhaseBack="handleClose"
59
58
  @closePhaseControl="closePhaseControl"
60
59
  @toAutoControl="toAutoControl" />
@@ -64,20 +63,9 @@
64
63
  :realtimeStatusModalvisible="realtimeStatusModalvisible"
65
64
  :phaseList="phaseList"
66
65
  :patternStatus="statusData"
67
- :isShowBack="isShowBack"
68
66
  @closePhaseBack="handleClose"
69
67
  @toAutoControl="toAutoControl"
70
68
  />
71
-
72
- <div class="footer" v-if="realtimeStatusModalvisible && ((activeName === 'residentcontrol' && preselecttype !== '相位锁定' && preselecttype !== '方向锁定') || activeName === 'specialcontrol' || activeName === 'schemeselection')">
73
- <el-button v-if="isShowBack" @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
74
- <el-button @click="toAutoControl()" v-if="isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
75
- <el-button type="primary" @click="handleManualControl()">{{$t('openatccomponents.overview.implement')}}</el-button>
76
- </div>
77
- <div class="footer" v-if="!realtimeStatusModalvisible && ((activeName === 'residentcontrol' && preselecttype !== '相位锁定' && preselecttype !== '方向锁定') || activeName === 'specialcontrol' || activeName === 'schemeselection')">
78
- <el-button @click="toAutoControl()" v-if="isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
79
- <el-button class="3" type="primary" @click="handleManualControl()">{{$t('openatccomponents.overview.comfirm')}}</el-button>
80
- </div>
81
69
  </el-tab-pane>
82
70
  <el-tab-pane :label="$t('openatccomponents.overview.specialcontrol')" name="specialcontrol">
83
71
  <ControlModelGroup
@@ -102,17 +90,6 @@
102
90
  </el-form-item>
103
91
  </el-form>
104
92
  </div>
105
-
106
- <div class="footer" v-if="realtimeStatusModalvisible && ((activeName === 'residentcontrol' && preselecttype !== '相位锁定' && preselecttype !== '方向锁定') || activeName === 'specialcontrol' || activeName === 'schemeselection')">
107
- <el-button v-if="isShowBack" @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
108
- <el-button @click="toAutoControl()" v-if="isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
109
- <el-button type="primary" @click="handleManualControl()">{{$t('openatccomponents.overview.implement')}}</el-button>
110
- </div>
111
- <div class="footer" v-if="!realtimeStatusModalvisible && ((activeName === 'residentcontrol' && preselecttype !== '相位锁定' && preselecttype !== '方向锁定') || activeName === 'specialcontrol' || activeName === 'schemeselection')">
112
- <el-button @click="toAutoControl()" v-if="isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
113
- <el-button class="3" type="primary" @click="handleManualControl()">{{$t('openatccomponents.overview.comfirm')}}</el-button>
114
- </div>
115
-
116
93
  </el-tab-pane>
117
94
  <el-tab-pane :label="$t('openatccomponents.overview.schemeselection')" name="schemeselection">
118
95
  <ControlModelGroup
@@ -171,16 +148,6 @@
171
148
  </pattern-list>
172
149
  </div>
173
150
  </div>
174
-
175
- <div class="footer" v-if="realtimeStatusModalvisible && ((activeName === 'residentcontrol' && preselecttype !== '相位锁定' && preselecttype !== '方向锁定') || activeName === 'specialcontrol' || activeName === 'schemeselection')">
176
- <el-button v-if="isShowBack" @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
177
- <el-button @click="toAutoControl()" v-if="isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
178
- <el-button type="primary" @click="handleManualControl()">{{$t('openatccomponents.overview.implement')}}</el-button>
179
- </div>
180
- <div class="footer" v-if="!realtimeStatusModalvisible && ((activeName === 'residentcontrol' && preselecttype !== '相位锁定' && preselecttype !== '方向锁定') || activeName === 'specialcontrol' || activeName === 'schemeselection')">
181
- <el-button @click="toAutoControl()" v-if="isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
182
- <el-button class="3" type="primary" @click="handleManualControl()">{{$t('openatccomponents.overview.comfirm')}}</el-button>
183
- </div>
184
151
  </el-tab-pane>
185
152
  <el-tab-pane :label="$t('openatccomponents.overview.others')" name="others">
186
153
  <ControlModelGroup
@@ -200,7 +167,6 @@
200
167
  :sidewalkPhaseData="sidewalkPhaseData"
201
168
  :realtimeStatusModalvisible="realtimeStatusModalvisible"
202
169
  :roadDirection="roadDirection"
203
- :isShowBack="isShowBack"
204
170
  @closePhaseBack="handleClose"
205
171
  @closePhaseControl="closePhaseControl"
206
172
  @toAutoControl="toAutoControl" />
@@ -212,7 +178,6 @@
212
178
  :overlap="overlap"
213
179
  :patternSelect="patternSelect"
214
180
  :allPatternList="allPatternList"
215
- :isShowBack="isShowBack"
216
181
  @closePhaseBack="handleClose"
217
182
  @closePhaseControl="closePhaseControl"
218
183
  @toAutoControl="toAutoControl"
@@ -221,13 +186,21 @@
221
186
  v-if="preselecttype === '优先控制'"
222
187
  :realtimeStatusModalvisible="realtimeStatusModalvisible"
223
188
  :phaseList="phaseList"
224
- :isShowBack="isShowBack"
225
189
  @closePhaseBack="handleClose"
226
190
  @closePhaseControl="closePhaseControl"
227
191
  @toAutoControl="toAutoControl"
228
192
  />
229
193
  </el-tab-pane>
230
194
  </el-tabs>
195
+ <div class="footer" v-if="realtimeStatusModalvisible && ((activeName === 'residentcontrol' && preselecttype !== '相位锁定' && preselecttype !== '方向锁定') || activeName === 'specialcontrol' || activeName === 'schemeselection')">
196
+ <el-button @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
197
+ <el-button type="primary" plain @click="toAutoControl()" v-if="isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
198
+ <el-button type="primary" @click="handleManualControl()">{{$t('openatccomponents.overview.implement')}}</el-button>
199
+ </div>
200
+ <div class="footer" v-if="!realtimeStatusModalvisible && ((activeName === 'residentcontrol' && preselecttype !== '相位锁定' && preselecttype !== '方向锁定') || activeName === 'specialcontrol' || activeName === 'schemeselection')">
201
+ <el-button type="primary" plain @click="toAutoControl()" v-if="isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
202
+ <el-button class="3" type="primary" @click="handleManualControl()">{{$t('openatccomponents.overview.comfirm')}}</el-button>
203
+ </div>
231
204
  </div>
232
205
  </template>
233
206
 
@@ -301,7 +274,7 @@ export default {
301
274
  specialcontrolList: {
302
275
  type: Array
303
276
  },
304
- realtimeStatusModalvisible: { // 区分是保存方案还是提交方案,保存方案没有路口实时信息
277
+ realtimeStatusModalvisible: {
305
278
  type: Boolean,
306
279
  default: true
307
280
  },
@@ -338,10 +311,6 @@ export default {
338
311
  },
339
312
  patternChooseControlList: {
340
313
  type: Array
341
- },
342
- isShowBack: {
343
- type: Boolean,
344
- default: true
345
314
  }
346
315
  },
347
316
  watch: {
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div class="priority-control manual-common-content">
2
+ <div class="priority-control">
3
3
  <!-- <div class="title" style="margin-bottom: 18px;">{{$t('openatccomponents.overview.prioritycontrol')}}</div> -->
4
4
  <el-row>
5
5
  <el-col :span="12">
@@ -86,13 +86,13 @@
86
86
  </el-col>
87
87
  </el-row>
88
88
  <div class="footer" v-if="realtimeStatusModalvisible">
89
- <el-button v-if="isShowBack" @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
90
- <el-button @click="toAutoControl()" v-if="isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
89
+ <el-button @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
90
+ <el-button type="primary" plain @click="toAutoControl()" v-if="isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
91
91
  <el-button type="primary" @click="handleManualControl()">{{$t('openatccomponents.overview.implement')}}</el-button>
92
92
  </div>
93
93
  <div class="footer" v-if="!realtimeStatusModalvisible">
94
- <el-button v-if="isShowBack" @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
95
- <el-button @click="toAutoControl()" v-if="isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
94
+ <el-button @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
95
+ <el-button type="primary" plain @click="toAutoControl()" v-if="isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
96
96
  <el-button type="primary" @click="handleManualControl()">{{$t('openatccomponents.overview.comfirm')}}</el-button>
97
97
  </div>
98
98
  </div>
@@ -114,10 +114,6 @@ export default {
114
114
  },
115
115
  phaseList: {
116
116
  type: Array
117
- },
118
- isShowBack: {
119
- type: Boolean,
120
- default: true
121
117
  }
122
118
  },
123
119
  data () {
@@ -10,7 +10,7 @@
10
10
  * See the Mulan PSL v2 for more details.
11
11
  **/
12
12
  <template>
13
- <div style="overflow: hidden;">
13
+ <div>
14
14
  <div class="cross-mess">{{$t('openatccomponents.overview.crossinfo')}}</div>
15
15
  <div class="cross-module">
16
16
  <div class="cross-content">
@@ -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">
4
4
  {{ $t('openatccomponents.overview.tentativeplan') }}
5
5
  </div> -->
@@ -92,7 +92,7 @@
92
92
  </el-form>
93
93
  </el-col>
94
94
  </el-row>
95
- <el-row style="margin-top: 20px;">
95
+ <el-row>
96
96
  <el-radio v-model="isRing" :label="false" @change="changeRing">{{
97
97
  $t('openatccomponents.common.ringStyle')
98
98
  }}</el-radio>
@@ -126,14 +126,14 @@
126
126
  >
127
127
  </pattern-list>
128
128
  </el-row>
129
- <el-row style="margin-top: 20px;">
129
+ <el-row>
130
130
  <el-tabs v-model="activeTab" type="card">
131
131
  <el-tab-pane
132
132
  v-if="!isRing"
133
133
  :label="$t('openatccomponents.pattern.ringConfig')"
134
134
  name="kanban"
135
135
  >
136
- <div style="width: 100%; overflow: hidden;">
136
+ <div style="width: 100%; overflow: hidden; margin-top: 20px">
137
137
  <kan-ban
138
138
  v-for="n in ringCount"
139
139
  :key="n"
@@ -315,19 +315,19 @@
315
315
  </el-tabs>
316
316
  </el-row>
317
317
  <div class="footer" v-if="realtimeStatusModalvisible">
318
- <el-button v-if="isShowBack" @click="handleClose()">{{
318
+ <el-button @click="handleClose()">{{
319
319
  $t('openatccomponents.button.Back')
320
320
  }}</el-button>
321
- <el-button @click="toAutoControl()" v-if="isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
321
+ <el-button type="primary" plain @click="toAutoControl()" v-if="isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
322
322
  <el-button type="primary" @click="handleManualControl()">{{
323
323
  $t('openatccomponents.overview.implement')
324
324
  }}</el-button>
325
325
  </div>
326
326
  <div class="footer" v-if="!realtimeStatusModalvisible">
327
- <el-button v-if="isShowBack" @click="handleClose()">{{
327
+ <el-button @click="handleClose()">{{
328
328
  $t('openatccomponents.button.Back')
329
329
  }}</el-button>
330
- <el-button @click="toAutoControl()" v-if="isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
330
+ <el-button type="primary" plain @click="toAutoControl()" v-if="isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
331
331
  <el-button type="primary" @click="handleManualControl()">{{
332
332
  $t('openatccomponents.overview.comfirm')
333
333
  }}</el-button>
@@ -359,10 +359,6 @@ export default {
359
359
  },
360
360
  patternSelect: {
361
361
  type: Array
362
- },
363
- isShowBack: {
364
- type: Boolean,
365
- default: true
366
362
  }
367
363
  },
368
364
  watch: {
@@ -298,7 +298,6 @@ export default {
298
298
  dirListSetTheme (list) {
299
299
  let dirArr = []
300
300
  let color = getTheme() === 'light' ? '#606266' : '#F1F3F4'
301
- let pedColor = getTheme() === 'light' ? '#606266' : 'rgba(255, 255, 255, 0.6)'
302
301
  for (let rec of list) {
303
302
  let recd = {
304
303
  ...rec,
@@ -306,7 +305,7 @@ export default {
306
305
  }
307
306
  dirArr.push(recd)
308
307
  for(let i=0;i<rec.peddirection.length;i++) {
309
- rec.peddirection[i].color = pedColor
308
+ rec.peddirection[i].color = color
310
309
  }
311
310
  }
312
311
  return dirArr
@@ -3,6 +3,7 @@
3
3
  <BoardCard
4
4
  :patternId="patternId"
5
5
  :contrloType="contrloType"
6
+ :patternType="patternType"
6
7
  :stagesChange="stagesChange"
7
8
  :patternStatusList="patternStatusList"
8
9
  :cycles="cycles"
@@ -536,6 +537,9 @@ export default {
536
537
  patternStatusList: {
537
538
  type: Array
538
539
  },
540
+ patternType: {
541
+ type: String
542
+ },
539
543
  patternId: {
540
544
  type: Number
541
545
  },
@@ -7,7 +7,6 @@ import lockingPhaselControlModal from './components/SchemeConfig/lockingPhaselCo
7
7
  import Channelization from './components/Channelization/index'
8
8
  import ChannelizationFlowStatistic from './components/ChannelizationFlowStatistic/index'
9
9
  import DrawChannelization from './components/DrawChannelization/index'
10
- import ChannelRealtimeIntersection from './components/ChannelRealtimeIntersection/index'
11
10
  import FaultDetailModal from './components/FaultDetailModal/index'
12
11
  import CommonKanban from './components/CommonKanban/index'
13
12
  import patternList from './components/patternList/index'
@@ -48,7 +47,6 @@ const components = {
48
47
  Channelization,
49
48
  ChannelizationFlowStatistic,
50
49
  DrawChannelization,
51
- ChannelRealtimeIntersection,
52
50
  FaultDetailModal,
53
51
  PatternStatus,
54
52
  BoardCard,
@@ -1,14 +1,31 @@
1
1
  <template>
2
2
  <div>
3
- <h2 class="text">实时通道路口图</h2>
4
- <channel-intection-with-interface
5
- :agentId="this.agentId"
6
- :roadDirection="roadDirection"
7
- :channelRealtimeStatusData="channelRealtimeStatusData"
8
- />
3
+ <!-- <h2>静态路口图</h2> -->
4
+ <!-- <intersection-base-map
5
+ ref="intersectionMap"
6
+ :crossStatusData="crossStatusData"
7
+ :agentId="agentId"
8
+ :clickMode="true" /> -->
9
+
10
+ <!-- 显示按通道获取相位的模版路口图 -->
11
+ <h2 class="text">显示配置的相位路口图</h2>
12
+ <!-- <intersection-base-map
13
+ ref="intersectionMap"
14
+ :crossStatusData="crossStatusData"
15
+ agentId="tjblsxl-ticp6"
16
+ isVipRoute
17
+ :choosedDirection="[1,2,3]"
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]"
25
+ :roadDirection="roadDirection" />
9
26
 
10
27
  <!-- 按通道获取相位的方向选择列表,特殊路口显示列表,普通路口显示模版路口图 -->
11
- <h2 class="text">非第三方配置路口图(按通道显示相位方向)</h2>
28
+ <h2 class="text">非第三方配置路口图</h2>
12
29
  <intersection-direction-selection
13
30
  :agentId="this.agentId"
14
31
  :choosedDirection="[14,6,13,8]"
@@ -16,7 +33,7 @@
16
33
  :roadDirection="roadDirection"
17
34
  @handleClickCrossIcon="handleClickCrossIcon" />
18
35
 
19
- <h2 class="text">第三方配置路口图(按路口相位配置显示相位方向)</h2>
36
+ <h2 class="text">第三方配置路口图</h2>
20
37
  <div>
21
38
  <intersection-direction-selection
22
39
  :agentId="this.agentId"
@@ -27,23 +44,6 @@
27
44
  @handleClickCrossIcon="handleClickCrossIcon" />
28
45
  </div>
29
46
 
30
- <!-- 显示按通道获取相位的模版路口图 -->
31
- <h2 class="text">显示配置的相位路口图</h2>
32
- <!-- <intersection-base-map
33
- ref="intersectionMap"
34
- :crossStatusData="crossStatusData"
35
- agentId="tjblsxl-ticp6"
36
- isVipRoute
37
- :choosedDirection="[1,2,3]"
38
- :choosedPedDirection="[3,4]"
39
- :roadDirection="roadDirection" /> -->
40
- <!-- <intersection-direction-selection
41
- :agentId="this.agentId"
42
- :clickMode="false"
43
- :choosedDirection="[14,6,13,8]"
44
- :choosedPedDirection="[1]"
45
- :roadDirection="roadDirection" /> -->
46
-
47
47
  <!-- <button @click="lockPhase" >相位锁定</button><br/>
48
48
  <button @click="unlockPhase" >解锁相位</button><br/>
49
49
  <button @click="changeControlPattern" >改变控制方案</button><br/>
@@ -139,12 +139,12 @@ export default {
139
139
  return {
140
140
  roadDirection: 'right',
141
141
  // reqUrl: 'http://192.168.13.103:10003/openatc',
142
- agentId: 'tjbljml',
142
+ agentId: 'tjblsxl-ticp6',
143
143
  // agentId: '13013',
144
144
  // agentId: '12007_390',
145
145
  // agentId: '12014',
146
146
  reqUrl: 'http://192.168.13.103:10003/openatc',
147
- Token: 'eyJraWQiOiIxNzE4NjcyODI1MTg4IiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTcxODcxNjAyNSwiaWF0IjoxNzE4NjcyODI1fQ.vjEP7xqngwal74DlUwqs4FLoy-IsNphHNrbuDqzGce4',
147
+ Token: 'eyJraWQiOiIxNzE0MDk1MjUwNTU5IiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTcxNDEzODQ1MCwiaWF0IjoxNzE0MDk1MjUwfQ.17SP6vzbImSV2jy_LC10xQaH7z4aXWvg3yc2bUFLYvE',
148
148
  // agentId: '30003-352',
149
149
  // reqUrl: 'https://kints-dev.devdolphin.com/openatc',
150
150
  // Token: 'eyJraWQiOiIxNjUwNTA5MDI2ODk2IiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJ4aWFvbWluZyIsImV4cCI6MTczNjkwOTAyNiwiaWF0IjoxNjUwNTA5MDI2fQ.-s4T-uMRmB2zf9yer87USKQXLY1a12Zq5lCOnqjNmfA',
@@ -186,39 +186,7 @@ export default {
186
186
  }
187
187
  }
188
188
  ],
189
- crossStatusData: {},
190
- channelRealtimeStatusData: {
191
- 'channellamp': [
192
- {
193
- 'id': 1,
194
- 'light': 1
195
- },
196
- {
197
- 'id': 2,
198
- 'light': 3
199
- },
200
- {
201
- 'id': 3,
202
- 'light': 1
203
- },
204
- {
205
- 'id': 4,
206
- 'light': 1
207
- },
208
- {
209
- 'id': 5,
210
- 'light': 3
211
- },
212
- {
213
- 'id': 6,
214
- 'light': 1
215
- },
216
- {
217
- 'id': 7,
218
- 'light': 3
219
- }
220
- ]
221
- }
189
+ crossStatusData: {}
222
190
  }
223
191
  },
224
192
  components: {
@@ -20,7 +20,7 @@ export default {
20
20
  modeName: '交警遥控',
21
21
  controlName: '步进',
22
22
  agentId: 'jmlxhl',
23
- Token: 'eyJraWQiOiIxNzE4NjcyODI1MTg4IiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTcxODcxNjAyNSwiaWF0IjoxNzE4NjcyODI1fQ.vjEP7xqngwal74DlUwqs4FLoy-IsNphHNrbuDqzGce4',
23
+ Token: 'eyJraWQiOiIxNzA4OTA5NDk2ODcxIiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTcwODk1MjY5NiwiaWF0IjoxNzA4OTA5NDk2fQ.FI0gzBQFLyQsj95LG56lVZxb6WYlr2-datNsyv6fF-I',
24
24
  reqUrl: 'http://192.168.13.103:10003/openatc'
25
25
  }
26
26
  },
@@ -57,7 +57,7 @@
57
57
  overflow: hidden;
58
58
  text-align: center;
59
59
  padding: 0 6PX;
60
- margin-bottom: -10PX;
60
+ margin-bottom: -20PX;
61
61
  font-size: 12PX;
62
62
  color: $--color-info;
63
63
  background-color: $--color-black;
@@ -141,10 +141,10 @@
141
141
  cursor: pointer;
142
142
  width: 100%;
143
143
  height: 48PX;
144
- // margin: 5PX 0;
144
+ margin: 5PX 0;
145
145
  // background-color: rgba(31,46,46,0.9);
146
146
  text-align: left;
147
- line-height: 37PX;
147
+ line-height: 40PX;
148
148
  padding: 1PX 1PX;
149
149
  box-sizing: border-box;
150
150
  // cursor: pointer;
@@ -109,7 +109,7 @@
109
109
  margin-left: 15PX;
110
110
  margin-top: 15PX;
111
111
  height: 20PX;
112
- font-size: 18PX;
112
+ font-size: 20PX;
113
113
  font-weight: normal;
114
114
  font-stretch: normal;
115
115
  line-height: 22PX;
@@ -130,7 +130,7 @@
130
130
  float: right;
131
131
  color: $--color-text-regular;
132
132
  .el-checkbox__label {
133
- font-size: 14PX;
133
+ font-size: 16PX;
134
134
  color: $--color-text-regular;
135
135
  font-weight: normal;
136
136
  font-stretch: normal;