openatc-components 0.1.95 → 0.1.97

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.95",
3
+ "version": "0.1.97",
4
4
  "description": "A Vue.js project",
5
5
  "author": "openatc developer",
6
6
  "private": false,
@@ -6,13 +6,13 @@
6
6
  </div>
7
7
  <div class="common-board-table-header">
8
8
  <el-row :gutter="13">
9
- <el-col :span="6">{{this.$t('openatccomponents.pattern.phase')}}
9
+ <el-col :span="3">{{this.$t('openatccomponents.pattern.phase')}}
10
10
  </el-col>
11
- <el-col :span="6">{{this.$t('openatccomponents.pattern.property')}}
11
+ <el-col :span="11">{{this.$t('openatccomponents.pattern.property')}}
12
12
  </el-col>
13
- <el-col :span="6">{{this.$t('openatccomponents.pattern.delaystart')}}
13
+ <el-col :span="5">{{this.$t('openatccomponents.pattern.delaystart')}}
14
14
  </el-col>
15
- <el-col :span="6">{{this.$t('openatccomponents.pattern.advanceend')}}
15
+ <el-col :span="5">{{this.$t('openatccomponents.pattern.advanceend')}}
16
16
  </el-col>
17
17
  </el-row>
18
18
  </div>
@@ -22,7 +22,7 @@
22
22
  :options="options">
23
23
  <div class="common-board-item" v-for="element in list" :key="element.id">
24
24
  <el-row :gutter="13" >
25
- <el-col :span="6">
25
+ <el-col :span="3">
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="6">
33
+ <el-col :span="11">
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="6">
43
+ <el-col :span="5">
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="6">
46
+ <el-col :span="5">
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>
@@ -1353,7 +1353,7 @@ export default {
1353
1353
  height: 34px;
1354
1354
  }
1355
1355
  .direction {
1356
- opacity: 0.6;
1356
+ filter: brightness(70%);
1357
1357
  }
1358
1358
  .mask {
1359
1359
  background: rgb(242, 121, 121) !important;
@@ -230,8 +230,16 @@ export default {
230
230
  return item.id === this.controlData.patternid
231
231
  })[0].rings
232
232
  if (!rings.rings) return
233
-
234
- let mapAdd = ringList.map(item => {
233
+ let filterPattern = []
234
+ for (let i of ringList) {
235
+ for (let j of this.controlData.rings) {
236
+ let filterSequence = i.filter(item => j.sequence.includes(item.id))
237
+ if (filterSequence.length > 0) {
238
+ filterPattern.push(filterSequence)
239
+ }
240
+ }
241
+ }
242
+ let mapAdd = filterPattern.map(item => {
235
243
  return item.map(val => {
236
244
  return val.value + (val.sum ? val.sum : 0)
237
245
  })
@@ -242,7 +250,7 @@ export default {
242
250
  }) : 0
243
251
  }) : 0
244
252
  this.max = Math.max(...maxCycle)// 每个环的周期最大值
245
- this.getControl(ringList)
253
+ this.getControl(filterPattern)
246
254
  }
247
255
  } else {
248
256
  let mapAdd = rings.map(item => {
@@ -308,7 +308,7 @@
308
308
  width: 90%;
309
309
  }
310
310
  .el-form-item {
311
- margin-bottom: 0PX;
311
+ margin-bottom: 10PX;
312
312
  }
313
313
  .el-form-item__label {
314
314
  font-size: 14PX;
@@ -329,7 +329,7 @@
329
329
  height: 100%;
330
330
  padding: 21PX 0PX 21PX 28PX;
331
331
  min-width: 360PX;
332
- overflow: hidden;
332
+ // overflow: hidden;
333
333
  .forbiddenstage{
334
334
  width: 60%;
335
335
  margin: 10px auto;
@@ -412,10 +412,13 @@
412
412
  color: $--color-text-secondary;
413
413
  }
414
414
  .closephasekanban {
415
- width: 60%;
415
+ width: 77%;
416
416
  margin: 0 auto;
417
417
  margin-bottom: 13PX;
418
418
  }
419
+ .common-board-column {
420
+ max-width: unset !important;
421
+ }
419
422
  .ex
420
423
  .el-input {
421
424
  width: 85% !important;