slw 1.0.0-rc.1.24 → 1.0.0-rc.1.25

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.
@@ -53280,7 +53280,7 @@ WindowCharts.name = "slw-window-charts";
53280
53280
  WindowCharts.install = (G) => {
53281
53281
  G.component(WindowCharts.name, WindowCharts);
53282
53282
  };
53283
- const windowGrid_vue_vue_type_style_index_0_scoped_df90f042_lang = "", _withScopeId$9 = (G) => (pushScopeId("data-v-df90f042"), G = G(), popScopeId(), G), _hoisted_1$l3 = {
53283
+ const windowGrid_vue_vue_type_style_index_0_scoped_82b3e5a2_lang = "", _withScopeId$9 = (G) => (pushScopeId("data-v-82b3e5a2"), G = G(), popScopeId(), G), _hoisted_1$l3 = {
53284
53284
  class: "slw-window-grid-container",
53285
53285
  style: { height: "100%" }
53286
53286
  }, _hoisted_2$k_ = /* @__PURE__ */ _withScopeId$9(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-main-area" }, null, -1)), _hoisted_3$h_ = /* @__PURE__ */ _withScopeId$9(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-active-area" }, null, -1)), _hoisted_4$aA = /* @__PURE__ */ _withScopeId$9(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-copy-area" }, null, -1)), _hoisted_5$4_ = [
@@ -53866,7 +53866,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_df90f042_lang = "", _withScop
53866
53866
  }, gridData.value.rowConfig.keyField && getSelectRecord() && (uploadData.value[gridData.value.rowConfig.keyField] = getSelectRecord()[gridData.value.rowConfig.keyField]), gridData.value.params.parentRowId && (uploadData.value[gridData.value.params.parentRowId] = gridData.value.params.parentRowIdValue);
53867
53867
  break;
53868
53868
  case "EXPORT":
53869
- exportData();
53869
+ await exportData();
53870
53870
  break;
53871
53871
  case "SUBMIT":
53872
53872
  gridData.value.type === "EDIT_GRID" ? $vxeConfirm($T("确定批量保存?"), void 0, { zIndex: 3e3 }).then((ne) => {
@@ -54191,7 +54191,12 @@ const windowGrid_vue_vue_type_style_index_0_scoped_df90f042_lang = "", _withScop
54191
54191
  }, exportData = async (G) => {
54192
54192
  if (exportButton.value) {
54193
54193
  const H = Object.assign({ _button_id: exportButton.value._button_id }, gridData.value.params.queryFormData);
54194
- gridData.value.params.parentRowId && (H[gridData.value.params.parentRowId] = gridData.value.params.parentRowIdValue), await axios.export("/window/export?data=" + base64Encode(JSON.stringify(H)), {}, G), exportButton.value.loading = !1;
54194
+ gridData.value.params.parentRowId && (H[gridData.value.params.parentRowId] = gridData.value.params.parentRowIdValue);
54195
+ try {
54196
+ await axios.export("/window/export?data=" + base64Encode(JSON.stringify(H)), {}, G);
54197
+ } catch (X) {
54198
+ console.error(X);
54199
+ }
54195
54200
  } else
54196
54201
  $message.error($T("您没有导出数据权限!"));
54197
54202
  }, search = (G) => {
@@ -55454,7 +55459,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_df90f042_lang = "", _withScop
55454
55459
  ]);
55455
55460
  };
55456
55461
  }
55457
- }, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-df90f042"]]);
55462
+ }, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-82b3e5a2"]]);
55458
55463
  WindowGrid.name = "slw-window-grid";
55459
55464
  WindowGrid.install = (G) => {
55460
55465
  G.component(WindowGrid.name, WindowGrid);
@@ -92076,7 +92081,7 @@ const windowDesigner_vue_vue_type_style_index_0_scoped_a3ebe962_lang = "", _with
92076
92081
  emits: ["update:type", "update:rootLayout", "update:viewData", "update:rowData"],
92077
92082
  setup(G, { emit: H }) {
92078
92083
  const X = G, Q = defineAsyncComponent(
92079
- () => import("./index-066fa0c2.js")
92084
+ () => import("./index-a8110b2b.js")
92080
92085
  );
92081
92086
  let K = useVModel(X, "type", H), Z = useVModel(X, "rootLayout", H), ee = useVModel(X, "viewData", H), te = useVModel(X, "rowData", H), ne = ref$2(0), re = ref$2(null);
92082
92087
  re.value = createDesigner();
@@ -224862,7 +224867,7 @@ function reConsole() {
224862
224867
  }
224863
224868
  }
224864
224869
  console.info(
224865
- `%cSLW %cVer 1.0.0-rc.1.24%c
224870
+ `%cSLW %cVer 1.0.0-rc.1.25%c
224866
224871
  %c指引文档:%chttp://slwdoc.js.sforcecon.com:5900/%c
224867
224872
  %c启光文档:%chttp://docs.js.sforcecon.com:5900/view`,
224868
224873
  "color:#409EFF;font-size: 22px;font-weight:bolder;text-shadow: 2px 2px 4px #84c1ff;",
@@ -1,5 +1,5 @@
1
1
  import { pushScopeId as P, popScopeId as V, createElementVNode as h, resolveComponent as g, openBlock as o, createElementBlock as p, createBlock as f, normalizeClass as T, normalizeStyle as A, withModifiers as R, withCtx as r, renderSlot as q, createCommentVNode as _, Fragment as B, createVNode as s, mergeProps as k, renderList as j, toDisplayString as E, normalizeProps as K, guardReactiveProps as Q, resolveDynamicComponent as Z, defineAsyncComponent as $, computed as F, unref as D, withDirectives as ee, vShow as te } from "vue";
2
- import { _ as x, d as S, a as L, u as N } from "./index-87a3d2fc.js";
2
+ import { _ as x, d as S, a as L, u as N } from "./index-5e5e5b6a.js";
3
3
  import "vue-router";
4
4
  const I = {
5
5
  computed: {},
package/lib/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { i as m } from "./index-87a3d2fc.js";
1
+ import { i as m } from "./index-5e5e5b6a.js";
2
2
  import "vue";
3
3
  import "vue-router";
4
4
  export {