openatc-components 0.1.162 → 0.1.164

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.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openatc-components",
3
- "version": "0.1.162",
3
+ "version": "0.1.164",
4
4
  "description": "A Vue.js project",
5
5
  "author": "openatc developer",
6
6
  "private": false,
@@ -318,23 +318,28 @@ export default {
318
318
  toPage: 1, // 与哪一个页面交互,1 代表路口信息页面,3代表 相位关断页面
319
319
  specialcontrolList: [{ // 特殊控制
320
320
  id: 23,
321
+ isShow: true,
321
322
  permission: 'configer:manual:optimize',
322
323
  iconClass: 'closephase'
323
324
  }, {
324
325
  id: 22,
326
+ isShow: true,
325
327
  permission: 'configer:manual:optimize',
326
328
  iconClass: 'lockingphase'
327
329
  }, {
328
330
  id: 100,
331
+ isShow: true,
329
332
  permission: 'configer:manual:optimize',
330
333
  iconClass: 'tentativeplan'
331
334
  }, {
332
335
  id: 24,
336
+ isShow: true,
333
337
  permission: 'configer:manual:preempt',
334
338
  iconClass: 'prioritycontrol'
335
339
  }, {
336
340
  id: 25,
337
341
  permission: 'configer:manual:optimize',
342
+ isShow: this.realtimeStatusModalvisible,
338
343
  iconClass: 'azimuthlocking'
339
344
  }],
340
345
  phaseRings: [],
@@ -70,7 +70,7 @@
70
70
  <div class="stage-label" v-if="funcSort === 'allFunc'">{{$t('openatccomponents.overview.specialcontrol')}}:</div>
71
71
  <div style="width: 100%; height: auto;overflow: hidden;" v-if="funcSort === 'allFunc'">
72
72
  <div class="control-model" v-for="(item, index) in specialcontrolList" :key="index">
73
- <div class="single-model" @click="selectSpecialStages(item.id)" v-if="isHasPermission(item.permission) && realtimeStatusModalvisible">
73
+ <div class="single-model" @click="selectSpecialStages(item.id)" v-if="isHasPermission(item.permission) && item.isShow">
74
74
  <svg-icon :icon-class="item.iconClass" className="closephase-icon"></svg-icon>
75
75
  <div class="single-model-name">{{$t('openatccomponents.overview.modelList' + item.id)}}</div>
76
76
  </div>