tx-sider 2.1.39 → 2.1.42

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/lib/TXUI.mjs CHANGED
@@ -24462,6 +24462,7 @@ const _sfc_main$1 = {
24462
24462
  const getMenuList = async () => {
24463
24463
  const { items } = await getPermissionSetOfBookMenuList(props.module);
24464
24464
  menuList.value = items;
24465
+ localStorage.setItem("userPermissionModuleList", JSON.stringify(items));
24465
24466
  };
24466
24467
  function toProjectPages(routerPush) {
24467
24468
  debugger;
@@ -24488,7 +24489,7 @@ const _sfc_main$1 = {
24488
24489
  };
24489
24490
  }
24490
24491
  };
24491
- const _withScopeId$1 = (n2) => (pushScopeId("data-v-5ac8f5f2"), n2 = n2(), popScopeId(), n2);
24492
+ const _withScopeId$1 = (n2) => (pushScopeId("data-v-78225a1a"), n2 = n2(), popScopeId(), n2);
24492
24493
  const _hoisted_1$1 = {
24493
24494
  key: 0,
24494
24495
  class: "w-[80px] flex flex-col justify-center focusTC bb-f5f5f5 br-f5f5f5",
@@ -24609,7 +24610,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
24609
24610
  }, 8, ["activeKey"])
24610
24611
  ]);
24611
24612
  }
24612
- const EconomicsSider = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-5ac8f5f2"]]);
24613
+ const EconomicsSider = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-78225a1a"]]);
24613
24614
  window.location.hostname.split(".");
24614
24615
  function encryptionStr(data3) {
24615
24616
  if (data3 === null || data3 === void 0) {
@@ -27661,10 +27662,6 @@ const _sfc_main = {
27661
27662
  const getPermissionModuleListData = async () => {
27662
27663
  const res = await getPermissionModuleList();
27663
27664
  permissionModuleList.value = updateIconModuleList(res);
27664
- localStorage.setItem(
27665
- "permissionModuleList",
27666
- JSON.stringify(permissionModuleList.value)
27667
- );
27668
27665
  };
27669
27666
  function updateIconModuleList(treeList) {
27670
27667
  for (let item of treeList) {
@@ -27678,12 +27675,12 @@ const _sfc_main = {
27678
27675
  onBeforeMount(async () => {
27679
27676
  var _a, _b;
27680
27677
  console.log(props);
27681
- selectedSystems.value = isSystems.value;
27682
- await getPermissionModuleListData();
27683
27678
  getModeuleInfoDataHandle = await getModeuleInfoData();
27684
27679
  isShowAllProductionBases.value = (_a = getModeuleInfoDataHandle(
27685
27680
  window.location.hostname.split(".")[0]
27686
27681
  )) == null ? void 0 : _a.isAllProductionBases;
27682
+ selectedSystems.value = isSystems.value;
27683
+ await getPermissionModuleListData();
27687
27684
  data3.userInfo = JSON.parse(localStorage.getItem("userInfos") || "{}");
27688
27685
  data3.contentHeight = document.documentElement.clientHeight;
27689
27686
  data3.contentWidth = document.documentElement.clientWidth;
@@ -27929,7 +27926,7 @@ const _sfc_main = {
27929
27926
  }
27930
27927
  };
27931
27928
  const setofbooksTest = ref([]);
27932
- const baseTest = ref();
27929
+ const baseTest = ref([]);
27933
27930
  ref();
27934
27931
  const setOfBookId = ref();
27935
27932
  const baseId = ref();
@@ -28295,7 +28292,7 @@ const _sfc_main = {
28295
28292
  };
28296
28293
  }
28297
28294
  };
28298
- const _withScopeId = (n2) => (pushScopeId("data-v-936e261e"), n2 = n2(), popScopeId(), n2);
28295
+ const _withScopeId = (n2) => (pushScopeId("data-v-1ecf11d9"), n2 = n2(), popScopeId(), n2);
28299
28296
  const _hoisted_1 = {
28300
28297
  class: "bg-white defaultTS funcTC relative",
28301
28298
  style: { "padding-bottom": "10px", "margin-bottom": "10px" }
@@ -29248,7 +29245,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
29248
29245
  }, 8, ["show"])
29249
29246
  ], 64);
29250
29247
  }
29251
- const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-936e261e"]]);
29248
+ const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-1ecf11d9"]]);
29252
29249
  const components = [TSider];
29253
29250
  installComponents();
29254
29251
  function installComponents() {