tx-sider 2.0.7 → 2.0.9

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
@@ -27647,10 +27647,9 @@ const _sfc_main = {
27647
27647
  useRouter();
27648
27648
  useRoute();
27649
27649
  const changePWDref = ref();
27650
- debugger;
27651
- const moduleTestS = ref();
27650
+ const moduleTestS = ref([]);
27652
27651
  const isSystems = ref(props.isSystems);
27653
- const modeuleType = computed(() => props.modeuleType);
27652
+ const modeuleTypeValue = computed(() => props.modeuleType);
27654
27653
  const selectedSystems = ref();
27655
27654
  const gjTest = ref();
27656
27655
  const gjId = ref();
@@ -27777,7 +27776,7 @@ const _sfc_main = {
27777
27776
  shortName: item.shortName
27778
27777
  };
27779
27778
  });
27780
- if (modeuleInfos.value.productionBases.includes(modeuleType.value)) {
27779
+ if (modeuleInfos.value.productionBases.includes(modeuleTypeValue.value)) {
27781
27780
  const curSetofBook = await currentGet();
27782
27781
  let baseRes = await baseOptions({ setOfBookId: curSetofBook });
27783
27782
  if (!baseRes) {
@@ -27792,7 +27791,7 @@ const _sfc_main = {
27792
27791
  };
27793
27792
  });
27794
27793
  }
27795
- if ((_b = (_a = modeuleInfos.value) == null ? void 0 : _a.projects) == null ? void 0 : _b.includes(modeuleType.value)) {
27794
+ if ((_b = (_a = modeuleInfos.value) == null ? void 0 : _a.projects) == null ? void 0 : _b.includes(modeuleTypeValue.value)) {
27796
27795
  let dgRes = await getdungouList();
27797
27796
  if (!dgRes) {
27798
27797
  gjTest.value = [];
@@ -27938,7 +27937,7 @@ const _sfc_main = {
27938
27937
  }
27939
27938
  data3.moduleVisible = true;
27940
27939
  };
27941
- const setofbooksTest = ref();
27940
+ const setofbooksTest = ref([]);
27942
27941
  const baseTest = ref();
27943
27942
  ref();
27944
27943
  const setOfBookId = ref();
@@ -28253,7 +28252,7 @@ const _sfc_main = {
28253
28252
  moduleHandle,
28254
28253
  routerPush,
28255
28254
  menuList,
28256
- modeuleType,
28255
+ modeuleTypeValue,
28257
28256
  selectedSystems,
28258
28257
  oneModule,
28259
28258
  openModule,
@@ -28274,7 +28273,7 @@ const _sfc_main = {
28274
28273
  };
28275
28274
  }
28276
28275
  };
28277
- const _withScopeId = (n2) => (pushScopeId("data-v-396b599a"), n2 = n2(), popScopeId(), n2);
28276
+ const _withScopeId = (n2) => (pushScopeId("data-v-2357cdc7"), n2 = n2(), popScopeId(), n2);
28278
28277
  const _hoisted_1 = {
28279
28278
  class: "bg-white defaultTS funcTC relative",
28280
28279
  style: { "padding-bottom": "10px", "margin-bottom": "10px" }
@@ -28730,7 +28729,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
28730
28729
  }, _hoisted_16)
28731
28730
  ])
28732
28731
  ]),
28733
- ((_g = (_f = $setup.modeuleInfos) == null ? void 0 : _f.setOfBooks) == null ? void 0 : _g.includes($setup.modeuleType)) && $setup.setofbooksTest && $setup.setofbooksTest.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_17, [
28732
+ ((_g = (_f = $setup.modeuleInfos) == null ? void 0 : _f.setOfBooks) == null ? void 0 : _g.includes($setup.modeuleTypeValue)) && $setup.setofbooksTest && $setup.setofbooksTest.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_17, [
28734
28733
  createElementVNode("div", null, [
28735
28734
  _hoisted_18,
28736
28735
  createElementVNode("span", _hoisted_19, "当前" + toDisplayString($props.setofbooksName) + ": " + toDisplayString((_i = (_h = $setup.setofbooksTest) == null ? void 0 : _h.find((item) => item.id == $setup.setOfBookId)) == null ? void 0 : _i.shortName), 1)
@@ -28741,7 +28740,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
28741
28740
  onClick: _cache[5] || (_cache[5] = (...args) => $setup.changeSetofbooks && $setup.changeSetofbooks(...args))
28742
28741
  }, "切换" + toDisplayString($props.setofbooksName), 1)) : createCommentVNode("", true)
28743
28742
  ])) : createCommentVNode("", true),
28744
- ((_k = (_j = $setup.modeuleInfos) == null ? void 0 : _j.productionBases) == null ? void 0 : _k.includes($setup.modeuleType)) && $setup.baseTest && ($setup.baseTest.length > 0 || $setup.isShowAllProductionBases) ? (openBlock(), createElementBlock("div", _hoisted_20, [
28743
+ ((_k = (_j = $setup.modeuleInfos) == null ? void 0 : _j.productionBases) == null ? void 0 : _k.includes($setup.modeuleTypeValue)) && $setup.baseTest && ($setup.baseTest.length > 0 || $setup.isShowAllProductionBases) ? (openBlock(), createElementBlock("div", _hoisted_20, [
28745
28744
  createElementVNode("div", null, [
28746
28745
  _hoisted_21,
28747
28746
  createElementVNode("span", _hoisted_22, [
@@ -28759,7 +28758,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
28759
28758
  onClick: _cache[6] || (_cache[6] = (...args) => $setup.openBaseModal && $setup.openBaseModal(...args))
28760
28759
  }, "切换基地")) : createCommentVNode("", true)
28761
28760
  ])) : createCommentVNode("", true),
28762
- ((_q = (_p = $setup.modeuleInfos) == null ? void 0 : _p.projects) == null ? void 0 : _q.includes($setup.modeuleType)) && $setup.gjTest && $setup.gjTest.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_24, [
28761
+ ((_q = (_p = $setup.modeuleInfos) == null ? void 0 : _p.projects) == null ? void 0 : _q.includes($setup.modeuleTypeValue)) && $setup.gjTest && $setup.gjTest.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_24, [
28763
28762
  createElementVNode("div", null, [
28764
28763
  _hoisted_25,
28765
28764
  createElementVNode("span", _hoisted_26, " 当前项目: " + toDisplayString((_s = (_r = $setup.gjTest) == null ? void 0 : _r.find((item) => item.id == $setup.gjId)) == null ? void 0 : _s.shortName), 1)
@@ -29223,7 +29222,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
29223
29222
  }, 8, ["show"])
29224
29223
  ], 64);
29225
29224
  }
29226
- const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-396b599a"]]);
29225
+ const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-2357cdc7"]]);
29227
29226
  const components = [TSider];
29228
29227
  installComponents();
29229
29228
  function installComponents() {