doway-coms 1.8.7 → 1.8.9

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": "doway-coms",
3
- "version": "1.8.7",
3
+ "version": "1.8.9",
4
4
  "description": "doway组件库",
5
5
  "author": "dowaysoft",
6
6
  "main": "packages/index.js",
@@ -74,6 +74,7 @@
74
74
  :tooltip="col.tooltip"
75
75
  :max="col.max"
76
76
  :precision="col.precision"
77
+ :percent="col.percent"
77
78
  @change="
78
79
  () => {
79
80
  numberChange(col);
@@ -264,7 +265,6 @@
264
265
  :columns="col.columns"
265
266
  :pageSize="col.pageSize"
266
267
  :immediate="col.immediate"
267
- :percent="col.percent"
268
268
  @preSearch="preSearch"
269
269
  @selectChanged="
270
270
  (rowInfo) => {
@@ -39,7 +39,13 @@
39
39
  class="drag-row"
40
40
  >
41
41
  <div>{{ item.title }}</div>
42
- <div style="margin-left: auto;"><a-switch v-model="item.visible" @change="onCheckboxChange(item)" size="small"/></div>
42
+ <div style="margin-left: auto;">
43
+ <a-switch
44
+ :disabled="!item.sysVisible"
45
+ v-model="item.visible"
46
+ @change="onCheckboxChange(item)"
47
+ size="small"
48
+ /></div>
43
49
  </div>
44
50
  </div>
45
51
  </div>
@@ -135,6 +141,7 @@ export default {
135
141
  field: item.field,
136
142
  title: item.title,
137
143
  visible: item.visible,
144
+ sysVisible: item.params.sysVisible, // 系统隐藏字段不可操作
138
145
  width: item.width,
139
146
  filters: item.filters,
140
147
  order: item.order,