@fecp/designer 5.4.86 → 5.4.88

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.
@@ -1,4 +1,4 @@
1
- const version = "5.4.86";
1
+ const version = "5.4.88";
2
2
  const packageJson = {
3
3
  version
4
4
  };
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-ac209a15] {
6267
+ }.fec-table[data-v-a4756ab4] {
6268
6268
  height: 100%;
6269
6269
  flex-grow: 1;
6270
6270
  padding: 0 16px;
6271
6271
  }
6272
- .fec-table-container[data-v-ac209a15] {
6272
+ .fec-table-container[data-v-a4756ab4] {
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-ac209a15] {
6282
+ .fec-table-container .fec-vxe-table[data-v-a4756ab4] {
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-ac209a15] .vxe-table {
6288
+ .fec-table-container[data-v-a4756ab4] .vxe-table {
6289
6289
  font-size: 14px;
6290
6290
  font-family: inherit;
6291
6291
  }
6292
- .fec-table-container[data-v-ac209a15] .vxe-table .vxe-sort--asc-btn,
6293
- .fec-table-container[data-v-ac209a15] .vxe-table .vxe-sort--desc-btn {
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 {
6294
6294
  color: #dcdcdc;
6295
6295
  }
6296
- .fec-table-container[data-v-ac209a15] .vxe-table .serverSort .vxe-sort--asc-btn,
6297
- .fec-table-container[data-v-ac209a15] .vxe-table .serverSort .vxe-sort--desc-btn {
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 {
6298
6298
  color: #d3edf9;
6299
6299
  }
6300
- .fec-table-container[data-v-ac209a15] .vxe-table .serverSort .sort--active {
6300
+ .fec-table-container[data-v-a4756ab4] .vxe-table .serverSort .sort--active {
6301
6301
  color: var(--el-color-primary);
6302
6302
  }
6303
- .fec-table-container[data-v-ac209a15] .vxe-table .sort--active {
6303
+ .fec-table-container[data-v-a4756ab4] .vxe-table .sort--active {
6304
6304
  color: var(--el-color-primary);
6305
6305
  }
6306
- .fec-table-container[data-v-ac209a15] .vxe-table .vxe-table--body-wrapper {
6306
+ .fec-table-container[data-v-a4756ab4] .vxe-table .vxe-table--body-wrapper {
6307
6307
  overflow: auto;
6308
6308
  }
6309
- .fec-table-container[data-v-ac209a15] .vxe-table .vxe-header--column {
6309
+ .fec-table-container[data-v-a4756ab4] .vxe-table .vxe-header--column {
6310
6310
  background-color: #fff;
6311
6311
  }
6312
- .fec-table-container[data-v-ac209a15] .vxe-table .vxe-header--column .vxe-cell {
6312
+ .fec-table-container[data-v-a4756ab4] .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-ac209a15] .vxe-table .vxe-table--header-inner-wrapper {
6317
+ .fec-table-container[data-v-a4756ab4] .vxe-table .vxe-table--header-inner-wrapper {
6318
6318
  height: 40px !important;
6319
6319
  }
6320
- .fec-table-container[data-v-ac209a15] .vxe-table .vxe-body--column .vxe-cell {
6320
+ .fec-table-container[data-v-a4756ab4] .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-ac209a15] .vxe-table .vxe-body--column .c--tooltip,
6327
- .fec-table-container[data-v-ac209a15] .vxe-table .vxe-body--column .c--title {
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 {
6328
6328
  height: 32px !important;
6329
6329
  min-height: 32px !important;
6330
6330
  }
6331
- .fec-table-container[data-v-ac209a15] .vxe-table .vxe-table--border-line {
6331
+ .fec-table-container[data-v-a4756ab4] .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-ac209a15] .vxe-table .vxe-table--scroll-y-handle-appearance,
6337
- .fec-table-container[data-v-ac209a15] .vxe-table .vxe-table--scroll-y-wrapper:after {
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 {
6338
6338
  border: none !important;
6339
6339
  }
6340
- .fec-table-container[data-v-ac209a15] .vxe-table .vxe-table--scroll-y-top-corner {
6340
+ .fec-table-container[data-v-a4756ab4] .vxe-table .vxe-table--scroll-y-top-corner {
6341
6341
  display: none !important;
6342
6342
  }
6343
- .fec-table-container[data-v-ac209a15] .vxe-table .vxe-cell--sort {
6343
+ .fec-table-container[data-v-a4756ab4] .vxe-table .vxe-cell--sort {
6344
6344
  font-size: 14px;
6345
6345
  }
6346
- .fec-table-container[data-v-ac209a15] .vxe-table .vxe-body--column,
6347
- .fec-table-container[data-v-ac209a15] .vxe-table .vxe-footer--column,
6348
- .fec-table-container[data-v-ac209a15] .vxe-table .vxe-header--column,
6349
- .fec-table-container[data-v-ac209a15] .vxe-table .vxe-body--column,
6350
- .fec-table-container[data-v-ac209a15] .vxe-table .vxe-footer--column,
6351
- .fec-table-container[data-v-ac209a15] .vxe-table .vxe-header--column {
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 {
6352
6352
  background-image: linear-gradient(#ebeef5, #ebeef5) !important;
6353
6353
  }
6354
- .fec-table-sub[data-v-ac209a15] .vxe-table .vxe-table--border-line {
6354
+ .fec-table-sub[data-v-a4756ab4] .vxe-table .vxe-table--border-line {
6355
6355
  border-top: none;
6356
6356
  }
6357
6357
  .custom-dialog {
@@ -288,9 +288,11 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
288
288
  const initDataSourceManager = async () => {
289
289
  var _a, _b, _c, _d, _e;
290
290
  if (!((_a = localConfig.value.dataSources) == null ? void 0 : _a.length)) return;
291
- const route = (_b = ctx.$route) == null ? void 0 : _b.path;
292
- if (route) {
293
- routeParams.value = sessionStorage.getItem(route);
291
+ if (!props.isSubTable && !props.isSubTable) {
292
+ const route = (_b = ctx.$route) == null ? void 0 : _b.path;
293
+ if (route) {
294
+ routeParams.value = JSON.parse(sessionStorage.getItem(route));
295
+ }
294
296
  }
295
297
  dataSourceManager.value = createDataSource({
296
298
  http: ctx.$http,
@@ -557,10 +559,12 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
557
559
  };
558
560
  async function tableDataFetch(extraParams = {}) {
559
561
  var _a;
560
- const params = dataSourceManager.value.buildRequestParams();
561
- const route = (_a = ctx.$route) == null ? void 0 : _a.path;
562
- if (route) {
563
- sessionStorage.setItem(route, JSON.stringify(params));
562
+ if (!props.isSubTable && !props.isSubTable) {
563
+ const params = dataSourceManager.value.buildRequestParams(extraParams);
564
+ const route = (_a = ctx.$route) == null ? void 0 : _a.path;
565
+ if (route) {
566
+ sessionStorage.setItem(route, JSON.stringify(params));
567
+ }
564
568
  }
565
569
  await dataSourceManager.value.fetch(extraParams);
566
570
  await summaryAllDataFetch(extraParams);
@@ -869,7 +873,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
869
873
  };
870
874
  }
871
875
  });
872
- const _Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-ac209a15"]]);
876
+ const _Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a4756ab4"]]);
873
877
  export {
874
878
  _Table as default
875
879
  };
@@ -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.86";
3
+ const version = "5.4.88";
4
4
  const packageJson = {
5
5
  version
6
6
  };
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-ac209a15] {
6267
+ }.fec-table[data-v-a4756ab4] {
6268
6268
  height: 100%;
6269
6269
  flex-grow: 1;
6270
6270
  padding: 0 16px;
6271
6271
  }
6272
- .fec-table-container[data-v-ac209a15] {
6272
+ .fec-table-container[data-v-a4756ab4] {
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-ac209a15] {
6282
+ .fec-table-container .fec-vxe-table[data-v-a4756ab4] {
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-ac209a15] .vxe-table {
6288
+ .fec-table-container[data-v-a4756ab4] .vxe-table {
6289
6289
  font-size: 14px;
6290
6290
  font-family: inherit;
6291
6291
  }
6292
- .fec-table-container[data-v-ac209a15] .vxe-table .vxe-sort--asc-btn,
6293
- .fec-table-container[data-v-ac209a15] .vxe-table .vxe-sort--desc-btn {
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 {
6294
6294
  color: #dcdcdc;
6295
6295
  }
6296
- .fec-table-container[data-v-ac209a15] .vxe-table .serverSort .vxe-sort--asc-btn,
6297
- .fec-table-container[data-v-ac209a15] .vxe-table .serverSort .vxe-sort--desc-btn {
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 {
6298
6298
  color: #d3edf9;
6299
6299
  }
6300
- .fec-table-container[data-v-ac209a15] .vxe-table .serverSort .sort--active {
6300
+ .fec-table-container[data-v-a4756ab4] .vxe-table .serverSort .sort--active {
6301
6301
  color: var(--el-color-primary);
6302
6302
  }
6303
- .fec-table-container[data-v-ac209a15] .vxe-table .sort--active {
6303
+ .fec-table-container[data-v-a4756ab4] .vxe-table .sort--active {
6304
6304
  color: var(--el-color-primary);
6305
6305
  }
6306
- .fec-table-container[data-v-ac209a15] .vxe-table .vxe-table--body-wrapper {
6306
+ .fec-table-container[data-v-a4756ab4] .vxe-table .vxe-table--body-wrapper {
6307
6307
  overflow: auto;
6308
6308
  }
6309
- .fec-table-container[data-v-ac209a15] .vxe-table .vxe-header--column {
6309
+ .fec-table-container[data-v-a4756ab4] .vxe-table .vxe-header--column {
6310
6310
  background-color: #fff;
6311
6311
  }
6312
- .fec-table-container[data-v-ac209a15] .vxe-table .vxe-header--column .vxe-cell {
6312
+ .fec-table-container[data-v-a4756ab4] .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-ac209a15] .vxe-table .vxe-table--header-inner-wrapper {
6317
+ .fec-table-container[data-v-a4756ab4] .vxe-table .vxe-table--header-inner-wrapper {
6318
6318
  height: 40px !important;
6319
6319
  }
6320
- .fec-table-container[data-v-ac209a15] .vxe-table .vxe-body--column .vxe-cell {
6320
+ .fec-table-container[data-v-a4756ab4] .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-ac209a15] .vxe-table .vxe-body--column .c--tooltip,
6327
- .fec-table-container[data-v-ac209a15] .vxe-table .vxe-body--column .c--title {
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 {
6328
6328
  height: 32px !important;
6329
6329
  min-height: 32px !important;
6330
6330
  }
6331
- .fec-table-container[data-v-ac209a15] .vxe-table .vxe-table--border-line {
6331
+ .fec-table-container[data-v-a4756ab4] .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-ac209a15] .vxe-table .vxe-table--scroll-y-handle-appearance,
6337
- .fec-table-container[data-v-ac209a15] .vxe-table .vxe-table--scroll-y-wrapper:after {
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 {
6338
6338
  border: none !important;
6339
6339
  }
6340
- .fec-table-container[data-v-ac209a15] .vxe-table .vxe-table--scroll-y-top-corner {
6340
+ .fec-table-container[data-v-a4756ab4] .vxe-table .vxe-table--scroll-y-top-corner {
6341
6341
  display: none !important;
6342
6342
  }
6343
- .fec-table-container[data-v-ac209a15] .vxe-table .vxe-cell--sort {
6343
+ .fec-table-container[data-v-a4756ab4] .vxe-table .vxe-cell--sort {
6344
6344
  font-size: 14px;
6345
6345
  }
6346
- .fec-table-container[data-v-ac209a15] .vxe-table .vxe-body--column,
6347
- .fec-table-container[data-v-ac209a15] .vxe-table .vxe-footer--column,
6348
- .fec-table-container[data-v-ac209a15] .vxe-table .vxe-header--column,
6349
- .fec-table-container[data-v-ac209a15] .vxe-table .vxe-body--column,
6350
- .fec-table-container[data-v-ac209a15] .vxe-table .vxe-footer--column,
6351
- .fec-table-container[data-v-ac209a15] .vxe-table .vxe-header--column {
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 {
6352
6352
  background-image: linear-gradient(#ebeef5, #ebeef5) !important;
6353
6353
  }
6354
- .fec-table-sub[data-v-ac209a15] .vxe-table .vxe-table--border-line {
6354
+ .fec-table-sub[data-v-a4756ab4] .vxe-table .vxe-table--border-line {
6355
6355
  border-top: none;
6356
6356
  }
6357
6357
  .custom-dialog {
@@ -290,9 +290,11 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
290
290
  const initDataSourceManager = async () => {
291
291
  var _a, _b, _c, _d, _e;
292
292
  if (!((_a = localConfig.value.dataSources) == null ? void 0 : _a.length)) return;
293
- const route = (_b = ctx.$route) == null ? void 0 : _b.path;
294
- if (route) {
295
- routeParams.value = sessionStorage.getItem(route);
293
+ if (!props.isSubTable && !props.isSubTable) {
294
+ const route = (_b = ctx.$route) == null ? void 0 : _b.path;
295
+ if (route) {
296
+ routeParams.value = JSON.parse(sessionStorage.getItem(route));
297
+ }
296
298
  }
297
299
  dataSourceManager.value = datasource.createDataSource({
298
300
  http: ctx.$http,
@@ -559,10 +561,12 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
559
561
  };
560
562
  async function tableDataFetch(extraParams = {}) {
561
563
  var _a;
562
- const params = dataSourceManager.value.buildRequestParams();
563
- const route = (_a = ctx.$route) == null ? void 0 : _a.path;
564
- if (route) {
565
- sessionStorage.setItem(route, JSON.stringify(params));
564
+ if (!props.isSubTable && !props.isSubTable) {
565
+ const params = dataSourceManager.value.buildRequestParams(extraParams);
566
+ const route = (_a = ctx.$route) == null ? void 0 : _a.path;
567
+ if (route) {
568
+ sessionStorage.setItem(route, JSON.stringify(params));
569
+ }
566
570
  }
567
571
  await dataSourceManager.value.fetch(extraParams);
568
572
  await summaryAllDataFetch(extraParams);
@@ -871,5 +875,5 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
871
875
  };
872
876
  }
873
877
  });
874
- const _Table = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-ac209a15"]]);
878
+ const _Table = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-a4756ab4"]]);
875
879
  exports.default = _Table;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fecp/designer",
3
- "version": "5.4.86",
3
+ "version": "5.4.88",
4
4
  "main": "lib/designer/index.js",
5
5
  "module": "es/designer/index.mjs",
6
6
  "files": [