cnhis-design-vue 2.1.16 → 2.1.17
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 +2219 -2219
- package/es/affix/index.js +8 -8
- package/es/age/index.js +10 -10
- package/es/alert/index.js +8 -8
- package/es/anchor/index.js +8 -8
- package/es/auto-complete/index.js +8 -8
- package/es/avatar/index.js +8 -8
- package/es/back-top/index.js +8 -8
- package/es/badge/index.js +8 -8
- package/es/base/index.js +8 -8
- package/es/big-table/index.js +124 -111
- package/es/breadcrumb/index.js +8 -8
- package/es/button/index.js +59 -53
- package/es/button/style.css +1 -1
- package/es/calendar/index.js +8 -8
- package/es/captcha/index.js +3 -3
- package/es/card/index.js +8 -8
- package/es/carousel/index.js +8 -8
- package/es/cascader/index.js +8 -8
- package/es/checkbox/index.js +9 -9
- package/es/col/index.js +8 -8
- package/es/collapse/index.js +8 -8
- package/es/color-picker/index.js +1 -1
- package/es/comment/index.js +8 -8
- package/es/config-provider/index.js +8 -8
- package/es/date-picker/index.js +8 -8
- package/es/descriptions/index.js +8 -8
- package/es/divider/index.js +8 -8
- package/es/drag-layout/index.js +3 -3
- package/es/drawer/index.js +8 -8
- package/es/dropdown/index.js +8 -8
- package/es/editor/index.js +1 -1
- package/es/empty/index.js +8 -8
- package/es/fabric-chart/index.js +95 -104
- package/es/fabric-chart/style.css +1 -1
- package/es/form/index.js +8 -8
- package/es/form-model/index.js +8 -8
- package/es/form-table/index.js +62 -62
- package/es/index/index.js +666 -656
- package/es/index/style.css +1 -1
- package/es/input/index.js +9 -9
- package/es/input-number/index.js +8 -8
- package/es/layout/index.js +8 -8
- package/es/list/index.js +8 -8
- package/es/locale-provider/index.js +8 -8
- package/es/map/index.js +9 -9
- package/es/mentions/index.js +8 -8
- package/es/menu/index.js +8 -8
- package/es/message/index.js +8 -8
- package/es/multi-chat/index.js +92 -92
- package/es/multi-chat-client/index.js +86 -86
- package/es/multi-chat-history/index.js +4 -4
- package/es/multi-chat-record/index.js +14 -14
- package/es/multi-chat-setting/index.js +27 -27
- package/es/multi-chat-sip/index.js +1 -1
- package/es/notification/index.js +8 -8
- package/es/page-header/index.js +8 -8
- package/es/pagination/index.js +8 -8
- package/es/popconfirm/index.js +8 -8
- package/es/popover/index.js +8 -8
- package/es/progress/index.js +8 -8
- package/es/radio/index.js +9 -9
- package/es/rate/index.js +8 -8
- package/es/result/index.js +8 -8
- package/es/row/index.js +8 -8
- package/es/scale-view/index.js +33 -33
- package/es/select/index.js +11 -11
- package/es/select-label/index.js +11 -11
- package/es/select-person/index.js +20 -20
- package/es/skeleton/index.js +8 -8
- package/es/slider/index.js +8 -8
- package/es/space/index.js +8 -8
- package/es/spin/index.js +8 -8
- package/es/statistic/index.js +8 -8
- package/es/steps/index.js +8 -8
- package/es/switch/index.js +8 -8
- package/es/table-filter/index.js +145 -139
- package/es/table-filter/style.css +1 -1
- package/es/tabs/index.js +8 -8
- package/es/tag/index.js +9 -9
- package/es/time-picker/index.js +8 -8
- package/es/timeline/index.js +8 -8
- package/es/tooltip/index.js +8 -8
- package/es/transfer/index.js +8 -8
- package/es/tree/index.js +8 -8
- package/es/tree-select/index.js +8 -8
- package/es/upload/index.js +8 -8
- package/es/verification-code/index.js +2 -2
- package/lib/cui.common.js +644 -634
- package/lib/cui.umd.js +644 -634
- package/lib/cui.umd.min.js +72 -72
- package/package.json +107 -107
- package/packages/big-table/src/BigTable.vue +3038 -3038
- package/packages/big-table/src/assets/style/table-base.less +370 -370
- package/packages/big-table/src/components/AutoLayoutButton.vue +270 -270
- package/packages/big-table/src/utils/batchEditing.js +34 -27
- package/packages/big-table/src/utils/bigTableProps.js +95 -95
- package/packages/button/src/ButtonPrint/components/IdentityVerification.vue +181 -181
- package/packages/button/src/ButtonPrint/index.vue +728 -724
- package/packages/fabric-chart/src/FabricChart.vue +15 -36
- package/packages/fabric-chart/src/components/TimeScaleValue.vue +117 -117
- package/packages/fabric-chart/src/const/defaultVaule.js +59 -59
- package/packages/fabric-chart/src/fabric-chart/FabricCanvas.vue +4 -3
- package/packages/fabric-chart/src/fabric-chart/FabricPolylines.vue +960 -960
- package/packages/fabric-chart/src/fabric-chart/FabricScaleValue.vue +135 -133
- package/packages/fabric-chart/src/fabric-chart/FabricTextGroup.vue +558 -558
- package/packages/fabric-chart/src/fabric-chart2/FabricTop.vue +172 -172
- package/packages/multi-chat/chat/chatFooter.vue +1598 -1598
- package/packages/multi-chat/chat/chatMain.vue +1442 -1442
- package/packages/multi-chat/chat/quickReply.vue +439 -439
- package/packages/multi-chat/chat/scrollList.vue +1232 -1232
- package/packages/multi-chat/setting/baseInfo/index.vue +1302 -1302
- package/packages/multi-chat/store/actions.js +448 -448
- package/packages/multi-chat/store/state.js +112 -112
- package/packages/scale-view/formitem/r-choice.vue +714 -714
- package/packages/scale-view/scaleView.vue +2010 -2010
- package/packages/select-person/select-person.vue +1658 -1658
- package/packages/table-filter/src/base-search-com/BaseSearch.vue +2462 -2462
- package/packages/table-filter/src/components/c-tree-select/tree-select.vue +336 -336
- package/packages/table-filter/src/components/multi-select/multi-select.vue +219 -219
- package/packages/table-filter/src/components/out-quick-search/out-quick-search.vue +340 -340
- package/packages/table-filter/src/const/dataOptions.js +43 -43
- package/packages/table-filter/src/mixins/mixins.js +695 -695
- package/packages/table-filter/src/quick-search/QuickSearch.vue +2083 -2083
- package/src/directive/preventReClick.js +12 -12
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// import { mapMutations, mapActions } from "vuex";
|
|
2
|
-
import utils from
|
|
2
|
+
import utils from '@/utils/utils-map';
|
|
3
3
|
export default {
|
|
4
4
|
props: {
|
|
5
5
|
// 曾经的getters
|
|
@@ -43,10 +43,10 @@ export default {
|
|
|
43
43
|
return {
|
|
44
44
|
isLoadData: this.isLoadData,
|
|
45
45
|
isLoadColumn: this.isLoadColumn
|
|
46
|
-
}
|
|
46
|
+
};
|
|
47
47
|
},
|
|
48
48
|
isTableEdit() {
|
|
49
|
-
return this.isInlineOperating || this.isInlineAdding
|
|
49
|
+
return this.isInlineOperating || this.isInlineAdding;
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
52
|
watch: {
|
|
@@ -55,7 +55,7 @@ export default {
|
|
|
55
55
|
let { isLoadData, isLoadColumn } = obj;
|
|
56
56
|
if (!(isLoadData && isLoadColumn)) return;
|
|
57
57
|
if (this.isBatchEditing) return;
|
|
58
|
-
this.$emit('tableLoad', true)
|
|
58
|
+
this.$emit('tableLoad', true);
|
|
59
59
|
},
|
|
60
60
|
/**
|
|
61
61
|
* 编辑
|
|
@@ -69,7 +69,7 @@ export default {
|
|
|
69
69
|
}
|
|
70
70
|
// 非行内按钮触发
|
|
71
71
|
if (!this.isRowEditing) {
|
|
72
|
-
await this.toggleColumn()
|
|
72
|
+
await this.toggleColumn();
|
|
73
73
|
}
|
|
74
74
|
this.hideSelectCloumns();
|
|
75
75
|
this.handleClickBatchEditBtnByInline();
|
|
@@ -90,7 +90,7 @@ export default {
|
|
|
90
90
|
if (!val || this.isNestTable) return false;
|
|
91
91
|
if (this.isTree != 0 || !this.isMatchComponent) return false;
|
|
92
92
|
if (!this.checkOperateCurrentTable()) return false;
|
|
93
|
-
await this.toggleColumn('showColumn')
|
|
93
|
+
await this.toggleColumn('showColumn');
|
|
94
94
|
this.handleClickBatchCancelBtnByInline();
|
|
95
95
|
},
|
|
96
96
|
/**
|
|
@@ -109,17 +109,17 @@ export default {
|
|
|
109
109
|
this.resetBatchOperationRowStatus();
|
|
110
110
|
return false;
|
|
111
111
|
}
|
|
112
|
-
await this.toggleColumn()
|
|
112
|
+
await this.toggleColumn();
|
|
113
113
|
this.hideSelectCloumns();
|
|
114
|
-
this.handleClickAddRow()
|
|
114
|
+
this.handleClickAddRow();
|
|
115
115
|
}
|
|
116
116
|
},
|
|
117
117
|
methods: {
|
|
118
118
|
toggleColumn(key) {
|
|
119
|
-
let method = key || 'hideColumn'
|
|
119
|
+
let method = key || 'hideColumn';
|
|
120
120
|
const xGrid = this.$refs.xGrid;
|
|
121
121
|
if (!xGrid) return Promise.resolve();
|
|
122
|
-
let operate = xGrid.getColumnByField(
|
|
122
|
+
let operate = xGrid.getColumnByField('operatorColumn');
|
|
123
123
|
if (method === 'showColumn' && operate.visible) {
|
|
124
124
|
return Promise.resolve();
|
|
125
125
|
}
|
|
@@ -233,10 +233,18 @@ export default {
|
|
|
233
233
|
this.$emit('resetBatchEditDoneStatus');
|
|
234
234
|
|
|
235
235
|
let formDom = document.querySelectorAll('.js-inlineEditForm');
|
|
236
|
-
let
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
236
|
+
let filterFormDom = [];
|
|
237
|
+
[...formDom].map(item => {
|
|
238
|
+
let pNode = item.parentNode?.parentNode;
|
|
239
|
+
if (pNode) {
|
|
240
|
+
if (pNode.classList.contains('vxe-body--column') && !pNode.classList.contains('fixed--hidden')) {
|
|
241
|
+
filterFormDom.push(item);
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
});
|
|
245
|
+
if (!filterFormDom.length) return false;
|
|
246
|
+
// // HACK: vxeTable行内编辑时复制的DOM节点,无需触发提交
|
|
247
|
+
filterFormDom.forEach(item => {
|
|
240
248
|
item.__vue__.handleSubmitForm();
|
|
241
249
|
});
|
|
242
250
|
},
|
|
@@ -340,22 +348,21 @@ export default {
|
|
|
340
348
|
return editColumnMap;
|
|
341
349
|
},
|
|
342
350
|
async handleRequestedUniqueKey(id) {
|
|
343
|
-
let handleEditFormRequestedUniqueKey = this.editFormApiConfig?.handleEditFormRequestedUniqueKey
|
|
351
|
+
let handleEditFormRequestedUniqueKey = this.editFormApiConfig?.handleEditFormRequestedUniqueKey;
|
|
344
352
|
if (!handleEditFormRequestedUniqueKey || typeof handleEditFormRequestedUniqueKey !== 'function') {
|
|
345
353
|
handleEditFormRequestedUniqueKey = this.getPrimaryKeyRequest;
|
|
346
354
|
}
|
|
347
|
-
return handleEditFormRequestedUniqueKey({ tableId: id }).then(
|
|
348
|
-
val && (this.cacheUniqueKey[id] = { value: val, status: true })
|
|
349
|
-
})
|
|
350
|
-
|
|
355
|
+
return handleEditFormRequestedUniqueKey({ tableId: id }).then(val => {
|
|
356
|
+
val && (this.cacheUniqueKey[id] = { value: val, status: true });
|
|
357
|
+
});
|
|
351
358
|
},
|
|
352
359
|
getPrimaryKeyRequest(params) {
|
|
353
360
|
return new Promise((resolve, reject) => {
|
|
354
361
|
this.axios
|
|
355
|
-
.get(
|
|
362
|
+
.get('tableList/getPrimaryKey', { params })
|
|
356
363
|
.then(({ data }) => {
|
|
357
364
|
let result;
|
|
358
|
-
if (data.result ==
|
|
365
|
+
if (data.result == 'SUCCESS') {
|
|
359
366
|
const { map = {} } = data;
|
|
360
367
|
result = map.primaryKey || undefined;
|
|
361
368
|
} else {
|
|
@@ -413,7 +420,7 @@ export default {
|
|
|
413
420
|
let originalRow = this.pageIndexOldtableData.find(item => {
|
|
414
421
|
let oldItemVal = utils.handleCurValue(item[this.primaryKey]);
|
|
415
422
|
let rowVal = utils.handleCurValue(row[this.primaryKey]);
|
|
416
|
-
return oldItemVal == rowVal
|
|
423
|
+
return oldItemVal == rowVal;
|
|
417
424
|
});
|
|
418
425
|
defaultCombinationForm = this.setDefaultFormData(column.property, fieldItem, originalRow);
|
|
419
426
|
}
|
|
@@ -504,7 +511,7 @@ export default {
|
|
|
504
511
|
this.$emit('triggerSpinning', false);
|
|
505
512
|
return;
|
|
506
513
|
}
|
|
507
|
-
let { listFormUnionSetting } = this
|
|
514
|
+
let { listFormUnionSetting } = this;
|
|
508
515
|
let { formId } = listFormUnionSetting;
|
|
509
516
|
let params = this.handleSubmitParams(this.batchFormData);
|
|
510
517
|
if (!formId || !params) {
|
|
@@ -543,7 +550,7 @@ export default {
|
|
|
543
550
|
let arr = [];
|
|
544
551
|
for (let key in batchFormData) {
|
|
545
552
|
// v[this.primaryKey] 可能为数字
|
|
546
|
-
// key 为字符串 用全等匹配不到 改为 ==
|
|
553
|
+
// key 为字符串 用全等匹配不到 改为 ==
|
|
547
554
|
let matchItem = this.oldtableData.find(v => v[this.primaryKey] == key);
|
|
548
555
|
let obj = batchFormData[key];
|
|
549
556
|
if (matchItem) {
|
|
@@ -556,11 +563,11 @@ export default {
|
|
|
556
563
|
return arr;
|
|
557
564
|
},
|
|
558
565
|
savaForm(formId, params) {
|
|
559
|
-
let handleEditFormSavaForm = this.editFormApiConfig?.handleEditFormSavaForm
|
|
566
|
+
let handleEditFormSavaForm = this.editFormApiConfig?.handleEditFormSavaForm;
|
|
560
567
|
if (!handleEditFormSavaForm || typeof handleEditFormSavaForm !== 'function') {
|
|
561
|
-
handleEditFormSavaForm = this.savaFormRequest
|
|
568
|
+
handleEditFormSavaForm = this.savaFormRequest;
|
|
562
569
|
}
|
|
563
|
-
return handleEditFormSavaForm(params, { formId })
|
|
570
|
+
return handleEditFormSavaForm(params, { formId });
|
|
564
571
|
},
|
|
565
572
|
savaFormRequest(params, config) {
|
|
566
573
|
let url = `/form/editRows/update/${config.formId}`;
|
|
@@ -1,95 +1,95 @@
|
|
|
1
|
-
const bigTableProps = {
|
|
2
|
-
data: { type: Array, default: () => [] },
|
|
3
|
-
MAX_CHECK_SIZE: [String, Number],
|
|
4
|
-
showFooter: Boolean,
|
|
5
|
-
sumData: { type: Object, default: () => ({}) },
|
|
6
|
-
avgData: { type: Object, default: () => ({}) },
|
|
7
|
-
columnConfig: {
|
|
8
|
-
type: Object,
|
|
9
|
-
default: () => {
|
|
10
|
-
return {};
|
|
11
|
-
}
|
|
12
|
-
},
|
|
13
|
-
refreshRow: Number,
|
|
14
|
-
relatedItems: {
|
|
15
|
-
type: Object,
|
|
16
|
-
default: () => {
|
|
17
|
-
return {
|
|
18
|
-
triggerMethodPc: '', // 相关项打开方式
|
|
19
|
-
triggerMethodField: '' // 相关项打开字段
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
pageVO: {
|
|
24
|
-
type: Object,
|
|
25
|
-
default: () => {
|
|
26
|
-
return {
|
|
27
|
-
pageIndex: 1, // 当前第几页
|
|
28
|
-
pageSize: 20, // 每页几条数据
|
|
29
|
-
total: 20 // 总数多少条
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
tableOptions: { type: Object, default: () => ({}) },
|
|
34
|
-
quickSearchConfig: { type: Array, default: () => [] },
|
|
35
|
-
primaryKey: String,
|
|
36
|
-
tableDataCache: { type: Array, default: () => [] },
|
|
37
|
-
oldtableData: { type: Array, default: () => [] }, // 原始数据
|
|
38
|
-
tableName: String,
|
|
39
|
-
fieldListOriginal: { type: Array, default: () => [] },
|
|
40
|
-
tableParams: { type: Object, default: () => ({}) },
|
|
41
|
-
emptyItems: {
|
|
42
|
-
type: Object,
|
|
43
|
-
default: () => {
|
|
44
|
-
return {
|
|
45
|
-
noDataImg: 'nodata',
|
|
46
|
-
noDataTip: ''
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
styleSetting: { type: Object, default: () => ({}) },
|
|
51
|
-
sysImageSize: { type: Array, default: () => [] },
|
|
52
|
-
height: String,
|
|
53
|
-
groupCountFields: { type: Array, default: () => [] },
|
|
54
|
-
groupCountMap: { type: Object, default: () => ({}) },
|
|
55
|
-
listFormUnionSetting: { type: Object, default: () => ({}) },
|
|
56
|
-
inlineEditFormConfig: { type: Object, default: () => ({}) },
|
|
57
|
-
clickRowData: { type: Object, default: () => ({}) },
|
|
58
|
-
btnList: { type: Array, default: () => [] },
|
|
59
|
-
spinning: Boolean,
|
|
60
|
-
rowGroupSetting: { type: Object, default: () => ({}) },
|
|
61
|
-
isInlineOperating: Boolean,
|
|
62
|
-
inlineEditCurrentOperateBtnId: String,
|
|
63
|
-
tableRefreshCache: { type: Object, default: () => ({}) }, // 记录需要刷新的列表,当切换到当前列表时更新
|
|
64
|
-
userInfo: { type: Object, default: () => ({}) },
|
|
65
|
-
isInlineAdding: Boolean,
|
|
66
|
-
isRowEditing: Boolean,
|
|
67
|
-
pageIndexOldtableData: {
|
|
68
|
-
// 原始数据
|
|
69
|
-
type: Array,
|
|
70
|
-
default: () => []
|
|
71
|
-
},
|
|
72
|
-
submitForm: Function,
|
|
73
|
-
isMatchComponent: { type: Boolean, default: true }, // 为了兼容低代码(组件内部)与二次开发平台(vuex)
|
|
74
|
-
asyncCount: Boolean,
|
|
75
|
-
showSettings: { type: Object, default: () => ({}) },
|
|
76
|
-
filterDomPortal: { // 表头筛选挂载的地方
|
|
77
|
-
type: String,
|
|
78
|
-
default: "body"
|
|
79
|
-
},
|
|
80
|
-
filterTopOffset: { // 表头 top 调节
|
|
81
|
-
type: Number,
|
|
82
|
-
default: 0
|
|
83
|
-
},
|
|
84
|
-
editFormApiConfig: Object, // 编辑表格api
|
|
85
|
-
defaultEditAllRow: Boolean,
|
|
86
|
-
editTableUid: [String, Number],
|
|
87
|
-
curBatchBtnData: { type: Object, default: () => ({}) },
|
|
88
|
-
rowBtnAutoLayout:{// 行内按钮自适应布局
|
|
89
|
-
type: Boolean,
|
|
90
|
-
default: true
|
|
91
|
-
},
|
|
92
|
-
listCountParams:{ type: Object, default: () => ({}) },
|
|
93
|
-
};
|
|
94
|
-
|
|
95
|
-
export default bigTableProps;
|
|
1
|
+
const bigTableProps = {
|
|
2
|
+
data: { type: Array, default: () => [] },
|
|
3
|
+
MAX_CHECK_SIZE: [String, Number],
|
|
4
|
+
showFooter: Boolean,
|
|
5
|
+
sumData: { type: Object, default: () => ({}) },
|
|
6
|
+
avgData: { type: Object, default: () => ({}) },
|
|
7
|
+
columnConfig: {
|
|
8
|
+
type: Object,
|
|
9
|
+
default: () => {
|
|
10
|
+
return {};
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
refreshRow: Number,
|
|
14
|
+
relatedItems: {
|
|
15
|
+
type: Object,
|
|
16
|
+
default: () => {
|
|
17
|
+
return {
|
|
18
|
+
triggerMethodPc: '', // 相关项打开方式
|
|
19
|
+
triggerMethodField: '' // 相关项打开字段
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
pageVO: {
|
|
24
|
+
type: Object,
|
|
25
|
+
default: () => {
|
|
26
|
+
return {
|
|
27
|
+
pageIndex: 1, // 当前第几页
|
|
28
|
+
pageSize: 20, // 每页几条数据
|
|
29
|
+
total: 20 // 总数多少条
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
tableOptions: { type: Object, default: () => ({}) },
|
|
34
|
+
quickSearchConfig: { type: Array, default: () => [] },
|
|
35
|
+
primaryKey: String,
|
|
36
|
+
tableDataCache: { type: Array, default: () => [] },
|
|
37
|
+
oldtableData: { type: Array, default: () => [] }, // 原始数据
|
|
38
|
+
tableName: String,
|
|
39
|
+
fieldListOriginal: { type: Array, default: () => [] },
|
|
40
|
+
tableParams: { type: Object, default: () => ({}) },
|
|
41
|
+
emptyItems: {
|
|
42
|
+
type: Object,
|
|
43
|
+
default: () => {
|
|
44
|
+
return {
|
|
45
|
+
noDataImg: 'nodata',
|
|
46
|
+
noDataTip: ''
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
styleSetting: { type: Object, default: () => ({}) },
|
|
51
|
+
sysImageSize: { type: Array, default: () => [] },
|
|
52
|
+
height: String,
|
|
53
|
+
groupCountFields: { type: Array, default: () => [] },
|
|
54
|
+
groupCountMap: { type: Object, default: () => ({}) },
|
|
55
|
+
listFormUnionSetting: { type: Object, default: () => ({}) },
|
|
56
|
+
inlineEditFormConfig: { type: Object, default: () => ({}) },
|
|
57
|
+
clickRowData: { type: Object, default: () => ({}) },
|
|
58
|
+
btnList: { type: Array, default: () => [] },
|
|
59
|
+
spinning: Boolean,
|
|
60
|
+
rowGroupSetting: { type: Object, default: () => ({}) },
|
|
61
|
+
isInlineOperating: Boolean,
|
|
62
|
+
inlineEditCurrentOperateBtnId: String,
|
|
63
|
+
tableRefreshCache: { type: Object, default: () => ({}) }, // 记录需要刷新的列表,当切换到当前列表时更新
|
|
64
|
+
userInfo: { type: Object, default: () => ({}) },
|
|
65
|
+
isInlineAdding: Boolean,
|
|
66
|
+
isRowEditing: Boolean,
|
|
67
|
+
pageIndexOldtableData: {
|
|
68
|
+
// 原始数据
|
|
69
|
+
type: Array,
|
|
70
|
+
default: () => []
|
|
71
|
+
},
|
|
72
|
+
submitForm: Function,
|
|
73
|
+
isMatchComponent: { type: Boolean, default: true }, // 为了兼容低代码(组件内部)与二次开发平台(vuex)
|
|
74
|
+
asyncCount: Boolean,
|
|
75
|
+
showSettings: { type: Object, default: () => ({}) },
|
|
76
|
+
filterDomPortal: { // 表头筛选挂载的地方
|
|
77
|
+
type: String,
|
|
78
|
+
default: "body"
|
|
79
|
+
},
|
|
80
|
+
filterTopOffset: { // 表头 top 调节
|
|
81
|
+
type: Number,
|
|
82
|
+
default: 0
|
|
83
|
+
},
|
|
84
|
+
editFormApiConfig: Object, // 编辑表格api
|
|
85
|
+
defaultEditAllRow: Boolean,
|
|
86
|
+
editTableUid: [String, Number],
|
|
87
|
+
curBatchBtnData: { type: Object, default: () => ({}) },
|
|
88
|
+
rowBtnAutoLayout:{// 行内按钮自适应布局
|
|
89
|
+
type: Boolean,
|
|
90
|
+
default: true
|
|
91
|
+
},
|
|
92
|
+
listCountParams:{ type: Object, default: () => ({}) },
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
export default bigTableProps;
|