slw 0.10.13 → 0.10.14

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,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-8a515263.js";
2
+ import { _ as x, d as S, a as L, u as N } from "./index-d7ca5eff.js";
3
3
  import "vue-router";
4
4
  const I = {
5
5
  computed: {},
@@ -8533,7 +8533,7 @@ PictureUpload.name = "slw-picture-upload";
8533
8533
  PictureUpload.install = (H) => {
8534
8534
  H.component(PictureUpload.name, PictureUpload);
8535
8535
  };
8536
- const windowGrid_vue_vue_type_style_index_0_scoped_2fe02273_lang = "", _withScopeId$8 = (H) => (pushScopeId("data-v-2fe02273"), H = H(), popScopeId(), H), _hoisted_1$l1 = /* @__PURE__ */ _withScopeId$8(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-main-area" }, null, -1)), _hoisted_2$kY = /* @__PURE__ */ _withScopeId$8(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-active-area" }, null, -1)), _hoisted_3$hY = /* @__PURE__ */ _withScopeId$8(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-copy-area" }, null, -1)), _hoisted_4$ay = [
8536
+ const windowGrid_vue_vue_type_style_index_0_scoped_e916250e_lang = "", _withScopeId$8 = (H) => (pushScopeId("data-v-e916250e"), H = H(), popScopeId(), H), _hoisted_1$l1 = /* @__PURE__ */ _withScopeId$8(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-main-area" }, null, -1)), _hoisted_2$kY = /* @__PURE__ */ _withScopeId$8(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-active-area" }, null, -1)), _hoisted_3$hY = /* @__PURE__ */ _withScopeId$8(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-copy-area" }, null, -1)), _hoisted_4$ay = [
8537
8537
  _hoisted_1$l1,
8538
8538
  _hoisted_2$kY,
8539
8539
  _hoisted_3$hY
@@ -9131,7 +9131,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_2fe02273_lang = "", _withScop
9131
9131
  }, gridData.value.rowId && getSelectRecord() && (uploadData.value[gridData.value.rowId] = getSelectRecord()[gridData.value.rowId]), gridData.value.params.parentRowId && (uploadData.value[gridData.value.params.parentRowId] = gridData.value.params.parentRowIdValue);
9132
9132
  break;
9133
9133
  case "EXPORT":
9134
- exportData();
9134
+ await exportData();
9135
9135
  break;
9136
9136
  case "SUBMIT":
9137
9137
  gridData.value.type === "EDIT_GRID" ? $vxeConfirm($T("确定批量保存?"), void 0, { zIndex: 3e3 }).then((ne) => {
@@ -9355,10 +9355,15 @@ const windowGrid_vue_vue_type_style_index_0_scoped_2fe02273_lang = "", _withScop
9355
9355
  },
9356
9356
  gridData.value.params.queryForm
9357
9357
  );
9358
- gridData.value.params.parentRowId && (Q[gridData.value.params.parentRowId] = gridData.value.params.parentRowIdValue), H && (Q._file_name = H), await axios.export(
9359
- "/window/export?data=" + base64Encode(JSON.stringify(Q)),
9360
- {}
9361
- ), exportButton.value.loading = !1;
9358
+ gridData.value.params.parentRowId && (Q[gridData.value.params.parentRowId] = gridData.value.params.parentRowIdValue), H && (Q._file_name = H);
9359
+ try {
9360
+ await axios.export(
9361
+ "/window/export?data=" + base64Encode(JSON.stringify(Q)),
9362
+ {}
9363
+ );
9364
+ } catch (Z) {
9365
+ console.error(Z);
9366
+ }
9362
9367
  } else
9363
9368
  $message.error($T("您没有导出数据权限!"));
9364
9369
  }, search = (H) => {
@@ -10543,7 +10548,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_2fe02273_lang = "", _withScop
10543
10548
  ]);
10544
10549
  };
10545
10550
  }
10546
- }, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-2fe02273"]]);
10551
+ }, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-e916250e"]]);
10547
10552
  WindowGrid.name = "slw-window-grid";
10548
10553
  WindowGrid.install = (H) => {
10549
10554
  H.component(WindowGrid.name, WindowGrid);
@@ -62709,7 +62714,7 @@ const windowDesigner_vue_vue_type_style_index_0_scoped_a3ebe962_lang = "", _with
62709
62714
  emits: ["update:type", "update:rootLayout", "update:viewData", "update:rowData"],
62710
62715
  setup(H, { emit: Q }) {
62711
62716
  const Z = H, X = defineAsyncComponent(
62712
- () => import("./index-1f2fbdd4.js")
62717
+ () => import("./index-a38a2db2.js")
62713
62718
  );
62714
62719
  let G = useVModel(Z, "type", Q), K = useVModel(Z, "rootLayout", Q), ee = useVModel(Z, "viewData", Q), te = useVModel(Z, "rowData", Q), ne = ref(0), re = ref(null);
62715
62720
  re.value = createDesigner();
@@ -147849,7 +147854,7 @@ function reConsole() {
147849
147854
  }
147850
147855
  }
147851
147856
  console.info(
147852
- `%cSLW %cVer 0.10.13%c
147857
+ `%cSLW %cVer 0.10.14%c
147853
147858
  %c指引文档:%chttp://slwdoc.js.sforcecon.com:5900/%c
147854
147859
  %c启光文档:%chttp://docs.js.sforcecon.com:5900/notepad/view/592`,
147855
147860
  "color:#409EFF;font-size: 22px;font-weight:bolder;text-shadow: 2px 2px 4px #84c1ff;",
package/lib/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { i as m } from "./index-8a515263.js";
1
+ import { i as m } from "./index-d7ca5eff.js";
2
2
  import "vue";
3
3
  import "vue-router";
4
4
  export {