doway-coms 2.10.73 → 2.10.75

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": "2.10.73",
3
+ "version": "2.10.75",
4
4
  "description": "doway组件库",
5
5
  "author": "dowaysoft",
6
6
  "main": "packages/index.js",
@@ -101,7 +101,11 @@
101
101
  blurChange(col)
102
102
  }
103
103
  "
104
- />
104
+ >
105
+ <template #right="slotProps">
106
+ <slot :name="'right-' + col.field" v-bind="slotProps"></slot>
107
+ </template>
108
+ </BaseNumberInput>
105
109
  <BaseIntervalInput
106
110
  v-if="
107
111
  col.controlType === 'interval' &&
@@ -33,7 +33,7 @@
33
33
  <div class="card-tltle">未显示字段</div>
34
34
  <div ref="notShownField">
35
35
  <div
36
- v-for="(item, index) in columns.filter(x=> !x.visible)"
36
+ v-for="(item, index) in columns.filter(x=> !x.visible && x.sysVisible!==false)"
37
37
  :key="index"
38
38
  :data-id="index"
39
39
  class="drag-row"
@@ -41,7 +41,6 @@
41
41
  <div>{{ item.title }}</div>
42
42
  <div style="margin-left: auto;">
43
43
  <a-switch
44
- :disabled="!item.sysVisible"
45
44
  v-model="item.visible"
46
45
  @change="onCheckboxChange(item)"
47
46
  size="small"
@@ -57,6 +57,7 @@
57
57
  <span v-else>{{ getFormatValue(currentValue) }}</span>
58
58
  </span>
59
59
  </div>
60
+ <slot name="right" :field="name"></slot>
60
61
  </div>
61
62
  </template>
62
63