cnhis-design-vue 2.1.129 → 2.1.130

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.
Files changed (43) hide show
  1. package/CHANGELOG.md +23 -4
  2. package/es/age/index.js +2 -2
  3. package/es/big-table/index.js +29 -27
  4. package/es/button/index.js +2 -2
  5. package/es/captcha/index.js +3 -3
  6. package/es/card-reader-sdk/index.js +1 -1
  7. package/es/checkbox/index.js +1 -1
  8. package/es/color-picker/index.js +1 -1
  9. package/es/drag-layout/index.js +3 -3
  10. package/es/editor/index.js +1 -1
  11. package/es/ellipsis/index.js +1 -1
  12. package/es/fabric-chart/index.js +9 -9
  13. package/es/form-table/index.js +20 -20
  14. package/es/full-calendar/index.js +4 -4
  15. package/es/index/index.js +216 -211
  16. package/es/index/style.css +1 -1
  17. package/es/input/index.js +1 -1
  18. package/es/map/index.js +1 -1
  19. package/es/multi-chat/index.js +25 -25
  20. package/es/multi-chat-client/index.js +19 -19
  21. package/es/multi-chat-history/index.js +4 -4
  22. package/es/multi-chat-record/index.js +4 -4
  23. package/es/multi-chat-setting/index.js +20 -20
  24. package/es/multi-chat-sip/index.js +1 -1
  25. package/es/radio/index.js +1 -1
  26. package/es/scale-container/index.js +1 -1
  27. package/es/scale-view/index.js +27 -27
  28. package/es/select/index.js +4 -4
  29. package/es/select-label/index.js +3 -3
  30. package/es/select-person/index.js +2 -2
  31. package/es/select-tag/index.js +4 -4
  32. package/es/shortcut-setter/index.js +2 -2
  33. package/es/slider-tree/index.js +1 -1
  34. package/es/table-filter/index.js +60 -57
  35. package/es/table-filter/style.css +1 -1
  36. package/es/tag/index.js +1 -1
  37. package/es/verification-code/index.js +2 -2
  38. package/lib/cui.common.js +239 -234
  39. package/lib/cui.umd.js +239 -234
  40. package/lib/cui.umd.min.js +7 -7
  41. package/package.json +2 -2
  42. package/packages/big-table/src/utils/headerFilter.js +2 -1
  43. package/packages/table-filter/src/base-search-com/BaseSearch.vue +5 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cnhis-design-vue",
3
- "version": "2.1.129",
3
+ "version": "2.1.130",
4
4
  "description": "前端业务UI库",
5
5
  "keyword": "cnhis-design-vue vue cnhis",
6
6
  "homepage": "http://dv.cnhis.com/",
@@ -114,4 +114,4 @@
114
114
  "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
115
115
  }
116
116
  }
117
- }
117
+ }
@@ -443,7 +443,8 @@ export default {
443
443
  this.$set(set, 'value', JSON.stringify(set.filter));
444
444
  });
445
445
  this.$set(el, 'CONVERT', []);
446
- if (!this.isApiTable) {
446
+ let isHandleFilterSettingMap = !this.isApiTable && (!el.filterSettingMap || !Object.keys(el.filterSettingMap).length);
447
+ if (isHandleFilterSettingMap) {
447
448
  let filterSettingMap = this.handleFieldListFilter(el);
448
449
  this.$set(el, 'filterSettingMap', filterSettingMap);
449
450
  }
@@ -236,6 +236,7 @@
236
236
  <!-- v-if="item.type == 'ADD'" -->
237
237
  <li ref="rowTileBtnItem" class="rowTileBtn-item" :key="item.sid" v-if="showLi(item)" :data-key="item.sid" data-source="rowTile">
238
238
  <template v-if="isFrontendComponent(item) && !item.isHide">
239
+ <!-- 读卡 -->
239
240
  <slot name="frontendComponent" v-bind="$attrs" :curBtn="item"></slot>
240
241
  </template>
241
242
  <template v-else-if="item.type == 'ADD' || item.type == 'BATCH'">
@@ -318,7 +319,8 @@
318
319
  <a-menu slot="overlay">
319
320
  <template v-for="(b, j) in rowFoldBtnList">
320
321
  <template v-if="isFrontendComponent(b)">
321
- <a-sub-menu v-if="visibleBtn(b)" title="读卡" :key="b.sid">
322
+ <a-sub-menu v-if="visibleBtn(b)" :title="b.alias || b.name" :key="b.sid">
323
+ <!-- 读卡 -->
322
324
  <slot name="frontendComponent" v-bind="$attrs" comType="submenu" :curBtn="b"></slot>
323
325
  </a-sub-menu>
324
326
  </template>
@@ -349,7 +351,8 @@
349
351
  <template slot="title"></template>
350
352
  <template v-for="(b, j) in value.list">
351
353
  <template v-if="isFrontendComponent(b)">
352
- <a-sub-menu v-if="visibleBtn(b)" title="读卡" :key="b.sid">
354
+ <a-sub-menu v-if="visibleBtn(b)" :title="b.alias || b.name" :key="b.sid">
355
+ <!-- 读卡 -->
353
356
  <slot name="frontendComponent" v-bind="$attrs" comType="submenu" :curBtn="b"></slot>
354
357
  </a-sub-menu>
355
358
  </template>