openatc-components 0.1.163 → 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.163",
3
+ "version": "0.1.164",
4
4
  "description": "A Vue.js project",
5
5
  "author": "openatc developer",
6
6
  "private": false,
@@ -318,28 +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
- realtimeStatusModalvisible: this.realtimeStatusModalvisible,
323
323
  iconClass: 'closephase'
324
324
  }, {
325
325
  id: 22,
326
+ isShow: true,
326
327
  permission: 'configer:manual:optimize',
327
- realtimeStatusModalvisible: this.realtimeStatusModalvisible,
328
328
  iconClass: 'lockingphase'
329
329
  }, {
330
330
  id: 100,
331
+ isShow: true,
331
332
  permission: 'configer:manual:optimize',
332
- realtimeStatusModalvisible: this.realtimeStatusModalvisible,
333
333
  iconClass: 'tentativeplan'
334
334
  }, {
335
335
  id: 24,
336
+ isShow: true,
336
337
  permission: 'configer:manual:preempt',
337
- realtimeStatusModalvisible: this.realtimeStatusModalvisible,
338
338
  iconClass: 'prioritycontrol'
339
339
  }, {
340
340
  id: 25,
341
341
  permission: 'configer:manual:optimize',
342
- realtimeStatusModalvisible: this.realtimeStatusModalvisible,
342
+ isShow: this.realtimeStatusModalvisible,
343
343
  iconClass: 'azimuthlocking'
344
344
  }],
345
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) && item.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>