tx-sider 2.1.37 → 2.1.39
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 +14 -10
- package/lib/TXUI.umd.js +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
package/lib/TXUI.mjs
CHANGED
|
@@ -27661,6 +27661,10 @@ const _sfc_main = {
|
|
|
27661
27661
|
const getPermissionModuleListData = async () => {
|
|
27662
27662
|
const res = await getPermissionModuleList();
|
|
27663
27663
|
permissionModuleList.value = updateIconModuleList(res);
|
|
27664
|
+
localStorage.setItem(
|
|
27665
|
+
"permissionModuleList",
|
|
27666
|
+
JSON.stringify(permissionModuleList.value)
|
|
27667
|
+
);
|
|
27664
27668
|
};
|
|
27665
27669
|
function updateIconModuleList(treeList) {
|
|
27666
27670
|
for (let item of treeList) {
|
|
@@ -27884,6 +27888,7 @@ const _sfc_main = {
|
|
|
27884
27888
|
};
|
|
27885
27889
|
const oneModule = async (systemed) => {
|
|
27886
27890
|
var _a;
|
|
27891
|
+
console.log("oneModule🚀🚀🚀🚀🚀");
|
|
27887
27892
|
await getPermissionModuleListData();
|
|
27888
27893
|
moduleTestS.value = ((_a = permissionModuleList.value.find(
|
|
27889
27894
|
(_x) => _x.permissionModuleName === selectedSystems.value ? selectedSystems.value : systemed
|
|
@@ -28290,7 +28295,7 @@ const _sfc_main = {
|
|
|
28290
28295
|
};
|
|
28291
28296
|
}
|
|
28292
28297
|
};
|
|
28293
|
-
const _withScopeId = (n2) => (pushScopeId("data-v-
|
|
28298
|
+
const _withScopeId = (n2) => (pushScopeId("data-v-936e261e"), n2 = n2(), popScopeId(), n2);
|
|
28294
28299
|
const _hoisted_1 = {
|
|
28295
28300
|
class: "bg-white defaultTS funcTC relative",
|
|
28296
28301
|
style: { "padding-bottom": "10px", "margin-bottom": "10px" }
|
|
@@ -28662,7 +28667,7 @@ const _hoisted_86 = {
|
|
|
28662
28667
|
class: "yuan mr-[10px]"
|
|
28663
28668
|
};
|
|
28664
28669
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
28665
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s
|
|
28670
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s;
|
|
28666
28671
|
const _component_a_upload = __unplugin_components_0;
|
|
28667
28672
|
const _component_a_badge = Badge;
|
|
28668
28673
|
const _component_EconomicsSider = resolveComponent("EconomicsSider");
|
|
@@ -28759,18 +28764,17 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
28759
28764
|
key: 0,
|
|
28760
28765
|
class: "ml-[10px] cursor-pointer switchedSystems mediumTS funcTC",
|
|
28761
28766
|
onClick: _cache[5] || (_cache[5] = (...args) => $setup.changeSetofbooks && $setup.changeSetofbooks(...args))
|
|
28762
|
-
}, "切换" + toDisplayString($props.setofbooksName), 1)) : createCommentVNode("", true)
|
|
28763
|
-
createTextVNode(" " + toDisplayString($setup.modeuleTypeValue) + " " + toDisplayString((_j = $setup.modeuleInfos) == null ? void 0 : _j.productionBases) + " " + toDisplayString($setup.baseTest) + " " + toDisplayString($setup.isShowAllProductionBases), 1)
|
|
28767
|
+
}, "切换" + toDisplayString($props.setofbooksName), 1)) : createCommentVNode("", true)
|
|
28764
28768
|
])) : createCommentVNode("", true),
|
|
28765
|
-
((
|
|
28769
|
+
((_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, [
|
|
28766
28770
|
createElementVNode("div", null, [
|
|
28767
28771
|
_hoisted_21,
|
|
28768
28772
|
createElementVNode("span", _hoisted_22, [
|
|
28769
28773
|
_hoisted_23,
|
|
28770
28774
|
$setup.isShowAllProductionBases ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
28771
|
-
createTextVNode(toDisplayString($setup.baseId === $setup.allBaseId ? "全基地" : (
|
|
28775
|
+
createTextVNode(toDisplayString($setup.baseId === $setup.allBaseId ? "全基地" : (_m = (_l = $setup.baseTest) == null ? void 0 : _l.find((item) => item.id == $setup.baseId)) == null ? void 0 : _m.shortName), 1)
|
|
28772
28776
|
], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
28773
|
-
createTextVNode(toDisplayString((
|
|
28777
|
+
createTextVNode(toDisplayString((_o = (_n = $setup.baseTest) == null ? void 0 : _n.find((item) => item.id == $setup.baseId)) == null ? void 0 : _o.shortName), 1)
|
|
28774
28778
|
], 64))
|
|
28775
28779
|
])
|
|
28776
28780
|
]),
|
|
@@ -28780,10 +28784,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
28780
28784
|
onClick: _cache[6] || (_cache[6] = (...args) => $setup.openBaseModal && $setup.openBaseModal(...args))
|
|
28781
28785
|
}, "切换基地")) : createCommentVNode("", true)
|
|
28782
28786
|
])) : createCommentVNode("", true),
|
|
28783
|
-
((
|
|
28787
|
+
((_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, [
|
|
28784
28788
|
createElementVNode("div", null, [
|
|
28785
28789
|
_hoisted_25,
|
|
28786
|
-
createElementVNode("span", _hoisted_26, " 当前项目: " + toDisplayString((
|
|
28790
|
+
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)
|
|
28787
28791
|
]),
|
|
28788
28792
|
$setup.gjTest.length > 1 ? (openBlock(), createElementBlock("span", {
|
|
28789
28793
|
key: 0,
|
|
@@ -29244,7 +29248,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
29244
29248
|
}, 8, ["show"])
|
|
29245
29249
|
], 64);
|
|
29246
29250
|
}
|
|
29247
|
-
const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
29251
|
+
const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-936e261e"]]);
|
|
29248
29252
|
const components = [TSider];
|
|
29249
29253
|
installComponents();
|
|
29250
29254
|
function installComponents() {
|