tx-sider 2.1.68 → 2.1.69
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 +32 -17
- package/lib/TXUI.umd.js +3 -3
- package/lib/style.css +1 -1
- package/package.json +1 -1
package/lib/TXUI.mjs
CHANGED
|
@@ -34405,10 +34405,10 @@ var axiosExports = axios$3.exports;
|
|
|
34405
34405
|
var axios = axiosExports;
|
|
34406
34406
|
const axios$1 = /* @__PURE__ */ getDefaultExportFromCjs(axios);
|
|
34407
34407
|
const routes = [
|
|
34408
|
-
{
|
|
34409
|
-
|
|
34410
|
-
|
|
34411
|
-
}
|
|
34408
|
+
// {
|
|
34409
|
+
// path: "/",
|
|
34410
|
+
// component: TSider,
|
|
34411
|
+
// },
|
|
34412
34412
|
];
|
|
34413
34413
|
const __vite_glob_0_0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
34414
34414
|
__proto__: null,
|
|
@@ -37534,8 +37534,15 @@ const getMaxVersion = (moduleType) => {
|
|
|
37534
37534
|
requestBase: "USER_BASE_URL"
|
|
37535
37535
|
});
|
|
37536
37536
|
};
|
|
37537
|
+
const setUserRead = (id, moduleCode) => {
|
|
37538
|
+
return cwRequest({
|
|
37539
|
+
url: `/api/basis-management/versionManage/setUserRead/${id}/${moduleCode}`,
|
|
37540
|
+
method: "put",
|
|
37541
|
+
requestBase: "USER_BASE_URL"
|
|
37542
|
+
});
|
|
37543
|
+
};
|
|
37537
37544
|
const VersionUpdateModal_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
37538
|
-
const _withScopeId$3 = (n2) => (pushScopeId("data-v-
|
|
37545
|
+
const _withScopeId$3 = (n2) => (pushScopeId("data-v-1a7ee761"), n2 = n2(), popScopeId(), n2);
|
|
37539
37546
|
const _hoisted_1$4 = { class: "flex items-center h-[60px] pl-[40px] themeBGC" };
|
|
37540
37547
|
const _hoisted_2$4 = { class: "relative w-[30px] h-[30px]" };
|
|
37541
37548
|
const _hoisted_3$4 = {
|
|
@@ -37579,10 +37586,10 @@ const _hoisted_8$4 = [
|
|
|
37579
37586
|
_hoisted_7$4
|
|
37580
37587
|
];
|
|
37581
37588
|
const _hoisted_9$4 = { class: "text-xl cbd9e55 pl-2" };
|
|
37582
|
-
const _hoisted_10$4 = { class: "flex flex-col px-28" };
|
|
37583
|
-
const _hoisted_11$4 = { class: "flex" };
|
|
37584
|
-
const _hoisted_12$3 = /* @__PURE__ */ createTextVNode("取消");
|
|
37585
|
-
const _hoisted_13$1 = /* @__PURE__ */ createTextVNode("设为已读");
|
|
37589
|
+
const _hoisted_10$4 = { class: "flex flex-col px-28 mt-[50px]" };
|
|
37590
|
+
const _hoisted_11$4 = { class: "flex justify-center my-20" };
|
|
37591
|
+
const _hoisted_12$3 = /* @__PURE__ */ createTextVNode(" 取消 ");
|
|
37592
|
+
const _hoisted_13$1 = /* @__PURE__ */ createTextVNode(" 设为已读 ");
|
|
37586
37593
|
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
37587
37594
|
__name: "VersionUpdateModal",
|
|
37588
37595
|
props: {
|
|
@@ -37674,9 +37681,18 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
37674
37681
|
console.log("关闭");
|
|
37675
37682
|
inputV.value = false;
|
|
37676
37683
|
};
|
|
37677
|
-
const onRead = () => {
|
|
37684
|
+
const onRead = async () => {
|
|
37685
|
+
var _a, _b;
|
|
37678
37686
|
console.log("已读");
|
|
37679
|
-
|
|
37687
|
+
try {
|
|
37688
|
+
await setUserRead(
|
|
37689
|
+
(_a = JSON.parse(localStorage.getItem("userInfos"))) == null ? void 0 : _a.userId,
|
|
37690
|
+
(_b = JSON.parse(localStorage.getItem("selectModule"))) == null ? void 0 : _b.location
|
|
37691
|
+
);
|
|
37692
|
+
inputV.value = false;
|
|
37693
|
+
} catch (error) {
|
|
37694
|
+
inputV.value = false;
|
|
37695
|
+
}
|
|
37680
37696
|
};
|
|
37681
37697
|
watch(
|
|
37682
37698
|
() => props2.ccflowData,
|
|
@@ -37743,10 +37759,9 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
37743
37759
|
}, 8, ["th", "contractExecDocList", "pageSize", "currentPages"]),
|
|
37744
37760
|
createElementVNode("div", _hoisted_11$4, [
|
|
37745
37761
|
createVNode(_component_a_button, {
|
|
37746
|
-
|
|
37747
|
-
|
|
37748
|
-
onClick: moduleHandle
|
|
37749
|
-
style: { "margin-right": "50px" }
|
|
37762
|
+
class: "w-[140px] mr-[50px] btn1",
|
|
37763
|
+
style: { "border-radius": "5px" },
|
|
37764
|
+
onClick: moduleHandle
|
|
37750
37765
|
}, {
|
|
37751
37766
|
default: withCtx(() => [
|
|
37752
37767
|
_hoisted_12$3
|
|
@@ -37754,8 +37769,8 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
37754
37769
|
_: 1
|
|
37755
37770
|
}),
|
|
37756
37771
|
createVNode(_component_a_button, {
|
|
37772
|
+
class: "w-[140px] mr-[50px] btn2",
|
|
37757
37773
|
type: "primary",
|
|
37758
|
-
class: "px-4 btn2",
|
|
37759
37774
|
onClick: onRead
|
|
37760
37775
|
}, {
|
|
37761
37776
|
default: withCtx(() => [
|
|
@@ -37774,7 +37789,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
37774
37789
|
};
|
|
37775
37790
|
}
|
|
37776
37791
|
});
|
|
37777
|
-
const __unplugin_components_7 = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-
|
|
37792
|
+
const __unplugin_components_7 = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-1a7ee761"]]);
|
|
37778
37793
|
const index$7 = "";
|
|
37779
37794
|
const CPagination_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
37780
37795
|
const _hoisted_1$3 = { class: "Pagination" };
|