tx-sider 2.1.41 → 2.1.43
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 +15 -16
- package/lib/TXUI.umd.js +1 -1
- package/lib/style.css +1 -1
- package/package.json +2 -2
package/lib/TXUI.mjs
CHANGED
|
@@ -27673,14 +27673,21 @@ const _sfc_main = {
|
|
|
27673
27673
|
return treeList;
|
|
27674
27674
|
}
|
|
27675
27675
|
onBeforeMount(async () => {
|
|
27676
|
-
var _a, _b;
|
|
27677
27676
|
console.log(props);
|
|
27678
|
-
|
|
27679
|
-
|
|
27677
|
+
});
|
|
27678
|
+
const sysShow = ref(true);
|
|
27679
|
+
const ModuleShow = ref(true);
|
|
27680
|
+
ref();
|
|
27681
|
+
const menuList = ref();
|
|
27682
|
+
const goUrl = ref();
|
|
27683
|
+
onMounted(async () => {
|
|
27684
|
+
var _a, _b, _c, _d, _e, _f;
|
|
27680
27685
|
getModeuleInfoDataHandle = await getModeuleInfoData();
|
|
27681
27686
|
isShowAllProductionBases.value = (_a = getModeuleInfoDataHandle(
|
|
27682
27687
|
window.location.hostname.split(".")[0]
|
|
27683
27688
|
)) == null ? void 0 : _a.isAllProductionBases;
|
|
27689
|
+
selectedSystems.value = isSystems.value;
|
|
27690
|
+
await getPermissionModuleListData();
|
|
27684
27691
|
data3.userInfo = JSON.parse(localStorage.getItem("userInfos") || "{}");
|
|
27685
27692
|
data3.contentHeight = document.documentElement.clientHeight;
|
|
27686
27693
|
data3.contentWidth = document.documentElement.clientWidth;
|
|
@@ -27703,14 +27710,6 @@ const _sfc_main = {
|
|
|
27703
27710
|
(_x) => _x.permissionModuleName === selectedSystems.value
|
|
27704
27711
|
)) == null ? void 0 : _b.childGroups) ?? [];
|
|
27705
27712
|
}
|
|
27706
|
-
});
|
|
27707
|
-
const sysShow = ref(true);
|
|
27708
|
-
const ModuleShow = ref(true);
|
|
27709
|
-
ref();
|
|
27710
|
-
const menuList = ref();
|
|
27711
|
-
const goUrl = ref();
|
|
27712
|
-
onMounted(async () => {
|
|
27713
|
-
var _a, _b, _c, _d;
|
|
27714
27713
|
if (permissionModuleList.value.length == 1) {
|
|
27715
27714
|
sysShow.value = false;
|
|
27716
27715
|
}
|
|
@@ -27737,7 +27736,7 @@ const _sfc_main = {
|
|
|
27737
27736
|
shortName: item.shortName
|
|
27738
27737
|
};
|
|
27739
27738
|
});
|
|
27740
|
-
if ((
|
|
27739
|
+
if ((_d = (_c = modeuleInfos.value) == null ? void 0 : _c.productionBases) == null ? void 0 : _d.includes(modeuleTypeValue.value)) {
|
|
27741
27740
|
const curSetofBook = await currentGet();
|
|
27742
27741
|
let baseRes = await baseOptions({ setOfBookId: curSetofBook });
|
|
27743
27742
|
if (!baseRes) {
|
|
@@ -27752,7 +27751,7 @@ const _sfc_main = {
|
|
|
27752
27751
|
};
|
|
27753
27752
|
});
|
|
27754
27753
|
}
|
|
27755
|
-
if ((
|
|
27754
|
+
if ((_f = (_e = modeuleInfos.value) == null ? void 0 : _e.projects) == null ? void 0 : _f.includes(modeuleTypeValue.value)) {
|
|
27756
27755
|
let dgRes = await getdungouList();
|
|
27757
27756
|
if (!dgRes) {
|
|
27758
27757
|
gjTest.value = [];
|
|
@@ -27926,7 +27925,7 @@ const _sfc_main = {
|
|
|
27926
27925
|
}
|
|
27927
27926
|
};
|
|
27928
27927
|
const setofbooksTest = ref([]);
|
|
27929
|
-
const baseTest = ref();
|
|
27928
|
+
const baseTest = ref([]);
|
|
27930
27929
|
ref();
|
|
27931
27930
|
const setOfBookId = ref();
|
|
27932
27931
|
const baseId = ref();
|
|
@@ -28292,7 +28291,7 @@ const _sfc_main = {
|
|
|
28292
28291
|
};
|
|
28293
28292
|
}
|
|
28294
28293
|
};
|
|
28295
|
-
const _withScopeId = (n2) => (pushScopeId("data-v-
|
|
28294
|
+
const _withScopeId = (n2) => (pushScopeId("data-v-36431e75"), n2 = n2(), popScopeId(), n2);
|
|
28296
28295
|
const _hoisted_1 = {
|
|
28297
28296
|
class: "bg-white defaultTS funcTC relative",
|
|
28298
28297
|
style: { "padding-bottom": "10px", "margin-bottom": "10px" }
|
|
@@ -29245,7 +29244,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
29245
29244
|
}, 8, ["show"])
|
|
29246
29245
|
], 64);
|
|
29247
29246
|
}
|
|
29248
|
-
const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
29247
|
+
const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-36431e75"]]);
|
|
29249
29248
|
const components = [TSider];
|
|
29250
29249
|
installComponents();
|
|
29251
29250
|
function installComponents() {
|