@fecp/designer 5.4.88 → 5.4.89

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 (31) hide show
  1. package/es/designer/package.json.mjs +1 -1
  2. package/es/designer/src/components/DocumentParam.vue.mjs +1 -1
  3. package/es/designer/src/components/ParamsConfig.vue2.mjs +1 -1
  4. package/es/designer/src/layout/aside/HiddenFieldDialog.vue.mjs +1 -1
  5. package/es/designer/src/packages/advancedFilter/ValueInput.vue2.mjs +1 -1
  6. package/es/designer/src/packages/dataLinkage/index.vue.mjs +1 -1
  7. package/es/designer/src/packages/dialogGlobal/index.vue.mjs +1 -1
  8. package/es/designer/src/packages/eventFlow/dialog/action/RiskSch.vue.mjs +1 -1
  9. package/es/designer/src/packages/form/property/approvalHistory.vue.mjs +1 -1
  10. package/es/designer/src/packages/form/property/contract.vue.mjs +1 -1
  11. package/es/designer/src/packages/form/property/subForm.vue.mjs +1 -1
  12. package/es/designer/src/packages/prod/index.vue.mjs +1 -1
  13. package/es/designer/src/packages/table/headerBtn.vue.mjs +1 -1
  14. package/es/designer.css +29 -29
  15. package/es/packages/vue/src/components/table/Table.vue.mjs +13 -9
  16. package/lib/designer/package.json.js +1 -1
  17. package/lib/designer/src/components/DocumentParam.vue.js +1 -1
  18. package/lib/designer/src/components/ParamsConfig.vue2.js +1 -1
  19. package/lib/designer/src/layout/aside/HiddenFieldDialog.vue.js +1 -1
  20. package/lib/designer/src/packages/advancedFilter/ValueInput.vue2.js +1 -1
  21. package/lib/designer/src/packages/dataLinkage/index.vue.js +1 -1
  22. package/lib/designer/src/packages/dialogGlobal/index.vue.js +1 -1
  23. package/lib/designer/src/packages/eventFlow/dialog/action/RiskSch.vue.js +1 -1
  24. package/lib/designer/src/packages/form/property/approvalHistory.vue.js +1 -1
  25. package/lib/designer/src/packages/form/property/contract.vue.js +1 -1
  26. package/lib/designer/src/packages/form/property/subForm.vue.js +1 -1
  27. package/lib/designer/src/packages/prod/index.vue.js +1 -1
  28. package/lib/designer/src/packages/table/headerBtn.vue.js +1 -1
  29. package/lib/designer.css +29 -29
  30. package/lib/packages/vue/src/components/table/Table.vue.js +13 -9
  31. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- const version = "5.4.88";
1
+ const version = "5.4.89";
2
2
  const packageJson = {
3
3
  version
4
4
  };
@@ -9,7 +9,7 @@ import "../../../node_modules/element-plus/es/index.mjs";
9
9
  /* empty css */
10
10
  import { computed, ref, createElementBlock, openBlock, createBlock, unref, withCtx, createTextVNode, createElementVNode, Fragment, renderList, createVNode } from "vue";
11
11
  import { Plus as plus_default, Delete as delete_default } from "../../../node_modules/@element-plus/icons-vue/dist/index.mjs";
12
- import ValueSelector from "./ValueSelector.vue.mjs";
12
+ import ValueSelector from "./ValueSelector.vue2.mjs";
13
13
  import api from "../api/index.mjs";
14
14
  /* empty css */
15
15
  import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
@@ -4,7 +4,7 @@ import "../../../node_modules/element-plus/es/index.mjs";
4
4
  /* empty css */
5
5
  import { computed, createElementBlock, openBlock, createBlock, unref, withCtx, createTextVNode, createElementVNode, Fragment, renderList, createVNode } from "vue";
6
6
  import { Plus as plus_default, Delete as delete_default } from "../../../node_modules/@element-plus/icons-vue/dist/index.mjs";
7
- import ValueSelector from "./ValueSelector.vue.mjs";
7
+ import ValueSelector from "./ValueSelector.vue2.mjs";
8
8
  /* empty css */
9
9
  import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
10
10
  import { ElButton } from "../../../node_modules/element-plus/es/components/button/index.mjs";
@@ -16,7 +16,7 @@ import { Plus as plus_default, RefreshRight as refresh_right_default, Delete as
16
16
  import { getEditConfigData, getEditingType, cloneDeep, getEditConfigDataFields } from "../../packages/utils/common.mjs";
17
17
  import { defaultProperty } from "../../packages/form/aside/index.mjs";
18
18
  import { defaultProperty as defaultProperty$1 } from "../../packages/table/aside/index.mjs";
19
- import ValueSelector from "../../components/ValueSelector.vue.mjs";
19
+ import ValueSelector from "../../components/ValueSelector.vue2.mjs";
20
20
  /* empty css */
21
21
  import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.mjs";
22
22
  import { ElDialog } from "../../../../node_modules/element-plus/es/components/dialog/index.mjs";
@@ -14,7 +14,7 @@ import "../../../../node_modules/element-plus/theme-chalk/el-tooltip.css.mjs";
14
14
  import "../../../../node_modules/element-plus/theme-chalk/el-date-picker.css.mjs";
15
15
  import { computed, watch, ref, createElementBlock, unref, openBlock, createBlock, isRef, createVNode, createElementVNode, withCtx, Fragment, renderList } from "vue";
16
16
  import { useVModel } from "../../../../node_modules/@vueuse/core/dist/index.mjs";
17
- import ValueSelector from "../../components/ValueSelector.vue.mjs";
17
+ import ValueSelector from "../../components/ValueSelector.vue2.mjs";
18
18
  import api from "../../api/index.mjs";
19
19
  import { getEditConfigDataSources } from "../utils/common.mjs";
20
20
  import { createDataSource } from "../utils/datasource.mjs";
@@ -30,7 +30,7 @@ import "../../../../node_modules/element-plus/theme-chalk/el-date-picker.css.mjs
30
30
  /* empty css */
31
31
  /* empty css */
32
32
  import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.mjs";
33
- /* empty css */
33
+ /* empty css */
34
34
  import "../../axios/config.mjs";
35
35
  import "../../../../_virtual/FileSaver.min.mjs";
36
36
  import "../../../../_virtual/index.mjs";
@@ -84,7 +84,7 @@ import widgets from "../table/property/widgets.vue.mjs";
84
84
  import "../../../../node_modules/element-plus/theme-chalk/el-tab-pane.css.mjs";
85
85
  /* empty css */
86
86
  /* empty css */
87
- /* empty css */
87
+ /* empty css */
88
88
  /* empty css */
89
89
  /* empty css */
90
90
  /* empty css */
@@ -4,7 +4,7 @@ import "../../../../../../node_modules/element-plus/es/index.mjs";
4
4
  /* empty css */
5
5
  import { createElementBlock, openBlock, Fragment, createVNode, withCtx } from "vue";
6
6
  import RiskSchemeSelector from "../../../../components/RiskSchemeSelector.vue2.mjs";
7
- import ValueSelector from "../../../../components/ValueSelector.vue.mjs";
7
+ import ValueSelector from "../../../../components/ValueSelector.vue2.mjs";
8
8
  import ParamsConfig from "../../../../components/ParamsConfig.vue2.mjs";
9
9
  import { ElFormItem } from "../../../../../../node_modules/element-plus/es/components/form/index.mjs";
10
10
  import { ElSwitch } from "../../../../../../node_modules/element-plus/es/components/switch/index.mjs";
@@ -11,7 +11,7 @@ import "../../../../../node_modules/element-plus/es/index.mjs";
11
11
  import { computed, ref, watch, createBlock, openBlock, unref, isRef, withCtx, createVNode, createElementBlock, createCommentVNode, createTextVNode, Fragment } from "vue";
12
12
  import { getCurrentItem, getEditConfigData } from "../../utils/common.mjs";
13
13
  import emitter from "../../utils/eventBus.mjs";
14
- import ValueSelector from "../../../components/ValueSelector.vue.mjs";
14
+ import ValueSelector from "../../../components/ValueSelector.vue2.mjs";
15
15
  import { ElCollapse, ElCollapseItem } from "../../../../../node_modules/element-plus/es/components/collapse/index.mjs";
16
16
  import { ElForm, ElFormItem } from "../../../../../node_modules/element-plus/es/components/form/index.mjs";
17
17
  import { ElInput } from "../../../../../node_modules/element-plus/es/components/input/index.mjs";
@@ -17,7 +17,7 @@ import "../../../../../node_modules/element-plus/es/index.mjs";
17
17
  import { computed, ref, createBlock, openBlock, withCtx, createVNode, createTextVNode, createElementBlock, Fragment, renderList } from "vue";
18
18
  import { getCurrentItem } from "../../utils/common.mjs";
19
19
  import "../../utils/eventBus.mjs";
20
- import ValueSelector from "../../../components/ValueSelector.vue.mjs";
20
+ import ValueSelector from "../../../components/ValueSelector.vue2.mjs";
21
21
  import api from "../../../api/index.mjs";
22
22
  import ParamsConfig from "../../../components/ParamsConfig.vue2.mjs";
23
23
  /* empty css */
@@ -12,7 +12,7 @@ import { computed, ref, createBlock, openBlock, unref, isRef, withCtx, createVNo
12
12
  import { getCurrentItem, getEditConfigData } from "../../utils/common.mjs";
13
13
  import TemplateSelector from "../../../components/TemplateSelector.vue2.mjs";
14
14
  import emitter from "../../utils/eventBus.mjs";
15
- import ValueSelector from "../../../components/ValueSelector.vue.mjs";
15
+ import ValueSelector from "../../../components/ValueSelector.vue2.mjs";
16
16
  import ParamsConfig from "../../../components/ParamsConfig.vue2.mjs";
17
17
  import { ElCollapse, ElCollapseItem } from "../../../../../node_modules/element-plus/es/components/collapse/index.mjs";
18
18
  import { ElForm, ElFormItem } from "../../../../../node_modules/element-plus/es/components/form/index.mjs";
@@ -14,7 +14,7 @@ import "../../../../node_modules/element-plus/es/index.mjs";
14
14
  import { useModel, ref, watch, computed, createBlock, openBlock, withCtx, createVNode, createElementVNode, createElementBlock, Fragment, renderList, createTextVNode, unref } from "vue";
15
15
  import { Plus as plus_default } from "../../../../node_modules/@element-plus/icons-vue/dist/index.mjs";
16
16
  import { getEditConfigData, getEditConfigDataFields, setEditConfigData } from "../utils/common.mjs";
17
- import ValueSelector from "../../components/ValueSelector.vue.mjs";
17
+ import ValueSelector from "../../components/ValueSelector.vue2.mjs";
18
18
  import api from "../../api/index.mjs";
19
19
  /* empty css */
20
20
  import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.mjs";
@@ -45,7 +45,7 @@ import { Connection as connection_default, Grid as grid_default, ChatLineSquare
45
45
  /* empty css */
46
46
  import "../../store/index.mjs";
47
47
  /* empty css */
48
- /* empty css */
48
+ /* empty css */
49
49
  /* empty css */
50
50
  /* empty css */
51
51
  /* empty css */
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-a4756ab4] {
6267
+ }.fec-table[data-v-31719742] {
6268
6268
  height: 100%;
6269
6269
  flex-grow: 1;
6270
6270
  padding: 0 16px;
6271
6271
  }
6272
- .fec-table-container[data-v-a4756ab4] {
6272
+ .fec-table-container[data-v-31719742] {
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-a4756ab4] {
6282
+ .fec-table-container .fec-vxe-table[data-v-31719742] {
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-a4756ab4] .vxe-table {
6288
+ .fec-table-container[data-v-31719742] .vxe-table {
6289
6289
  font-size: 14px;
6290
6290
  font-family: inherit;
6291
6291
  }
6292
- .fec-table-container[data-v-a4756ab4] .vxe-table .vxe-sort--asc-btn,
6293
- .fec-table-container[data-v-a4756ab4] .vxe-table .vxe-sort--desc-btn {
6292
+ .fec-table-container[data-v-31719742] .vxe-table .vxe-sort--asc-btn,
6293
+ .fec-table-container[data-v-31719742] .vxe-table .vxe-sort--desc-btn {
6294
6294
  color: #dcdcdc;
6295
6295
  }
6296
- .fec-table-container[data-v-a4756ab4] .vxe-table .serverSort .vxe-sort--asc-btn,
6297
- .fec-table-container[data-v-a4756ab4] .vxe-table .serverSort .vxe-sort--desc-btn {
6296
+ .fec-table-container[data-v-31719742] .vxe-table .serverSort .vxe-sort--asc-btn,
6297
+ .fec-table-container[data-v-31719742] .vxe-table .serverSort .vxe-sort--desc-btn {
6298
6298
  color: #d3edf9;
6299
6299
  }
6300
- .fec-table-container[data-v-a4756ab4] .vxe-table .serverSort .sort--active {
6300
+ .fec-table-container[data-v-31719742] .vxe-table .serverSort .sort--active {
6301
6301
  color: var(--el-color-primary);
6302
6302
  }
6303
- .fec-table-container[data-v-a4756ab4] .vxe-table .sort--active {
6303
+ .fec-table-container[data-v-31719742] .vxe-table .sort--active {
6304
6304
  color: var(--el-color-primary);
6305
6305
  }
6306
- .fec-table-container[data-v-a4756ab4] .vxe-table .vxe-table--body-wrapper {
6306
+ .fec-table-container[data-v-31719742] .vxe-table .vxe-table--body-wrapper {
6307
6307
  overflow: auto;
6308
6308
  }
6309
- .fec-table-container[data-v-a4756ab4] .vxe-table .vxe-header--column {
6309
+ .fec-table-container[data-v-31719742] .vxe-table .vxe-header--column {
6310
6310
  background-color: #fff;
6311
6311
  }
6312
- .fec-table-container[data-v-a4756ab4] .vxe-table .vxe-header--column .vxe-cell {
6312
+ .fec-table-container[data-v-31719742] .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-a4756ab4] .vxe-table .vxe-table--header-inner-wrapper {
6317
+ .fec-table-container[data-v-31719742] .vxe-table .vxe-table--header-inner-wrapper {
6318
6318
  height: 40px !important;
6319
6319
  }
6320
- .fec-table-container[data-v-a4756ab4] .vxe-table .vxe-body--column .vxe-cell {
6320
+ .fec-table-container[data-v-31719742] .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-a4756ab4] .vxe-table .vxe-body--column .c--tooltip,
6327
- .fec-table-container[data-v-a4756ab4] .vxe-table .vxe-body--column .c--title {
6326
+ .fec-table-container[data-v-31719742] .vxe-table .vxe-body--column .c--tooltip,
6327
+ .fec-table-container[data-v-31719742] .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-a4756ab4] .vxe-table .vxe-table--border-line {
6331
+ .fec-table-container[data-v-31719742] .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-a4756ab4] .vxe-table .vxe-table--scroll-y-handle-appearance,
6337
- .fec-table-container[data-v-a4756ab4] .vxe-table .vxe-table--scroll-y-wrapper:after {
6336
+ .fec-table-container[data-v-31719742] .vxe-table .vxe-table--scroll-y-handle-appearance,
6337
+ .fec-table-container[data-v-31719742] .vxe-table .vxe-table--scroll-y-wrapper:after {
6338
6338
  border: none !important;
6339
6339
  }
6340
- .fec-table-container[data-v-a4756ab4] .vxe-table .vxe-table--scroll-y-top-corner {
6340
+ .fec-table-container[data-v-31719742] .vxe-table .vxe-table--scroll-y-top-corner {
6341
6341
  display: none !important;
6342
6342
  }
6343
- .fec-table-container[data-v-a4756ab4] .vxe-table .vxe-cell--sort {
6343
+ .fec-table-container[data-v-31719742] .vxe-table .vxe-cell--sort {
6344
6344
  font-size: 14px;
6345
6345
  }
6346
- .fec-table-container[data-v-a4756ab4] .vxe-table .vxe-body--column,
6347
- .fec-table-container[data-v-a4756ab4] .vxe-table .vxe-footer--column,
6348
- .fec-table-container[data-v-a4756ab4] .vxe-table .vxe-header--column,
6349
- .fec-table-container[data-v-a4756ab4] .vxe-table .vxe-body--column,
6350
- .fec-table-container[data-v-a4756ab4] .vxe-table .vxe-footer--column,
6351
- .fec-table-container[data-v-a4756ab4] .vxe-table .vxe-header--column {
6346
+ .fec-table-container[data-v-31719742] .vxe-table .vxe-body--column,
6347
+ .fec-table-container[data-v-31719742] .vxe-table .vxe-footer--column,
6348
+ .fec-table-container[data-v-31719742] .vxe-table .vxe-header--column,
6349
+ .fec-table-container[data-v-31719742] .vxe-table .vxe-body--column,
6350
+ .fec-table-container[data-v-31719742] .vxe-table .vxe-footer--column,
6351
+ .fec-table-container[data-v-31719742] .vxe-table .vxe-header--column {
6352
6352
  background-image: linear-gradient(#ebeef5, #ebeef5) !important;
6353
6353
  }
6354
- .fec-table-sub[data-v-a4756ab4] .vxe-table .vxe-table--border-line {
6354
+ .fec-table-sub[data-v-31719742] .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 = (_b = ctx.$route) == null ? void 0 : _b.path;
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: 1,
304
- pageSize: isPagination.value ? (_c = localConfig.value.paginationConfig) == null ? void 0 : _c.pageSize : 0
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 (((_d = localConfig.value.summaryConfig) == null ? void 0 : _d.enabled) && ((_e = localConfig.value.summaryConfig) == null ? void 0 : _e.mode) == "all") {
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,7 @@ 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
- tableDataFetch();
486
+ tableDataFetch(routeParams.value);
483
487
  }
484
488
  emit("page-change", { pageNo, pageSize });
485
489
  };
@@ -497,7 +501,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
497
501
  if (dataSourceManager.value) {
498
502
  dataSourceManager.value.updateParams(filters);
499
503
  (_a = summaryAllDataManager.value) == null ? void 0 : _a.updateParams(filters);
500
- tableDataFetch();
504
+ tableDataFetch(routeParams.value);
501
505
  clearSelection();
502
506
  } else {
503
507
  searchData.value = filters;
@@ -873,7 +877,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
873
877
  };
874
878
  }
875
879
  });
876
- const _Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a4756ab4"]]);
880
+ const _Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-31719742"]]);
877
881
  export {
878
882
  _Table as default
879
883
  };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const version = "5.4.88";
3
+ const version = "5.4.89";
4
4
  const packageJson = {
5
5
  version
6
6
  };
@@ -11,7 +11,7 @@ require("../../../node_modules/element-plus/es/index.js");
11
11
  ;/* empty css */
12
12
  const vue = require("vue");
13
13
  const index$2 = require("../../../node_modules/@element-plus/icons-vue/dist/index.js");
14
- const ValueSelector = require("./ValueSelector.vue.js");
14
+ const ValueSelector = require("./ValueSelector.vue2.js");
15
15
  const index = require("../api/index.js");
16
16
  ;/* empty css */
17
17
  const _pluginVue_exportHelper = require("../../../_virtual/_plugin-vue_export-helper.js");
@@ -6,7 +6,7 @@ require("../../../node_modules/element-plus/es/index.js");
6
6
  ;/* empty css */
7
7
  const vue = require("vue");
8
8
  const index$1 = require("../../../node_modules/@element-plus/icons-vue/dist/index.js");
9
- const ValueSelector = require("./ValueSelector.vue.js");
9
+ const ValueSelector = require("./ValueSelector.vue2.js");
10
10
  ;/* empty css */
11
11
  const _pluginVue_exportHelper = require("../../../_virtual/_plugin-vue_export-helper.js");
12
12
  const index = require("../../../node_modules/element-plus/es/components/button/index.js");
@@ -18,7 +18,7 @@ const index$2 = require("../../../../node_modules/@element-plus/icons-vue/dist/i
18
18
  const common = require("../../packages/utils/common.js");
19
19
  const index$5 = require("../../packages/form/aside/index.js");
20
20
  const index$6 = require("../../packages/table/aside/index.js");
21
- const ValueSelector = require("../../components/ValueSelector.vue.js");
21
+ const ValueSelector = require("../../components/ValueSelector.vue2.js");
22
22
  ;/* empty css */
23
23
  const _pluginVue_exportHelper = require("../../../../_virtual/_plugin-vue_export-helper.js");
24
24
  const index = require("../../../../node_modules/element-plus/es/components/dialog/index.js");
@@ -16,7 +16,7 @@ require("../../../../node_modules/element-plus/theme-chalk/el-tooltip.css.js");
16
16
  require("../../../../node_modules/element-plus/theme-chalk/el-date-picker.css.js");
17
17
  const vue = require("vue");
18
18
  const index = require("../../../../node_modules/@vueuse/core/dist/index.js");
19
- const ValueSelector = require("../../components/ValueSelector.vue.js");
19
+ const ValueSelector = require("../../components/ValueSelector.vue2.js");
20
20
  const index$1 = require("../../api/index.js");
21
21
  const common = require("../utils/common.js");
22
22
  const datasource = require("../utils/datasource.js");
@@ -32,7 +32,7 @@ require("../../../../node_modules/element-plus/theme-chalk/el-date-picker.css.js
32
32
  ;/* empty css */
33
33
  ;/* empty css */
34
34
  const _pluginVue_exportHelper = require("../../../../_virtual/_plugin-vue_export-helper.js");
35
- ;/* empty css */
35
+ ;/* empty css */
36
36
  require("../../axios/config.js");
37
37
  require("../../../../_virtual/FileSaver.min.js");
38
38
  require("../../../../_virtual/index.js");
@@ -86,7 +86,7 @@ const widgets = require("../table/property/widgets.vue.js");
86
86
  require("../../../../node_modules/element-plus/theme-chalk/el-tab-pane.css.js");
87
87
  ;/* empty css */
88
88
  ;/* empty css */
89
- ;/* empty css */
89
+ ;/* empty css */
90
90
  ;/* empty css */
91
91
  ;/* empty css */
92
92
  ;/* empty css */
@@ -6,7 +6,7 @@ require("../../../../../../node_modules/element-plus/es/index.js");
6
6
  ;/* empty css */
7
7
  const vue = require("vue");
8
8
  const RiskSchemeSelector = require("../../../../components/RiskSchemeSelector.vue2.js");
9
- const ValueSelector = require("../../../../components/ValueSelector.vue.js");
9
+ const ValueSelector = require("../../../../components/ValueSelector.vue2.js");
10
10
  const ParamsConfig = require("../../../../components/ParamsConfig.vue2.js");
11
11
  const index = require("../../../../../../node_modules/element-plus/es/components/form/index.js");
12
12
  const index$1 = require("../../../../../../node_modules/element-plus/es/components/switch/index.js");
@@ -13,7 +13,7 @@ require("../../../../../node_modules/element-plus/es/index.js");
13
13
  const vue = require("vue");
14
14
  const common = require("../../utils/common.js");
15
15
  const eventBus = require("../../utils/eventBus.js");
16
- const ValueSelector = require("../../../components/ValueSelector.vue.js");
16
+ const ValueSelector = require("../../../components/ValueSelector.vue2.js");
17
17
  const index = require("../../../../../node_modules/element-plus/es/components/collapse/index.js");
18
18
  const index$1 = require("../../../../../node_modules/element-plus/es/components/form/index.js");
19
19
  const index$2 = require("../../../../../node_modules/element-plus/es/components/input/index.js");
@@ -19,7 +19,7 @@ require("../../../../../node_modules/element-plus/es/index.js");
19
19
  const vue = require("vue");
20
20
  const common = require("../../utils/common.js");
21
21
  require("../../utils/eventBus.js");
22
- const ValueSelector = require("../../../components/ValueSelector.vue.js");
22
+ const ValueSelector = require("../../../components/ValueSelector.vue2.js");
23
23
  const index = require("../../../api/index.js");
24
24
  const ParamsConfig = require("../../../components/ParamsConfig.vue2.js");
25
25
  ;/* empty css */
@@ -14,7 +14,7 @@ const vue = require("vue");
14
14
  const common = require("../../utils/common.js");
15
15
  const TemplateSelector = require("../../../components/TemplateSelector.vue2.js");
16
16
  const eventBus = require("../../utils/eventBus.js");
17
- const ValueSelector = require("../../../components/ValueSelector.vue.js");
17
+ const ValueSelector = require("../../../components/ValueSelector.vue2.js");
18
18
  const ParamsConfig = require("../../../components/ParamsConfig.vue2.js");
19
19
  const index = require("../../../../../node_modules/element-plus/es/components/collapse/index.js");
20
20
  const index$1 = require("../../../../../node_modules/element-plus/es/components/form/index.js");
@@ -16,7 +16,7 @@ require("../../../../node_modules/element-plus/es/index.js");
16
16
  const vue = require("vue");
17
17
  const index$6 = require("../../../../node_modules/@element-plus/icons-vue/dist/index.js");
18
18
  const common = require("../utils/common.js");
19
- const ValueSelector = require("../../components/ValueSelector.vue.js");
19
+ const ValueSelector = require("../../components/ValueSelector.vue2.js");
20
20
  const index = require("../../api/index.js");
21
21
  ;/* empty css */
22
22
  const _pluginVue_exportHelper = require("../../../../_virtual/_plugin-vue_export-helper.js");
@@ -47,7 +47,7 @@ const index$1 = require("../../../../node_modules/@element-plus/icons-vue/dist/i
47
47
  ;/* empty css */
48
48
  require("../../store/index.js");
49
49
  ;/* empty css */
50
- ;/* empty css */
50
+ ;/* empty css */
51
51
  ;/* empty css */
52
52
  ;/* empty css */
53
53
  ;/* empty css */
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-a4756ab4] {
6267
+ }.fec-table[data-v-31719742] {
6268
6268
  height: 100%;
6269
6269
  flex-grow: 1;
6270
6270
  padding: 0 16px;
6271
6271
  }
6272
- .fec-table-container[data-v-a4756ab4] {
6272
+ .fec-table-container[data-v-31719742] {
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-a4756ab4] {
6282
+ .fec-table-container .fec-vxe-table[data-v-31719742] {
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-a4756ab4] .vxe-table {
6288
+ .fec-table-container[data-v-31719742] .vxe-table {
6289
6289
  font-size: 14px;
6290
6290
  font-family: inherit;
6291
6291
  }
6292
- .fec-table-container[data-v-a4756ab4] .vxe-table .vxe-sort--asc-btn,
6293
- .fec-table-container[data-v-a4756ab4] .vxe-table .vxe-sort--desc-btn {
6292
+ .fec-table-container[data-v-31719742] .vxe-table .vxe-sort--asc-btn,
6293
+ .fec-table-container[data-v-31719742] .vxe-table .vxe-sort--desc-btn {
6294
6294
  color: #dcdcdc;
6295
6295
  }
6296
- .fec-table-container[data-v-a4756ab4] .vxe-table .serverSort .vxe-sort--asc-btn,
6297
- .fec-table-container[data-v-a4756ab4] .vxe-table .serverSort .vxe-sort--desc-btn {
6296
+ .fec-table-container[data-v-31719742] .vxe-table .serverSort .vxe-sort--asc-btn,
6297
+ .fec-table-container[data-v-31719742] .vxe-table .serverSort .vxe-sort--desc-btn {
6298
6298
  color: #d3edf9;
6299
6299
  }
6300
- .fec-table-container[data-v-a4756ab4] .vxe-table .serverSort .sort--active {
6300
+ .fec-table-container[data-v-31719742] .vxe-table .serverSort .sort--active {
6301
6301
  color: var(--el-color-primary);
6302
6302
  }
6303
- .fec-table-container[data-v-a4756ab4] .vxe-table .sort--active {
6303
+ .fec-table-container[data-v-31719742] .vxe-table .sort--active {
6304
6304
  color: var(--el-color-primary);
6305
6305
  }
6306
- .fec-table-container[data-v-a4756ab4] .vxe-table .vxe-table--body-wrapper {
6306
+ .fec-table-container[data-v-31719742] .vxe-table .vxe-table--body-wrapper {
6307
6307
  overflow: auto;
6308
6308
  }
6309
- .fec-table-container[data-v-a4756ab4] .vxe-table .vxe-header--column {
6309
+ .fec-table-container[data-v-31719742] .vxe-table .vxe-header--column {
6310
6310
  background-color: #fff;
6311
6311
  }
6312
- .fec-table-container[data-v-a4756ab4] .vxe-table .vxe-header--column .vxe-cell {
6312
+ .fec-table-container[data-v-31719742] .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-a4756ab4] .vxe-table .vxe-table--header-inner-wrapper {
6317
+ .fec-table-container[data-v-31719742] .vxe-table .vxe-table--header-inner-wrapper {
6318
6318
  height: 40px !important;
6319
6319
  }
6320
- .fec-table-container[data-v-a4756ab4] .vxe-table .vxe-body--column .vxe-cell {
6320
+ .fec-table-container[data-v-31719742] .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-a4756ab4] .vxe-table .vxe-body--column .c--tooltip,
6327
- .fec-table-container[data-v-a4756ab4] .vxe-table .vxe-body--column .c--title {
6326
+ .fec-table-container[data-v-31719742] .vxe-table .vxe-body--column .c--tooltip,
6327
+ .fec-table-container[data-v-31719742] .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-a4756ab4] .vxe-table .vxe-table--border-line {
6331
+ .fec-table-container[data-v-31719742] .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-a4756ab4] .vxe-table .vxe-table--scroll-y-handle-appearance,
6337
- .fec-table-container[data-v-a4756ab4] .vxe-table .vxe-table--scroll-y-wrapper:after {
6336
+ .fec-table-container[data-v-31719742] .vxe-table .vxe-table--scroll-y-handle-appearance,
6337
+ .fec-table-container[data-v-31719742] .vxe-table .vxe-table--scroll-y-wrapper:after {
6338
6338
  border: none !important;
6339
6339
  }
6340
- .fec-table-container[data-v-a4756ab4] .vxe-table .vxe-table--scroll-y-top-corner {
6340
+ .fec-table-container[data-v-31719742] .vxe-table .vxe-table--scroll-y-top-corner {
6341
6341
  display: none !important;
6342
6342
  }
6343
- .fec-table-container[data-v-a4756ab4] .vxe-table .vxe-cell--sort {
6343
+ .fec-table-container[data-v-31719742] .vxe-table .vxe-cell--sort {
6344
6344
  font-size: 14px;
6345
6345
  }
6346
- .fec-table-container[data-v-a4756ab4] .vxe-table .vxe-body--column,
6347
- .fec-table-container[data-v-a4756ab4] .vxe-table .vxe-footer--column,
6348
- .fec-table-container[data-v-a4756ab4] .vxe-table .vxe-header--column,
6349
- .fec-table-container[data-v-a4756ab4] .vxe-table .vxe-body--column,
6350
- .fec-table-container[data-v-a4756ab4] .vxe-table .vxe-footer--column,
6351
- .fec-table-container[data-v-a4756ab4] .vxe-table .vxe-header--column {
6346
+ .fec-table-container[data-v-31719742] .vxe-table .vxe-body--column,
6347
+ .fec-table-container[data-v-31719742] .vxe-table .vxe-footer--column,
6348
+ .fec-table-container[data-v-31719742] .vxe-table .vxe-header--column,
6349
+ .fec-table-container[data-v-31719742] .vxe-table .vxe-body--column,
6350
+ .fec-table-container[data-v-31719742] .vxe-table .vxe-footer--column,
6351
+ .fec-table-container[data-v-31719742] .vxe-table .vxe-header--column {
6352
6352
  background-image: linear-gradient(#ebeef5, #ebeef5) !important;
6353
6353
  }
6354
- .fec-table-sub[data-v-a4756ab4] .vxe-table .vxe-table--border-line {
6354
+ .fec-table-sub[data-v-31719742] .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 = (_b = ctx.$route) == null ? void 0 : _b.path;
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: 1,
306
- pageSize: isPagination.value ? (_c = localConfig.value.paginationConfig) == null ? void 0 : _c.pageSize : 0
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 (((_d = localConfig.value.summaryConfig) == null ? void 0 : _d.enabled) && ((_e = localConfig.value.summaryConfig) == null ? void 0 : _e.mode) == "all") {
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,7 @@ 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
- tableDataFetch();
488
+ tableDataFetch(routeParams.value);
485
489
  }
486
490
  emit("page-change", { pageNo, pageSize });
487
491
  };
@@ -499,7 +503,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
499
503
  if (dataSourceManager.value) {
500
504
  dataSourceManager.value.updateParams(filters);
501
505
  (_a = summaryAllDataManager.value) == null ? void 0 : _a.updateParams(filters);
502
- tableDataFetch();
506
+ tableDataFetch(routeParams.value);
503
507
  clearSelection();
504
508
  } else {
505
509
  searchData.value = filters;
@@ -875,5 +879,5 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
875
879
  };
876
880
  }
877
881
  });
878
- const _Table = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-a4756ab4"]]);
882
+ const _Table = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-31719742"]]);
879
883
  exports.default = _Table;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fecp/designer",
3
- "version": "5.4.88",
3
+ "version": "5.4.89",
4
4
  "main": "lib/designer/index.js",
5
5
  "module": "es/designer/index.mjs",
6
6
  "files": [