openatc-components 0.2.57 → 0.2.58
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package/kisscomps/components/SchemeConfig/SchemeConfig.vue +5 -98
- package/package/kisscomps/components/SchemeConfig/azimuthlocking/index.vue +6 -2
- package/package/kisscomps/components/SchemeConfig/closePhaselControlModal/index.vue +6 -2
- package/package/kisscomps/components/SchemeConfig/lockingPhaselControlModal/index.vue +5 -1
- package/package/kisscomps/components/SchemeConfig/manualControlModalNew/index.vue +13 -4
- package/package/kisscomps/components/SchemeConfig/priorityControl/index.vue +6 -2
- package/package/kisscomps/components/SchemeConfig/tentativeplancontrolmodal/index.vue +6 -2
- package/package/kissui.min.js +1 -1
- package/package.json +1 -1
- package/src/kisscomps/components/SchemeConfig/SchemeConfig.vue +5 -98
- package/src/kisscomps/components/SchemeConfig/azimuthlocking/index.vue +6 -2
- package/src/kisscomps/components/SchemeConfig/closePhaselControlModal/index.vue +6 -2
- package/src/kisscomps/components/SchemeConfig/lockingPhaselControlModal/index.vue +5 -1
- package/src/kisscomps/components/SchemeConfig/manualControlModalNew/index.vue +13 -4
- package/src/kisscomps/components/SchemeConfig/priorityControl/index.vue +6 -2
- package/src/kisscomps/components/SchemeConfig/tentativeplancontrolmodal/index.vue +6 -2
- package/src/views/overView.vue +1 -1
- package/static/styles/schemeconfig.scss +4 -9
|
@@ -38,6 +38,7 @@
|
|
|
38
38
|
:overlap="overlap"
|
|
39
39
|
:patternSelect="patternSelect"
|
|
40
40
|
:allPatternList="allPatternList"
|
|
41
|
+
:isShowBack="isShowBack"
|
|
41
42
|
@closeManualModal="closeManualModal"
|
|
42
43
|
@selectModel="selectModel"
|
|
43
44
|
@selectStages="selectStages"
|
|
@@ -45,76 +46,8 @@
|
|
|
45
46
|
@closePhaseBack="closePhaseBack"
|
|
46
47
|
@closePhaseControl="closePhaseControl"
|
|
47
48
|
@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" /> -->
|
|
67
49
|
</div>
|
|
68
50
|
</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> -->
|
|
118
51
|
|
|
119
52
|
<transition name="fade-left" mode="out-in"
|
|
120
53
|
enter-active-class="animated fadeInLeft"
|
|
@@ -240,6 +173,10 @@ export default {
|
|
|
240
173
|
isFromAtc: {
|
|
241
174
|
type: Boolean,
|
|
242
175
|
default: true
|
|
176
|
+
},
|
|
177
|
+
isShowBack: {
|
|
178
|
+
type: Boolean,
|
|
179
|
+
default: true
|
|
243
180
|
}
|
|
244
181
|
},
|
|
245
182
|
data () {
|
|
@@ -473,32 +410,6 @@ export default {
|
|
|
473
410
|
faultvisible: false,
|
|
474
411
|
isClosePhase: false, // 是否在相位关断
|
|
475
412
|
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
|
-
}],
|
|
502
413
|
phaseRings: [],
|
|
503
414
|
curFaultList: [],
|
|
504
415
|
confirmedFault: [],
|
|
@@ -862,10 +773,6 @@ export default {
|
|
|
862
773
|
}
|
|
863
774
|
},
|
|
864
775
|
closePhaseBack () {
|
|
865
|
-
// if (!this.realtimeStatusModalvisible) {
|
|
866
|
-
// this.$emit('closePhaseBack')
|
|
867
|
-
// return
|
|
868
|
-
// }
|
|
869
776
|
this.toPage = 3
|
|
870
777
|
this.isClosePhase = false
|
|
871
778
|
},
|
|
@@ -89,12 +89,12 @@
|
|
|
89
89
|
</div>
|
|
90
90
|
</div> -->
|
|
91
91
|
<div class="footer" v-if="realtimeStatusModalvisible">
|
|
92
|
-
<el-button @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
|
|
92
|
+
<el-button v-if="isShowBack" @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
|
|
93
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 @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
|
|
97
|
+
<el-button v-if="isShowBack" @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
|
|
98
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>
|
|
@@ -117,6 +117,10 @@ export default {
|
|
|
117
117
|
realtimeStatusModalvisible: {
|
|
118
118
|
type: Boolean,
|
|
119
119
|
default: true
|
|
120
|
+
},
|
|
121
|
+
isShowBack: {
|
|
122
|
+
type: Boolean,
|
|
123
|
+
default: true
|
|
120
124
|
}
|
|
121
125
|
},
|
|
122
126
|
watch: {
|
|
@@ -61,12 +61,12 @@
|
|
|
61
61
|
</div>
|
|
62
62
|
</el-row>
|
|
63
63
|
<div class="footer" v-if="realtimeStatusModalvisible">
|
|
64
|
-
<el-button @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
|
|
64
|
+
<el-button v-if="isShowBack" @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
|
|
65
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 @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
|
|
69
|
+
<el-button v-if="isShowBack" @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
|
|
70
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>
|
|
@@ -118,6 +118,10 @@ export default {
|
|
|
118
118
|
},
|
|
119
119
|
roadDirection: {
|
|
120
120
|
type: String
|
|
121
|
+
},
|
|
122
|
+
isShowBack: {
|
|
123
|
+
type: Boolean,
|
|
124
|
+
default: true
|
|
121
125
|
}
|
|
122
126
|
},
|
|
123
127
|
data () {
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
</div>
|
|
89
89
|
</el-row>
|
|
90
90
|
<div class="footer">
|
|
91
|
-
<el-button @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
|
|
91
|
+
<el-button v-if="isShowBack" @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
|
|
92
92
|
<el-button type="primary" plain @click="toAutoControl()" v-if="isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
|
|
93
93
|
<el-button type="primary" @click="handleLockPhase()">{{lockPhaseBtnName}}</el-button>
|
|
94
94
|
</div>
|
|
@@ -116,6 +116,10 @@ export default {
|
|
|
116
116
|
},
|
|
117
117
|
roadDirection: {
|
|
118
118
|
type: String
|
|
119
|
+
},
|
|
120
|
+
isShowBack: {
|
|
121
|
+
type: Boolean,
|
|
122
|
+
default: true
|
|
119
123
|
}
|
|
120
124
|
},
|
|
121
125
|
data () {
|
|
@@ -54,6 +54,7 @@
|
|
|
54
54
|
:phaseList="phaseList"
|
|
55
55
|
:patternStatus="statusData"
|
|
56
56
|
:lockPhaseBtnName="lockPhaseBtnName"
|
|
57
|
+
:isShowBack="isShowBack"
|
|
57
58
|
@closePhaseBack="handleClose"
|
|
58
59
|
@closePhaseControl="closePhaseControl"
|
|
59
60
|
@toAutoControl="toAutoControl" />
|
|
@@ -63,12 +64,13 @@
|
|
|
63
64
|
:realtimeStatusModalvisible="realtimeStatusModalvisible"
|
|
64
65
|
:phaseList="phaseList"
|
|
65
66
|
:patternStatus="statusData"
|
|
67
|
+
:isShowBack="isShowBack"
|
|
66
68
|
@closePhaseBack="handleClose"
|
|
67
69
|
@toAutoControl="toAutoControl"
|
|
68
70
|
/>
|
|
69
71
|
|
|
70
72
|
<div class="footer" v-if="realtimeStatusModalvisible && ((activeName === 'residentcontrol' && preselecttype !== '相位锁定' && preselecttype !== '方向锁定') || activeName === 'specialcontrol' || activeName === 'schemeselection')">
|
|
71
|
-
<el-button @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
|
|
73
|
+
<el-button v-if="isShowBack" @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
|
|
72
74
|
<el-button type="primary" plain @click="toAutoControl()" v-if="isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
|
|
73
75
|
<el-button type="primary" @click="handleManualControl()">{{$t('openatccomponents.overview.implement')}}</el-button>
|
|
74
76
|
</div>
|
|
@@ -102,7 +104,7 @@
|
|
|
102
104
|
</div>
|
|
103
105
|
|
|
104
106
|
<div class="footer" v-if="realtimeStatusModalvisible && ((activeName === 'residentcontrol' && preselecttype !== '相位锁定' && preselecttype !== '方向锁定') || activeName === 'specialcontrol' || activeName === 'schemeselection')">
|
|
105
|
-
<el-button @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
|
|
107
|
+
<el-button v-if="isShowBack" @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
|
|
106
108
|
<el-button type="primary" plain @click="toAutoControl()" v-if="isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
|
|
107
109
|
<el-button type="primary" @click="handleManualControl()">{{$t('openatccomponents.overview.implement')}}</el-button>
|
|
108
110
|
</div>
|
|
@@ -171,7 +173,7 @@
|
|
|
171
173
|
</div>
|
|
172
174
|
|
|
173
175
|
<div class="footer" v-if="realtimeStatusModalvisible && ((activeName === 'residentcontrol' && preselecttype !== '相位锁定' && preselecttype !== '方向锁定') || activeName === 'specialcontrol' || activeName === 'schemeselection')">
|
|
174
|
-
<el-button @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
|
|
176
|
+
<el-button v-if="isShowBack" @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
|
|
175
177
|
<el-button type="primary" plain @click="toAutoControl()" v-if="isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
|
|
176
178
|
<el-button type="primary" @click="handleManualControl()">{{$t('openatccomponents.overview.implement')}}</el-button>
|
|
177
179
|
</div>
|
|
@@ -198,6 +200,7 @@
|
|
|
198
200
|
:sidewalkPhaseData="sidewalkPhaseData"
|
|
199
201
|
:realtimeStatusModalvisible="realtimeStatusModalvisible"
|
|
200
202
|
:roadDirection="roadDirection"
|
|
203
|
+
:isShowBack="isShowBack"
|
|
201
204
|
@closePhaseBack="handleClose"
|
|
202
205
|
@closePhaseControl="closePhaseControl"
|
|
203
206
|
@toAutoControl="toAutoControl" />
|
|
@@ -209,6 +212,7 @@
|
|
|
209
212
|
:overlap="overlap"
|
|
210
213
|
:patternSelect="patternSelect"
|
|
211
214
|
:allPatternList="allPatternList"
|
|
215
|
+
:isShowBack="isShowBack"
|
|
212
216
|
@closePhaseBack="handleClose"
|
|
213
217
|
@closePhaseControl="closePhaseControl"
|
|
214
218
|
@toAutoControl="toAutoControl"
|
|
@@ -217,6 +221,7 @@
|
|
|
217
221
|
v-if="preselecttype === '优先控制'"
|
|
218
222
|
:realtimeStatusModalvisible="realtimeStatusModalvisible"
|
|
219
223
|
:phaseList="phaseList"
|
|
224
|
+
:isShowBack="isShowBack"
|
|
220
225
|
@closePhaseBack="handleClose"
|
|
221
226
|
@closePhaseControl="closePhaseControl"
|
|
222
227
|
@toAutoControl="toAutoControl"
|
|
@@ -296,7 +301,7 @@ export default {
|
|
|
296
301
|
specialcontrolList: {
|
|
297
302
|
type: Array
|
|
298
303
|
},
|
|
299
|
-
realtimeStatusModalvisible: {
|
|
304
|
+
realtimeStatusModalvisible: { // 区分是保存方案还是提交方案,保存方案没有路口实时信息
|
|
300
305
|
type: Boolean,
|
|
301
306
|
default: true
|
|
302
307
|
},
|
|
@@ -333,6 +338,10 @@ export default {
|
|
|
333
338
|
},
|
|
334
339
|
patternChooseControlList: {
|
|
335
340
|
type: Array
|
|
341
|
+
},
|
|
342
|
+
isShowBack: {
|
|
343
|
+
type: Boolean,
|
|
344
|
+
default: true
|
|
336
345
|
}
|
|
337
346
|
},
|
|
338
347
|
watch: {
|
|
@@ -86,12 +86,12 @@
|
|
|
86
86
|
</el-col>
|
|
87
87
|
</el-row>
|
|
88
88
|
<div class="footer" v-if="realtimeStatusModalvisible">
|
|
89
|
-
<el-button @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
|
|
89
|
+
<el-button v-if="isShowBack" @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
|
|
90
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 @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
|
|
94
|
+
<el-button v-if="isShowBack" @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
|
|
95
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>
|
|
@@ -114,6 +114,10 @@ export default {
|
|
|
114
114
|
},
|
|
115
115
|
phaseList: {
|
|
116
116
|
type: Array
|
|
117
|
+
},
|
|
118
|
+
isShowBack: {
|
|
119
|
+
type: Boolean,
|
|
120
|
+
default: true
|
|
117
121
|
}
|
|
118
122
|
},
|
|
119
123
|
data () {
|
|
@@ -315,7 +315,7 @@
|
|
|
315
315
|
</el-tabs>
|
|
316
316
|
</el-row>
|
|
317
317
|
<div class="footer" v-if="realtimeStatusModalvisible">
|
|
318
|
-
<el-button @click="handleClose()">{{
|
|
318
|
+
<el-button v-if="isShowBack" @click="handleClose()">{{
|
|
319
319
|
$t('openatccomponents.button.Back')
|
|
320
320
|
}}</el-button>
|
|
321
321
|
<el-button type="primary" plain @click="toAutoControl()" v-if="isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
|
|
@@ -324,7 +324,7 @@
|
|
|
324
324
|
}}</el-button>
|
|
325
325
|
</div>
|
|
326
326
|
<div class="footer" v-if="!realtimeStatusModalvisible">
|
|
327
|
-
<el-button @click="handleClose()">{{
|
|
327
|
+
<el-button v-if="isShowBack" @click="handleClose()">{{
|
|
328
328
|
$t('openatccomponents.button.Back')
|
|
329
329
|
}}</el-button>
|
|
330
330
|
<el-button type="primary" plain @click="toAutoControl()" v-if="isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
|
|
@@ -359,6 +359,10 @@ export default {
|
|
|
359
359
|
},
|
|
360
360
|
patternSelect: {
|
|
361
361
|
type: Array
|
|
362
|
+
},
|
|
363
|
+
isShowBack: {
|
|
364
|
+
type: Boolean,
|
|
365
|
+
default: true
|
|
362
366
|
}
|
|
363
367
|
},
|
|
364
368
|
watch: {
|