openatc-components 0.2.43 → 0.2.45

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.
@@ -5,14 +5,14 @@
5
5
  {{headerText}}
6
6
  </div>
7
7
  <div class="common-board-table-header">
8
- <el-row :gutter="13">
9
- <el-col :span="3">{{this.$t('openatccomponents.pattern.phase')}}
8
+ <el-row :gutter="10">
9
+ <el-col :span="4">{{this.$t('openatccomponents.pattern.phase')}}
10
10
  </el-col>
11
- <el-col :span="11">{{this.$t('openatccomponents.pattern.property')}}
11
+ <el-col :span="8">{{this.$t('openatccomponents.pattern.property')}}
12
12
  </el-col>
13
- <el-col :span="5">{{this.$t('openatccomponents.pattern.delaystart')}}
13
+ <el-col :span="6">{{this.$t('openatccomponents.pattern.delaystart')}}
14
14
  </el-col>
15
- <el-col :span="5">{{this.$t('openatccomponents.pattern.advanceend')}}
15
+ <el-col :span="6">{{this.$t('openatccomponents.pattern.advanceend')}}
16
16
  </el-col>
17
17
  </el-row>
18
18
  </div>
@@ -21,8 +21,8 @@
21
21
  :list="list"
22
22
  :options="options">
23
23
  <div class="common-board-item" v-for="element in list" :key="element.id">
24
- <el-row :gutter="13" >
25
- <el-col :span="3">
24
+ <el-row :gutter="10" >
25
+ <el-col :span="4">
26
26
  <el-tooltip class="item" effect="dark" placement="left">
27
27
  <div slot="content">{{element.name}}</div>
28
28
  <div class="common-phase-description">
@@ -30,7 +30,7 @@
30
30
  </div>
31
31
  </el-tooltip>
32
32
  </el-col>
33
- <el-col :span="11">
33
+ <el-col :span="8">
34
34
  <el-select v-model="element.options" size="small" multiple collapse-tags :placeholder="$t('openatccomponents.common.select')">
35
35
  <el-option
36
36
  v-for="item in coordphaseOption"
@@ -40,10 +40,10 @@
40
40
  </el-option>
41
41
  </el-select>
42
42
  </el-col>
43
- <el-col :span="5">
43
+ <el-col :span="6">
44
44
  <el-input-number :controls="false" size="small" :min="0" :max="255" :step="1" v-model.number="element.delaystart" ref="type"></el-input-number>
45
45
  </el-col>
46
- <el-col :span="5">
46
+ <el-col :span="6">
47
47
  <el-input-number :controls="false" size="small" :min="0" :max="255" :step="1" v-model.number="element.advanceend" ref="type"></el-input-number>
48
48
  </el-col>
49
49
  </el-row>
@@ -5,11 +5,11 @@
5
5
  </div>
6
6
  <div class="common-board-table-header">
7
7
  <el-row :gutter="13">
8
- <el-col :span="6">{{this.$t('openatccomponents.overview.phase')}}
8
+ <el-col :span="4">{{this.$t('openatccomponents.overview.phase')}}
9
9
  </el-col>
10
- <el-col :span="9">{{this.$t('openatccomponents.overview.phasesplit')}}
10
+ <el-col :span="10">{{this.$t('openatccomponents.overview.phasesplit')}}
11
11
  </el-col>
12
- <el-col :span="9">{{this.$t('openatccomponents.detector.mode')}}
12
+ <el-col :span="10">{{this.$t('openatccomponents.detector.mode')}}
13
13
  </el-col>
14
14
  </el-row>
15
15
  </div>
@@ -19,7 +19,7 @@
19
19
  :options="options">
20
20
  <div class="common-board-item" v-for="element in list" :key="element.id">
21
21
  <el-row :gutter="13">
22
- <el-col :span="6">
22
+ <el-col :span="4">
23
23
  <el-tooltip class="item" effect="dark" placement="left">
24
24
  <div slot="content">{{element.name}}</div>
25
25
  <div class="common-phase-description">
@@ -27,10 +27,10 @@
27
27
  </div>
28
28
  </el-tooltip>
29
29
  </el-col>
30
- <el-col :span="9">
30
+ <el-col :span="10">
31
31
  <el-input-number :controls="false" class="col-content" size="small" :min="element.minSplit" :max="255" :step="1" v-model.number="element.value" ref="type"></el-input-number>
32
32
  </el-col>
33
- <el-col :span="9">
33
+ <el-col :span="10">
34
34
  <el-select v-model="element.mode" class="col-content" size="small" @change="doChange(element)" :placeholder="$t('openatccomponents.common.select')">
35
35
  <el-option
36
36
  v-for="item in modeOption"
@@ -121,6 +121,7 @@ export default {
121
121
  } else {
122
122
  direction.push({
123
123
  id: '',
124
+ color: '#454545',
124
125
  peddirection: this.getPedPhasePos(i.peddirection)
125
126
  })
126
127
  }
@@ -137,6 +138,7 @@ export default {
137
138
  key: this.CrossDiagramMgr.getUniqueKey('pedphase'),
138
139
  phaseid: i.id, // 相位id,用于对应相位状态
139
140
  id: dir,
141
+ color: '#454545',
140
142
  name: this.PhaseDataModel.getSidePos(dir).name
141
143
  })
142
144
  }
@@ -557,7 +557,7 @@ export default {
557
557
  this.changeStatus()
558
558
  }
559
559
  this.setPropsToken(this.Token)
560
- // await this.getPhase()
560
+ await this.getPhase()
561
561
  this.getFault()
562
562
  this.initData()
563
563
  },
@@ -4,6 +4,7 @@
4
4
  v-model="valuess"
5
5
  :multiple="multiple"
6
6
  :disabled="disabled"
7
+ size="small"
7
8
  @visible-change="visibleChange($event)"
8
9
  :clearable="clearable"
9
10
  :filterable="filterable"
@@ -23,10 +23,10 @@
23
23
  :options="options">
24
24
  <div class="stage-item" >
25
25
  <el-row :gutter="0">
26
- <el-col :span="12">
26
+ <el-col :span="6">
27
27
  {{this.$t('openatccomponents.overview.phasesplit')}}
28
28
  </el-col>
29
- <el-col :span="12">
29
+ <el-col :span="18">
30
30
  <el-input-number
31
31
  v-if="isRing"
32
32
  class="stage-value"
@@ -49,10 +49,10 @@
49
49
  </el-col>
50
50
  </el-row>
51
51
  <el-row :gutter="0">
52
- <el-col :span="12">
52
+ <el-col :span="6">
53
53
  {{this.$t('openatccomponents.pattern.phase')}}
54
54
  </el-col>
55
- <el-col :span="12">
55
+ <el-col :span="18">
56
56
  <SelectCrossPhase
57
57
  v-if="isRing"
58
58
  type="phases"
@@ -82,10 +82,10 @@
82
82
  </el-col>
83
83
  </el-row>
84
84
  <el-row :gutter="0" v-if="isRing">
85
- <el-col :span="12">
85
+ <el-col :span="6">
86
86
  {{this.$t('openatccomponents.pattern.green')}}
87
87
  </el-col>
88
- <el-col :span="12">
88
+ <el-col :span="18">
89
89
  <el-input-number
90
90
  class="stage-value"
91
91
  size="small"
@@ -97,10 +97,10 @@
97
97
  </el-col>
98
98
  </el-row>
99
99
  <el-row :gutter="0" v-if="isRing">
100
- <el-col :span="12">
100
+ <el-col :span="6">
101
101
  {{this.$t('openatccomponents.pattern.yellow')}}
102
102
  </el-col>
103
- <el-col :span="12">
103
+ <el-col :span="18">
104
104
  <el-input-number
105
105
  class="stage-value"
106
106
  size="small"
@@ -112,10 +112,10 @@
112
112
  </el-col>
113
113
  </el-row>
114
114
  <el-row :gutter="0" v-if="isRing">
115
- <el-col :span="12">
115
+ <el-col :span="6">
116
116
  {{this.$t('openatccomponents.pattern.red')}}
117
117
  </el-col>
118
- <el-col :span="12">
118
+ <el-col :span="18">
119
119
  <el-input-number
120
120
  class="stage-value"
121
121
  size="small"