tx-sider 2.2.5 → 2.2.6
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 +17 -18
- package/lib/TXUI.umd.js +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
package/lib/TXUI.mjs
CHANGED
|
@@ -37683,15 +37683,15 @@ const getMaxVersion = (moduleType) => {
|
|
|
37683
37683
|
requestBase: "USER_BASE_URL"
|
|
37684
37684
|
});
|
|
37685
37685
|
};
|
|
37686
|
-
const setUserRead = (id
|
|
37686
|
+
const setUserRead = (id) => {
|
|
37687
37687
|
return cwRequest({
|
|
37688
|
-
url: `/api/basis-management/versionManage/setUserRead/${id}
|
|
37688
|
+
url: `/api/basis-management/versionManage/setUserRead/${id}`,
|
|
37689
37689
|
method: "put",
|
|
37690
37690
|
requestBase: "USER_BASE_URL"
|
|
37691
37691
|
});
|
|
37692
37692
|
};
|
|
37693
37693
|
const ModuleVersionModal_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
37694
|
-
const _withScopeId$2 = (n2) => (pushScopeId("data-v-
|
|
37694
|
+
const _withScopeId$2 = (n2) => (pushScopeId("data-v-76f72424"), n2 = n2(), popScopeId(), n2);
|
|
37695
37695
|
const _hoisted_1$2 = { class: "flex items-center h-[60px] pl-[40px] themeBGC" };
|
|
37696
37696
|
const _hoisted_2$2 = { class: "relative w-[30px] h-[30px]" };
|
|
37697
37697
|
const _hoisted_3$2 = {
|
|
@@ -37788,7 +37788,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
37788
37788
|
const tableOptionRef = ref([
|
|
37789
37789
|
{
|
|
37790
37790
|
title: "序号",
|
|
37791
|
-
w: "
|
|
37791
|
+
w: "37px",
|
|
37792
37792
|
key: "index",
|
|
37793
37793
|
show: true
|
|
37794
37794
|
},
|
|
@@ -37800,13 +37800,13 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
37800
37800
|
},
|
|
37801
37801
|
{
|
|
37802
37802
|
title: "版本号",
|
|
37803
|
-
w: "
|
|
37803
|
+
w: "10%",
|
|
37804
37804
|
key: "version",
|
|
37805
37805
|
show: true
|
|
37806
37806
|
},
|
|
37807
37807
|
{
|
|
37808
37808
|
title: "更新内容",
|
|
37809
|
-
w: "
|
|
37809
|
+
w: "35%",
|
|
37810
37810
|
key: "description",
|
|
37811
37811
|
show: true
|
|
37812
37812
|
},
|
|
@@ -37826,7 +37826,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
37826
37826
|
},
|
|
37827
37827
|
{
|
|
37828
37828
|
title: "发布人",
|
|
37829
|
-
w: "
|
|
37829
|
+
w: "7%",
|
|
37830
37830
|
key: "creatorName",
|
|
37831
37831
|
show: true
|
|
37832
37832
|
},
|
|
@@ -37948,7 +37948,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
37948
37948
|
};
|
|
37949
37949
|
}
|
|
37950
37950
|
});
|
|
37951
|
-
const __unplugin_components_6 = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-
|
|
37951
|
+
const __unplugin_components_6 = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-76f72424"]]);
|
|
37952
37952
|
const index$5 = "";
|
|
37953
37953
|
const index$4 = "";
|
|
37954
37954
|
const index$3 = "";
|
|
@@ -41702,7 +41702,7 @@ const _sfc_main = {
|
|
|
41702
41702
|
}
|
|
41703
41703
|
const changeModule = async (i2) => {
|
|
41704
41704
|
var _a2, _b;
|
|
41705
|
-
let { permissionModuleName,
|
|
41705
|
+
let { permissionModuleName, routerUrl, location: location2, moduleName } = i2;
|
|
41706
41706
|
if (!getModeuleInfoDataHandle) {
|
|
41707
41707
|
getModeuleInfoDataHandle = await getModeuleInfoData();
|
|
41708
41708
|
}
|
|
@@ -41711,7 +41711,7 @@ const _sfc_main = {
|
|
|
41711
41711
|
"selectModule",
|
|
41712
41712
|
JSON.stringify({
|
|
41713
41713
|
key: permissionModuleName,
|
|
41714
|
-
routerUrl
|
|
41714
|
+
routerUrl,
|
|
41715
41715
|
title: moduleName,
|
|
41716
41716
|
location: location2
|
|
41717
41717
|
})
|
|
@@ -41720,17 +41720,17 @@ const _sfc_main = {
|
|
|
41720
41720
|
ctx.emit("changeSystemOrModule", moduleName, name);
|
|
41721
41721
|
if (!location2) {
|
|
41722
41722
|
data5.moduleVisible = false;
|
|
41723
|
-
ctx.emit("routerReplace",
|
|
41723
|
+
ctx.emit("routerReplace", routerUrl);
|
|
41724
41724
|
return;
|
|
41725
41725
|
}
|
|
41726
41726
|
const hostname2 = window.location.hostname.split(".");
|
|
41727
41727
|
const protocol2 = window.location.protocol;
|
|
41728
41728
|
const md = localStorage.getItem("loginForm");
|
|
41729
41729
|
if (process.env.NODE_ENV == "development") {
|
|
41730
|
-
goUrl.value = `${protocol2}//${location2}.nacho.cn/auth?md=${md}&key=${permissionModuleName}&routerUrl=${
|
|
41730
|
+
goUrl.value = `${protocol2}//${location2}.nacho.cn/auth?md=${md}&key=${permissionModuleName}&routerUrl=${routerUrl}&title=${moduleName}&queryLocation=${location2}`;
|
|
41731
41731
|
console.log(goUrl.value, "development++++++++++++++++++++");
|
|
41732
41732
|
} else {
|
|
41733
|
-
goUrl.value = `${protocol2}//${location2}.${hostname2[1]}.${hostname2[2]}/auth?md=${md}&key=${permissionModuleName}&routerUrl=${
|
|
41733
|
+
goUrl.value = `${protocol2}//${location2}.${hostname2[1]}.${hostname2[2]}/auth?md=${md}&key=${permissionModuleName}&routerUrl=${routerUrl}&title=${moduleName}&queryLocation=${location2}`;
|
|
41734
41734
|
console.log(goUrl.value, "prodect++++++++++++++++++");
|
|
41735
41735
|
}
|
|
41736
41736
|
if (location2 == "3000" || location2 == "30001" || ModeuleInfo.isSetOfBooks) {
|
|
@@ -42223,12 +42223,11 @@ const _sfc_main = {
|
|
|
42223
42223
|
isModuleVersionUpdate.value = false;
|
|
42224
42224
|
};
|
|
42225
42225
|
const onRead = async () => {
|
|
42226
|
-
var _a2
|
|
42226
|
+
var _a2;
|
|
42227
42227
|
console.log("已读");
|
|
42228
42228
|
try {
|
|
42229
42229
|
await setUserRead(
|
|
42230
|
-
(_a2 = JSON.parse(localStorage.getItem("userInfos"))) == null ? void 0 : _a2.userId
|
|
42231
|
-
(_b = JSON.parse(localStorage.getItem("selectModule"))) == null ? void 0 : _b.location
|
|
42230
|
+
(_a2 = JSON.parse(localStorage.getItem("userInfos"))) == null ? void 0 : _a2.userId
|
|
42232
42231
|
);
|
|
42233
42232
|
isModuleVersionUpdate.value = false;
|
|
42234
42233
|
} catch (error) {
|
|
@@ -42306,7 +42305,7 @@ const _sfc_main = {
|
|
|
42306
42305
|
};
|
|
42307
42306
|
}
|
|
42308
42307
|
};
|
|
42309
|
-
const _withScopeId = (n2) => (pushScopeId("data-v-
|
|
42308
|
+
const _withScopeId = (n2) => (pushScopeId("data-v-e4ccd936"), n2 = n2(), popScopeId(), n2);
|
|
42310
42309
|
const _hoisted_1 = {
|
|
42311
42310
|
class: "bg-white defaultTS funcTC relative",
|
|
42312
42311
|
style: { "padding-bottom": "10px", "margin-bottom": "10px" }
|
|
@@ -43398,7 +43397,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
43398
43397
|
}, 8, ["show"])
|
|
43399
43398
|
], 64);
|
|
43400
43399
|
}
|
|
43401
|
-
const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
43400
|
+
const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-e4ccd936"]]);
|
|
43402
43401
|
const components = [TSider];
|
|
43403
43402
|
installComponents();
|
|
43404
43403
|
function installComponents() {
|