doway-coms 1.6.18 → 1.6.20

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.6.18",
3
+ "version": "1.6.20",
4
4
  "description": "doway组件库",
5
5
  "author": "dowaysoft",
6
6
  "main": "packages/index.js",
@@ -108,6 +108,10 @@
108
108
  </div>
109
109
  </template>
110
110
 
111
+ <template #customCell_edit="{ row, column }">
112
+ <slot name="customCellEdit" :item="{ row, column }"></slot>
113
+ </template>
114
+
111
115
  <template #text_edit="scope">
112
116
  <div class="interceptor-class">
113
117
  <a-input
@@ -27,6 +27,8 @@
27
27
  @change="selectChange"
28
28
  style="width: 100%"
29
29
  :class="{ 'd-error-input': v.errors.length > 0 }"
30
+ option-filter-prop="children"
31
+ show-search
30
32
  >
31
33
  <SelectOption
32
34
  v-for="loopSource in dataSource"
@@ -554,6 +554,12 @@ export function setFormButtons(toolBtns,statusBtns,permissionBtns){
554
554
  if(loopBtn.visibleStatus){
555
555
  pushBtn['visibleStatuss'] = loopBtn.visibleStatus.split(',')
556
556
  }
557
+ let extraInfo = loopBtn.extraInfo
558
+ ? JSON.parse(loopBtn.extraInfo)
559
+ : {}
560
+ if (Object.keys(extraInfo).length) {
561
+ pushBtn = XEUtils.assign(extraInfo, pushBtn)
562
+ }
557
563
  switch(loopBtn.buttonType){
558
564
  case 'tool':
559
565
  toolBtns.push(pushBtn)