tx-sider 2.1.35 → 2.1.37
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 +11 -12
- package/lib/TXUI.umd.js +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
package/lib/TXUI.mjs
CHANGED
|
@@ -27675,6 +27675,7 @@ const _sfc_main = {
|
|
|
27675
27675
|
var _a, _b;
|
|
27676
27676
|
console.log(props);
|
|
27677
27677
|
selectedSystems.value = isSystems.value;
|
|
27678
|
+
await getPermissionModuleListData();
|
|
27678
27679
|
getModeuleInfoDataHandle = await getModeuleInfoData();
|
|
27679
27680
|
isShowAllProductionBases.value = (_a = getModeuleInfoDataHandle(
|
|
27680
27681
|
window.location.hostname.split(".")[0]
|
|
@@ -27696,10 +27697,7 @@ const _sfc_main = {
|
|
|
27696
27697
|
data3.dgVisible = true;
|
|
27697
27698
|
}
|
|
27698
27699
|
}
|
|
27699
|
-
console.log("first", isSystems.value);
|
|
27700
27700
|
if (isSystems.value) {
|
|
27701
|
-
console.log("登录页面", isSystems.value);
|
|
27702
|
-
await getPermissionModuleListData();
|
|
27703
27701
|
moduleTestS.value = ((_b = permissionModuleList.value.find(
|
|
27704
27702
|
(_x) => _x.permissionModuleName === selectedSystems.value
|
|
27705
27703
|
)) == null ? void 0 : _b.childGroups) ?? [];
|
|
@@ -28292,7 +28290,7 @@ const _sfc_main = {
|
|
|
28292
28290
|
};
|
|
28293
28291
|
}
|
|
28294
28292
|
};
|
|
28295
|
-
const _withScopeId = (n2) => (pushScopeId("data-v-
|
|
28293
|
+
const _withScopeId = (n2) => (pushScopeId("data-v-c1e1a0f6"), n2 = n2(), popScopeId(), n2);
|
|
28296
28294
|
const _hoisted_1 = {
|
|
28297
28295
|
class: "bg-white defaultTS funcTC relative",
|
|
28298
28296
|
style: { "padding-bottom": "10px", "margin-bottom": "10px" }
|
|
@@ -28664,7 +28662,7 @@ const _hoisted_86 = {
|
|
|
28664
28662
|
class: "yuan mr-[10px]"
|
|
28665
28663
|
};
|
|
28666
28664
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
28667
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s;
|
|
28665
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t;
|
|
28668
28666
|
const _component_a_upload = __unplugin_components_0;
|
|
28669
28667
|
const _component_a_badge = Badge;
|
|
28670
28668
|
const _component_EconomicsSider = resolveComponent("EconomicsSider");
|
|
@@ -28761,17 +28759,18 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
28761
28759
|
key: 0,
|
|
28762
28760
|
class: "ml-[10px] cursor-pointer switchedSystems mediumTS funcTC",
|
|
28763
28761
|
onClick: _cache[5] || (_cache[5] = (...args) => $setup.changeSetofbooks && $setup.changeSetofbooks(...args))
|
|
28764
|
-
}, "切换" + toDisplayString($props.setofbooksName), 1)) : createCommentVNode("", true)
|
|
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)
|
|
28765
28764
|
])) : createCommentVNode("", true),
|
|
28766
|
-
((
|
|
28765
|
+
((_l = (_k = $setup.modeuleInfos) == null ? void 0 : _k.productionBases) == null ? void 0 : _l.includes($setup.modeuleTypeValue)) && $setup.baseTest && ($setup.baseTest.length > 0 || $setup.isShowAllProductionBases) ? (openBlock(), createElementBlock("div", _hoisted_20, [
|
|
28767
28766
|
createElementVNode("div", null, [
|
|
28768
28767
|
_hoisted_21,
|
|
28769
28768
|
createElementVNode("span", _hoisted_22, [
|
|
28770
28769
|
_hoisted_23,
|
|
28771
28770
|
$setup.isShowAllProductionBases ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
28772
|
-
createTextVNode(toDisplayString($setup.baseId === $setup.allBaseId ? "全基地" : (
|
|
28771
|
+
createTextVNode(toDisplayString($setup.baseId === $setup.allBaseId ? "全基地" : (_n = (_m = $setup.baseTest) == null ? void 0 : _m.find((item) => item.id == $setup.baseId)) == null ? void 0 : _n.shortName), 1)
|
|
28773
28772
|
], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
28774
|
-
createTextVNode(toDisplayString((
|
|
28773
|
+
createTextVNode(toDisplayString((_p = (_o = $setup.baseTest) == null ? void 0 : _o.find((item) => item.id == $setup.baseId)) == null ? void 0 : _p.shortName), 1)
|
|
28775
28774
|
], 64))
|
|
28776
28775
|
])
|
|
28777
28776
|
]),
|
|
@@ -28781,10 +28780,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
28781
28780
|
onClick: _cache[6] || (_cache[6] = (...args) => $setup.openBaseModal && $setup.openBaseModal(...args))
|
|
28782
28781
|
}, "切换基地")) : createCommentVNode("", true)
|
|
28783
28782
|
])) : createCommentVNode("", true),
|
|
28784
|
-
((
|
|
28783
|
+
((_r = (_q = $setup.modeuleInfos) == null ? void 0 : _q.projects) == null ? void 0 : _r.includes($setup.modeuleTypeValue)) && $setup.gjTest && $setup.gjTest.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_24, [
|
|
28785
28784
|
createElementVNode("div", null, [
|
|
28786
28785
|
_hoisted_25,
|
|
28787
|
-
createElementVNode("span", _hoisted_26, " 当前项目: " + toDisplayString((
|
|
28786
|
+
createElementVNode("span", _hoisted_26, " 当前项目: " + toDisplayString((_t = (_s = $setup.gjTest) == null ? void 0 : _s.find((item) => item.id == $setup.gjId)) == null ? void 0 : _t.shortName), 1)
|
|
28788
28787
|
]),
|
|
28789
28788
|
$setup.gjTest.length > 1 ? (openBlock(), createElementBlock("span", {
|
|
28790
28789
|
key: 0,
|
|
@@ -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-c1e1a0f6"]]);
|
|
29249
29248
|
const components = [TSider];
|
|
29250
29249
|
installComponents();
|
|
29251
29250
|
function installComponents() {
|