cnhis-design-vue 2.1.148 → 2.1.150

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 (45) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/es/age/index.js +2 -2
  3. package/es/big-table/index.js +56 -54
  4. package/es/big-table/style.css +1 -1
  5. package/es/button/index.js +42 -34
  6. package/es/button/style.css +1 -1
  7. package/es/captcha/index.js +3 -3
  8. package/es/card-reader-sdk/index.js +1 -1
  9. package/es/checkbox/index.js +1 -1
  10. package/es/color-picker/index.js +1 -1
  11. package/es/drag-layout/index.js +3 -3
  12. package/es/editor/index.js +1 -1
  13. package/es/ellipsis/index.js +1 -1
  14. package/es/fabric-chart/index.js +9 -9
  15. package/es/form-table/index.js +20 -20
  16. package/es/full-calendar/index.js +4 -4
  17. package/es/index/index.js +253 -243
  18. package/es/index/style.css +1 -1
  19. package/es/input/index.js +1 -1
  20. package/es/map/index.js +1 -1
  21. package/es/multi-chat/index.js +25 -25
  22. package/es/multi-chat-client/index.js +19 -19
  23. package/es/multi-chat-history/index.js +4 -4
  24. package/es/multi-chat-record/index.js +4 -4
  25. package/es/multi-chat-setting/index.js +20 -20
  26. package/es/multi-chat-sip/index.js +1 -1
  27. package/es/radio/index.js +1 -1
  28. package/es/scale-container/index.js +1 -1
  29. package/es/scale-view/index.js +27 -27
  30. package/es/select/index.js +4 -4
  31. package/es/select-label/index.js +3 -3
  32. package/es/select-person/index.js +2 -2
  33. package/es/select-tag/index.js +4 -4
  34. package/es/shortcut-setter/index.js +2 -2
  35. package/es/slider-tree/index.js +1 -1
  36. package/es/table-filter/index.js +70 -62
  37. package/es/table-filter/style.css +1 -1
  38. package/es/tag/index.js +1 -1
  39. package/es/verification-code/index.js +2 -2
  40. package/lib/cui.common.js +301 -291
  41. package/lib/cui.umd.js +301 -291
  42. package/lib/cui.umd.min.js +12 -12
  43. package/package.json +1 -1
  44. package/packages/big-table/src/BigTable.vue +3 -3
  45. package/packages/button/src/ButtonPrint/old.vue +16 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cnhis-design-vue",
3
- "version": "2.1.148",
3
+ "version": "2.1.150",
4
4
  "description": "前端业务UI库",
5
5
  "keyword": "cnhis-design-vue vue cnhis",
6
6
  "homepage": "http://dv.cnhis.com/",
@@ -2206,15 +2206,15 @@ export default create({
2206
2206
  table.setAllCheckboxRow(false);
2207
2207
  */
2208
2208
  table?.setAllCheckboxRow(false);
2209
- this.$set(this, 'checkedRows', [row]);
2210
- this.pubCheckChange([row]);
2209
+ this.$set(this, 'checkedRows', []);
2210
+ this.pubCheckChange([], {isChecked: false});
2211
2211
  rowVal = row;
2212
2212
  } else {
2213
2213
  if (checkedRow.length > 1) return false;
2214
2214
  rowVal = checked || (checkedRow.length === 1 && !checked) ? checkedRow[0] : {};
2215
2215
  this.$set(this, 'checkedRows', [rowVal]);
2216
2216
  }
2217
- this.updateAddCheckedRows(rowVal, true);
2217
+ // this.updateAddCheckedRows(rowVal, true);
2218
2218
  // 需要选中行
2219
2219
  this.$emit('handlerClickRow', rowVal, rowIndex, { source, column, trigger });
2220
2220
  this.setTableCurrentRow(table, row);
@@ -540,7 +540,10 @@ export default create({
540
540
  }
541
541
  };
542
542
 
543
- this.prevFn()
543
+ this.prevFn({
544
+ ...this.queryParams,
545
+ type: 'print'
546
+ })
544
547
  .catch(() => {
545
548
  this.prevFnError();
546
549
  return Promise.reject();
@@ -641,7 +644,10 @@ export default create({
641
644
  async handleClickPreview(e) {
642
645
  e.domEvent.stopPropagation();
643
646
 
644
- this.prevFn()
647
+ this.prevFn({
648
+ ...this.queryParams,
649
+ type: 'preview'
650
+ })
645
651
  .catch(() => {
646
652
  this.prevFnError();
647
653
  return Promise.reject();
@@ -679,7 +685,10 @@ export default create({
679
685
  // 下载pdf
680
686
  async handleClickPdf(e) {
681
687
  e.domEvent.stopPropagation();
682
- this.prevFn()
688
+ this.prevFn({
689
+ ...this.queryParams,
690
+ type: 'download'
691
+ })
683
692
  .catch(() => {
684
693
  this.prevFnError();
685
694
  return Promise.reject();
@@ -712,7 +721,10 @@ export default create({
712
721
  handleClickEdit(e) {
713
722
  e.domEvent.stopPropagation();
714
723
 
715
- this.prevFn()
724
+ this.prevFn({
725
+ ...this.queryParams,
726
+ type: 'formatEdit'
727
+ })
716
728
  .catch(() => {
717
729
  this.prevFnError();
718
730
  return Promise.reject();