tx-sider 2.0.8 → 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 +11 -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 = [];
|
|
@@ -27937,7 +27937,7 @@ const _sfc_main = {
|
|
|
27937
27937
|
}
|
|
27938
27938
|
data3.moduleVisible = true;
|
|
27939
27939
|
};
|
|
27940
|
-
const setofbooksTest = ref();
|
|
27940
|
+
const setofbooksTest = ref([]);
|
|
27941
27941
|
const baseTest = ref();
|
|
27942
27942
|
ref();
|
|
27943
27943
|
const setOfBookId = ref();
|
|
@@ -28252,7 +28252,7 @@ const _sfc_main = {
|
|
|
28252
28252
|
moduleHandle,
|
|
28253
28253
|
routerPush,
|
|
28254
28254
|
menuList,
|
|
28255
|
-
|
|
28255
|
+
modeuleTypeValue,
|
|
28256
28256
|
selectedSystems,
|
|
28257
28257
|
oneModule,
|
|
28258
28258
|
openModule,
|
|
@@ -28273,7 +28273,7 @@ const _sfc_main = {
|
|
|
28273
28273
|
};
|
|
28274
28274
|
}
|
|
28275
28275
|
};
|
|
28276
|
-
const _withScopeId = (n2) => (pushScopeId("data-v-
|
|
28276
|
+
const _withScopeId = (n2) => (pushScopeId("data-v-2357cdc7"), n2 = n2(), popScopeId(), n2);
|
|
28277
28277
|
const _hoisted_1 = {
|
|
28278
28278
|
class: "bg-white defaultTS funcTC relative",
|
|
28279
28279
|
style: { "padding-bottom": "10px", "margin-bottom": "10px" }
|
|
@@ -28729,7 +28729,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
28729
28729
|
}, _hoisted_16)
|
|
28730
28730
|
])
|
|
28731
28731
|
]),
|
|
28732
|
-
((_g = (_f = $setup.modeuleInfos) == null ? void 0 : _f.setOfBooks) == null ? void 0 : _g.includes($setup.
|
|
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, [
|
|
28733
28733
|
createElementVNode("div", null, [
|
|
28734
28734
|
_hoisted_18,
|
|
28735
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)
|
|
@@ -28740,7 +28740,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
28740
28740
|
onClick: _cache[5] || (_cache[5] = (...args) => $setup.changeSetofbooks && $setup.changeSetofbooks(...args))
|
|
28741
28741
|
}, "切换" + toDisplayString($props.setofbooksName), 1)) : createCommentVNode("", true)
|
|
28742
28742
|
])) : createCommentVNode("", true),
|
|
28743
|
-
((_k = (_j = $setup.modeuleInfos) == null ? void 0 : _j.productionBases) == null ? void 0 : _k.includes($setup.
|
|
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, [
|
|
28744
28744
|
createElementVNode("div", null, [
|
|
28745
28745
|
_hoisted_21,
|
|
28746
28746
|
createElementVNode("span", _hoisted_22, [
|
|
@@ -28758,7 +28758,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
28758
28758
|
onClick: _cache[6] || (_cache[6] = (...args) => $setup.openBaseModal && $setup.openBaseModal(...args))
|
|
28759
28759
|
}, "切换基地")) : createCommentVNode("", true)
|
|
28760
28760
|
])) : createCommentVNode("", true),
|
|
28761
|
-
((_q = (_p = $setup.modeuleInfos) == null ? void 0 : _p.projects) == null ? void 0 : _q.includes($setup.
|
|
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, [
|
|
28762
28762
|
createElementVNode("div", null, [
|
|
28763
28763
|
_hoisted_25,
|
|
28764
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)
|
|
@@ -29222,7 +29222,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
29222
29222
|
}, 8, ["show"])
|
|
29223
29223
|
], 64);
|
|
29224
29224
|
}
|
|
29225
|
-
const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
29225
|
+
const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-2357cdc7"]]);
|
|
29226
29226
|
const components = [TSider];
|
|
29227
29227
|
installComponents();
|
|
29228
29228
|
function installComponents() {
|