openatc-components 0.4.9 → 0.4.12

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.
@@ -11,7 +11,7 @@
11
11
  **/
12
12
  <template>
13
13
  <div>
14
- <div v-if="this.nowNumber === 1" class="optimizetype">
14
+ <div class="optimizetype">
15
15
  <span>{{$t('openatccomponents.pattern.optimizetype')}}</span>
16
16
  <el-select v-model="value" clearable :placeholder="$t('openatccomponents.common.select')">
17
17
  <el-option
@@ -24,9 +24,31 @@
24
24
  </el-select>
25
25
  <span class="optimiNum">{{$t('openatccomponents.pattern.optimizecycle')}}</span>
26
26
  <el-input v-model="optimizecycle" clearable :placeholder="$t('openatccomponents.common.enter')"></el-input>
27
- <el-button type="primary" @click="optimize()">{{$t('openatccomponents.pattern.inoptimize')}}</el-button>
27
+ <!-- <el-button type="primary" @click="optimize()">{{$t('openatccomponents.pattern.inoptimize')}}</el-button> -->
28
28
  </div>
29
- <div class="common-board-column" :style="{marginTop:this.nowNumber === 1 ? 0 : '50px'}">
29
+ <el-table class="tb-edit" ref="singleTables" row-key="id" :data="tableRing" element-loading-text="Loading" :max-height="tableHeight" fit highlight-current-row id="footerBtn">
30
+ <el-table-column prop="id" sortable align="center" :label="$t('openatccomponents.overview.id')">
31
+ <template slot-scope="scope">
32
+ <span>{{scope.row.id}}</span>
33
+ </template>
34
+ </el-table-column>
35
+ <el-table-column class="table-column" :label="$t('openatccomponents.overview.phase')" align="center">
36
+ <template slot-scope="scope">
37
+ <xdrdirselector Width="70px" Height="70px" Widths="58px" Heights="58px" :Datas="styles" :Data="showStyle" :showlist="scope.row.desc" :ISActiveMask="ISActiveMask" :MaskColor="MaskColor"></xdrdirselector>
38
+ </template>
39
+ </el-table-column>
40
+ <el-table-column class="table-column" :label="$t('openatccomponents.overview.flow')" align="center">
41
+ <template slot-scope="scope">
42
+ <el-input-number :controls="false" class="col-content" size="small" :step="1" v-model.number="scope.row.flowperhour" ref="type"></el-input-number>
43
+ </template>
44
+ </el-table-column>
45
+ <el-table-column align="center" :label="$t('openatccomponents.overview.saturationflow')">
46
+ <template slot-scope="scope">
47
+ <el-input-number :controls="false" class="col-content" size="small" :step="1" v-model.number="scope.row.saturation" ref="types"></el-input-number>
48
+ </template>
49
+ </el-table-column>
50
+ </el-table>
51
+ <!-- <div class="common-board-column" :style="{marginTop:this.nowNumber === 1 ? 0 : '50px'}">
30
52
  <div class="common-board-column-header">
31
53
  {{headerText}}
32
54
  </div>
@@ -68,7 +90,7 @@
68
90
  </el-row>
69
91
  </div>
70
92
  </draggable>
71
- </div>
93
+ </div> -->
72
94
  </div>
73
95
  </template>
74
96
  <script>
@@ -84,14 +106,15 @@ export default {
84
106
  },
85
107
  data () {
86
108
  return {
87
- showStyle: {
88
- left: '2px',
89
- top: '0px'
90
- },
91
- styles: {
92
- left: '1px',
93
- top: '0px'
94
- },
109
+ // showStyle: {
110
+ // left: '2px',
111
+ // top: '0px'
112
+ // },
113
+ // styles: {
114
+ // left: '1px',
115
+ // top: '0px'
116
+ // },
117
+ tableHeight: 300,
95
118
  typeOptions: [{
96
119
  value: 'flow-split-opt'
97
120
  }, {
@@ -106,6 +129,15 @@ export default {
106
129
  type: String,
107
130
  default: 'Header'
108
131
  },
132
+ tableRing: {
133
+ type: Array
134
+ },
135
+ showStyle: {
136
+ type: Object
137
+ },
138
+ styles: {
139
+ type: Object
140
+ },
109
141
  id: {
110
142
  type: Number
111
143
  },
@@ -24,7 +24,7 @@
24
24
  <!-- <patternwalksvg :showWalk="item.peddirection" :Width="'32'" :Height="'34'"></patternwalksvg> -->
25
25
  <xdrdirselector Width="60px" Height="60px" Widths="50px" Heights="50px" :showlist="item.direction"></xdrdirselector>
26
26
  </div>
27
- <div v-if="isShowTip" class="box" style="position: absolute; left:40px; width:40px; top: -1px;z-index:9999">
27
+ <div v-if="isShowTip" class="box" style="position: absolute; left:40px; width:40px; top: -1px;z-index:999">
28
28
  <div @click="focusInput(item.id)" class="ring-nums">{{$t('openatccomponents.phase.phase')}}{{item.id}}</div>
29
29
  <div v-if="isMove" class="ring-nums">{{item.split}}</div>
30
30
  <el-input-number