tx-sider 2.0.8 → 2.1.0
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 +13 -11
- package/lib/TXUI.umd.js +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
package/lib/TXUI.mjs
CHANGED
|
@@ -27647,9 +27647,9 @@ const _sfc_main = {
|
|
|
27647
27647
|
useRouter();
|
|
27648
27648
|
useRoute();
|
|
27649
27649
|
const changePWDref = ref();
|
|
27650
|
-
const moduleTestS = ref();
|
|
27650
|
+
const moduleTestS = ref([]);
|
|
27651
27651
|
const isSystems = ref(props.isSystems);
|
|
27652
|
-
const
|
|
27652
|
+
const modeuleTypeValue = computed(() => props.modeuleType);
|
|
27653
27653
|
const selectedSystems = ref();
|
|
27654
27654
|
const gjTest = ref();
|
|
27655
27655
|
const gjId = ref();
|
|
@@ -27776,7 +27776,7 @@ const _sfc_main = {
|
|
|
27776
27776
|
shortName: item.shortName
|
|
27777
27777
|
};
|
|
27778
27778
|
});
|
|
27779
|
-
if (modeuleInfos.value.productionBases.includes(
|
|
27779
|
+
if (modeuleInfos.value.productionBases.includes(modeuleTypeValue.value)) {
|
|
27780
27780
|
const curSetofBook = await currentGet();
|
|
27781
27781
|
let baseRes = await baseOptions({ setOfBookId: curSetofBook });
|
|
27782
27782
|
if (!baseRes) {
|
|
@@ -27791,7 +27791,7 @@ const _sfc_main = {
|
|
|
27791
27791
|
};
|
|
27792
27792
|
});
|
|
27793
27793
|
}
|
|
27794
|
-
if ((_b = (_a = modeuleInfos.value) == null ? void 0 : _a.projects) == null ? void 0 : _b.includes(
|
|
27794
|
+
if ((_b = (_a = modeuleInfos.value) == null ? void 0 : _a.projects) == null ? void 0 : _b.includes(modeuleTypeValue.value)) {
|
|
27795
27795
|
let dgRes = await getdungouList();
|
|
27796
27796
|
if (!dgRes) {
|
|
27797
27797
|
gjTest.value = [];
|
|
@@ -27925,6 +27925,7 @@ const _sfc_main = {
|
|
|
27925
27925
|
} else if (moduleTestS.value.length == 1) {
|
|
27926
27926
|
changeModule(moduleTestS.value[0]);
|
|
27927
27927
|
} else {
|
|
27928
|
+
await getPermissionModuleListData();
|
|
27928
27929
|
clickModuleVisible();
|
|
27929
27930
|
}
|
|
27930
27931
|
};
|
|
@@ -27937,7 +27938,7 @@ const _sfc_main = {
|
|
|
27937
27938
|
}
|
|
27938
27939
|
data3.moduleVisible = true;
|
|
27939
27940
|
};
|
|
27940
|
-
const setofbooksTest = ref();
|
|
27941
|
+
const setofbooksTest = ref([]);
|
|
27941
27942
|
const baseTest = ref();
|
|
27942
27943
|
ref();
|
|
27943
27944
|
const setOfBookId = ref();
|
|
@@ -28212,6 +28213,7 @@ const _sfc_main = {
|
|
|
28212
28213
|
clearInterval(setOfBookIdTimer);
|
|
28213
28214
|
});
|
|
28214
28215
|
const systemVisibleTrue = async () => {
|
|
28216
|
+
await getPermissionModuleListData();
|
|
28215
28217
|
data3.systemVisible = true;
|
|
28216
28218
|
};
|
|
28217
28219
|
const onFunOpen = () => {
|
|
@@ -28252,7 +28254,7 @@ const _sfc_main = {
|
|
|
28252
28254
|
moduleHandle,
|
|
28253
28255
|
routerPush,
|
|
28254
28256
|
menuList,
|
|
28255
|
-
|
|
28257
|
+
modeuleTypeValue,
|
|
28256
28258
|
selectedSystems,
|
|
28257
28259
|
oneModule,
|
|
28258
28260
|
openModule,
|
|
@@ -28273,7 +28275,7 @@ const _sfc_main = {
|
|
|
28273
28275
|
};
|
|
28274
28276
|
}
|
|
28275
28277
|
};
|
|
28276
|
-
const _withScopeId = (n2) => (pushScopeId("data-v-
|
|
28278
|
+
const _withScopeId = (n2) => (pushScopeId("data-v-a0f5988a"), n2 = n2(), popScopeId(), n2);
|
|
28277
28279
|
const _hoisted_1 = {
|
|
28278
28280
|
class: "bg-white defaultTS funcTC relative",
|
|
28279
28281
|
style: { "padding-bottom": "10px", "margin-bottom": "10px" }
|
|
@@ -28729,7 +28731,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
28729
28731
|
}, _hoisted_16)
|
|
28730
28732
|
])
|
|
28731
28733
|
]),
|
|
28732
|
-
((_g = (_f = $setup.modeuleInfos) == null ? void 0 : _f.setOfBooks) == null ? void 0 : _g.includes($setup.
|
|
28734
|
+
((_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, [
|
|
28733
28735
|
createElementVNode("div", null, [
|
|
28734
28736
|
_hoisted_18,
|
|
28735
28737
|
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)
|
|
@@ -28740,7 +28742,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
28740
28742
|
onClick: _cache[5] || (_cache[5] = (...args) => $setup.changeSetofbooks && $setup.changeSetofbooks(...args))
|
|
28741
28743
|
}, "切换" + toDisplayString($props.setofbooksName), 1)) : createCommentVNode("", true)
|
|
28742
28744
|
])) : createCommentVNode("", true),
|
|
28743
|
-
((_k = (_j = $setup.modeuleInfos) == null ? void 0 : _j.productionBases) == null ? void 0 : _k.includes($setup.
|
|
28745
|
+
((_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, [
|
|
28744
28746
|
createElementVNode("div", null, [
|
|
28745
28747
|
_hoisted_21,
|
|
28746
28748
|
createElementVNode("span", _hoisted_22, [
|
|
@@ -28758,7 +28760,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
28758
28760
|
onClick: _cache[6] || (_cache[6] = (...args) => $setup.openBaseModal && $setup.openBaseModal(...args))
|
|
28759
28761
|
}, "切换基地")) : createCommentVNode("", true)
|
|
28760
28762
|
])) : createCommentVNode("", true),
|
|
28761
|
-
((_q = (_p = $setup.modeuleInfos) == null ? void 0 : _p.projects) == null ? void 0 : _q.includes($setup.
|
|
28763
|
+
((_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, [
|
|
28762
28764
|
createElementVNode("div", null, [
|
|
28763
28765
|
_hoisted_25,
|
|
28764
28766
|
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)
|
|
@@ -29222,7 +29224,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
29222
29224
|
}, 8, ["show"])
|
|
29223
29225
|
], 64);
|
|
29224
29226
|
}
|
|
29225
|
-
const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
29227
|
+
const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-a0f5988a"]]);
|
|
29226
29228
|
const components = [TSider];
|
|
29227
29229
|
installComponents();
|
|
29228
29230
|
function installComponents() {
|