tx-sider 2.1.11 â 2.1.13
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 +20 -29
- package/lib/TXUI.umd.js +2 -2
- package/lib/style.css +1 -1
- package/package.json +1 -1
package/lib/TXUI.mjs
CHANGED
|
@@ -24505,14 +24505,11 @@ const _sfc_main$1 = {
|
|
|
24505
24505
|
menuTitle.value = props.menuTitle;
|
|
24506
24506
|
}
|
|
24507
24507
|
);
|
|
24508
|
-
watch(
|
|
24509
|
-
(
|
|
24510
|
-
|
|
24511
|
-
if (props.module) {
|
|
24512
|
-
getMenuList();
|
|
24513
|
-
}
|
|
24508
|
+
watch(() => props.module, () => {
|
|
24509
|
+
if (props.module) {
|
|
24510
|
+
getMenuList();
|
|
24514
24511
|
}
|
|
24515
|
-
);
|
|
24512
|
+
});
|
|
24516
24513
|
const menuList = ref([]);
|
|
24517
24514
|
const getMenuList = async () => {
|
|
24518
24515
|
const { items } = await getPermissionSetOfBookMenuList(props.module);
|
|
@@ -24550,7 +24547,7 @@ const _sfc_main$1 = {
|
|
|
24550
24547
|
};
|
|
24551
24548
|
}
|
|
24552
24549
|
};
|
|
24553
|
-
const _withScopeId$1 = (n2) => (pushScopeId("data-v-
|
|
24550
|
+
const _withScopeId$1 = (n2) => (pushScopeId("data-v-d658c1e0"), n2 = n2(), popScopeId(), n2);
|
|
24554
24551
|
const _hoisted_1$1 = {
|
|
24555
24552
|
key: 0,
|
|
24556
24553
|
class: "w-[80px] flex flex-col justify-center focusTC bb-f5f5f5 br-f5f5f5",
|
|
@@ -24671,7 +24668,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24671
24668
|
}, 8, ["activeKey"])
|
|
24672
24669
|
]);
|
|
24673
24670
|
}
|
|
24674
|
-
const EconomicsSider = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-
|
|
24671
|
+
const EconomicsSider = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-d658c1e0"]]);
|
|
24675
24672
|
window.location.hostname.split(".");
|
|
24676
24673
|
function encryptionStr(data3) {
|
|
24677
24674
|
if (data3 === null || data3 === void 0) {
|
|
@@ -27676,7 +27673,7 @@ const _sfc_main = {
|
|
|
27676
27673
|
});
|
|
27677
27674
|
const refData = toRefs(data3);
|
|
27678
27675
|
ref(JSON.parse(localStorage.getItem("AccessData")));
|
|
27679
|
-
const iconUrl = process.env.NODE_ENV == "development" ? "https://
|
|
27676
|
+
const iconUrl = process.env.NODE_ENV == "development" ? "https://localhost:7110" : "https://basis.nacho.cn";
|
|
27680
27677
|
const [ccflowData, onClickTodo] = useCcflowCall();
|
|
27681
27678
|
watch(
|
|
27682
27679
|
() => props.isSystems,
|
|
@@ -27719,7 +27716,6 @@ const _sfc_main = {
|
|
|
27719
27716
|
const getPermissionModuleListData = async () => {
|
|
27720
27717
|
const res = await getPermissionModuleList();
|
|
27721
27718
|
permissionModuleList.value = updateIconModuleList(res);
|
|
27722
|
-
console.log("~đ123đ~", permissionModuleList.value);
|
|
27723
27719
|
};
|
|
27724
27720
|
function updateIconModuleList(treeList) {
|
|
27725
27721
|
for (let item of treeList) {
|
|
@@ -28016,10 +28012,10 @@ const _sfc_main = {
|
|
|
28016
28012
|
setSetOfBookIdToCookie(res);
|
|
28017
28013
|
setTokenToCookie();
|
|
28018
28014
|
}
|
|
28019
|
-
|
|
28015
|
+
currentBaseGet().then((res2) => {
|
|
28020
28016
|
localStorage.setItem("baseId", res2);
|
|
28021
28017
|
baseId.value = localStorage.getItem("baseId");
|
|
28022
|
-
})
|
|
28018
|
+
});
|
|
28023
28019
|
});
|
|
28024
28020
|
const getOfbooksTest = (id, showModal = true) => {
|
|
28025
28021
|
const okHandle = async () => {
|
|
@@ -28244,20 +28240,15 @@ const _sfc_main = {
|
|
|
28244
28240
|
data3.systemVisible = true;
|
|
28245
28241
|
};
|
|
28246
28242
|
const onFunOpen = async () => {
|
|
28247
|
-
|
|
28248
|
-
|
|
28249
|
-
|
|
28250
|
-
|
|
28251
|
-
|
|
28252
|
-
|
|
28253
|
-
|
|
28254
|
-
|
|
28255
|
-
|
|
28256
|
-
systemVisibleTrue();
|
|
28257
|
-
}
|
|
28258
|
-
}).catch((error) => {
|
|
28259
|
-
console.log("error", error);
|
|
28260
|
-
});
|
|
28243
|
+
await getPermissionModuleListData();
|
|
28244
|
+
console.log("đđđđ", permissionModuleList.value);
|
|
28245
|
+
if (permissionModuleList.value.length === 0) {
|
|
28246
|
+
message.info("äŊ ææ æéīŧ蝎čįŗģįŽĄįååé
");
|
|
28247
|
+
} else if (permissionModuleList.value.length === 1) {
|
|
28248
|
+
oneModule(permissionModuleList.value[0].name);
|
|
28249
|
+
} else {
|
|
28250
|
+
systemVisibleTrue();
|
|
28251
|
+
}
|
|
28261
28252
|
};
|
|
28262
28253
|
return {
|
|
28263
28254
|
...refData,
|
|
@@ -28309,7 +28300,7 @@ const _sfc_main = {
|
|
|
28309
28300
|
};
|
|
28310
28301
|
}
|
|
28311
28302
|
};
|
|
28312
|
-
const _withScopeId = (n2) => (pushScopeId("data-v-
|
|
28303
|
+
const _withScopeId = (n2) => (pushScopeId("data-v-4034a3a6"), n2 = n2(), popScopeId(), n2);
|
|
28313
28304
|
const _hoisted_1 = {
|
|
28314
28305
|
class: "bg-white defaultTS funcTC relative",
|
|
28315
28306
|
style: { "padding-bottom": "10px", "margin-bottom": "10px" }
|
|
@@ -29262,7 +29253,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
29262
29253
|
}, 8, ["show"])
|
|
29263
29254
|
], 64);
|
|
29264
29255
|
}
|
|
29265
|
-
const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
29256
|
+
const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-4034a3a6"]]);
|
|
29266
29257
|
const components = [TSider];
|
|
29267
29258
|
installComponents();
|
|
29268
29259
|
function installComponents() {
|