openatc-components 0.3.24 → 0.3.25

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 (21) hide show
  1. package/package/kisscomps/components/PhasePedSelect/index.vue +2 -2
  2. package/package/kisscomps/components/SchemeConfig/SchemeConfig.vue +42 -1
  3. package/package/kisscomps/components/SchemeConfig/azimuthlocking/index.vue +15 -11
  4. package/package/kisscomps/components/SchemeConfig/closePhaselControlModal/index.vue +10 -6
  5. package/package/kisscomps/components/SchemeConfig/lockingPhaselControlModal/index.vue +12 -8
  6. package/package/kisscomps/components/SchemeConfig/manualControlModalNew/index.vue +23 -14
  7. package/package/kisscomps/components/SchemeConfig/priorityControl/index.vue +14 -10
  8. package/package/kisscomps/components/SchemeConfig/tentativeplancontrolmodal/index.vue +12 -8
  9. package/package/kissui.min.js +1 -1
  10. package/package.json +1 -1
  11. package/src/i18n/language/en.js +6 -6
  12. package/src/i18n/language/zh.js +6 -6
  13. package/src/kisscomps/components/PhasePedSelect/index.vue +2 -2
  14. package/src/kisscomps/components/SchemeConfig/SchemeConfig.vue +42 -1
  15. package/src/kisscomps/components/SchemeConfig/azimuthlocking/index.vue +15 -11
  16. package/src/kisscomps/components/SchemeConfig/closePhaselControlModal/index.vue +10 -6
  17. package/src/kisscomps/components/SchemeConfig/lockingPhaselControlModal/index.vue +12 -8
  18. package/src/kisscomps/components/SchemeConfig/manualControlModalNew/index.vue +23 -14
  19. package/src/kisscomps/components/SchemeConfig/priorityControl/index.vue +14 -10
  20. package/src/kisscomps/components/SchemeConfig/tentativeplancontrolmodal/index.vue +12 -8
  21. package/src/views/schemeconfig.vue +17 -15
@@ -12,7 +12,7 @@
12
12
  <template>
13
13
  <div class="PhasePedSelect">
14
14
  <div class="item">
15
- <div class="name">{{$t('openatccomponents.channel.phaseVehicle')}}:</div>
15
+ <div class="name">{{$t('openatccomponents.channel.phaseVehicle')}}</div>
16
16
  <div class="content">
17
17
  <template v-for="(ring, index) in phaseDirection">
18
18
  <div :class="ring.selected ? 'card-selected' : 'card'" :key="ring" @click="onCardClick(ring, index)" :style="getStyle(ring)">
@@ -30,7 +30,7 @@
30
30
  </div>
31
31
  </div>
32
32
  <div class="item">
33
- <div class="name">{{$t('openatccomponents.channel.phasePedestrian')}}:</div>
33
+ <div class="name">{{$t('openatccomponents.channel.phasePedestrian')}}</div>
34
34
  <div class="content">
35
35
  <template v-for="(ring, index) in pedDirection">
36
36
  <div :class="ring.selected ? 'card-selected' : 'card'" :key="ring" @click="onCardClick(ring, index)">
@@ -12,7 +12,8 @@
12
12
  <template>
13
13
  <div class="scheme-config openatc-scheme-config" style="height: 100%;">
14
14
  <fault-detail-modal ref="faultDetail" :agentId="agentId" :isFromAtc="isFromAtc" @refreshFault="getFaultById"></fault-detail-modal>
15
- <div style="height: 100%;">
15
+ <!-- 带实时面板的完整功能(带动画) -->
16
+ <div style="height: 100%;" v-if="realtimeStatusModalvisible">
16
17
  <transition name="fade-right" mode="out-in"
17
18
  :enter-active-class="toPage === 1 ? 'animated fadeInRight' : 'animated fadeInLeft'"
18
19
  :leave-active-class="toPage === 1 ? 'animated fadeOutRight' : 'animated fadeOutLeft' ">
@@ -39,6 +40,7 @@
39
40
  :patternSelect="patternSelect"
40
41
  :allPatternList="allPatternList"
41
42
  :isShowBack="isShowBack"
43
+ :isShowRecovery="isShowRecovery"
42
44
  @closeManualModal="closeManualModal"
43
45
  @selectModel="selectModel"
44
46
  @selectStages="selectStages"
@@ -75,6 +77,41 @@
75
77
  </div>
76
78
  </transition>
77
79
  </div>
80
+ <!-- 只有控制功能(无动画) -->
81
+ <div v-else style="height: 100%;">
82
+ <div class="new" style="position: absolute;width: 100%;height:100%;" v-show="(isOperation && !isClosePhase)">
83
+ <ManualControlModalNew
84
+ ref="ManualControlModalNew"
85
+ :residentControlList="residentControlList"
86
+ :specialControlList="specialControlList"
87
+ :patternChooseControlList="patternChooseControlList"
88
+ :othersControlList="othersControlList"
89
+ :controlData="controlData"
90
+ :patternAll="patternAll"
91
+ :crossStatusData="crossStatusData"
92
+ :preselectModel="preselectModel"
93
+ :preselectStages="preselectStages"
94
+ :realtimeStatusModalvisible="realtimeStatusModalvisible"
95
+ :roadDirection="roadDirection"
96
+ :closePhaseRings="phaseRings"
97
+ :sidewalkPhaseData="sidewalkPhaseData"
98
+ :phaseList="phaseList"
99
+ :statusData="statusData"
100
+ :lockPhaseBtnName="lockPhaseBtnName"
101
+ :overlap="overlap"
102
+ :patternSelect="patternSelect"
103
+ :allPatternList="allPatternList"
104
+ :isShowBack="isShowBack"
105
+ :isShowRecovery="isShowRecovery"
106
+ @closeManualModal="closeManualModal"
107
+ @selectModel="selectModel"
108
+ @selectStages="selectStages"
109
+ @patternCommit="patternCommit"
110
+ @closePhaseBack="closePhaseBack"
111
+ @closePhaseControl="closePhaseControl"
112
+ @selectSpecialModel="selectSpecialModelNew" />
113
+ </div>
114
+ </div>
78
115
  </div>
79
116
  </template>
80
117
 
@@ -177,6 +214,10 @@ export default {
177
214
  isShowBack: {
178
215
  type: Boolean,
179
216
  default: true
217
+ },
218
+ isShowRecovery: {
219
+ type: Boolean,
220
+ default: true
180
221
  }
181
222
  },
182
223
  data () {
@@ -7,19 +7,19 @@
7
7
  ref="manual"
8
8
  label-position="left"
9
9
  :model="manualInfo"
10
- label-width="74px">
10
+ label-width="90px">
11
11
  <el-form-item
12
- :label="$t('openatccomponents.overview.duration') + ':'"
12
+ :label="$t('openatccomponents.overview.duration')"
13
13
  prop="count">
14
14
  <el-input-number :placeholder="$t('openatccomponents.common.input')" :min="0" :max="65535" :precision="0" :step="1" :controls="false" v-model.number="manualInfo.duration" size="small"></el-input-number>
15
15
  </el-form-item>
16
16
  <el-form-item
17
- :label="$t('openatccomponents.overview.yellowflash') + ':'"
17
+ :label="$t('openatccomponents.overview.yellowflash')"
18
18
  prop="intersection">
19
19
  <el-input-number :placeholder="$t('openatccomponents.common.input')" :min="0" :max="65535" :precision="0" :step="1" :controls="false" v-model.number="manualInfo.yellowflash" size="small"></el-input-number>
20
20
  </el-form-item>
21
21
  <el-form-item
22
- :label="$t('openatccomponents.overview.mingreen') + ':'"
22
+ :label="$t('openatccomponents.overview.mingreen')"
23
23
  prop="intersection">
24
24
  <el-input-number :placeholder="$t('openatccomponents.common.input')" :min="0" :max="65535" :precision="0" :step="1" :controls="false" v-model.number="manualInfo.mingreen" size="small"></el-input-number>
25
25
  </el-form-item>
@@ -30,14 +30,14 @@
30
30
  ref="manual"
31
31
  label-position="left"
32
32
  :model="manualInfo"
33
- label-width="74px">
33
+ label-width="90px">
34
34
  <el-form-item
35
- :label="$t('openatccomponents.overview.greenclear') + ':'"
35
+ :label="$t('openatccomponents.overview.greenclear')"
36
36
  prop="count">
37
37
  <el-input-number :placeholder="$t('openatccomponents.common.input')" :min="0" :max="65535" :precision="0" :step="1" :controls="false" v-model.number="manualInfo.greenclear" size="small"></el-input-number>
38
38
  </el-form-item>
39
39
  <el-form-item
40
- :label="$t('openatccomponents.overview.allred') + ':'"
40
+ :label="$t('openatccomponents.overview.allred')"
41
41
  prop="intersection">
42
42
  <el-input-number :placeholder="$t('openatccomponents.common.input')" :min="0" :max="65535" :precision="0" :step="1" :controls="false" v-model.number="manualInfo.allred" size="small"></el-input-number>
43
43
  </el-form-item>
@@ -46,7 +46,7 @@
46
46
  </el-row>
47
47
  <el-row style="margin-top: 6px;">
48
48
  <el-col :span="24">
49
- <span class="model-label-title">{{$t('openatccomponents.overview.indirection')}}:</span>
49
+ <span class="model-label-title">{{$t('openatccomponents.overview.indirection')}}</span>
50
50
  </el-col>
51
51
  <el-col :span="24">
52
52
  <div class="control-model" v-for="(item, index) in imgs" :key="index">
@@ -80,7 +80,7 @@
80
80
  </el-col>
81
81
  </el-row>
82
82
  <!-- <div class="model-label" style="width: auto;overflow: hidden;">
83
- <span class="intitle">{{$t('openatccomponents.overview.indirection')}}:</span>
83
+ <span class="intitle">{{$t('openatccomponents.overview.indirection')}}</span>
84
84
  <div class="control-model" v-for="(item, index) in imgs" :key="index">
85
85
  <div :class="{'single-model-select':spanIndex.indexOf(index)>-1}" class="single-model" @click="boxShow(index,item)">
86
86
  <div v-if="item.class" :class="item.class" style="border:0px"></div>
@@ -90,12 +90,12 @@
90
90
  </div> -->
91
91
  <div class="footer" v-if="realtimeStatusModalvisible">
92
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>
93
+ <el-button v-if="isShowRecovery && isHasPermission('configer:manual:renew')" @click="toAutoControl()">{{$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
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>
98
+ <el-button v-if="isShowRecovery && isHasPermission('configer:manual:renew')" @click="toAutoControl()">{{$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>
@@ -121,6 +121,10 @@ export default {
121
121
  isShowBack: {
122
122
  type: Boolean,
123
123
  default: true
124
+ },
125
+ isShowRecovery: {
126
+ type: Boolean,
127
+ default: true
124
128
  }
125
129
  },
126
130
  watch: {
@@ -18,14 +18,14 @@
18
18
  ref="manual"
19
19
  label-position="left"
20
20
  :model="manualInfo"
21
- label-width="74px">
21
+ label-width="90px">
22
22
  <el-form-item
23
- :label="$t('openatccomponents.overview.delay') + ':'"
23
+ :label="$t('openatccomponents.overview.delay')"
24
24
  prop="intersection">
25
25
  <el-input-number :min="0" :max="65535" :precision="0" :step="1" :controls="false" v-model.number="manualInfo.tempDelay" size="small"></el-input-number>
26
26
  </el-form-item>
27
27
  <el-form-item
28
- :label="$t('openatccomponents.overview.duration') + ':'"
28
+ :label="$t('openatccomponents.overview.duration')"
29
29
  prop="count">
30
30
  <el-input-number :min="0" :max="65535" :precision="0" :step="1" :controls="false" v-model.number="manualInfo.tempDuration" size="small"></el-input-number>
31
31
  </el-form-item>
@@ -33,7 +33,7 @@
33
33
  </el-col>
34
34
  </el-row>
35
35
  <el-row>
36
- <div class="model-label">{{$t('openatccomponents.overview.mode')}}:</div>
36
+ <div class="model-label">{{$t('openatccomponents.overview.mode')}}</div>
37
37
  <div style="width: 100%; overflow: hidden;margin-top: 20px;">
38
38
  <common-kanban
39
39
  v-for="ring in closePhaseRings"
@@ -62,12 +62,12 @@
62
62
  </el-row>
63
63
  <div class="footer" v-if="realtimeStatusModalvisible">
64
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>
65
+ <el-button @click="toAutoControl()" v-if="isShowRecovery && 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
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>
70
+ <el-button @click="toAutoControl()" v-if="isShowRecovery && 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>
@@ -122,6 +122,10 @@ export default {
122
122
  isShowBack: {
123
123
  type: Boolean,
124
124
  default: true
125
+ },
126
+ isShowRecovery: {
127
+ type: Boolean,
128
+ default: true
125
129
  }
126
130
  },
127
131
  data () {
@@ -18,21 +18,21 @@
18
18
  ref="manual"
19
19
  label-position="left"
20
20
  :model="manualInfo"
21
- label-width="74px">
21
+ label-width="90px">
22
22
  <el-form-item
23
- :label="$t('openatccomponents.phase.greenclear') + ':'"
23
+ :label="$t('openatccomponents.overview.greenclear')"
24
24
  prop="intersection">
25
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
26
  </el-form-item>
27
27
 
28
28
  <el-form-item
29
- :label="$t('openatccomponents.overview.yellowflash') + ':'"
29
+ :label="$t('openatccomponents.overview.yellowflash')"
30
30
  prop="intersection">
31
31
  <el-input-number :min="0" :max="65535" :precision="0" :step="1" :controls="false" v-model.number="manualInfo.tempYellow" size="small"></el-input-number>
32
32
  </el-form-item>
33
33
 
34
34
  <el-form-item
35
- :label="$t('openatccomponents.phase.mingreen') + ':'"
35
+ :label="$t('openatccomponents.overview.mingreen')"
36
36
  prop="count">
37
37
  <el-input-number :min="0" :max="65535" :precision="0" :step="1" :controls="false" v-model.number="manualInfo.tempMingreen" size="small"></el-input-number>
38
38
  </el-form-item>
@@ -43,16 +43,16 @@
43
43
  ref="manual"
44
44
  label-position="left"
45
45
  :model="manualInfo"
46
- label-width="74px">
46
+ label-width="90px">
47
47
 
48
48
  <el-form-item
49
- :label="$t('openatccomponents.overview.duration') + ':'"
49
+ :label="$t('openatccomponents.overview.duration')"
50
50
  prop="count">
51
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
52
  </el-form-item>
53
53
 
54
54
  <el-form-item
55
- :label="$t('openatccomponents.overview.allred') + ':'"
55
+ :label="$t('openatccomponents.overview.allred')"
56
56
  prop="intersection">
57
57
  <el-input-number :min="0" :max="65535" :precision="0" :step="1" :controls="false" v-model.number="manualInfo.tempRedclear" size="small"></el-input-number>
58
58
  </el-form-item>
@@ -92,7 +92,7 @@
92
92
  </el-row>
93
93
  <div class="footer">
94
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>
95
+ <el-button @click="toAutoControl()" v-if="isShowRecovery && isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
96
96
  <el-button type="primary" @click="handleLockPhase()">{{lockPhaseBtnName}}</el-button>
97
97
  </div>
98
98
  </div>
@@ -127,6 +127,10 @@ export default {
127
127
  isShowBack: {
128
128
  type: Boolean,
129
129
  default: true
130
+ },
131
+ isShowRecovery: {
132
+ type: Boolean,
133
+ default: true
130
134
  }
131
135
  },
132
136
  data () {
@@ -27,9 +27,9 @@
27
27
  ref="manual"
28
28
  label-position="left"
29
29
  :model="manualInfo"
30
- label-width="74px">
30
+ label-width="90px">
31
31
  <el-form-item
32
- :label="$t('openatccomponents.overview.duration') + ':'"
32
+ :label="$t('openatccomponents.overview.duration')"
33
33
  prop="count">
34
34
  <el-input-number style="width: 170px;" v-model="manualInfo.tempDuration" :controls="false" :max="65535" :min="0" :precision="0" :step="1" :placeholder="$t('openatccomponents.common.input')" size="small"></el-input-number>
35
35
  </el-form-item>
@@ -37,7 +37,7 @@
37
37
  </div>
38
38
 
39
39
  <div class="stage-part" v-if="preselecttype === '阶段锁定'">
40
- <div class="stage-label">{{$t('openatccomponents.overview.stage')}}:</div>
40
+ <div class="stage-label">{{$t('openatccomponents.overview.stage')}}</div>
41
41
  <div style="width: 100%; height: auto;overflow: hidden;" v-if="isHasPermission('configer:manual:dwell')">
42
42
  <Stages :crossStatusData="manuals?manualsStage:realtimeStage"
43
43
  :phaseList="phaseList"
@@ -55,6 +55,7 @@
55
55
  :patternStatus="statusData"
56
56
  :lockPhaseBtnName="lockPhaseBtnName"
57
57
  :isShowBack="isShowBack"
58
+ :isShowRecovery="isShowRecovery"
58
59
  @closePhaseBack="handleClose"
59
60
  @closePhaseControl="closePhaseControl"
60
61
  @toAutoControl="toAutoControl" />
@@ -65,17 +66,18 @@
65
66
  :phaseList="phaseList"
66
67
  :patternStatus="statusData"
67
68
  :isShowBack="isShowBack"
69
+ :isShowRecovery="isShowRecovery"
68
70
  @closePhaseBack="handleClose"
69
71
  @toAutoControl="toAutoControl"
70
72
  />
71
73
 
72
74
  <div class="footer" v-if="realtimeStatusModalvisible && ((activeName === 'residentcontrol' && preselecttype !== '相位锁定' && preselecttype !== '方向锁定') || activeName === 'specialcontrol' || activeName === 'schemeselection')">
73
75
  <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>
76
+ <el-button @click="toAutoControl()" v-if="isShowRecovery && isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
75
77
  <el-button type="primary" @click="handleManualControl()">{{$t('openatccomponents.overview.implement')}}</el-button>
76
78
  </div>
77
79
  <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>
80
+ <el-button @click="toAutoControl()" v-if="isShowRecovery && isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
79
81
  <el-button class="3" type="primary" @click="handleManualControl()">{{$t('openatccomponents.overview.comfirm')}}</el-button>
80
82
  </div>
81
83
  </el-tab-pane>
@@ -94,9 +96,9 @@
94
96
  ref="manual"
95
97
  label-position="left"
96
98
  :model="manualInfo"
97
- label-width="74px">
99
+ label-width="90px">
98
100
  <el-form-item
99
- :label="$t('openatccomponents.overview.duration') + ':'"
101
+ :label="$t('openatccomponents.overview.duration')"
100
102
  prop="count">
101
103
  <el-input-number style="width: 170px;" v-model="manualInfo.tempDuration" :controls="false" :max="65535" :min="0" :precision="0" :step="1" :placeholder="$t('openatccomponents.common.input')" size="small"></el-input-number>
102
104
  </el-form-item>
@@ -105,11 +107,11 @@
105
107
 
106
108
  <div class="footer" v-if="realtimeStatusModalvisible && ((activeName === 'residentcontrol' && preselecttype !== '相位锁定' && preselecttype !== '方向锁定') || activeName === 'specialcontrol' || activeName === 'schemeselection')">
107
109
  <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>
110
+ <el-button @click="toAutoControl()" v-if="isShowRecovery && isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
109
111
  <el-button type="primary" @click="handleManualControl()">{{$t('openatccomponents.overview.implement')}}</el-button>
110
112
  </div>
111
113
  <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>
114
+ <el-button @click="toAutoControl()" v-if="isShowRecovery && isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
113
115
  <el-button class="3" type="primary" @click="handleManualControl()">{{$t('openatccomponents.overview.comfirm')}}</el-button>
114
116
  </div>
115
117
 
@@ -129,14 +131,14 @@
129
131
  ref="manual"
130
132
  label-position="left"
131
133
  :model="manualInfo"
132
- label-width="74px">
134
+ label-width="90px">
133
135
  <el-form-item
134
- :label="$t('openatccomponents.overview.duration') + ':'"
136
+ :label="$t('openatccomponents.overview.duration')"
135
137
  prop="count">
136
138
  <el-input-number style="width: 170px;" v-model="manualInfo.tempDuration" :controls="false" :max="65535" :min="0" :precision="0" :step="1" :placeholder="$t('openatccomponents.common.input')" size="small"></el-input-number>
137
139
  </el-form-item>
138
140
  <el-form-item
139
- :label="$t('openatccomponents.overview.controlnumber') + ':'"
141
+ :label="$t('openatccomponents.overview.controlnumber')"
140
142
  prop="shape">
141
143
  <el-select style="width: 170px;" v-model="manualInfo.tempPatternid" @change="handleSelectPatternOption" class="col-inner" size="small" :placeholder="$t('openatccomponents.common.select')">
142
144
  <el-option
@@ -174,11 +176,11 @@
174
176
 
175
177
  <div class="footer" v-if="realtimeStatusModalvisible && ((activeName === 'residentcontrol' && preselecttype !== '相位锁定' && preselecttype !== '方向锁定') || activeName === 'specialcontrol' || activeName === 'schemeselection')">
176
178
  <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>
179
+ <el-button @click="toAutoControl()" v-if="isShowRecovery && isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
178
180
  <el-button type="primary" @click="handleManualControl()">{{$t('openatccomponents.overview.implement')}}</el-button>
179
181
  </div>
180
182
  <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>
183
+ <el-button @click="toAutoControl()" v-if="isShowRecovery && isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
182
184
  <el-button class="3" type="primary" @click="handleManualControl()">{{$t('openatccomponents.overview.comfirm')}}</el-button>
183
185
  </div>
184
186
  </el-tab-pane>
@@ -201,6 +203,7 @@
201
203
  :realtimeStatusModalvisible="realtimeStatusModalvisible"
202
204
  :roadDirection="roadDirection"
203
205
  :isShowBack="isShowBack"
206
+ :isShowRecovery="isShowRecovery"
204
207
  @closePhaseBack="handleClose"
205
208
  @closePhaseControl="closePhaseControl"
206
209
  @toAutoControl="toAutoControl" />
@@ -213,6 +216,7 @@
213
216
  :patternSelect="patternSelect"
214
217
  :allPatternList="allPatternList"
215
218
  :isShowBack="isShowBack"
219
+ :isShowRecovery="isShowRecovery"
216
220
  @closePhaseBack="handleClose"
217
221
  @closePhaseControl="closePhaseControl"
218
222
  @toAutoControl="toAutoControl"
@@ -222,6 +226,7 @@
222
226
  :realtimeStatusModalvisible="realtimeStatusModalvisible"
223
227
  :phaseList="phaseList"
224
228
  :isShowBack="isShowBack"
229
+ :isShowRecovery="isShowRecovery"
225
230
  @closePhaseBack="handleClose"
226
231
  @closePhaseControl="closePhaseControl"
227
232
  @toAutoControl="toAutoControl"
@@ -342,6 +347,10 @@ export default {
342
347
  isShowBack: {
343
348
  type: Boolean,
344
349
  default: true
350
+ },
351
+ isShowRecovery: {
352
+ type: Boolean,
353
+ default: true
345
354
  }
346
355
  },
347
356
  watch: {
@@ -7,15 +7,15 @@
7
7
  ref="manual"
8
8
  label-position="left"
9
9
  :model="manualInfo"
10
- label-width="74px">
10
+ label-width="90px">
11
11
  <el-form-item
12
- :label="$t('openatccomponents.overview.delay') + ':'"
12
+ :label="$t('openatccomponents.overview.delay')"
13
13
  prop="intersection">
14
14
  <el-input-number :placeholder="$t('openatccomponents.common.input')" :min="0" :max="65535" :precision="0" :step="1" :controls="false" v-model.number="manualInfo.delay" size="small"></el-input-number>
15
15
  <!-- <el-input v-model="manualInfo.tempDelay" size="small" :placeholder="$t('openatccomponents.common.input')"></el-input> -->
16
16
  </el-form-item>
17
17
  <el-form-item
18
- :label="$t('openatccomponents.overview.priorityType') + ':'"
18
+ :label="$t('openatccomponents.overview.priorityType')"
19
19
  prop="count">
20
20
  <el-select v-model="manualInfo.type" class="col-inner" size="small" clearable :placeholder="$t('openatccomponents.common.select')">
21
21
  <el-option
@@ -34,15 +34,15 @@
34
34
  ref="manual"
35
35
  label-position="left"
36
36
  :model="manualInfo"
37
- label-width="74px">
37
+ label-width="90px">
38
38
  <el-form-item
39
- :label="$t('openatccomponents.overview.duration') + ':'"
39
+ :label="$t('openatccomponents.overview.duration')"
40
40
  prop="intersection">
41
41
  <el-input-number :placeholder="$t('openatccomponents.common.input')" :min="0" :max="65535" :precision="0" :step="1" :controls="false" v-model.number="manualInfo.duration" size="small"></el-input-number>
42
42
  <!-- <el-input v-model="manualInfo.duration" size="small" :placeholder="$t('openatccomponents.common.input')"></el-input> -->
43
43
  </el-form-item>
44
44
  <el-form-item
45
- :label="$t('openatccomponents.overview.priorityPhase') + ':'"
45
+ :label="$t('openatccomponents.overview.priorityPhase')"
46
46
  prop="count">
47
47
  <el-select v-model="manualInfo.phase" class="col-inner" size="small" clearable :placeholder="$t('openatccomponents.common.select')">
48
48
  <el-option
@@ -67,10 +67,10 @@
67
67
  ref="manual"
68
68
  label-position="left"
69
69
  :model="manualInfo"
70
- label-width="74px">
70
+ label-width="90px">
71
71
  <el-form-item
72
72
  style="margin-bottom: 0;"
73
- :label="$t('openatccomponents.overview.level') + ':'"
73
+ :label="$t('openatccomponents.overview.level')"
74
74
  prop="count">
75
75
  <el-select v-model="manualInfo.level" class="col-inner" size="small" clearable :placeholder="$t('openatccomponents.common.select')">
76
76
  <el-option
@@ -87,12 +87,12 @@
87
87
  </el-row>
88
88
  <div class="footer" v-if="realtimeStatusModalvisible">
89
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>
90
+ <el-button @click="toAutoControl()" v-if="isShowRecovery && 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
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>
95
+ <el-button @click="toAutoControl()" v-if="isShowRecovery && 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>
@@ -118,6 +118,10 @@ export default {
118
118
  isShowBack: {
119
119
  type: Boolean,
120
120
  default: true
121
+ },
122
+ isShowRecovery: {
123
+ type: Boolean,
124
+ default: true
121
125
  }
122
126
  },
123
127
  data () {
@@ -9,10 +9,10 @@
9
9
  ref="manual"
10
10
  label-position="left"
11
11
  :model="manualInfo"
12
- label-width="74px"
12
+ label-width="90px"
13
13
  >
14
14
  <el-form-item
15
- :label="$t('openatccomponents.overview.patternid') + ':'"
15
+ :label="$t('openatccomponents.overview.patternid')"
16
16
  prop="count"
17
17
  >
18
18
  <el-select
@@ -33,7 +33,7 @@
33
33
  <!-- <el-input v-model="manualInfo.tempDuration" size="small" :placeholder="$t('openatccomponents.common.input')"></el-input> -->
34
34
  </el-form-item>
35
35
  <el-form-item
36
- :label="$t('openatccomponents.overview.delay') + ':'"
36
+ :label="$t('openatccomponents.overview.delay')"
37
37
  prop="intersection"
38
38
  >
39
39
  <el-input-number
@@ -55,10 +55,10 @@
55
55
  ref="manual"
56
56
  label-position="left"
57
57
  :model="manualInfo"
58
- label-width="74px"
58
+ label-width="90px"
59
59
  >
60
60
  <el-form-item
61
- :label="$t('openatccomponents.overview.patternoffset') + ':'"
61
+ :label="$t('openatccomponents.overview.patternoffset')"
62
62
  prop="count"
63
63
  >
64
64
  <el-input-number
@@ -74,7 +74,7 @@
74
74
  <!-- <el-input v-model="manualInfo.offset" size="small" :placeholder="$t('openatccomponents.common.input')"></el-input> -->
75
75
  </el-form-item>
76
76
  <el-form-item
77
- :label="$t('openatccomponents.overview.duration') + ':'"
77
+ :label="$t('openatccomponents.overview.duration')"
78
78
  prop="intersection"
79
79
  >
80
80
  <el-input-number
@@ -318,7 +318,7 @@
318
318
  <el-button v-if="isShowBack" @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 @click="toAutoControl()" v-if="isShowRecovery && 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>
@@ -327,7 +327,7 @@
327
327
  <el-button v-if="isShowBack" @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 @click="toAutoControl()" v-if="isShowRecovery && 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>
@@ -363,6 +363,10 @@ export default {
363
363
  isShowBack: {
364
364
  type: Boolean,
365
365
  default: true
366
+ },
367
+ isShowRecovery: {
368
+ type: Boolean,
369
+ default: true
366
370
  }
367
371
  },
368
372
  watch: {