@fecp/designer 5.4.88 → 5.4.90
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/es/designer/package.json.mjs +1 -1
- package/es/designer.css +29 -29
- package/es/packages/vue/src/components/table/Table.vue.mjs +14 -9
- package/lib/designer/package.json.js +1 -1
- package/lib/designer.css +29 -29
- package/lib/packages/vue/src/components/table/Table.vue.js +14 -9
- package/package.json +1 -1
package/es/designer.css
CHANGED
|
@@ -6264,12 +6264,12 @@ body,
|
|
|
6264
6264
|
}
|
|
6265
6265
|
[data-v-fe7f988e] .el-checkbox-group .el-checkbox-button__inner {
|
|
6266
6266
|
border-radius: 4px;
|
|
6267
|
-
}.fec-table[data-v-
|
|
6267
|
+
}.fec-table[data-v-af0078ea] {
|
|
6268
6268
|
height: 100%;
|
|
6269
6269
|
flex-grow: 1;
|
|
6270
6270
|
padding: 0 16px;
|
|
6271
6271
|
}
|
|
6272
|
-
.fec-table-container[data-v-
|
|
6272
|
+
.fec-table-container[data-v-af0078ea] {
|
|
6273
6273
|
width: 100%;
|
|
6274
6274
|
background: #fff;
|
|
6275
6275
|
box-sizing: border-box;
|
|
@@ -6279,79 +6279,79 @@ body,
|
|
|
6279
6279
|
overflow: hidden;
|
|
6280
6280
|
flex-grow: 1;
|
|
6281
6281
|
}
|
|
6282
|
-
.fec-table-container .fec-vxe-table[data-v-
|
|
6282
|
+
.fec-table-container .fec-vxe-table[data-v-af0078ea] {
|
|
6283
6283
|
flex: 1;
|
|
6284
6284
|
min-height: 0;
|
|
6285
6285
|
overflow: hidden;
|
|
6286
6286
|
margin-bottom: 16px;
|
|
6287
6287
|
}
|
|
6288
|
-
.fec-table-container[data-v-
|
|
6288
|
+
.fec-table-container[data-v-af0078ea] .vxe-table {
|
|
6289
6289
|
font-size: 14px;
|
|
6290
6290
|
font-family: inherit;
|
|
6291
6291
|
}
|
|
6292
|
-
.fec-table-container[data-v-
|
|
6293
|
-
.fec-table-container[data-v-
|
|
6292
|
+
.fec-table-container[data-v-af0078ea] .vxe-table .vxe-sort--asc-btn,
|
|
6293
|
+
.fec-table-container[data-v-af0078ea] .vxe-table .vxe-sort--desc-btn {
|
|
6294
6294
|
color: #dcdcdc;
|
|
6295
6295
|
}
|
|
6296
|
-
.fec-table-container[data-v-
|
|
6297
|
-
.fec-table-container[data-v-
|
|
6296
|
+
.fec-table-container[data-v-af0078ea] .vxe-table .serverSort .vxe-sort--asc-btn,
|
|
6297
|
+
.fec-table-container[data-v-af0078ea] .vxe-table .serverSort .vxe-sort--desc-btn {
|
|
6298
6298
|
color: #d3edf9;
|
|
6299
6299
|
}
|
|
6300
|
-
.fec-table-container[data-v-
|
|
6300
|
+
.fec-table-container[data-v-af0078ea] .vxe-table .serverSort .sort--active {
|
|
6301
6301
|
color: var(--el-color-primary);
|
|
6302
6302
|
}
|
|
6303
|
-
.fec-table-container[data-v-
|
|
6303
|
+
.fec-table-container[data-v-af0078ea] .vxe-table .sort--active {
|
|
6304
6304
|
color: var(--el-color-primary);
|
|
6305
6305
|
}
|
|
6306
|
-
.fec-table-container[data-v-
|
|
6306
|
+
.fec-table-container[data-v-af0078ea] .vxe-table .vxe-table--body-wrapper {
|
|
6307
6307
|
overflow: auto;
|
|
6308
6308
|
}
|
|
6309
|
-
.fec-table-container[data-v-
|
|
6309
|
+
.fec-table-container[data-v-af0078ea] .vxe-table .vxe-header--column {
|
|
6310
6310
|
background-color: #fff;
|
|
6311
6311
|
}
|
|
6312
|
-
.fec-table-container[data-v-
|
|
6312
|
+
.fec-table-container[data-v-af0078ea] .vxe-table .vxe-header--column .vxe-cell {
|
|
6313
6313
|
height: 40px !important;
|
|
6314
6314
|
min-height: 40px !important;
|
|
6315
6315
|
color: #333;
|
|
6316
6316
|
}
|
|
6317
|
-
.fec-table-container[data-v-
|
|
6317
|
+
.fec-table-container[data-v-af0078ea] .vxe-table .vxe-table--header-inner-wrapper {
|
|
6318
6318
|
height: 40px !important;
|
|
6319
6319
|
}
|
|
6320
|
-
.fec-table-container[data-v-
|
|
6320
|
+
.fec-table-container[data-v-af0078ea] .vxe-table .vxe-body--column .vxe-cell {
|
|
6321
6321
|
padding: 6px !important;
|
|
6322
6322
|
min-height: 32px !important;
|
|
6323
6323
|
color: #666;
|
|
6324
6324
|
font-size: 13px;
|
|
6325
6325
|
}
|
|
6326
|
-
.fec-table-container[data-v-
|
|
6327
|
-
.fec-table-container[data-v-
|
|
6326
|
+
.fec-table-container[data-v-af0078ea] .vxe-table .vxe-body--column .c--tooltip,
|
|
6327
|
+
.fec-table-container[data-v-af0078ea] .vxe-table .vxe-body--column .c--title {
|
|
6328
6328
|
height: 32px !important;
|
|
6329
6329
|
min-height: 32px !important;
|
|
6330
6330
|
}
|
|
6331
|
-
.fec-table-container[data-v-
|
|
6331
|
+
.fec-table-container[data-v-af0078ea] .vxe-table .vxe-table--border-line {
|
|
6332
6332
|
border: none;
|
|
6333
6333
|
border-bottom: 1px solid #ebeef5;
|
|
6334
6334
|
border-top: 1px solid #ebeef5;
|
|
6335
6335
|
}
|
|
6336
|
-
.fec-table-container[data-v-
|
|
6337
|
-
.fec-table-container[data-v-
|
|
6336
|
+
.fec-table-container[data-v-af0078ea] .vxe-table .vxe-table--scroll-y-handle-appearance,
|
|
6337
|
+
.fec-table-container[data-v-af0078ea] .vxe-table .vxe-table--scroll-y-wrapper:after {
|
|
6338
6338
|
border: none !important;
|
|
6339
6339
|
}
|
|
6340
|
-
.fec-table-container[data-v-
|
|
6340
|
+
.fec-table-container[data-v-af0078ea] .vxe-table .vxe-table--scroll-y-top-corner {
|
|
6341
6341
|
display: none !important;
|
|
6342
6342
|
}
|
|
6343
|
-
.fec-table-container[data-v-
|
|
6343
|
+
.fec-table-container[data-v-af0078ea] .vxe-table .vxe-cell--sort {
|
|
6344
6344
|
font-size: 14px;
|
|
6345
6345
|
}
|
|
6346
|
-
.fec-table-container[data-v-
|
|
6347
|
-
.fec-table-container[data-v-
|
|
6348
|
-
.fec-table-container[data-v-
|
|
6349
|
-
.fec-table-container[data-v-
|
|
6350
|
-
.fec-table-container[data-v-
|
|
6351
|
-
.fec-table-container[data-v-
|
|
6346
|
+
.fec-table-container[data-v-af0078ea] .vxe-table .vxe-body--column,
|
|
6347
|
+
.fec-table-container[data-v-af0078ea] .vxe-table .vxe-footer--column,
|
|
6348
|
+
.fec-table-container[data-v-af0078ea] .vxe-table .vxe-header--column,
|
|
6349
|
+
.fec-table-container[data-v-af0078ea] .vxe-table .vxe-body--column,
|
|
6350
|
+
.fec-table-container[data-v-af0078ea] .vxe-table .vxe-footer--column,
|
|
6351
|
+
.fec-table-container[data-v-af0078ea] .vxe-table .vxe-header--column {
|
|
6352
6352
|
background-image: linear-gradient(#ebeef5, #ebeef5) !important;
|
|
6353
6353
|
}
|
|
6354
|
-
.fec-table-sub[data-v-
|
|
6354
|
+
.fec-table-sub[data-v-af0078ea] .vxe-table .vxe-table--border-line {
|
|
6355
6355
|
border-top: none;
|
|
6356
6356
|
}
|
|
6357
6357
|
.custom-dialog {
|
|
@@ -286,12 +286,16 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
286
286
|
}
|
|
287
287
|
const routeParams = ref({});
|
|
288
288
|
const initDataSourceManager = async () => {
|
|
289
|
-
var _a, _b, _c, _d, _e;
|
|
289
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
290
290
|
if (!((_a = localConfig.value.dataSources) == null ? void 0 : _a.length)) return;
|
|
291
|
+
let pageNo = 1;
|
|
292
|
+
let pageSize = isPagination.value ? (_b = localConfig.value.paginationConfig) == null ? void 0 : _b.pageSize : 0;
|
|
291
293
|
if (!props.isSubTable && !props.isSubTable) {
|
|
292
|
-
const route = (
|
|
294
|
+
const route = (_c = ctx.$route) == null ? void 0 : _c.path;
|
|
293
295
|
if (route) {
|
|
294
296
|
routeParams.value = JSON.parse(sessionStorage.getItem(route));
|
|
297
|
+
pageNo = ((_d = routeParams.value) == null ? void 0 : _d.pageNo) || 1;
|
|
298
|
+
pageSize = ((_e = routeParams.value) == null ? void 0 : _e.pageSize) || ((_f = localConfig.value.paginationConfig) == null ? void 0 : _f.pageSize) || 10;
|
|
295
299
|
}
|
|
296
300
|
}
|
|
297
301
|
dataSourceManager.value = createDataSource({
|
|
@@ -300,8 +304,8 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
300
304
|
dataSources: localConfig.value.dataSources,
|
|
301
305
|
currentDataSourceId: localConfig.value.dataSourceId,
|
|
302
306
|
pagination: {
|
|
303
|
-
pageNo
|
|
304
|
-
pageSize
|
|
307
|
+
pageNo,
|
|
308
|
+
pageSize
|
|
305
309
|
},
|
|
306
310
|
data: hiddenFormData.value,
|
|
307
311
|
fields: fieldsData.value,
|
|
@@ -316,7 +320,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
316
320
|
});
|
|
317
321
|
if (!props.tableData || props.tableData.length === 0) {
|
|
318
322
|
tableDataFetch(routeParams.value);
|
|
319
|
-
if (((
|
|
323
|
+
if (((_g = localConfig.value.summaryConfig) == null ? void 0 : _g.enabled) && ((_h = localConfig.value.summaryConfig) == null ? void 0 : _h.mode) == "all") {
|
|
320
324
|
summaryAllDataManager.value = createDataSource({
|
|
321
325
|
http: ctx.$http,
|
|
322
326
|
initSearchData: searchData.value,
|
|
@@ -466,7 +470,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
466
470
|
const field = fieldsData.value.find((item) => item.fieldName == property);
|
|
467
471
|
if ((field == null ? void 0 : field.sortRule) == "server") {
|
|
468
472
|
dataSourceManager.value.updateSort(property, orderValue);
|
|
469
|
-
tableDataFetch();
|
|
473
|
+
tableDataFetch(routeParams.value);
|
|
470
474
|
} else if ((field == null ? void 0 : field.sortRule) == "static") {
|
|
471
475
|
if (orderValue) {
|
|
472
476
|
staticSortData.value[property] = orderValue;
|
|
@@ -479,7 +483,8 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
479
483
|
const handlePageChange = ({ pageNo, pageSize }) => {
|
|
480
484
|
if (dataSourceManager.value) {
|
|
481
485
|
dataSourceManager.value.updatePagination(pageNo, pageSize);
|
|
482
|
-
|
|
486
|
+
({ ...routeParams.value });
|
|
487
|
+
tableDataFetch(routeParams.value);
|
|
483
488
|
}
|
|
484
489
|
emit("page-change", { pageNo, pageSize });
|
|
485
490
|
};
|
|
@@ -497,7 +502,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
497
502
|
if (dataSourceManager.value) {
|
|
498
503
|
dataSourceManager.value.updateParams(filters);
|
|
499
504
|
(_a = summaryAllDataManager.value) == null ? void 0 : _a.updateParams(filters);
|
|
500
|
-
tableDataFetch();
|
|
505
|
+
tableDataFetch(routeParams.value);
|
|
501
506
|
clearSelection();
|
|
502
507
|
} else {
|
|
503
508
|
searchData.value = filters;
|
|
@@ -873,7 +878,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
873
878
|
};
|
|
874
879
|
}
|
|
875
880
|
});
|
|
876
|
-
const _Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
881
|
+
const _Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-af0078ea"]]);
|
|
877
882
|
export {
|
|
878
883
|
_Table as default
|
|
879
884
|
};
|
package/lib/designer.css
CHANGED
|
@@ -6264,12 +6264,12 @@ body,
|
|
|
6264
6264
|
}
|
|
6265
6265
|
[data-v-fe7f988e] .el-checkbox-group .el-checkbox-button__inner {
|
|
6266
6266
|
border-radius: 4px;
|
|
6267
|
-
}.fec-table[data-v-
|
|
6267
|
+
}.fec-table[data-v-af0078ea] {
|
|
6268
6268
|
height: 100%;
|
|
6269
6269
|
flex-grow: 1;
|
|
6270
6270
|
padding: 0 16px;
|
|
6271
6271
|
}
|
|
6272
|
-
.fec-table-container[data-v-
|
|
6272
|
+
.fec-table-container[data-v-af0078ea] {
|
|
6273
6273
|
width: 100%;
|
|
6274
6274
|
background: #fff;
|
|
6275
6275
|
box-sizing: border-box;
|
|
@@ -6279,79 +6279,79 @@ body,
|
|
|
6279
6279
|
overflow: hidden;
|
|
6280
6280
|
flex-grow: 1;
|
|
6281
6281
|
}
|
|
6282
|
-
.fec-table-container .fec-vxe-table[data-v-
|
|
6282
|
+
.fec-table-container .fec-vxe-table[data-v-af0078ea] {
|
|
6283
6283
|
flex: 1;
|
|
6284
6284
|
min-height: 0;
|
|
6285
6285
|
overflow: hidden;
|
|
6286
6286
|
margin-bottom: 16px;
|
|
6287
6287
|
}
|
|
6288
|
-
.fec-table-container[data-v-
|
|
6288
|
+
.fec-table-container[data-v-af0078ea] .vxe-table {
|
|
6289
6289
|
font-size: 14px;
|
|
6290
6290
|
font-family: inherit;
|
|
6291
6291
|
}
|
|
6292
|
-
.fec-table-container[data-v-
|
|
6293
|
-
.fec-table-container[data-v-
|
|
6292
|
+
.fec-table-container[data-v-af0078ea] .vxe-table .vxe-sort--asc-btn,
|
|
6293
|
+
.fec-table-container[data-v-af0078ea] .vxe-table .vxe-sort--desc-btn {
|
|
6294
6294
|
color: #dcdcdc;
|
|
6295
6295
|
}
|
|
6296
|
-
.fec-table-container[data-v-
|
|
6297
|
-
.fec-table-container[data-v-
|
|
6296
|
+
.fec-table-container[data-v-af0078ea] .vxe-table .serverSort .vxe-sort--asc-btn,
|
|
6297
|
+
.fec-table-container[data-v-af0078ea] .vxe-table .serverSort .vxe-sort--desc-btn {
|
|
6298
6298
|
color: #d3edf9;
|
|
6299
6299
|
}
|
|
6300
|
-
.fec-table-container[data-v-
|
|
6300
|
+
.fec-table-container[data-v-af0078ea] .vxe-table .serverSort .sort--active {
|
|
6301
6301
|
color: var(--el-color-primary);
|
|
6302
6302
|
}
|
|
6303
|
-
.fec-table-container[data-v-
|
|
6303
|
+
.fec-table-container[data-v-af0078ea] .vxe-table .sort--active {
|
|
6304
6304
|
color: var(--el-color-primary);
|
|
6305
6305
|
}
|
|
6306
|
-
.fec-table-container[data-v-
|
|
6306
|
+
.fec-table-container[data-v-af0078ea] .vxe-table .vxe-table--body-wrapper {
|
|
6307
6307
|
overflow: auto;
|
|
6308
6308
|
}
|
|
6309
|
-
.fec-table-container[data-v-
|
|
6309
|
+
.fec-table-container[data-v-af0078ea] .vxe-table .vxe-header--column {
|
|
6310
6310
|
background-color: #fff;
|
|
6311
6311
|
}
|
|
6312
|
-
.fec-table-container[data-v-
|
|
6312
|
+
.fec-table-container[data-v-af0078ea] .vxe-table .vxe-header--column .vxe-cell {
|
|
6313
6313
|
height: 40px !important;
|
|
6314
6314
|
min-height: 40px !important;
|
|
6315
6315
|
color: #333;
|
|
6316
6316
|
}
|
|
6317
|
-
.fec-table-container[data-v-
|
|
6317
|
+
.fec-table-container[data-v-af0078ea] .vxe-table .vxe-table--header-inner-wrapper {
|
|
6318
6318
|
height: 40px !important;
|
|
6319
6319
|
}
|
|
6320
|
-
.fec-table-container[data-v-
|
|
6320
|
+
.fec-table-container[data-v-af0078ea] .vxe-table .vxe-body--column .vxe-cell {
|
|
6321
6321
|
padding: 6px !important;
|
|
6322
6322
|
min-height: 32px !important;
|
|
6323
6323
|
color: #666;
|
|
6324
6324
|
font-size: 13px;
|
|
6325
6325
|
}
|
|
6326
|
-
.fec-table-container[data-v-
|
|
6327
|
-
.fec-table-container[data-v-
|
|
6326
|
+
.fec-table-container[data-v-af0078ea] .vxe-table .vxe-body--column .c--tooltip,
|
|
6327
|
+
.fec-table-container[data-v-af0078ea] .vxe-table .vxe-body--column .c--title {
|
|
6328
6328
|
height: 32px !important;
|
|
6329
6329
|
min-height: 32px !important;
|
|
6330
6330
|
}
|
|
6331
|
-
.fec-table-container[data-v-
|
|
6331
|
+
.fec-table-container[data-v-af0078ea] .vxe-table .vxe-table--border-line {
|
|
6332
6332
|
border: none;
|
|
6333
6333
|
border-bottom: 1px solid #ebeef5;
|
|
6334
6334
|
border-top: 1px solid #ebeef5;
|
|
6335
6335
|
}
|
|
6336
|
-
.fec-table-container[data-v-
|
|
6337
|
-
.fec-table-container[data-v-
|
|
6336
|
+
.fec-table-container[data-v-af0078ea] .vxe-table .vxe-table--scroll-y-handle-appearance,
|
|
6337
|
+
.fec-table-container[data-v-af0078ea] .vxe-table .vxe-table--scroll-y-wrapper:after {
|
|
6338
6338
|
border: none !important;
|
|
6339
6339
|
}
|
|
6340
|
-
.fec-table-container[data-v-
|
|
6340
|
+
.fec-table-container[data-v-af0078ea] .vxe-table .vxe-table--scroll-y-top-corner {
|
|
6341
6341
|
display: none !important;
|
|
6342
6342
|
}
|
|
6343
|
-
.fec-table-container[data-v-
|
|
6343
|
+
.fec-table-container[data-v-af0078ea] .vxe-table .vxe-cell--sort {
|
|
6344
6344
|
font-size: 14px;
|
|
6345
6345
|
}
|
|
6346
|
-
.fec-table-container[data-v-
|
|
6347
|
-
.fec-table-container[data-v-
|
|
6348
|
-
.fec-table-container[data-v-
|
|
6349
|
-
.fec-table-container[data-v-
|
|
6350
|
-
.fec-table-container[data-v-
|
|
6351
|
-
.fec-table-container[data-v-
|
|
6346
|
+
.fec-table-container[data-v-af0078ea] .vxe-table .vxe-body--column,
|
|
6347
|
+
.fec-table-container[data-v-af0078ea] .vxe-table .vxe-footer--column,
|
|
6348
|
+
.fec-table-container[data-v-af0078ea] .vxe-table .vxe-header--column,
|
|
6349
|
+
.fec-table-container[data-v-af0078ea] .vxe-table .vxe-body--column,
|
|
6350
|
+
.fec-table-container[data-v-af0078ea] .vxe-table .vxe-footer--column,
|
|
6351
|
+
.fec-table-container[data-v-af0078ea] .vxe-table .vxe-header--column {
|
|
6352
6352
|
background-image: linear-gradient(#ebeef5, #ebeef5) !important;
|
|
6353
6353
|
}
|
|
6354
|
-
.fec-table-sub[data-v-
|
|
6354
|
+
.fec-table-sub[data-v-af0078ea] .vxe-table .vxe-table--border-line {
|
|
6355
6355
|
border-top: none;
|
|
6356
6356
|
}
|
|
6357
6357
|
.custom-dialog {
|
|
@@ -288,12 +288,16 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
288
288
|
}
|
|
289
289
|
const routeParams = vue.ref({});
|
|
290
290
|
const initDataSourceManager = async () => {
|
|
291
|
-
var _a, _b, _c, _d, _e;
|
|
291
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
292
292
|
if (!((_a = localConfig.value.dataSources) == null ? void 0 : _a.length)) return;
|
|
293
|
+
let pageNo = 1;
|
|
294
|
+
let pageSize = isPagination.value ? (_b = localConfig.value.paginationConfig) == null ? void 0 : _b.pageSize : 0;
|
|
293
295
|
if (!props.isSubTable && !props.isSubTable) {
|
|
294
|
-
const route = (
|
|
296
|
+
const route = (_c = ctx.$route) == null ? void 0 : _c.path;
|
|
295
297
|
if (route) {
|
|
296
298
|
routeParams.value = JSON.parse(sessionStorage.getItem(route));
|
|
299
|
+
pageNo = ((_d = routeParams.value) == null ? void 0 : _d.pageNo) || 1;
|
|
300
|
+
pageSize = ((_e = routeParams.value) == null ? void 0 : _e.pageSize) || ((_f = localConfig.value.paginationConfig) == null ? void 0 : _f.pageSize) || 10;
|
|
297
301
|
}
|
|
298
302
|
}
|
|
299
303
|
dataSourceManager.value = datasource.createDataSource({
|
|
@@ -302,8 +306,8 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
302
306
|
dataSources: localConfig.value.dataSources,
|
|
303
307
|
currentDataSourceId: localConfig.value.dataSourceId,
|
|
304
308
|
pagination: {
|
|
305
|
-
pageNo
|
|
306
|
-
pageSize
|
|
309
|
+
pageNo,
|
|
310
|
+
pageSize
|
|
307
311
|
},
|
|
308
312
|
data: hiddenFormData.value,
|
|
309
313
|
fields: fieldsData.value,
|
|
@@ -318,7 +322,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
318
322
|
});
|
|
319
323
|
if (!props.tableData || props.tableData.length === 0) {
|
|
320
324
|
tableDataFetch(routeParams.value);
|
|
321
|
-
if (((
|
|
325
|
+
if (((_g = localConfig.value.summaryConfig) == null ? void 0 : _g.enabled) && ((_h = localConfig.value.summaryConfig) == null ? void 0 : _h.mode) == "all") {
|
|
322
326
|
summaryAllDataManager.value = datasource.createDataSource({
|
|
323
327
|
http: ctx.$http,
|
|
324
328
|
initSearchData: searchData.value,
|
|
@@ -468,7 +472,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
468
472
|
const field = fieldsData.value.find((item) => item.fieldName == property);
|
|
469
473
|
if ((field == null ? void 0 : field.sortRule) == "server") {
|
|
470
474
|
dataSourceManager.value.updateSort(property, orderValue);
|
|
471
|
-
tableDataFetch();
|
|
475
|
+
tableDataFetch(routeParams.value);
|
|
472
476
|
} else if ((field == null ? void 0 : field.sortRule) == "static") {
|
|
473
477
|
if (orderValue) {
|
|
474
478
|
staticSortData.value[property] = orderValue;
|
|
@@ -481,7 +485,8 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
481
485
|
const handlePageChange = ({ pageNo, pageSize }) => {
|
|
482
486
|
if (dataSourceManager.value) {
|
|
483
487
|
dataSourceManager.value.updatePagination(pageNo, pageSize);
|
|
484
|
-
|
|
488
|
+
({ ...routeParams.value });
|
|
489
|
+
tableDataFetch(routeParams.value);
|
|
485
490
|
}
|
|
486
491
|
emit("page-change", { pageNo, pageSize });
|
|
487
492
|
};
|
|
@@ -499,7 +504,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
499
504
|
if (dataSourceManager.value) {
|
|
500
505
|
dataSourceManager.value.updateParams(filters);
|
|
501
506
|
(_a = summaryAllDataManager.value) == null ? void 0 : _a.updateParams(filters);
|
|
502
|
-
tableDataFetch();
|
|
507
|
+
tableDataFetch(routeParams.value);
|
|
503
508
|
clearSelection();
|
|
504
509
|
} else {
|
|
505
510
|
searchData.value = filters;
|
|
@@ -875,5 +880,5 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
875
880
|
};
|
|
876
881
|
}
|
|
877
882
|
});
|
|
878
|
-
const _Table = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
883
|
+
const _Table = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-af0078ea"]]);
|
|
879
884
|
exports.default = _Table;
|