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.
- package/CHANGELOG.md +14 -0
- package/es/age/index.js +2 -2
- package/es/big-table/index.js +56 -54
- package/es/big-table/style.css +1 -1
- package/es/button/index.js +42 -34
- package/es/button/style.css +1 -1
- package/es/captcha/index.js +3 -3
- package/es/card-reader-sdk/index.js +1 -1
- package/es/checkbox/index.js +1 -1
- package/es/color-picker/index.js +1 -1
- package/es/drag-layout/index.js +3 -3
- package/es/editor/index.js +1 -1
- package/es/ellipsis/index.js +1 -1
- package/es/fabric-chart/index.js +9 -9
- package/es/form-table/index.js +20 -20
- package/es/full-calendar/index.js +4 -4
- package/es/index/index.js +253 -243
- package/es/index/style.css +1 -1
- package/es/input/index.js +1 -1
- package/es/map/index.js +1 -1
- package/es/multi-chat/index.js +25 -25
- package/es/multi-chat-client/index.js +19 -19
- package/es/multi-chat-history/index.js +4 -4
- package/es/multi-chat-record/index.js +4 -4
- package/es/multi-chat-setting/index.js +20 -20
- package/es/multi-chat-sip/index.js +1 -1
- package/es/radio/index.js +1 -1
- package/es/scale-container/index.js +1 -1
- package/es/scale-view/index.js +27 -27
- package/es/select/index.js +4 -4
- package/es/select-label/index.js +3 -3
- package/es/select-person/index.js +2 -2
- package/es/select-tag/index.js +4 -4
- package/es/shortcut-setter/index.js +2 -2
- package/es/slider-tree/index.js +1 -1
- package/es/table-filter/index.js +70 -62
- package/es/table-filter/style.css +1 -1
- package/es/tag/index.js +1 -1
- package/es/verification-code/index.js +2 -2
- package/lib/cui.common.js +301 -291
- package/lib/cui.umd.js +301 -291
- package/lib/cui.umd.min.js +12 -12
- package/package.json +1 -1
- package/packages/big-table/src/BigTable.vue +3 -3
- package/packages/button/src/ButtonPrint/old.vue +16 -4
package/package.json
CHANGED
|
@@ -2206,15 +2206,15 @@ export default create({
|
|
|
2206
2206
|
table.setAllCheckboxRow(false);
|
|
2207
2207
|
*/
|
|
2208
2208
|
table?.setAllCheckboxRow(false);
|
|
2209
|
-
this.$set(this, 'checkedRows', [
|
|
2210
|
-
this.pubCheckChange([
|
|
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();
|