openatc-components 0.3.48 → 0.3.49

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 (39) hide show
  1. package/.eslintrc.js +3 -1
  2. package/config/index.js +1 -1
  3. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/motorwayIconSvg.vue +145 -46
  4. package/package/kisscomps/components/DrawChannelization/drawsvg/index.draw.vue +4 -4
  5. package/package/kisscomps/components/SchemeConfig/SchemeConfig.vue +9 -8
  6. package/package/kisscomps/components/SchemeConfig/azimuthlocking/index.vue +7 -7
  7. package/package/kisscomps/components/SchemeConfig/closePhaselControlModal/index.vue +8 -8
  8. package/package/kisscomps/components/SchemeConfig/lockingPhaselControlModal/index.vue +18 -17
  9. package/package/kisscomps/components/SchemeConfig/manualControlModalNew/index.vue +30 -33
  10. package/package/kisscomps/components/SchemeConfig/priorityControl/index.vue +10 -10
  11. package/package/kisscomps/components/SchemeConfig/tentativeplancontrolmodal/index.vue +9 -17
  12. package/package/kisscomps/components/XiaoKanban/index.vue +34 -14
  13. package/package/kisscomps/components/patternConfig/index.vue +61 -12
  14. package/package/kisscomps/components/patternConfig/pattern/patternTable.vue +196 -29
  15. package/package/kisscomps/components/patternConfig/planContent.vue +2 -4
  16. package/package/kissui.min.js +1 -1
  17. package/package.json +9 -10
  18. package/src/i18n/language/en.js +8 -0
  19. package/src/i18n/language/zh.js +9 -0
  20. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/motorwayIconSvg.vue +145 -46
  21. package/src/kisscomps/components/DrawChannelization/drawsvg/index.draw.vue +4 -4
  22. package/src/kisscomps/components/SchemeConfig/SchemeConfig.vue +9 -8
  23. package/src/kisscomps/components/SchemeConfig/azimuthlocking/index.vue +7 -7
  24. package/src/kisscomps/components/SchemeConfig/closePhaselControlModal/index.vue +8 -8
  25. package/src/kisscomps/components/SchemeConfig/lockingPhaselControlModal/index.vue +18 -17
  26. package/src/kisscomps/components/SchemeConfig/manualControlModalNew/index.vue +30 -33
  27. package/src/kisscomps/components/SchemeConfig/priorityControl/index.vue +10 -10
  28. package/src/kisscomps/components/SchemeConfig/tentativeplancontrolmodal/index.vue +9 -17
  29. package/src/kisscomps/components/XiaoKanban/index.vue +34 -14
  30. package/src/kisscomps/components/patternConfig/index.vue +61 -12
  31. package/src/kisscomps/components/patternConfig/pattern/patternTable.vue +196 -29
  32. package/src/kisscomps/components/patternConfig/planContent.vue +2 -4
  33. package/src/views/patternConfig.vue +108 -309
  34. package/static/styles/common.scss +3 -3
  35. package/static/styles/dark/theme/element-dark.scss +1 -1
  36. package/static/styles/intersection.scss +15 -5
  37. package/static/styles/light/theme/element-light.scss +1 -1
  38. package/static/styles/schemeconfig.scss +3 -6
  39. package/static/styles/xiaokanban.scss +11 -0
@@ -212,8 +212,8 @@ export default {
212
212
  Detector: [], // 管理所有检测器
213
213
  DetectorChart: [], // 管理所有检测器统计图
214
214
  motorwayicon: '',
215
- IconLengh: 33,
216
- IconWdith: 109,
215
+ IconLengh: 60,
216
+ IconWdith: 134,
217
217
  textareaW: 200,
218
218
  textareaH: 100,
219
219
  pedW: 206,
@@ -389,8 +389,8 @@ export default {
389
389
  h: this.IconWdith,
390
390
  angle: 0
391
391
  }
392
- this.IconLengh = 33
393
- this.IconWdith = 109
392
+ this.IconLengh = 60
393
+ this.IconWdith = 134
394
394
  let Motorwaysitem = {
395
395
  index: this.index,
396
396
  id: this.motorid,
@@ -35,12 +35,12 @@
35
35
  :sidewalkPhaseData="sidewalkPhaseData"
36
36
  :phaseList="phaseList"
37
37
  :statusData="statusData"
38
- :lockPhaseBtnName="lockPhaseBtnName"
39
38
  :overlap="overlap"
40
39
  :patternSelect="patternSelect"
41
40
  :allPatternList="allPatternList"
42
41
  :isShowBack="isShowBack"
43
42
  :isShowRecovery="isShowRecovery"
43
+ :isShowImplement="isShowImplement"
44
44
  @closeManualModal="closeManualModal"
45
45
  @selectModel="selectModel"
46
46
  @selectStages="selectStages"
@@ -97,12 +97,12 @@
97
97
  :sidewalkPhaseData="sidewalkPhaseData"
98
98
  :phaseList="phaseList"
99
99
  :statusData="statusData"
100
- :lockPhaseBtnName="lockPhaseBtnName"
101
100
  :overlap="overlap"
102
101
  :patternSelect="patternSelect"
103
102
  :allPatternList="allPatternList"
104
103
  :isShowBack="isShowBack"
105
104
  :isShowRecovery="isShowRecovery"
105
+ :isShowImplement="isShowImplement"
106
106
  @closeManualModal="closeManualModal"
107
107
  @selectModel="selectModel"
108
108
  @selectStages="selectStages"
@@ -192,9 +192,6 @@ export default {
192
192
  type: Boolean,
193
193
  default: true
194
194
  },
195
- lockPhaseBtnName: {
196
- type: String
197
- },
198
195
  Token: {
199
196
  type: String,
200
197
  default: ''
@@ -218,6 +215,10 @@ export default {
218
215
  isShowRecovery: {
219
216
  type: Boolean,
220
217
  default: true
218
+ },
219
+ isShowImplement: {
220
+ type: Boolean,
221
+ default: true
221
222
  }
222
223
  },
223
224
  data () {
@@ -334,7 +335,7 @@ export default {
334
335
  type: '相位锁定',
335
336
  id: 22,
336
337
  iconClass: 'xiangweisuoding',
337
- permission: 'configer:manual:dwell',
338
+ permission: 'configer:manual:optimize',
338
339
  iconName: this.$t('openatccomponents.overview.modelList22'),
339
340
  bgcolor: getTheme() === 'light' ? '#edf6ff' : '#243d59'
340
341
  },
@@ -683,7 +684,7 @@ export default {
683
684
  }
684
685
  }
685
686
  }
686
- if (!this.realtimeStatusModalvisible) {
687
+ if (!this.isShowImplement) {
687
688
  console.log(control)
688
689
  this.$emit('patternCommitCallback', control)
689
690
  return
@@ -831,7 +832,7 @@ export default {
831
832
  this.isClosePhase = false
832
833
  },
833
834
  closePhaseControl (controldata) {
834
- if (!this.realtimeStatusModalvisible) {
835
+ if (!this.isShowImplement) {
835
836
  this.$emit('patternCommitCallback', controldata)
836
837
  return
837
838
  }
@@ -88,15 +88,11 @@
88
88
  </div>
89
89
  </div>
90
90
  </div> -->
91
- <div class="footer" v-if="realtimeStatusModalvisible">
91
+ <div class="footer">
92
92
  <el-button v-if="isShowBack" @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
93
93
  <el-button v-if="isShowRecovery && isHasPermission('configer:manual:renew')" @click="toAutoControl()">{{$t('openatccomponents.overview.recovery')}}</el-button>
94
- <el-button type="primary" @click="handleManualControl()">{{$t('openatccomponents.overview.implement')}}</el-button>
95
- </div>
96
- <div class="footer" v-if="!realtimeStatusModalvisible">
97
- <el-button v-if="isShowBack" @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
98
- <el-button v-if="isShowRecovery && isHasPermission('configer:manual:renew')" @click="toAutoControl()">{{$t('openatccomponents.overview.recovery')}}</el-button>
99
- <el-button type="primary" @click="handleManualControl()">{{$t('openatccomponents.overview.comfirm')}}</el-button>
94
+ <el-button v-if="isShowImplement" type="primary" @click="handleManualControl()">{{$t('openatccomponents.overview.implement')}}</el-button>
95
+ <el-button v-if="!isShowImplement" type="primary" @click="handleManualControl()">{{$t('openatccomponents.overview.comfirm')}}</el-button>
100
96
  </div>
101
97
  </div>
102
98
  </template>
@@ -125,6 +121,10 @@ export default {
125
121
  isShowRecovery: {
126
122
  type: Boolean,
127
123
  default: true
124
+ },
125
+ isShowImplement: {
126
+ type: Boolean,
127
+ default: true
128
128
  }
129
129
  },
130
130
  watch: {
@@ -60,15 +60,11 @@
60
60
  </common-kanban>
61
61
  </div>
62
62
  </el-row>
63
- <div class="footer" v-if="realtimeStatusModalvisible">
63
+ <div class="footer">
64
64
  <el-button v-if="isShowBack" @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
65
- <el-button @click="toAutoControl()" v-if="isShowRecovery && isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
66
- <el-button type="primary" @click="handleManualControl()">{{$t('openatccomponents.overview.implement')}}</el-button>
67
- </div>
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="isShowRecovery && isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
71
- <el-button type="primary" @click="handleManualControl()">{{$t('openatccomponents.overview.comfirm')}}</el-button>
65
+ <el-button v-if="isShowRecovery && isHasPermission('configer:manual:renew')" @click="toAutoControl()">{{$t('openatccomponents.overview.recovery')}}</el-button>
66
+ <el-button v-if="isShowImplement" type="primary" @click="handleManualControl()">{{$t('openatccomponents.overview.implement')}}</el-button>
67
+ <el-button v-if="!isShowImplement" type="primary" @click="handleManualControl()">{{$t('openatccomponents.overview.comfirm')}}</el-button>
72
68
  </div>
73
69
  </div>
74
70
  </template>
@@ -126,6 +122,10 @@ export default {
126
122
  isShowRecovery: {
127
123
  type: Boolean,
128
124
  default: true
125
+ },
126
+ isShowImplement: {
127
+ type: Boolean,
128
+ default: true
129
129
  }
130
130
  },
131
131
  data () {
@@ -20,10 +20,10 @@
20
20
  :model="manualInfo"
21
21
  label-width="90px">
22
22
  <el-form-item
23
- :label="$t('openatccomponents.overview.duration')"
24
- prop="count">
25
- <el-input-number :min="0" :max="65535" :precision="0" :step="1" :controls="false" v-model.number="manualInfo.tempDuration" size="small"></el-input-number>
26
- </el-form-item>
23
+ :label="$t('openatccomponents.overview.greenclear')"
24
+ prop="intersection">
25
+ <el-input-number :min="0" :max="65535" :precision="0" :step="1" :controls="false" v-model.number="manualInfo.tempGreenflash" size="small"></el-input-number>
26
+ </el-form-item>
27
27
 
28
28
  <el-form-item
29
29
  :label="$t('openatccomponents.overview.yellowflash')"
@@ -44,11 +44,13 @@
44
44
  label-position="left"
45
45
  :model="manualInfo"
46
46
  label-width="90px">
47
- <el-form-item
48
- :label="$t('openatccomponents.overview.greenclear')"
49
- prop="intersection">
50
- <el-input-number :min="0" :max="65535" :precision="0" :step="1" :controls="false" v-model.number="manualInfo.tempGreenflash" size="small"></el-input-number>
51
- </el-form-item>
47
+
48
+ <el-form-item
49
+ :label="$t('openatccomponents.overview.duration')"
50
+ prop="count">
51
+ <el-input-number :min="0" :max="65535" :precision="0" :step="1" :controls="false" v-model.number="manualInfo.tempDuration" size="small"></el-input-number>
52
+ </el-form-item>
53
+
52
54
  <el-form-item
53
55
  :label="$t('openatccomponents.overview.allred')"
54
56
  prop="intersection">
@@ -90,8 +92,9 @@
90
92
  </el-row>
91
93
  <div class="footer">
92
94
  <el-button v-if="isShowBack" @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
93
- <el-button @click="toAutoControl()" v-if="isShowRecovery && isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
94
- <el-button type="primary" @click="handleLockPhase()">{{lockPhaseBtnName}}</el-button>
95
+ <el-button v-if="isShowRecovery && isHasPermission('configer:manual:renew')" @click="toAutoControl()">{{$t('openatccomponents.overview.recovery')}}</el-button>
96
+ <el-button v-if="isShowImplement" type="primary" @click="handleLockPhase()">{{$t('openatccomponents.overview.implement')}}</el-button>
97
+ <el-button v-if="!isShowImplement" type="primary" @click="handleLockPhase()">{{$t('openatccomponents.overview.comfirm')}}</el-button>
95
98
  </div>
96
99
  </div>
97
100
  </template>
@@ -113,12 +116,6 @@ export default {
113
116
  patternStatus: {
114
117
  type: Object
115
118
  },
116
- lockPhaseBtnName: {
117
- type: String,
118
- default () {
119
- return this.$t('openatccomponents.overview.implement')
120
- }
121
- },
122
119
  roadDirection: {
123
120
  type: String
124
121
  },
@@ -129,6 +126,10 @@ export default {
129
126
  isShowRecovery: {
130
127
  type: Boolean,
131
128
  default: true
129
+ },
130
+ isShowImplement: {
131
+ type: Boolean,
132
+ default: true
132
133
  }
133
134
  },
134
135
  data () {
@@ -24,6 +24,7 @@
24
24
 
25
25
  <div class="common-config" v-if="activeName === 'residentcontrol' && preselecttype !== '相位锁定' && preselecttype !== '方向锁定'">
26
26
  <el-form
27
+ v-if="isHasPermission('configer:manual:dwell')"
27
28
  ref="manual"
28
29
  label-position="left"
29
30
  :model="manualInfo"
@@ -53,9 +54,9 @@
53
54
  :roadDirection="roadDirection"
54
55
  :phaseList="phaseList"
55
56
  :patternStatus="statusData"
56
- :lockPhaseBtnName="lockPhaseBtnName"
57
57
  :isShowBack="isShowBack"
58
58
  :isShowRecovery="isShowRecovery"
59
+ :isShowImplement="isShowImplement"
59
60
  @closePhaseBack="handleClose"
60
61
  @closePhaseControl="closePhaseControl"
61
62
  @toAutoControl="toAutoControl" />
@@ -67,19 +68,17 @@
67
68
  :patternStatus="statusData"
68
69
  :isShowBack="isShowBack"
69
70
  :isShowRecovery="isShowRecovery"
71
+ :isShowImplement="isShowImplement"
70
72
  @closePhaseBack="handleClose"
71
73
  @toAutoControl="toAutoControl"
72
74
  />
73
75
 
74
- <div class="footer" v-if="realtimeStatusModalvisible && ((activeName === 'residentcontrol' && preselecttype !== '相位锁定' && preselecttype !== '方向锁定') || activeName === 'specialcontrol' || activeName === 'schemeselection')">
75
- <el-button v-if="isShowBack" @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
76
- <el-button @click="toAutoControl()" v-if="isShowRecovery && isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
77
- <el-button type="primary" @click="handleManualControl()">{{$t('openatccomponents.overview.implement')}}</el-button>
78
- </div>
79
- <div class="footer" v-if="!realtimeStatusModalvisible && ((activeName === 'residentcontrol' && preselecttype !== '相位锁定' && preselecttype !== '方向锁定') || activeName === 'specialcontrol' || activeName === 'schemeselection')">
80
- <el-button @click="toAutoControl()" v-if="isShowRecovery && isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
81
- <el-button class="3" type="primary" @click="handleManualControl()">{{$t('openatccomponents.overview.comfirm')}}</el-button>
82
- </div>
76
+ <div class="footer" v-if="((activeName === 'residentcontrol' && preselecttype !== '相位锁定' && preselecttype !== '方向锁定') || activeName === 'specialcontrol' || activeName === 'schemeselection')">
77
+ <el-button v-if="isShowBack && realtimeStatusModalvisible" @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
78
+ <el-button v-if="isShowRecovery && isHasPermission('configer:manual:renew')" @click="toAutoControl()">{{$t('openatccomponents.overview.recovery')}}</el-button>
79
+ <el-button v-if="isShowImplement" type="primary" @click="handleManualControl()">{{$t('openatccomponents.overview.implement')}}</el-button>
80
+ <el-button v-if="!isShowImplement" type="primary" @click="handleManualControl()">{{$t('openatccomponents.overview.comfirm')}}</el-button>
81
+ </div>
83
82
  </el-tab-pane>
84
83
  <el-tab-pane :label="$t('openatccomponents.overview.specialcontrol')" name="specialcontrol">
85
84
  <ControlModelGroup
@@ -91,7 +90,7 @@
91
90
  @selectModel="selectModel"
92
91
  />
93
92
 
94
- <div class="common-config">
93
+ <div class="common-config" v-if="isHasPermission('configer:manual:senior')">
95
94
  <el-form
96
95
  ref="manual"
97
96
  label-position="left"
@@ -105,15 +104,12 @@
105
104
  </el-form>
106
105
  </div>
107
106
 
108
- <div class="footer" v-if="realtimeStatusModalvisible && ((activeName === 'residentcontrol' && preselecttype !== '相位锁定' && preselecttype !== '方向锁定') || activeName === 'specialcontrol' || activeName === 'schemeselection')">
109
- <el-button v-if="isShowBack" @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
110
- <el-button @click="toAutoControl()" v-if="isShowRecovery && isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
111
- <el-button type="primary" @click="handleManualControl()">{{$t('openatccomponents.overview.implement')}}</el-button>
112
- </div>
113
- <div class="footer" v-if="!realtimeStatusModalvisible && ((activeName === 'residentcontrol' && preselecttype !== '相位锁定' && preselecttype !== '方向锁定') || activeName === 'specialcontrol' || activeName === 'schemeselection')">
114
- <el-button @click="toAutoControl()" v-if="isShowRecovery && isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
115
- <el-button class="3" type="primary" @click="handleManualControl()">{{$t('openatccomponents.overview.comfirm')}}</el-button>
116
- </div>
107
+ <div class="footer" v-if="((activeName === 'residentcontrol' && preselecttype !== '相位锁定' && preselecttype !== '方向锁定') || activeName === 'specialcontrol' || activeName === 'schemeselection')">
108
+ <el-button v-if="isShowBack && realtimeStatusModalvisible" @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
109
+ <el-button v-if="isShowRecovery && isHasPermission('configer:manual:renew')" @click="toAutoControl()">{{$t('openatccomponents.overview.recovery')}}</el-button>
110
+ <el-button v-if="isShowImplement" type="primary" @click="handleManualControl()">{{$t('openatccomponents.overview.implement')}}</el-button>
111
+ <el-button v-if="!isShowImplement" type="primary" @click="handleManualControl()">{{$t('openatccomponents.overview.comfirm')}}</el-button>
112
+ </div>
117
113
 
118
114
  </el-tab-pane>
119
115
  <el-tab-pane :label="$t('openatccomponents.overview.schemeselection')" name="schemeselection">
@@ -126,7 +122,7 @@
126
122
  @selectModel="selectModel"
127
123
  @selectSpecialModel="selectSpecialModel" />
128
124
 
129
- <div class="common-config" v-if="activeName === 'schemeselection'">
125
+ <div class="common-config" v-if="activeName === 'schemeselection' && isHasPermission('configer:manual:base')">
130
126
  <el-form
131
127
  ref="manual"
132
128
  label-position="left"
@@ -174,15 +170,12 @@
174
170
  </div>
175
171
  </div>
176
172
 
177
- <div class="footer" v-if="realtimeStatusModalvisible && ((activeName === 'residentcontrol' && preselecttype !== '相位锁定' && preselecttype !== '方向锁定') || activeName === 'specialcontrol' || activeName === 'schemeselection')">
178
- <el-button v-if="isShowBack" @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
179
- <el-button @click="toAutoControl()" v-if="isShowRecovery && isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
180
- <el-button type="primary" @click="handleManualControl()">{{$t('openatccomponents.overview.implement')}}</el-button>
181
- </div>
182
- <div class="footer" v-if="!realtimeStatusModalvisible && ((activeName === 'residentcontrol' && preselecttype !== '相位锁定' && preselecttype !== '方向锁定') || activeName === 'specialcontrol' || activeName === 'schemeselection')">
183
- <el-button @click="toAutoControl()" v-if="isShowRecovery && isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
184
- <el-button class="3" type="primary" @click="handleManualControl()">{{$t('openatccomponents.overview.comfirm')}}</el-button>
185
- </div>
173
+ <div class="footer" v-if="((activeName === 'residentcontrol' && preselecttype !== '相位锁定' && preselecttype !== '方向锁定') || activeName === 'specialcontrol' || activeName === 'schemeselection')">
174
+ <el-button v-if="isShowBack && realtimeStatusModalvisible" @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
175
+ <el-button v-if="isShowRecovery && isHasPermission('configer:manual:renew')" @click="toAutoControl()">{{$t('openatccomponents.overview.recovery')}}</el-button>
176
+ <el-button v-if="isShowImplement" type="primary" @click="handleManualControl()">{{$t('openatccomponents.overview.implement')}}</el-button>
177
+ <el-button v-if="!isShowImplement" type="primary" @click="handleManualControl()">{{$t('openatccomponents.overview.comfirm')}}</el-button>
178
+ </div>
186
179
  </el-tab-pane>
187
180
  <el-tab-pane :label="$t('openatccomponents.overview.others')" name="others">
188
181
  <ControlModelGroup
@@ -204,6 +197,7 @@
204
197
  :roadDirection="roadDirection"
205
198
  :isShowBack="isShowBack"
206
199
  :isShowRecovery="isShowRecovery"
200
+ :isShowImplement="isShowImplement"
207
201
  @closePhaseBack="handleClose"
208
202
  @closePhaseControl="closePhaseControl"
209
203
  @toAutoControl="toAutoControl" />
@@ -217,6 +211,7 @@
217
211
  :allPatternList="allPatternList"
218
212
  :isShowBack="isShowBack"
219
213
  :isShowRecovery="isShowRecovery"
214
+ :isShowImplement="isShowImplement"
220
215
  @closePhaseBack="handleClose"
221
216
  @closePhaseControl="closePhaseControl"
222
217
  @toAutoControl="toAutoControl"
@@ -227,6 +222,7 @@
227
222
  :phaseList="phaseList"
228
223
  :isShowBack="isShowBack"
229
224
  :isShowRecovery="isShowRecovery"
225
+ :isShowImplement="isShowImplement"
230
226
  @closePhaseBack="handleClose"
231
227
  @closePhaseControl="closePhaseControl"
232
228
  @toAutoControl="toAutoControl"
@@ -320,9 +316,6 @@ export default {
320
316
  statusData: {
321
317
  type: Object
322
318
  },
323
- lockPhaseBtnName: {
324
- type: String
325
- },
326
319
  specialControlList: {
327
320
  type: Array
328
321
  },
@@ -351,6 +344,10 @@ export default {
351
344
  isShowRecovery: {
352
345
  type: Boolean,
353
346
  default: true
347
+ },
348
+ isShowImplement: {
349
+ type: Boolean,
350
+ default: true
354
351
  }
355
352
  },
356
353
  watch: {
@@ -85,16 +85,12 @@
85
85
  </el-form>
86
86
  </el-col>
87
87
  </el-row>
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="isShowRecovery && isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
91
- <el-button type="primary" @click="handleManualControl()">{{$t('openatccomponents.overview.implement')}}</el-button>
92
- </div>
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="isShowRecovery && isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
96
- <el-button type="primary" @click="handleManualControl()">{{$t('openatccomponents.overview.comfirm')}}</el-button>
97
- </div>
88
+ <div class="footer">
89
+ <el-button v-if="isShowBack" @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
90
+ <el-button v-if="isShowRecovery && isHasPermission('configer:manual:renew')" @click="toAutoControl()">{{$t('openatccomponents.overview.recovery')}}</el-button>
91
+ <el-button v-if="isShowImplement" type="primary" @click="handleManualControl()">{{$t('openatccomponents.overview.implement')}}</el-button>
92
+ <el-button v-if="!isShowImplement" type="primary" @click="handleManualControl()">{{$t('openatccomponents.overview.comfirm')}}</el-button>
93
+ </div>
98
94
  </div>
99
95
  </template>
100
96
 
@@ -122,6 +118,10 @@ export default {
122
118
  isShowRecovery: {
123
119
  type: Boolean,
124
120
  default: true
121
+ },
122
+ isShowImplement: {
123
+ type: Boolean,
124
+ default: true
125
125
  }
126
126
  },
127
127
  data () {
@@ -314,23 +314,11 @@
314
314
  </el-tab-pane>
315
315
  </el-tabs>
316
316
  </el-row>
317
- <div class="footer" v-if="realtimeStatusModalvisible">
318
- <el-button v-if="isShowBack" @click="handleClose()">{{
319
- $t('openatccomponents.button.Back')
320
- }}</el-button>
321
- <el-button @click="toAutoControl()" v-if="isShowRecovery && isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
322
- <el-button type="primary" @click="handleManualControl()">{{
323
- $t('openatccomponents.overview.implement')
324
- }}</el-button>
325
- </div>
326
- <div class="footer" v-if="!realtimeStatusModalvisible">
327
- <el-button v-if="isShowBack" @click="handleClose()">{{
328
- $t('openatccomponents.button.Back')
329
- }}</el-button>
330
- <el-button @click="toAutoControl()" v-if="isShowRecovery && isHasPermission('configer:manual:renew')">{{$t('openatccomponents.overview.recovery')}}</el-button>
331
- <el-button type="primary" @click="handleManualControl()">{{
332
- $t('openatccomponents.overview.comfirm')
333
- }}</el-button>
317
+ <div class="footer">
318
+ <el-button v-if="isShowBack" @click="handleClose()">{{$t('openatccomponents.button.Back')}}</el-button>
319
+ <el-button v-if="isShowRecovery && isHasPermission('configer:manual:renew')" @click="toAutoControl()">{{$t('openatccomponents.overview.recovery')}}</el-button>
320
+ <el-button v-if="isShowImplement" type="primary" @click="handleManualControl()">{{$t('openatccomponents.overview.implement')}}</el-button>
321
+ <el-button v-if="!isShowImplement" type="primary" @click="handleManualControl()">{{$t('openatccomponents.overview.comfirm')}}</el-button>
334
322
  </div>
335
323
  </div>
336
324
  </template>
@@ -367,6 +355,10 @@ export default {
367
355
  isShowRecovery: {
368
356
  type: Boolean,
369
357
  default: true
358
+ },
359
+ isShowImplement: {
360
+ type: Boolean,
361
+ default: true
370
362
  }
371
363
  },
372
364
  watch: {
@@ -14,6 +14,16 @@
14
14
  <div class="board-column-header">
15
15
  {{headerText}}
16
16
  </div>
17
+ <div class="board-table-header" v-if="isSingleCrossMode">
18
+ <el-row :gutter="13">
19
+ <el-col :span="4">{{this.$t('openatccomponents.overview.phase')}}
20
+ </el-col>
21
+ <el-col :span="10">{{this.$t('openatccomponents.overview.flow')}}
22
+ </el-col>
23
+ <el-col :span="10">{{this.$t('openatccomponents.overview.saturationflow')}}
24
+ </el-col>
25
+ </el-row>
26
+ </div>
17
27
  <draggable
18
28
  class="board-column-content"
19
29
  :list="list"
@@ -21,15 +31,21 @@
21
31
  <div class="board-item" v-for="element in list" :key="element.id">
22
32
  <el-row :gutter="25">
23
33
  <el-col :span="4">
24
- <el-tooltip class="item" effect="dark" placement="left">
25
- <div slot="content">{{$t('openatccomponents.pattern.phase') + ' ' + element.id}}</div>
26
- <div class="phase-description">
27
- <DirSelector Width="40px" Height="40px" :showlist="element.desc" :ISActiveMask="ISActiveMask" :MaskColor="MaskColor"></DirSelector>
28
- </div>
29
- </el-tooltip>
34
+ <el-tooltip class="item" effect="dark" placement="left">
35
+ <div slot="content">{{$t('openatccomponents.pattern.phase') + ' ' + element.id}}</div>
36
+ <div class="phase-description">
37
+ <DirSelector Width="40px" Height="40px" :showlist="element.desc" :ISActiveMask="ISActiveMask" :MaskColor="MaskColor"></DirSelector>
38
+ </div>
39
+ </el-tooltip>
40
+ </el-col>
41
+ <el-col :span="19" v-show="!isSingleCrossMode">
42
+ <el-input-number controls-position="right" :min="0" :max="255" :step="1" v-model.number="element.value" ref="type"></el-input-number>
30
43
  </el-col>
31
- <el-col :span="19">
32
- <el-input-number controls-position="right" :min="0" :max="255" :step="1" v-model.number="element.value" ref="type"></el-input-number>
44
+ <el-col :span="10" v-if="isSingleCrossMode">
45
+ <el-input-number :controls="false" class="col-content" size="small" :step="1" v-model.number="element.flowperhour" ref="type" :disabled="element.mode === 7"></el-input-number>
46
+ </el-col>
47
+ <el-col :span="10" v-if="isSingleCrossMode">
48
+ <el-input-number :controls="false" class="col-content" size="small" :step="1" v-model.number="element.saturation" ref="types" :disabled="element.mode === 7"></el-input-number>
33
49
  </el-col>
34
50
  </el-row>
35
51
  </div>
@@ -47,6 +63,10 @@ export default {
47
63
  DirSelector
48
64
  },
49
65
  props: {
66
+ isSingleCrossMode: {
67
+ type: Boolean,
68
+ default: false
69
+ },
50
70
  headerText: {
51
71
  type: String,
52
72
  default: 'Header'
@@ -76,17 +96,14 @@ export default {
76
96
  default: '#000000'
77
97
  }
78
98
  },
79
- created () {
80
- console.log('list', this.list)
81
- },
82
99
  watch: {
83
100
  list: {
84
- handler: function () {
85
- let list = this.$refs.type
101
+ handler: function (val) {
102
+ let list = val
86
103
  let cycle = 0
87
104
  let n = this.index
88
105
  for (let i = 0; i < list.length; i++) {
89
- cycle = cycle + Number(list[i].currentValue)
106
+ cycle = cycle + Number(list[i].value)
90
107
  }
91
108
  let obj = {}
92
109
  obj.index = n
@@ -95,6 +112,9 @@ export default {
95
112
  },
96
113
  deep: true
97
114
  }
115
+ },
116
+ created () {
117
+ console.log('list', this.list)
98
118
  }
99
119
  }
100
120
  </script>