cnhis-design-vue 0.3.3-beta → 0.3.6-beta

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 (81) hide show
  1. package/env.d.ts +2 -0
  2. package/es/big-table/index.css +1 -0
  3. package/es/big-table/index.js +116 -74
  4. package/es/button-print/index.css +1 -0
  5. package/es/drag-layout/index.css +2 -1
  6. package/es/drag-layout/index.js +33 -58
  7. package/es/grid/index.css +2 -1
  8. package/es/grid/index.js +2 -3
  9. package/es/index.css +2 -1
  10. package/es/index.js +152 -135
  11. package/package.json +5 -2
  12. package/packages/big-table/index.ts +17 -0
  13. package/packages/big-table/src/BigTable.vue +2511 -0
  14. package/packages/big-table/src/assets/iconfont/iconfont.less +21 -0
  15. package/packages/big-table/src/assets/iconfont/iconfont.ttf +0 -0
  16. package/packages/big-table/src/assets/img/failure.png +0 -0
  17. package/packages/big-table/src/assets/img/icon-asc.png +0 -0
  18. package/packages/big-table/src/assets/img/icon-desc.png +0 -0
  19. package/packages/big-table/src/assets/img/no-permission.png +0 -0
  20. package/packages/big-table/src/assets/img/nodata.png +0 -0
  21. package/packages/big-table/src/assets/img/notfound.png +0 -0
  22. package/packages/big-table/src/assets/img/qr.png +0 -0
  23. package/packages/big-table/src/assets/img/video_default_cover.png +0 -0
  24. package/packages/big-table/src/assets/img/xb_big.png +0 -0
  25. package/packages/big-table/src/assets/img/xb_small.png +0 -0
  26. package/packages/big-table/src/assets/style/table-base.less +275 -0
  27. package/packages/big-table/src/assets/style/table-global.less +167 -0
  28. package/packages/big-table/src/bigTableEmits.ts +46 -0
  29. package/packages/big-table/src/bigTableProps.ts +125 -0
  30. package/packages/big-table/src/bigTableState.ts +62 -0
  31. package/packages/big-table/src/components/NoData.vue +90 -0
  32. package/packages/big-table/src/components/SvgIcon.vue +49 -0
  33. package/packages/big-table/src/components/TextOverTooltip.vue +110 -0
  34. package/packages/big-table/src/components/edit-form/EditForm.vue +426 -0
  35. package/packages/big-table/src/components/edit-form/edit-component/edit-date-picker/edit-date-picker.vue +66 -0
  36. package/packages/big-table/src/components/edit-form/edit-component/edit-digital/edit-digital.vue +60 -0
  37. package/packages/big-table/src/components/edit-form/edit-component/edit-input/edit-input.vue +38 -0
  38. package/packages/big-table/src/components/edit-form/edit-component/edit-input-password/edit-input-password.vue +89 -0
  39. package/packages/big-table/src/components/edit-form/edit-component/edit-month-picker/edit-month-picker.vue +38 -0
  40. package/packages/big-table/src/components/edit-form/edit-component/edit-search/edit-search.vue +63 -0
  41. package/packages/big-table/src/components/edit-form/edit-component/edit-search-more/edit-search-more.vue +69 -0
  42. package/packages/big-table/src/components/edit-form/edit-component/edit-select/edit-select.vue +51 -0
  43. package/packages/big-table/src/components/edit-form/edit-component/edit-select-multiple/edit-select-multiple.vue +60 -0
  44. package/packages/big-table/src/components/edit-form/edit-component/edit-textarea/edit-textarea.vue +34 -0
  45. package/packages/big-table/src/components/edit-form/edit-component/edit-time-picker/edit-time-picker.vue +42 -0
  46. package/packages/big-table/src/components/edit-form/edit-component/editFormProps.ts +91 -0
  47. package/packages/big-table/src/components/edit-form/edit-component/register-com.ts +18 -0
  48. package/packages/big-table/src/components/edit-form/hooks/useConfigData.ts +79 -0
  49. package/packages/big-table/src/components/edit-form/hooks/useDateType.ts +184 -0
  50. package/packages/big-table/src/components/edit-form/hooks/useFormCommon.ts +373 -0
  51. package/packages/big-table/src/components/edit-form/hooks/useItemDefault.ts +638 -0
  52. package/packages/big-table/src/components/edit-form/hooks/useSearch.ts +910 -0
  53. package/packages/big-table/src/components/edit-form/hooks/useValidateRules.ts +387 -0
  54. package/packages/big-table/src/components/edit-form/interface.ts +53 -0
  55. package/packages/big-table/src/components/edit-form/types.ts +3 -0
  56. package/packages/big-table/src/components/edit-form/utils.ts +247 -0
  57. package/packages/big-table/src/hooks/useBatchEditing.ts +574 -0
  58. package/packages/big-table/src/hooks/useFormat.ts +612 -0
  59. package/packages/big-table/src/hooks/useNestTable.ts +109 -0
  60. package/packages/big-table/src/hooks/useTableParse.ts +169 -0
  61. package/packages/big-table/src/utils.ts +705 -0
  62. package/packages/button-print/index.ts +15 -0
  63. package/packages/button-print/src/ButtonPrint.vue +697 -0
  64. package/packages/button-print/src/components/IdentityVerification.vue +149 -0
  65. package/packages/button-print/src/interfaces.ts +19 -0
  66. package/packages/button-print/src/utils/crypto.js +25 -0
  67. package/packages/button-print/src/utils/print.es.min.js +1 -0
  68. package/packages/drag-layout/index.ts +15 -0
  69. package/packages/drag-layout/src/DragFormLeftItem.vue +131 -0
  70. package/packages/drag-layout/src/DragFormRightItem.vue +277 -0
  71. package/packages/drag-layout/src/DragLayout.vue +712 -0
  72. package/packages/grid/index.ts +17 -0
  73. package/packages/grid/src/Grid.tsx +22 -0
  74. package/packages/grid/src/hooks.ts +168 -0
  75. package/packages/index.ts +36 -0
  76. package/src/component/svg/index.vue +49 -0
  77. package/src/core/create.ts +5 -0
  78. package/src/global/variable.ts +2 -0
  79. package/src/utils/clickoutside.ts +80 -0
  80. package/src/utils/crypto.js +25 -0
  81. package/src/utils/vexutils.ts +811 -0
@@ -0,0 +1,21 @@
1
+ @font-face {
2
+ font-family: "iconfont"; /* Project id */
3
+ src: url('iconfont.ttf?t=1631151904509') format('truetype');
4
+ }
5
+
6
+ .iconfont {
7
+ font-family: "iconfont" !important;
8
+ font-size: 16px;
9
+ font-style: normal;
10
+ -webkit-font-smoothing: antialiased;
11
+ -moz-osx-font-smoothing: grayscale;
12
+ }
13
+
14
+ .icon-a-xitongtubiaotianjia:before {
15
+ content: "\e9c3";
16
+ }
17
+
18
+ .icon-a-xitongtubiaozhediejian:before {
19
+ content: "\e9c4";
20
+ }
21
+
@@ -0,0 +1,275 @@
1
+ body {
2
+ > .vxe-table--tooltip-wrapper {
3
+ display: none !important;
4
+ }
5
+ }
6
+ .big-table {
7
+ position: relative;
8
+
9
+ &:deep(.img-wrap) {
10
+ padding: 2px 0;
11
+ line-height: 1;
12
+ height: 100%;
13
+ display: flex;
14
+ align-items: center;
15
+
16
+ img {
17
+ max-height: 100%;
18
+ object-fit: contain;
19
+ cursor: pointer;
20
+ }
21
+ &.img-circle {
22
+ img {
23
+ width: 28px;
24
+ border-radius: 50%;
25
+ object-fit: contain;
26
+ }
27
+ }
28
+ }
29
+ .bigTable-qr-span {
30
+ position: relative;
31
+ display: inline-block;
32
+ height: 100%;
33
+ .bigTable-qr-img {
34
+ max-height: 96%;
35
+ }
36
+ > span {
37
+ position: absolute;
38
+ top: 0;
39
+ left: 0;
40
+ justify-content: center;
41
+ align-items: center;
42
+ width: 100%;
43
+ height: 100%;
44
+ background: rgba(0, 0, 0, 0.7);
45
+ color: #fff;
46
+ display: none;
47
+ cursor: pointer;
48
+ }
49
+ &:hover {
50
+ > span {
51
+ display: inline-flex;
52
+ }
53
+ }
54
+ }
55
+
56
+ /* 行内表单样式 */
57
+ &:deep(.base-form) {
58
+ overflow: hidden !important;
59
+ display: flex;
60
+ align-items: center;
61
+ width: 100%;
62
+ }
63
+ &:deep(.base-form-content) {
64
+ width: 100%;
65
+ }
66
+ &:deep(textarea) {
67
+ height: 32px;
68
+ margin-bottom: 0;
69
+ resize: none;
70
+ }
71
+ &:deep(.formItem-select-multiple) {
72
+ display: flex;
73
+ align-items: center;
74
+ width: 100%;
75
+ line-height: 40px;
76
+ }
77
+ /* 行内表单样式 */
78
+
79
+ &.mt {
80
+ margin-top: 26px;
81
+ height: calc(100% - 78px) !important;
82
+ }
83
+
84
+ &.expand-padding {
85
+ &:deep(.vxe-table .vxe-body--expanded-cell) {
86
+ padding-left: 66px !important;
87
+ padding-right: 66px !important;
88
+ }
89
+ }
90
+
91
+ th.vxe-header--column {
92
+ cursor: pointer;
93
+ }
94
+ .row-btn {
95
+ margin-right: 10px;
96
+ }
97
+ &:deep(.vxe-table) {
98
+ transform: translateZ(0);
99
+ .vxe-table--empty-content {
100
+ width: 100%;
101
+ height: 100%;
102
+ > div {
103
+ width: 100%;
104
+ height: 100%;
105
+ .no-data-tip {
106
+ display: inline-flex;
107
+ }
108
+ }
109
+ }
110
+ .col--checkbox,
111
+ .col--seq {
112
+ .vxe-cell {
113
+ padding: 0;
114
+ .vxe-checkbox--label {
115
+ padding-left: 0;
116
+ }
117
+ }
118
+ }
119
+ .vxe-cell .vxe-tree-cell {
120
+ height: 100%;
121
+ }
122
+
123
+ .scan-multi-delete {
124
+ color: #F06F64;
125
+ }
126
+
127
+ .vxe-table--header {
128
+ background-color: #f2f2f2;
129
+ .vxe-header--column .vxe-cell--title {
130
+ height: 100%;
131
+ line-height: unset;
132
+ width: 100%;
133
+ }
134
+ }
135
+ .vxe-table--footer-wrapper.body--wrapper,
136
+ .vxe-table--body-wrapper {
137
+ &::-webkit-scrollbar {
138
+ width: 10px;
139
+ height: 10px;
140
+ background-color: #f2f2f2;
141
+ }
142
+ &::-webkit-scrollbar-thumb:hover {
143
+ background-color: #b2b2b2;
144
+ }
145
+ }
146
+ .vxe-footer--row .vxe-footer--column {
147
+ > .vxe-cell .vxe-cell--item {
148
+ height: 30px;
149
+ line-height: 30px;
150
+ }
151
+ }
152
+ .vxe-cell--checkbox.is--disabled {
153
+ .vxe-checkbox--icon {
154
+ display: none;
155
+ }
156
+ }
157
+ }
158
+ &:deep(.filter-box) {
159
+ display: flex;
160
+ align-items: center;
161
+ width: 100%;
162
+ .text-over-tooltip-components {
163
+ max-width: calc(100% - 20px);
164
+ }
165
+ .vxe-filter--btn {
166
+ border-top-color: #c0c4cc;
167
+ border-right-color: #c0c4cc;
168
+ }
169
+ .vxe-filter--btn.active {
170
+ border-top-color: #35393c;
171
+ border-right-color: #35393c;
172
+ }
173
+ .vxe-filter--btn.checked {
174
+ border-top-color: #5585f5;
175
+ border-right-color: #5585f5;
176
+ }
177
+ }
178
+ &:deep(.disabled-checked-tips) {
179
+ position: absolute;
180
+ left: 6px;
181
+ top: 50%;
182
+ bottom: 0;
183
+ right: 0;
184
+ box-sizing: border-box;
185
+ width: 16px;
186
+ height: 16px;
187
+ margin-top: -8px;
188
+ overflow: hidden;
189
+ border-radius: 50%;
190
+ border: 2px solid #ff1818;
191
+ background: #fff;
192
+ &::after {
193
+ position: absolute;
194
+ content: '';
195
+ width: 16px;
196
+ height: 2px;
197
+ background-color: #ff1818;
198
+ transform: rotate(45deg);
199
+ transform-origin: 0 2px;
200
+ left: 0;
201
+ top: 0;
202
+ }
203
+ }
204
+ }
205
+
206
+ .refresh {
207
+ display: flex;
208
+ align-items: center;
209
+ background-color: #fff;
210
+ box-shadow: 0px 2px 4px 0px rgba(108, 108, 108, 0.13);
211
+ color: #5585f5;
212
+ font-size: 12px;
213
+ height: 27px;
214
+
215
+ position: absolute;
216
+ right: 0;
217
+ top: 6px;
218
+ z-index: 1;
219
+
220
+ padding-left: 14px;
221
+ padding-right: 14px;
222
+ border-top-left-radius: 14px;
223
+ border-bottom-left-radius: 14px;
224
+
225
+ cursor: pointer;
226
+ }
227
+ .refresh-row {
228
+ margin-left: 3px;
229
+ margin-bottom: 0;
230
+ }
231
+
232
+ .check-wrap {
233
+ background: #ffffe9;
234
+ display: block;
235
+ width: 100%;
236
+ line-height: 26px;
237
+ display: flex;
238
+ justify-content: center;
239
+
240
+ position: absolute;
241
+ margin-top: -26px;
242
+
243
+ .check-wrap-title,
244
+ .check-wrap-btn {
245
+ color: #000000;
246
+ font-size: 12px;
247
+ margin-bottom: 0px;
248
+ cursor: pointer;
249
+ }
250
+
251
+ .check-wrap-btn {
252
+ color: #5585f5;
253
+ }
254
+ }
255
+
256
+ .percent-wrap {
257
+ display: flex;
258
+ flex-direction: column;
259
+ justify-content: center;
260
+ align-items: center;
261
+ text-align: center;
262
+ .percent-value {
263
+ line-height: 1;
264
+ margin-bottom: -4px;
265
+ margin-top: 4px;
266
+ }
267
+ }
268
+ .domPropsInnerHTML-span {
269
+ height: 100%;
270
+ &:deep(img) {
271
+ display: inline-block;
272
+ height: var(--tableImageHeight);
273
+ width: var(--tableImageWidth);
274
+ }
275
+ }
@@ -0,0 +1,167 @@
1
+ @import '../iconfont/iconfont.less';
2
+
3
+ .big-table-filter-wrap {
4
+ position: fixed;
5
+ z-index: 99998;
6
+ transform: translateX(-2%);
7
+ margin-top: -6px;
8
+
9
+ min-width: 280px;
10
+ border-radius: 4px;
11
+ background-color: #fff;
12
+ -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
13
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
14
+
15
+ display: flex;
16
+ flex-wrap: wrap;
17
+ flex-direction: column;
18
+ overflow: hidden;
19
+ transition: width 2s;
20
+
21
+ .sort-list {
22
+ margin-top: 6px;
23
+ }
24
+
25
+ .sort-item {
26
+ line-height: 32px;
27
+ padding: 0 13px;
28
+ display: flex;
29
+ align-items: center;
30
+
31
+ &:hover,
32
+ &.active {
33
+ background: #f2f2f2;
34
+ }
35
+ }
36
+
37
+ .sort-icon {
38
+ width: 16px;
39
+ height: 16px;
40
+ background-size: contain;
41
+ display: inline-block;
42
+ }
43
+
44
+ .sort-icon-asc {
45
+ background-image: url('../img/icon-asc.png');
46
+ }
47
+
48
+ .sort-text {
49
+ margin-left: 11px;
50
+ font-size: 14px;
51
+ line-height: 32px;
52
+ color: rgba(0, 0, 0, 0.8);
53
+ }
54
+
55
+ .sort-icon-desc {
56
+ background-image: url('../img/icon-desc.png');
57
+ }
58
+
59
+ .filter-header {
60
+ padding: 0 13px;
61
+ cursor: initial;
62
+ }
63
+
64
+ .filter-header-icon {
65
+ border-top-color: #333;
66
+ border-right-color: #333;
67
+ }
68
+
69
+ .filter-header-text {
70
+ margin-left: 11px;
71
+ }
72
+
73
+ .check-search-wrap {
74
+ padding: 8px 0;
75
+ width: 100%;
76
+ background: #f7f7f7;
77
+ display: flex;
78
+ justify-content: center;
79
+ }
80
+
81
+ .check-seach-input {
82
+ line-height: 32px;
83
+ }
84
+
85
+ .checkbox-box {
86
+ padding-right: 3px;
87
+ width: 100%;
88
+ }
89
+
90
+ .checkbox-wrap {
91
+ padding-left: 13px;
92
+ padding-right: 3px;
93
+ background: #fff;
94
+ display: flex;
95
+ flex-direction: column;
96
+ overflow-y: auto;
97
+
98
+ &::-webkit-scrollbar {
99
+ width: 4px;
100
+ height: 4px;
101
+ }
102
+
103
+ &::-webkit-scrollbar-thumb {
104
+ background-color: #d5d5d5;
105
+ border-radius: 4px;
106
+ }
107
+
108
+ &::-webkit-scrollbar-track {
109
+ background-color: #fff;
110
+ border-radius: 4px;
111
+ }
112
+
113
+ &::-webkit-scrollbar-corner {
114
+ background-color: #000;
115
+ border-radius: 4px;
116
+ width: 4px;
117
+ }
118
+ }
119
+
120
+ .checkbox-wrap--search {
121
+ padding-right: 10px;
122
+ }
123
+
124
+ .checkbox-btn-wrap {
125
+ display: flex;
126
+ padding: 9px 10px 19px 14px;
127
+
128
+ .checkbox-btn {
129
+ width: 56px;
130
+ padding: 0;
131
+ }
132
+
133
+ .checkbox-btn+.checkbox-btn {
134
+ margin-left: 8px;
135
+ }
136
+
137
+ .checkbox-btn-status {
138
+ .checkbox-btn {
139
+ border: 0;
140
+ border-radius: 0;
141
+ width: initial;
142
+ margin: 0 13px;
143
+ position: relative;
144
+
145
+ &:hover::after {
146
+ display: block;
147
+ content: '';
148
+ position: absolute;
149
+ bottom: 5px;
150
+ width: 100%;
151
+ height: 1px;
152
+ background-color: #5585f5;
153
+ }
154
+ }
155
+ }
156
+ }
157
+
158
+ .arrows-icon {
159
+ position: absolute;
160
+ bottom: -1px;
161
+ right: -1px;
162
+ font-size: 15px;
163
+ cursor: nw-resize;
164
+ width: 25px;
165
+ height: 20px;
166
+ }
167
+ }
@@ -0,0 +1,46 @@
1
+ const bigTableEmits: string[] = [
2
+ "refreshTable",
3
+ "selectionChangeAll",
4
+ "selectionChangeAllCancel",
5
+ "setGroupText",
6
+ "refreshOldTableData",
7
+ "setNestTableClick",
8
+ "rowdblclick",
9
+ "selectionChange",
10
+ "sortChange",
11
+ "pubTableRefresh",
12
+ "setBatchDynamicPropsCache",
13
+ "submitEditFormSuccess",
14
+ "submitEditFormSuccessBatch",
15
+ "submitEditFormError",
16
+ "submitEditFormErrorBatch",
17
+ "setWaitEditKeys",
18
+ "handleClickBtnByInline",
19
+ "initInlineEditFormConfig",
20
+ "handlePreView",
21
+ "SET_SAVE_ROW_STATUS",
22
+ "SET_CANCEL_ROW_STATUS",
23
+ "qrCodeEvent",
24
+ "setCurRowIndex",
25
+ "clickBtn",
26
+ "onSave",
27
+ "setNestTableClickSetting",
28
+ "showDrawer",
29
+ "linkDetail",
30
+ "hanldeCopyContent",
31
+ "triggerSpinning",
32
+ "resetInlineEditAll",
33
+ "resetBatchEditDoneStatus",
34
+ "setNestOriginTableMap",
35
+ "nestSetSelectRowObj",
36
+ "handlerClickRow",
37
+ "pubTableReload",
38
+ "scanMultiRemove",
39
+ "resetNestLastClickTable",
40
+ "setNestLastClickTable",
41
+ "selectionChangeLocal",
42
+ "switchBtnOnChange",
43
+ "asyncTableChange"
44
+ ];
45
+
46
+ export default bigTableEmits;
@@ -0,0 +1,125 @@
1
+ const bigTableProps = {
2
+ data: { type: Array, default: () => [] },
3
+ MAX_CHECK_SIZE: { type: Number, default: 0 },
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: {
14
+ type: Number,
15
+ default: 0,
16
+ },
17
+ relatedItems: {
18
+ type: Object,
19
+ default: () => {
20
+ return {
21
+ triggerMethodPc: "", // 相关项打开方式
22
+ triggerMethodField: "", // 相关项打开字段
23
+ };
24
+ },
25
+ },
26
+ pageVO: {
27
+ type: Object,
28
+ default: () => {
29
+ return {
30
+ pageIndex: 1, // 当前第几页
31
+ pageSize: 20, // 每页几条数据
32
+ total: 20, // 总数多少条
33
+ };
34
+ },
35
+ },
36
+ tableOptions: { type: Object, default: () => ({}) },
37
+ quickSearchConfig: { type: Array, default: () => [] },
38
+ primaryKey: { type: String, default: "" },
39
+ tableDataCache: { type: Array, default: () => [] },
40
+ oldtableData: { type: Array, default: () => [] }, // 原始数据
41
+ tableName: String,
42
+ fieldListOriginal: { type: Array, default: () => [] },
43
+ tableParams: { type: Object, default: () => ({}) },
44
+ emptyItems: {
45
+ type: Object,
46
+ default: () => {
47
+ return {
48
+ noDataImg: "nodata",
49
+ noDataTip: "",
50
+ };
51
+ },
52
+ },
53
+ styleSetting: { type: Object, default: () => ({}) },
54
+ sysImageSize: { type: Array, default: () => [] },
55
+ height: String,
56
+ groupCountFields: { type: Array, default: () => [] },
57
+ groupCountMap: { type: Object, default: () => ({}) },
58
+ listFormUnionSetting: { type: Object, default: () => ({}) },
59
+ inlineEditFormConfig: { type: Object, default: () => ({}) },
60
+ clickRowData: { type: Object, default: () => ({}) },
61
+ btnList: { type: Array, default: () => [] },
62
+ spinning: Boolean,
63
+ rowGroupSetting: { type: Object, default: () => ({}) },
64
+ inlineEditFormSubmitDone: Boolean,
65
+ isInlineOperating: { type: Boolean, default: false },
66
+ inlineEditCurrentOperateBtnId: String,
67
+ tableRefreshCache: { type: Object, default: () => ({}) }, // 记录需要刷新的列表,当切换到当前列表时更新
68
+ userInfo: { type: Object, default: () => ({}) },
69
+ isInlineEditing: Boolean,
70
+ isInlineAdding: Boolean,
71
+ isInlineSave: Boolean,
72
+ isInlineCancel: Boolean,
73
+ inlineError: Boolean,
74
+ resetInlineEdit: Function, // 重置状态(不包含编辑、新增状态)
75
+ resetEditRowStatus: Function, // 重置编辑行保存表单相关状态
76
+ pageIndexOldtableData: {
77
+ // 原始数据
78
+ type: Array,
79
+ default: () => [],
80
+ },
81
+ submitForm: Function,
82
+ isMatchComponent: Boolean,
83
+ asyncCount: Boolean,
84
+ showSettings: { type: Object, default: () => ({}) },
85
+ inlineFormData: { type: Object, default: () => ({}) },
86
+ inlineOriginalTableRow: { type: Object, default: () => ({}) },
87
+ filterDomPortal:{ // 表头筛选挂载的地方
88
+ type: String,
89
+ default: "body"
90
+ },
91
+ filterTopOffset:{ // 表头 top 调节
92
+ type: Number,
93
+ default: 0
94
+ },
95
+
96
+ //nestTable.js
97
+ isNestTable: {
98
+ // 标记是否子表
99
+ type: Boolean,
100
+ default: false,
101
+ },
102
+ showNestTable: Boolean, // 主表中是否展示子表+按钮
103
+ curNestColumnConfig: {
104
+ // 子表配置
105
+ type: Object,
106
+ default: () => ({}),
107
+ },
108
+ nestTableDataRequest: Function, // 获取子表数据接口
109
+ //batchEditing.js
110
+ // 曾经的getters
111
+ isBatchEditing: Boolean,
112
+ isEditAllRow: Boolean,
113
+ isBatchSave: Boolean,
114
+ isBatchCancel: Boolean,
115
+ batchDynamicPropsCache: { type: Object, default: () => ({}) },
116
+ batchEditDoneNumber: { type: Object, default: () => ({}) },
117
+ batchError: Boolean,
118
+ batchFormData: { type: Object, default: () => ({}) },
119
+
120
+ // 曾经的mapActions
121
+ resetInlineBatchEdit: Function,
122
+ resetBatchEditRowStatus: Function,
123
+ };
124
+
125
+ export default bigTableProps;