cnhis-design-vue 2.1.146 → 2.1.147

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 +7 -0
  2. package/es/age/index.js +2 -2
  3. package/es/big-table/index.js +26 -26
  4. package/es/button/index.js +191 -197
  5. package/es/button/style.css +1 -1
  6. package/es/captcha/index.js +3 -3
  7. package/es/card-reader-sdk/index.js +1 -1
  8. package/es/checkbox/index.js +1 -1
  9. package/es/color-picker/index.js +1 -1
  10. package/es/drag-layout/index.js +3 -3
  11. package/es/editor/index.js +1 -1
  12. package/es/ellipsis/index.js +1 -1
  13. package/es/fabric-chart/index.js +9 -9
  14. package/es/form-table/index.js +20 -20
  15. package/es/full-calendar/index.js +4 -4
  16. package/es/index/index.js +372 -378
  17. package/es/index/style.css +1 -1
  18. package/es/input/index.js +1 -1
  19. package/es/map/index.js +1 -1
  20. package/es/multi-chat/index.js +25 -25
  21. package/es/multi-chat-client/index.js +19 -19
  22. package/es/multi-chat-history/index.js +4 -4
  23. package/es/multi-chat-record/index.js +4 -4
  24. package/es/multi-chat-setting/index.js +20 -20
  25. package/es/multi-chat-sip/index.js +1 -1
  26. package/es/radio/index.js +1 -1
  27. package/es/scale-container/index.js +1 -1
  28. package/es/scale-view/index.js +27 -27
  29. package/es/select/index.js +4 -4
  30. package/es/select-label/index.js +3 -3
  31. package/es/select-person/index.js +2 -2
  32. package/es/select-tag/index.js +4 -4
  33. package/es/shortcut-setter/index.js +2 -2
  34. package/es/slider-tree/index.js +1 -1
  35. package/es/table-filter/index.js +219 -225
  36. package/es/table-filter/style.css +1 -1
  37. package/es/tag/index.js +1 -1
  38. package/es/verification-code/index.js +2 -2
  39. package/lib/cui.common.js +395 -401
  40. package/lib/cui.umd.js +395 -401
  41. package/lib/cui.umd.min.js +7 -7
  42. package/package.json +1 -1
  43. package/packages/button/src/ButtonPrint/new.vue +13 -12
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cnhis-design-vue",
3
- "version": "2.1.146",
3
+ "version": "2.1.147",
4
4
  "description": "前端业务UI库",
5
5
  "keyword": "cnhis-design-vue vue cnhis",
6
6
  "homepage": "http://dv.cnhis.com/",
@@ -68,7 +68,8 @@
68
68
  <a-button-group v-else>
69
69
  <a-button style="display: flex;align-items: center;" :loading="this.spinning" @click.stop="printAllButtonClick">
70
70
  <a-icon type="printer" v-if="!this.spinning"/>
71
- {{ isShowPrintAllBtn ? '打印全部' : defaultFormatTitle ? defaultFormatTitle : btnText }}
71
+ <!-- 如果允许打印全部则展示打印全部,否则展示传入的动态按钮名称 -->
72
+ {{ isShowPrintAllBtn ? '打印全部' : btnText }}
72
73
  </a-button>
73
74
  <a-button
74
75
  v-if="innerPrintItems.length == 0"
@@ -347,17 +348,17 @@ export default create({
347
348
  return this.options.every(option => option.selected);
348
349
  },
349
350
  // 设置默认format的标题
350
- defaultFormatTitle() {
351
- const curFormat = this.innerPrintItems.find(option => option.key == this.defaultPrintFormatId);
352
- if (curFormat) {
353
- return `打印${curFormat.label}`;
354
- }
355
- // 如果innerPrintItems长度只有一项,则默认选中它
356
- if (this.innerPrintItems.length == 1) {
357
- return `打印${this.innerPrintItems[0].label}`;
358
- }
359
- return ''
360
- },
351
+ // defaultFormatTitle() {
352
+ // const curFormat = this.innerPrintItems.find(option => option.key == this.defaultPrintFormatId);
353
+ // if (curFormat) {
354
+ // return `打印${curFormat.label}`;
355
+ // }
356
+ // // 如果innerPrintItems长度只有一项,则默认选中它
357
+ // if (this.innerPrintItems.length == 1) {
358
+ // return `打印${this.innerPrintItems[0].label}`;
359
+ // }
360
+ // return ''
361
+ // },
361
362
  },
362
363
  data() {
363
364
  return {