tx-sider 2.1.65 → 2.1.66
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 +26 -26
- package/lib/TXUI.umd.js +2 -2
- package/lib/style.css +1 -1
- package/package.json +1 -1
package/lib/TXUI.mjs
CHANGED
|
@@ -30086,7 +30086,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
30086
30086
|
setup(__props, { emit }) {
|
|
30087
30087
|
function cancel() {
|
|
30088
30088
|
console.log("11111111111111111111111111");
|
|
30089
|
-
emit("
|
|
30089
|
+
emit("update:show", false);
|
|
30090
30090
|
}
|
|
30091
30091
|
return (_ctx, _cache) => {
|
|
30092
30092
|
const _component_close_circle_outlined = resolveComponent("close-circle-outlined");
|
|
@@ -37524,7 +37524,7 @@ const getMaxVersion = (moduleType) => {
|
|
|
37524
37524
|
});
|
|
37525
37525
|
};
|
|
37526
37526
|
const VersionUpdateModal_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
37527
|
-
const _withScopeId$3 = (n2) => (pushScopeId("data-v-
|
|
37527
|
+
const _withScopeId$3 = (n2) => (pushScopeId("data-v-268d99dc"), n2 = n2(), popScopeId(), n2);
|
|
37528
37528
|
const _hoisted_1$4 = { class: "flex items-center h-[60px] pl-[40px] themeBGC" };
|
|
37529
37529
|
const _hoisted_2$4 = { class: "relative w-[30px] h-[30px]" };
|
|
37530
37530
|
const _hoisted_3$4 = {
|
|
@@ -37763,7 +37763,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
37763
37763
|
};
|
|
37764
37764
|
}
|
|
37765
37765
|
});
|
|
37766
|
-
const __unplugin_components_7 = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-
|
|
37766
|
+
const __unplugin_components_7 = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-268d99dc"]]);
|
|
37767
37767
|
const index$7 = "";
|
|
37768
37768
|
const CPagination_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
37769
37769
|
const _hoisted_1$3 = { class: "Pagination" };
|
|
@@ -37914,7 +37914,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
37914
37914
|
const __unplugin_components_4 = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-9beb5acc"]]);
|
|
37915
37915
|
const index$6 = "";
|
|
37916
37916
|
const ModuleVersionModal_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
37917
|
-
const _withScopeId$2 = (n2) => (pushScopeId("data-v-
|
|
37917
|
+
const _withScopeId$2 = (n2) => (pushScopeId("data-v-5cc123ea"), n2 = n2(), popScopeId(), n2);
|
|
37918
37918
|
const _hoisted_1$2 = { class: "flex items-center h-[60px] pl-[40px] themeBGC" };
|
|
37919
37919
|
const _hoisted_2$2 = { class: "relative w-[30px] h-[30px]" };
|
|
37920
37920
|
const _hoisted_3$2 = {
|
|
@@ -38171,7 +38171,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
38171
38171
|
};
|
|
38172
38172
|
}
|
|
38173
38173
|
});
|
|
38174
|
-
const __unplugin_components_6 = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-
|
|
38174
|
+
const __unplugin_components_6 = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-5cc123ea"]]);
|
|
38175
38175
|
const index$5 = "";
|
|
38176
38176
|
const index$4 = "";
|
|
38177
38177
|
const index$3 = "";
|
|
@@ -41620,16 +41620,18 @@ function useCcflowCall() {
|
|
|
41620
41620
|
ccflowData.newVersionList = JSON.parse(res);
|
|
41621
41621
|
});
|
|
41622
41622
|
connection.value.onreconnected(async (id) => {
|
|
41623
|
+
var _a, _b;
|
|
41623
41624
|
await connection.value.invoke("Start");
|
|
41624
41625
|
await connection.value.invoke("MenuNums");
|
|
41625
|
-
await connection.value.invoke("NewVersion", "
|
|
41626
|
+
await connection.value.invoke("NewVersion", (_a = JSON.parse(localStorage.getItem("selectModule"))) == null ? void 0 : _a.location, (_b = JSON.parse(localStorage.getItem("userInfos"))) == null ? void 0 : _b.userId);
|
|
41626
41627
|
});
|
|
41627
41628
|
if (connection.value.state !== HubConnectionState.Connected) {
|
|
41628
41629
|
connection.value.start().then(async () => {
|
|
41630
|
+
var _a, _b;
|
|
41629
41631
|
console.log("启动即时通信成功");
|
|
41630
41632
|
await connection.value.invoke("Start");
|
|
41631
41633
|
await connection.value.invoke("MenuNums");
|
|
41632
|
-
await connection.value.invoke("NewVersion", "
|
|
41634
|
+
await connection.value.invoke("NewVersion", (_a = JSON.parse(localStorage.getItem("selectModule"))) == null ? void 0 : _a.location, (_b = JSON.parse(localStorage.getItem("userInfos"))) == null ? void 0 : _b.userId);
|
|
41633
41635
|
});
|
|
41634
41636
|
}
|
|
41635
41637
|
};
|
|
@@ -41722,7 +41724,8 @@ const _sfc_main = {
|
|
|
41722
41724
|
new_password: "",
|
|
41723
41725
|
new_too_password: ""
|
|
41724
41726
|
},
|
|
41725
|
-
userInfo: {}
|
|
41727
|
+
userInfo: {},
|
|
41728
|
+
twoUrl: void 0
|
|
41726
41729
|
});
|
|
41727
41730
|
const refData = toRefs(data5);
|
|
41728
41731
|
const iconUrl = process.env.NODE_ENV == "development" ? "https://basis.nacho.cn" : "https://basis.nacho.cn";
|
|
@@ -41749,20 +41752,13 @@ const _sfc_main = {
|
|
|
41749
41752
|
);
|
|
41750
41753
|
const modeuleInfos = ref();
|
|
41751
41754
|
const getModeuleInfoData = async () => {
|
|
41752
|
-
var _a;
|
|
41753
|
-
const location2 = (_a = JSON.parse(
|
|
41754
|
-
localStorage.getItem("selectModule")
|
|
41755
|
-
)) == null ? void 0 : _a.location;
|
|
41756
|
-
if (location2) {
|
|
41757
|
-
getMaxVersionApi(location2);
|
|
41758
|
-
}
|
|
41759
41755
|
modeuleInfos.value = await getModeuleInfo();
|
|
41760
41756
|
console.log(modeuleInfos.value, "modeuleInfos.value");
|
|
41761
41757
|
return (moduleKey) => {
|
|
41762
|
-
var
|
|
41758
|
+
var _a, _b, _c, _d, _e, _f;
|
|
41763
41759
|
return {
|
|
41764
41760
|
isSetOfBooks: modeuleInfos.value.setOfBooks.includes(moduleKey),
|
|
41765
|
-
isProductionBases: (_b = (
|
|
41761
|
+
isProductionBases: (_b = (_a = modeuleInfos.value) == null ? void 0 : _a.productionBases) == null ? void 0 : _b.includes(moduleKey),
|
|
41766
41762
|
isProjects: (_d = (_c = modeuleInfos.value) == null ? void 0 : _c.projects) == null ? void 0 : _d.includes(moduleKey),
|
|
41767
41763
|
isAllProductionBases: (_f = (_e = modeuleInfos.value) == null ? void 0 : _e.allProductionBases) == null ? void 0 : _f.includes(moduleKey)
|
|
41768
41764
|
};
|
|
@@ -41794,11 +41790,15 @@ const _sfc_main = {
|
|
|
41794
41790
|
const menuList = ref();
|
|
41795
41791
|
const goUrl = ref();
|
|
41796
41792
|
onMounted(async () => {
|
|
41797
|
-
var _a, _b, _c, _d, _e, _f;
|
|
41793
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
41794
|
+
data5.twoUrl = (_a = JSON.parse(localStorage.getItem("selectModule"))) == null ? void 0 : _a.location;
|
|
41795
|
+
if (data5.twoUrl) {
|
|
41796
|
+
getMaxVersionApi(data5.twoUrl);
|
|
41797
|
+
}
|
|
41798
41798
|
getModeuleInfoDataHandle = await getModeuleInfoData();
|
|
41799
|
-
isShowAllProductionBases.value = (
|
|
41799
|
+
isShowAllProductionBases.value = (_b = getModeuleInfoDataHandle(
|
|
41800
41800
|
window.location.hostname.split(".")[0]
|
|
41801
|
-
)) == null ? void 0 :
|
|
41801
|
+
)) == null ? void 0 : _b.isAllProductionBases;
|
|
41802
41802
|
selectedSystems.value = isSystems.value;
|
|
41803
41803
|
await getPermissionModuleListData();
|
|
41804
41804
|
data5.userInfo = JSON.parse(localStorage.getItem("userInfos") || "{}");
|
|
@@ -41819,9 +41819,9 @@ const _sfc_main = {
|
|
|
41819
41819
|
}
|
|
41820
41820
|
}
|
|
41821
41821
|
if (isSystems.value) {
|
|
41822
|
-
moduleTestS.value = ((
|
|
41822
|
+
moduleTestS.value = ((_c = permissionModuleList.value.find(
|
|
41823
41823
|
(_x) => _x.permissionModuleName === selectedSystems.value
|
|
41824
|
-
)) == null ? void 0 :
|
|
41824
|
+
)) == null ? void 0 : _c.childGroups) ?? [];
|
|
41825
41825
|
}
|
|
41826
41826
|
if (permissionModuleList.value.length == 1) {
|
|
41827
41827
|
sysShow.value = false;
|
|
@@ -41849,7 +41849,7 @@ const _sfc_main = {
|
|
|
41849
41849
|
shortName: item.shortName
|
|
41850
41850
|
};
|
|
41851
41851
|
});
|
|
41852
|
-
if ((
|
|
41852
|
+
if ((_e = (_d = modeuleInfos.value) == null ? void 0 : _d.productionBases) == null ? void 0 : _e.includes(modeuleTypeValue.value)) {
|
|
41853
41853
|
const curSetofBook = await currentGet();
|
|
41854
41854
|
let baseRes = await baseOptions({ setOfBookId: curSetofBook });
|
|
41855
41855
|
if (!baseRes) {
|
|
@@ -41864,7 +41864,7 @@ const _sfc_main = {
|
|
|
41864
41864
|
};
|
|
41865
41865
|
});
|
|
41866
41866
|
}
|
|
41867
|
-
if ((
|
|
41867
|
+
if ((_g = (_f = modeuleInfos.value) == null ? void 0 : _f.projects) == null ? void 0 : _g.includes(modeuleTypeValue.value)) {
|
|
41868
41868
|
let dgRes = await getdungouList();
|
|
41869
41869
|
if (!dgRes) {
|
|
41870
41870
|
gjTest.value = [];
|
|
@@ -42442,7 +42442,7 @@ const _sfc_main = {
|
|
|
42442
42442
|
};
|
|
42443
42443
|
}
|
|
42444
42444
|
};
|
|
42445
|
-
const _withScopeId = (n2) => (pushScopeId("data-v-
|
|
42445
|
+
const _withScopeId = (n2) => (pushScopeId("data-v-5bf5ce7e"), n2 = n2(), popScopeId(), n2);
|
|
42446
42446
|
const _hoisted_1 = {
|
|
42447
42447
|
class: "bg-white defaultTS funcTC relative",
|
|
42448
42448
|
style: { "padding-bottom": "10px", "margin-bottom": "10px" }
|
|
@@ -43423,7 +43423,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
43423
43423
|
}, null, 8, ["show", "ccflowData"])) : createCommentVNode("", true)
|
|
43424
43424
|
], 64);
|
|
43425
43425
|
}
|
|
43426
|
-
const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
43426
|
+
const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-5bf5ce7e"]]);
|
|
43427
43427
|
const components = [TSider];
|
|
43428
43428
|
installComponents();
|
|
43429
43429
|
function installComponents() {
|