@utogether/udp-core 1.0.1-beta.3 → 1.0.1-beta.31
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/build/plugins.ts +3 -3
- package/dist/{403-BuP9jvH9.js → 403-DdjDWbkf.js} +1 -1
- package/dist/{404-DfQk8kKl.js → 404-D9vF2gFz.js} +1 -1
- package/dist/{500-OgROWdiZ.js → 500-mVaDmUjL.js} +1 -1
- package/dist/{AuthorityInfo-q2ksfkWH.js → AuthorityInfo-DOUJ_Zrj.js} +1 -1
- package/dist/AuthorityInfo.vue_vue_type_style_index_0_lang-B12sAzqt.js +100 -0
- package/dist/{Company-DgqowAxc.js → Company-DY__kM9F.js} +3 -3
- package/dist/{CompanyPanel-BNb1rUhD.js → CompanyPanel-C5N8QcMA.js} +17 -17
- package/dist/{Department-Cl8CROSU.js → Department-DsuDZdy5.js} +3 -3
- package/dist/{DepartmentPanel-D5VkqKeP.js → DepartmentPanel-CdwI7Rzu.js} +25 -25
- package/dist/{DesignPanel-BGvEusHC.js → DesignPanel-B50-g0TL.js} +1 -1
- package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-BQF1uQ7w.js → DesignPanel.vue_vue_type_style_index_0_lang-KV8JOZ6v.js} +28 -30
- package/dist/DictView-Be2Z5Obk.js +110 -0
- package/dist/InvOrganization-Lui1q3Ou.js +74 -0
- package/dist/Org-qO5ExsPN.js +39 -0
- package/dist/{Preview-BaGmXH7r.js → Preview-Dq4dfV2D.js} +2 -2
- package/dist/{ReportDefine-DkQdBErt.js → ReportDefine-DH3FvbS1.js} +1 -1
- package/dist/{ReportDesign-DzB_A_G6.js → ReportDesign-Bou01Jbr.js} +43 -43
- package/dist/{ReportQuery-DRcMb6ya.js → ReportQuery-BBkmPPSw.js} +1 -1
- package/dist/{ReportQueryFrom-CeA9xhR4.js → ReportQueryFrom-BCY8lTJ7.js} +1 -1
- package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-CgGtcs5V.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-CpktcM8J.js} +1 -1
- package/dist/{ReportTemplate-qaiTMQuT.js → ReportTemplate-C_yJXxQ-.js} +28 -28
- package/dist/{Role-DsFulAjq.js → Role-CTatYsrC.js} +6 -6
- package/dist/{RoleAssign-DMRdocpa.js → RoleAssign-Cqt3CelK.js} +9 -9
- package/dist/{RolePanel-wXVysDHM.js → RolePanel-C3JMpNu8.js} +1 -1
- package/dist/{RolePanel-B9POS_pg.js → RolePanel-brKRJIhD.js} +1 -1
- package/dist/RolePanel.vue_vue_type_script_setup_true_lang-DD8u9pq8.js +132 -0
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-CleVvkcY.js → RolePanel.vue_vue_type_script_setup_true_lang-i6Gq4r5B.js} +44 -38
- package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-DlXUs0j9.js → ScrollPanel.vue_vue_type_style_index_0_lang-CiWKyjm3.js} +23 -23
- package/dist/{Staff-Cq4V7ruC.js → Staff-Cd3twQ6Y.js} +3 -3
- package/dist/{StaffInfo-CJDKMbud.js → StaffInfo-DJp0a0qd.js} +1 -1
- package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-DQ4DL1KY.js → StaffInfo.vue_vue_type_script_setup_true_lang-Dp2AhJ4I.js} +16 -16
- package/dist/{StaffPanel-CG-uggdr.js → StaffPanel-B93hClzs.js} +1 -1
- package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-DAgN7zN2.js → StaffPanel.vue_vue_type_script_setup_true_lang-CXjUzq7n.js} +2 -2
- package/dist/{SysUser-kwnzRNdD.js → SysUser-BvI6vaqI.js} +2 -2
- package/dist/{SysUserPanel-DTlZf3vk.js → SysUserPanel-C9V8X-Ek.js} +1 -1
- package/dist/SysUserPanel.vue_vue_type_script_setup_true_lang-bMqTui07.js +343 -0
- package/dist/{SystemMenu-BVT0n-L2.js → SystemMenu-D4WME5d0.js} +27 -27
- package/dist/{UserInfo-BbTQ9Zat.js → UserInfo-D-AfdfJs.js} +1 -1
- package/dist/{UserInfo.vue_vue_type_style_index_0_lang-D_bpYDmI.js → UserInfo.vue_vue_type_style_index_0_lang-C-JQYIxe.js} +41 -39
- package/dist/{childView-BJbIhjmf.js → childView--WMSo-wH.js} +1 -1
- package/dist/{childView-DCsGFrG-.js → childView-1MTl6Kaj.js} +1 -1
- package/dist/childView.vue_vue_type_style_index_0_lang-B8Losc4Y.js +170 -0
- package/dist/{childView.vue_vue_type_style_index_0_lang-BCDxpVoD.js → childView.vue_vue_type_style_index_0_lang-BAVKNIXs.js} +1 -1
- package/dist/{code-rule-DePU6cdp.js → code-rule-D-RqrQB6.js} +42 -41
- package/dist/core.es.js +19 -10
- package/dist/{cron-task-DUM1SIGL.js → cron-task-D-X-KFZm.js} +11 -11
- package/dist/flow-task-B07st2aD.js +10 -0
- package/dist/{frameView-CEUTDtSm.js → frameView-MAW_-GHJ.js} +1 -1
- package/dist/index-Bc9vCX7z.js +2904 -0
- package/dist/{layoutView-PCjwVwkX.js → layoutView-De2QIEr2.js} +1639 -1629
- package/dist/{log-in-e7D5Ss1P.js → log-in-CpGqc33f.js} +5 -4
- package/dist/{log-out--RRncZhN.js → log-out-D1b4VRMZ.js} +30 -24
- package/dist/{login-log-CvVnyGi3.js → login-log-BNRXLeMi.js} +4 -3
- package/dist/login-rdZ0GPYc.js +249 -0
- package/dist/{lov-view-D8wwkxFJ.js → lov-view-Ao7LMspL.js} +5 -5
- package/dist/{menuInfo-B5JKVwrB.js → menuInfo-DmOcK6An.js} +1 -1
- package/dist/{menuInfo.vue_vue_type_style_index_0_lang-CcM9WX4n.js → menuInfo.vue_vue_type_style_index_0_lang-Ln-zFWV7.js} +121 -99
- package/dist/{pda-app-DIa1p1Ww.js → pda-app-DY63mQ2T.js} +202 -188
- package/dist/{resource-CCQ7Dd-5.js → resource-B21uV58T.js} +18 -18
- package/dist/{su-welcome-CLp9YaJa.js → su-welcome-DgjzJeDF.js} +122 -121
- package/dist/sys-config-DOtK2I32.js +370 -0
- package/dist/udp-core.css +1 -9
- package/dist/utogether-MlnyYtNS.js +4 -0
- package/index.ts +19 -6
- package/package.json +1 -1
- package/src/App.vue +65 -70
- package/src/api/http.ts +1 -4
- package/src/api/index.ts +5 -3
- package/src/api/user.ts +2 -2
- package/src/components/SuCharts/src/UserInfo.vue +3 -3
- package/src/components/SuScrollTree/ScrollPanel.vue +4 -9
- package/src/components/udp/content/index.vue +88 -0
- package/src/components/udp/form/form.vue +109 -0
- package/src/components/udp/{grid.vue → grid/index.vue} +524 -500
- package/src/components/udp/index.ts +4 -6
- package/src/components/udp/ut-stamp-badge/index.vue +272 -0
- package/src/components/udp/utils.ts +408 -379
- package/src/directives/permission/index.ts +1 -1
- package/src/layout/components/lay-navbar/index.vue +8 -6
- package/src/layout/components/lay-panel/index.vue +150 -150
- package/src/layout/components/lay-search/index.vue +1 -1
- package/src/layout/components/lay-select-org/index.vue +4 -9
- package/src/layout/components/lay-sidebar/horizontal.vue +8 -6
- package/src/layout/components/lay-sidebar/mixNav.vue +260 -258
- package/src/layout/components/lay-sidebar/sidebar-logo.vue +8 -12
- package/src/layout/components/lay-tag/index.vue +596 -625
- package/src/layout/hooks/useTag.ts +12 -18
- package/src/layout/types.ts +3 -2
- package/src/main.ts +115 -110
- package/src/plugins/i18n/en.ts +302 -291
- package/src/plugins/i18n/module/u-workflow.ts +1 -1
- package/src/plugins/i18n/zh.ts +362 -338
- package/src/plugins/vxe-table/index.ts +116 -53
- package/src/plugins/vxe-table/render.tsx +183 -57
- package/src/router/index.ts +101 -97
- package/src/router/modules/flow.ts +35 -0
- package/src/router/modules/remaining.ts +1 -26
- package/src/router/utils.ts +50 -7
- package/src/store/modules/app.ts +1 -3
- package/src/store/modules/multiTags.ts +15 -14
- package/src/store/modules/permission.ts +25 -15
- package/src/store/modules/system.ts +1 -3
- package/src/style/button.scss +85 -85
- package/src/style/login.css +1 -1
- package/src/style/vxetable.scss +348 -258
- package/src/utils/authority/index.ts +1 -1
- package/src/utils/index.ts +3 -1
- package/src/utils/propTypes.ts +1 -6
- package/src/utils/{http → udp/http}/index.ts +27 -30
- package/src/utils/{http → udp/http}/types.d.ts +2 -6
- package/src/views/login/login-view.vue +6 -20
- package/src/views/organization/company/CompanyPanel.vue +259 -259
- package/src/views/organization/department/DepartmentPanel.vue +6 -20
- package/src/views/organization/inv-org/InvOrganization.vue +22 -7
- package/src/views/organization/org/Org.vue +9 -5
- package/src/views/system/cron/cron-task.vue +2 -12
- package/src/views/system/menu/SystemMenu.vue +185 -197
- package/src/views/system/menu/menuInfo.vue +384 -372
- package/src/views/system/role/AuthorityInfo.vue +19 -15
- package/src/views/system/role/Role.vue +1 -5
- package/src/views/system/role/RolePanel.vue +11 -2
- package/src/views/system/role/UserInfo.vue +11 -9
- package/src/views/system/role-assign/RoleAssign.vue +2 -2
- package/src/views/system/role-assign/RolePanel.vue +12 -9
- package/src/views/system/sys/sys-config.vue +70 -21
- package/src/views/system/sysUser/SysUserPanel.vue +132 -62
- package/src/views/uapp/pda/pda-app.vue +48 -16
- package/src/views/udev/coderule/code-rule.vue +132 -121
- package/src/views/udev/dict/DictView.vue +118 -106
- package/src/views/udev/dict/childView.vue +71 -111
- package/src/views/udev/lov/childView.vue +1 -7
- package/src/views/udev/lov/lov-view.vue +91 -91
- package/src/views/ufile/aggregation/File.vue +5 -5
- package/src/views/ufile/file/water-mark.vue +14 -14
- package/src/views/uhome/components/menu-favorite.vue +314 -331
- package/src/views/uhome/su-welcome.vue +3 -3
- package/src/views/ulogin/login.vue +19 -12
- package/src/views/upms/interface/log-in.vue +2 -8
- package/src/views/upms/interface/log-out.vue +2 -8
- package/src/views/upms/user/login-log.vue +2 -8
- package/src/views/urpt/design/DesignPanel.vue +16 -35
- package/src/views/urpt/design/Preview.vue +1 -0
- package/src/views/urpt/design/ReportDesign.vue +17 -23
- package/src/views/urpt/static-resource/resource.vue +3 -3
- package/src/views/urpt/template/ReportTemplate.vue +7 -7
- package/src/views/utask/flow-task.vue +18 -0
- package/types/global.d.ts +4 -9
- package/vite.config.ts +2 -1
- package/dist/AuthorityInfo.vue_vue_type_style_index_0_lang-Bwsf6lMH.js +0 -102
- package/dist/DictView-BnxfaOBv.js +0 -96
- package/dist/InvOrganization-5y79ZLdY.js +0 -66
- package/dist/Org-2oBAXN2r.js +0 -35
- package/dist/RolePanel.vue_vue_type_script_setup_true_lang-t6S_0zmJ.js +0 -126
- package/dist/SysUserPanel.vue_vue_type_script_setup_true_lang-BW6PlGjM.js +0 -288
- package/dist/childView.vue_vue_type_style_index_0_lang-CDtsalCm.js +0 -187
- package/dist/index-ZdgOD7cF.js +0 -3399
- package/dist/login-B1CjWVKu.js +0 -252
- package/dist/sys-config-BBmf_SqF.js +0 -277
- package/dist/utogether-Bkptx2lB.js +0 -182
- package/src/components/udp/form-upload.vue +0 -183
- package/src/components/udp/lov.vue +0 -410
- package/src/components/udp/modal-form.vue +0 -180
- package/src/components/udp/modal-grid.vue +0 -297
- package/src/utils/udp/useRender.ts +0 -420
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as w, ref as o, resolveComponent as
|
|
2
|
-
import { successMessage as
|
|
1
|
+
import { defineComponent as w, ref as o, resolveComponent as r, createElementBlock as k, openBlock as i, createVNode as l, createBlock as b, createCommentVNode as x, Fragment as B } from "vue";
|
|
2
|
+
import { successMessage as U } from "@utogether/utils";
|
|
3
3
|
import { useClipboard as N } from "@vueuse/core";
|
|
4
|
-
import {
|
|
4
|
+
import { B as y } from "./index-Bc9vCX7z.js";
|
|
5
5
|
const q = {
|
|
6
6
|
name: "StaticResource"
|
|
7
7
|
}, V = /* @__PURE__ */ w({
|
|
@@ -15,15 +15,15 @@ const q = {
|
|
|
15
15
|
align: "center"
|
|
16
16
|
}, {
|
|
17
17
|
field: "templateCode",
|
|
18
|
-
title: "message.
|
|
18
|
+
title: "message.urpt.resourceCode",
|
|
19
19
|
width: 140
|
|
20
20
|
}, {
|
|
21
21
|
field: "templateName",
|
|
22
|
-
title: "message.
|
|
22
|
+
title: "message.urpt.resourceName",
|
|
23
23
|
width: 150
|
|
24
24
|
}, {
|
|
25
25
|
field: "templateUrl",
|
|
26
|
-
title: "message.
|
|
26
|
+
title: "message.urpt.resourceUrl",
|
|
27
27
|
miWidth: 200
|
|
28
28
|
}, {
|
|
29
29
|
field: "operate",
|
|
@@ -32,20 +32,20 @@ const q = {
|
|
|
32
32
|
slots: {
|
|
33
33
|
default: ({
|
|
34
34
|
row: e
|
|
35
|
-
}) => [
|
|
35
|
+
}) => [l(B, null, [l(r("ut-button"), {
|
|
36
36
|
content: "download",
|
|
37
37
|
icon: "ri-download-line",
|
|
38
38
|
status: "success",
|
|
39
39
|
onTap: () => g(e)
|
|
40
40
|
}, null)])]
|
|
41
41
|
}
|
|
42
|
-
}],
|
|
42
|
+
}], p = {
|
|
43
43
|
toolbarButtonClick({
|
|
44
44
|
code: e
|
|
45
45
|
}) {
|
|
46
46
|
e === "add" && _();
|
|
47
47
|
}
|
|
48
|
-
},
|
|
48
|
+
}, f = [{
|
|
49
49
|
field: "templateCode",
|
|
50
50
|
required: !0
|
|
51
51
|
}, {
|
|
@@ -63,32 +63,32 @@ const q = {
|
|
|
63
63
|
}], t = o(!1), _ = (e) => {
|
|
64
64
|
a.value = {}, t.value = !0;
|
|
65
65
|
}, g = (e) => {
|
|
66
|
-
m(d + "/ufil/" + e.templateUrl),
|
|
66
|
+
m(d + "/ufil/" + e.templateUrl), U("复制成功,快试试右键粘贴吧");
|
|
67
67
|
}, h = () => {
|
|
68
68
|
s.value.refreshData();
|
|
69
69
|
};
|
|
70
|
-
return (e,
|
|
71
|
-
const v =
|
|
72
|
-
return
|
|
70
|
+
return (e, u) => {
|
|
71
|
+
const v = r("ut-grid"), C = r("ut-modal-form");
|
|
72
|
+
return i(), k("div", null, [l(v, {
|
|
73
73
|
ref_key: "xgrid",
|
|
74
74
|
ref: s,
|
|
75
75
|
columns: c,
|
|
76
76
|
url: n,
|
|
77
77
|
editable: !1,
|
|
78
78
|
mode: "form",
|
|
79
|
-
events:
|
|
80
|
-
}, null, 512), t.value ? (
|
|
79
|
+
events: p
|
|
80
|
+
}, null, 512), t.value ? (i(), b(C, {
|
|
81
81
|
key: 0,
|
|
82
82
|
record: a.value,
|
|
83
|
-
items:
|
|
83
|
+
items: f,
|
|
84
84
|
width: 300,
|
|
85
85
|
height: 340,
|
|
86
86
|
"data-status": "add",
|
|
87
87
|
title: "静态资源新增",
|
|
88
88
|
url: n,
|
|
89
|
-
onClose:
|
|
89
|
+
onClose: u[0] || (u[0] = (R) => t.value = !1),
|
|
90
90
|
onConfirm: h
|
|
91
|
-
}, null, 8, ["record"])) :
|
|
91
|
+
}, null, 8, ["record"])) : x("", !0)]);
|
|
92
92
|
};
|
|
93
93
|
}
|
|
94
94
|
});
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
import { defineComponent as J, ref as y, onMounted as K, resolveComponent as
|
|
1
|
+
import { defineComponent as J, ref as y, onMounted as K, resolveComponent as p, createBlock as N, openBlock as a, withCtx as i, createElementVNode as e, createVNode as c, createCommentVNode as O, unref as B, normalizeStyle as Q, toDisplayString as f, createElementBlock as v, Fragment as k, renderList as C, nextTick as X, computed as Z, resolveDirective as ee, createTextVNode as Y, withDirectives as te, normalizeClass as se } from "vue";
|
|
2
2
|
import { useRouter as oe } from "vue-router";
|
|
3
3
|
import ne from "dayjs";
|
|
4
|
-
import { dbstorage as le, delay as ae, warnMessage as
|
|
5
|
-
import {
|
|
6
|
-
import { clone as
|
|
7
|
-
import
|
|
8
|
-
const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye = { class: "h-24 w-24 flex justify-center items-center flex-col relative drag-item ut-menu-top-item" }, be = { class: "w-[90%] text-xs mt-2 text-ellipsis overflow-hidden whitespace-nowrap text-center" }, we = ["onClick"], ke = {
|
|
4
|
+
import { dbstorage as le, delay as ae, warnMessage as ie, successMessage as ce, lunarCalendar as re, cookies as ue } from "@utogether/utils";
|
|
5
|
+
import { w as G, i as de, p as me, _ as fe } from "./index-Bc9vCX7z.js";
|
|
6
|
+
import { clone as pe, max as _e } from "xe-utils";
|
|
7
|
+
import ve from "vuedraggable";
|
|
8
|
+
const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye = { class: "h-24 w-24 flex justify-center items-center flex-col relative drag-item ut-menu-top-item" }, be = { class: "w-[90%] text-xs mt-2 text-ellipsis overflow-hidden whitespace-nowrap text-center" }, we = ["onClick"], ke = {
|
|
9
|
+
class: "p-3 pb-14",
|
|
10
|
+
style: { "padding-bottom": "54px" }
|
|
11
|
+
}, Ce = { class: "flex items-center" }, Ne = { class: "ml-1 font-bold text-base" }, $e = { class: "pl-3 py-2" }, Ie = { class: "flex items-center" }, Ve = { class: "ml-1 font-bold text-sm" }, Me = { class: "pl-3 py-2" }, Se = { class: "flex items-center" }, Ue = { class: "ml-1 font-bold text-sm" }, je = { class: "py-2" }, De = { class: "flex justify-end" }, Ee = "/upfm/v1/menuFavority", Le = /* @__PURE__ */ J({
|
|
9
12
|
__name: "menu-favorite",
|
|
10
13
|
props: {
|
|
11
14
|
dataSource: { default: () => [] },
|
|
@@ -14,13 +17,13 @@ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye
|
|
|
14
17
|
},
|
|
15
18
|
emits: ["close", "success"],
|
|
16
19
|
setup(P, { emit: h }) {
|
|
17
|
-
const j = P,
|
|
20
|
+
const j = P, u = y([]), $ = y([]), b = y(!1), I = y(!1), r = y({}), L = async () => {
|
|
18
21
|
$.value = await le.getItem(`U-${j.userName}-ROUTES`), $.value = $.value.filter((o) => o.menuCode !== "SysHome"), await ae(64), A();
|
|
19
22
|
}, R = (o, s) => {
|
|
20
23
|
var n;
|
|
21
|
-
|
|
22
|
-
const t = (n =
|
|
23
|
-
|
|
24
|
+
u.value.splice(s, 1);
|
|
25
|
+
const t = (n = r.value[o.parentId]) == null ? void 0 : n.findIndex((_) => _ === o.menuId);
|
|
26
|
+
r.value[o.parentId].splice(t, 1);
|
|
24
27
|
}, V = (o) => {
|
|
25
28
|
const s = [], t = [];
|
|
26
29
|
return o.children.forEach((n) => {
|
|
@@ -28,47 +31,45 @@ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye
|
|
|
28
31
|
}), { folder: s, menus: t };
|
|
29
32
|
}, A = () => {
|
|
30
33
|
j.dataSource.forEach((o) => {
|
|
31
|
-
|
|
34
|
+
r.value[o.parentId] ? r.value[o.parentId].push(o.menuId) : r.value[o.parentId] = [o.menuId];
|
|
32
35
|
});
|
|
33
|
-
},
|
|
34
|
-
debugger;
|
|
36
|
+
}, D = (o, s) => {
|
|
35
37
|
if (s.checked) {
|
|
36
|
-
if (
|
|
38
|
+
if (u.value.length === 16)
|
|
37
39
|
return X(() => {
|
|
38
|
-
|
|
39
|
-
}),
|
|
40
|
+
r.value[o.id].splice(r.value[o.id].length - 1, 1);
|
|
41
|
+
}), ie("最多只能选择16个常用功能");
|
|
40
42
|
const t = o.children.find((n) => n.id === s.label);
|
|
41
|
-
t && (t.seqNo = H() + 10, t.menuId = t.id,
|
|
43
|
+
t && (t.seqNo = H() + 10, t.menuId = t.id, u.value.push(t));
|
|
42
44
|
} else {
|
|
43
|
-
let t =
|
|
44
|
-
t !== -1 &&
|
|
45
|
+
let t = u.value.findIndex((n) => n.menuId === s.label);
|
|
46
|
+
t !== -1 && u.value.splice(t, 1), t = r.value[o.id].findIndex((n) => n === s.label), t !== -1 && r.value[o.id].splice(t, 1);
|
|
45
47
|
}
|
|
46
48
|
}, F = () => {
|
|
47
|
-
|
|
49
|
+
u.value.forEach((o, s) => {
|
|
48
50
|
o.seqNo = (s + 1) * 10;
|
|
49
51
|
});
|
|
50
52
|
}, H = () => {
|
|
51
53
|
var o;
|
|
52
|
-
return ((o =
|
|
54
|
+
return ((o = _e(u.value, (s) => s.seqNo)) == null ? void 0 : o.seqNo) || 0;
|
|
53
55
|
}, T = () => {
|
|
54
|
-
|
|
55
|
-
const o = r.value.map((s) => ({
|
|
56
|
+
const o = u.value.map((s) => ({
|
|
56
57
|
userName: j.userName,
|
|
57
58
|
menuId: s.menuId,
|
|
58
59
|
seqNo: s.seqNo
|
|
59
60
|
}));
|
|
60
|
-
|
|
61
|
-
|
|
61
|
+
I.value = !0, G().post(Ee, o).then(() => {
|
|
62
|
+
ce(), E(), z("success");
|
|
62
63
|
}).finally(() => {
|
|
63
64
|
I.value = !1;
|
|
64
65
|
});
|
|
65
|
-
},
|
|
66
|
+
}, E = () => {
|
|
66
67
|
b.value = !1, z("close");
|
|
67
|
-
},
|
|
68
|
+
}, q = (o) => ["#409eff", "#67c23a", "#13c2c2", "#e85f33", "orange"][o % 5], z = h;
|
|
68
69
|
return K(() => {
|
|
69
|
-
|
|
70
|
+
u.value = pe(j.dataSource, !0), b.value = !0, L();
|
|
70
71
|
}), (o, s) => {
|
|
71
|
-
const t =
|
|
72
|
+
const t = p("el-empty"), n = p("iconify-icon-offline"), _ = p("el-scrollbar"), M = p("vxe-checkbox"), S = p("vxe-checkbox-group"), w = p("ut-button"), U = p("vxe-modal");
|
|
72
73
|
return a(), N(U, {
|
|
73
74
|
modelValue: b.value,
|
|
74
75
|
"onUpdate:modelValue": s[0] || (s[0] = (m) => b.value = m),
|
|
@@ -78,38 +79,38 @@ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye
|
|
|
78
79
|
title: "常用菜单设置(拖动可改变菜单顺序)",
|
|
79
80
|
"class-name": "u-favorite-modal",
|
|
80
81
|
"show-footer": "",
|
|
81
|
-
onClose:
|
|
82
|
+
onClose: E
|
|
82
83
|
}, {
|
|
83
|
-
default:
|
|
84
|
+
default: i(() => [
|
|
84
85
|
e("div", ge, [
|
|
85
|
-
|
|
86
|
+
c(_, {
|
|
86
87
|
heigth: "100",
|
|
87
88
|
class: "w-full border-b border-slate-300"
|
|
88
89
|
}, {
|
|
89
|
-
default:
|
|
90
|
+
default: i(() => [
|
|
90
91
|
e("div", he, [
|
|
91
|
-
|
|
92
|
+
u.value.length ? O("", !0) : (a(), N(t, {
|
|
92
93
|
key: 0,
|
|
93
94
|
"image-size": 50,
|
|
94
95
|
description: "",
|
|
95
96
|
class: "p-0"
|
|
96
97
|
})),
|
|
97
|
-
|
|
98
|
-
list:
|
|
98
|
+
c(B(ve), {
|
|
99
|
+
list: u.value,
|
|
99
100
|
handle: ".drag-item",
|
|
100
101
|
animation: "300",
|
|
101
102
|
"item-key": "id",
|
|
102
103
|
class: "flex",
|
|
103
104
|
onEnd: F
|
|
104
105
|
}, {
|
|
105
|
-
item:
|
|
106
|
+
item: i(({ element: m, index: l }) => [
|
|
106
107
|
e("div", xe, [
|
|
107
108
|
e("div", ye, [
|
|
108
109
|
e("div", {
|
|
109
110
|
class: "rounded-full w-10 h-10 flex items-center justify-center",
|
|
110
|
-
style: Q({ backgroundColor:
|
|
111
|
+
style: Q({ backgroundColor: q(l) })
|
|
111
112
|
}, [
|
|
112
|
-
|
|
113
|
+
c(n, {
|
|
113
114
|
icon: m.icon || `ri:${o.icons[l]}-line`,
|
|
114
115
|
class: "text-2xl text-white"
|
|
115
116
|
}, null, 8, ["icon"])
|
|
@@ -128,10 +129,10 @@ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye
|
|
|
128
129
|
]),
|
|
129
130
|
_: 1
|
|
130
131
|
}),
|
|
131
|
-
|
|
132
|
-
default:
|
|
132
|
+
c(_, { class: "u-favorite-menu--contain" }, {
|
|
133
|
+
default: i(() => [
|
|
133
134
|
e("div", ke, [
|
|
134
|
-
(a(!0),
|
|
135
|
+
(a(!0), v(k, null, C($.value, (m) => (a(), v("div", {
|
|
135
136
|
key: m.id,
|
|
136
137
|
class: "grandparent-node"
|
|
137
138
|
}, [
|
|
@@ -140,13 +141,13 @@ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye
|
|
|
140
141
|
e("div", Ne, f(m.menuName), 1)
|
|
141
142
|
]),
|
|
142
143
|
e("div", $e, [
|
|
143
|
-
|
|
144
|
-
modelValue:
|
|
145
|
-
"onUpdate:modelValue": (l) =>
|
|
146
|
-
onChange: (l) =>
|
|
144
|
+
c(S, {
|
|
145
|
+
modelValue: r.value[m.id],
|
|
146
|
+
"onUpdate:modelValue": (l) => r.value[m.id] = l,
|
|
147
|
+
onChange: (l) => D(m, l)
|
|
147
148
|
}, {
|
|
148
|
-
default:
|
|
149
|
-
(a(!0),
|
|
149
|
+
default: i(() => [
|
|
150
|
+
(a(!0), v(k, null, C(V(m).menus, (l) => (a(), N(M, {
|
|
150
151
|
key: l.id,
|
|
151
152
|
label: l.id,
|
|
152
153
|
content: l.menuName
|
|
@@ -155,7 +156,7 @@ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye
|
|
|
155
156
|
_: 2
|
|
156
157
|
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])
|
|
157
158
|
]),
|
|
158
|
-
(a(!0),
|
|
159
|
+
(a(!0), v(k, null, C(V(m).folder, (l) => (a(), v("div", {
|
|
159
160
|
key: l.id,
|
|
160
161
|
class: "parent-node pl-3"
|
|
161
162
|
}, [
|
|
@@ -164,13 +165,13 @@ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye
|
|
|
164
165
|
e("div", Ve, f(l.menuName), 1)
|
|
165
166
|
]),
|
|
166
167
|
e("div", Me, [
|
|
167
|
-
|
|
168
|
-
modelValue:
|
|
169
|
-
"onUpdate:modelValue": (d) =>
|
|
170
|
-
onChange: (d) =>
|
|
168
|
+
c(S, {
|
|
169
|
+
modelValue: r.value[l.id],
|
|
170
|
+
"onUpdate:modelValue": (d) => r.value[l.id] = d,
|
|
171
|
+
onChange: (d) => D(l, d)
|
|
171
172
|
}, {
|
|
172
|
-
default:
|
|
173
|
-
(a(!0),
|
|
173
|
+
default: i(() => [
|
|
174
|
+
(a(!0), v(k, null, C(V(l).menus, (d) => (a(), N(M, {
|
|
174
175
|
key: d.id,
|
|
175
176
|
label: d.id,
|
|
176
177
|
content: d.menuName
|
|
@@ -179,7 +180,7 @@ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye
|
|
|
179
180
|
_: 2
|
|
180
181
|
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])
|
|
181
182
|
]),
|
|
182
|
-
(a(!0),
|
|
183
|
+
(a(!0), v(k, null, C(V(l).folder, (d) => (a(), v("div", {
|
|
183
184
|
key: d.id,
|
|
184
185
|
class: "child-node pl-3"
|
|
185
186
|
}, [
|
|
@@ -188,13 +189,13 @@ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye
|
|
|
188
189
|
e("div", Ue, f(d.menuName), 1)
|
|
189
190
|
]),
|
|
190
191
|
e("div", je, [
|
|
191
|
-
|
|
192
|
-
modelValue:
|
|
193
|
-
"onUpdate:modelValue": (x) =>
|
|
194
|
-
onChange: (x) =>
|
|
192
|
+
c(S, {
|
|
193
|
+
modelValue: r.value[d.id],
|
|
194
|
+
"onUpdate:modelValue": (x) => r.value[d.id] = x,
|
|
195
|
+
onChange: (x) => D(l, x)
|
|
195
196
|
}, {
|
|
196
|
-
default:
|
|
197
|
-
(a(!0),
|
|
197
|
+
default: i(() => [
|
|
198
|
+
(a(!0), v(k, null, C(V(d).menus, (x) => (a(), N(M, {
|
|
198
199
|
key: x.id,
|
|
199
200
|
label: x.id,
|
|
200
201
|
content: x.menuName
|
|
@@ -212,14 +213,14 @@ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye
|
|
|
212
213
|
})
|
|
213
214
|
])
|
|
214
215
|
]),
|
|
215
|
-
footer:
|
|
216
|
-
e("div",
|
|
217
|
-
|
|
216
|
+
footer: i(() => [
|
|
217
|
+
e("div", De, [
|
|
218
|
+
c(w, {
|
|
218
219
|
content: "cancel",
|
|
219
220
|
status: "warning",
|
|
220
|
-
onTap:
|
|
221
|
+
onTap: E
|
|
221
222
|
}),
|
|
222
|
-
|
|
223
|
+
c(w, {
|
|
223
224
|
content: "confirm",
|
|
224
225
|
onTap: T
|
|
225
226
|
})
|
|
@@ -229,19 +230,19 @@ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye
|
|
|
229
230
|
}, 8, ["modelValue", "loading"]);
|
|
230
231
|
};
|
|
231
232
|
}
|
|
232
|
-
}),
|
|
233
|
+
}), qe = { class: "ut-home m-3" }, ze = { class: "h-32 mb-4 p-4 flex justify-between items-center bg-white home-page" }, Re = { class: "flex flex-row items-center flex-[2]" }, Ae = { class: "ml-4 text-xs flex-[2]" }, Fe = { class: "flex justify-center items-center" }, He = { class: "py-2 text-gray-500 flex" }, Te = { class: "w-2/3" }, Oe = { class: "text-gray-500 flex" }, Be = { class: "w-2/3" }, Ge = { class: "flex flex-col" }, Pe = { class: "text-4xl" }, We = { class: "mt-1 ml-3" }, Ye = { class: "default:bg-white dark:bg-black" }, Je = ["onClick"], Ke = { class: "h-20 flex justify-center items-center flex-col" }, Qe = { class: "text-xs mt-2" }, Xe = { class: "p-3" }, Ze = { class: "p-0 w-full h-full" }, et = { class: "flex" }, tt = { class: "ml-3" }, st = { class: "text-blue-600 mr-3" }, ot = { class: "text-gray-400 text-sm" }, nt = { class: "p-1" }, lt = /* @__PURE__ */ J({
|
|
233
234
|
name: "SuHome",
|
|
234
235
|
__name: "su-welcome",
|
|
235
236
|
setup(P) {
|
|
236
|
-
const h = de(), j = oe(),
|
|
237
|
+
const h = de(), j = oe(), u = y([]), $ = y([]), b = y(!1), I = y(!1), r = Z(() => {
|
|
237
238
|
var s;
|
|
238
239
|
return (s = h.getUserInfo.name) == null ? void 0 : s.slice(0, 1);
|
|
239
|
-
}),
|
|
240
|
+
}), L = () => {
|
|
240
241
|
var t, n;
|
|
241
|
-
return h.isAdminRole ? "系统管理员" : (n = (t = h.getUserInfo) == null ? void 0 : t.sysRoles) == null ? void 0 : n.map((
|
|
242
|
+
return h.isAdminRole ? "系统管理员" : (n = (t = h.getUserInfo) == null ? void 0 : t.sysRoles) == null ? void 0 : n.map((_) => _.roleName).join(",");
|
|
242
243
|
}, R = () => {
|
|
243
244
|
var t;
|
|
244
|
-
return h.isAdminRole ? "【系统管理员】拥有所有组织" :
|
|
245
|
+
return h.isAdminRole ? "【系统管理员】拥有所有组织" : L() === "项目组管理员" ? "【项目组管理员】拥有所有组织" : (t = h.getOrglist) == null ? void 0 : t.map((n) => n.orgName).join(",");
|
|
245
246
|
}, V = () => {
|
|
246
247
|
const s = Number(ne().format("HH"));
|
|
247
248
|
return s < 12 ? "上午好" : s < 18 ? "下午好" : "晚上好";
|
|
@@ -250,14 +251,14 @@ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye
|
|
|
250
251
|
s.getFullYear(),
|
|
251
252
|
s.getMonth() + 1,
|
|
252
253
|
s.getDate()
|
|
253
|
-
), { gzYear: n, IMonthCn:
|
|
254
|
-
return `${S}月${w}日 ${n}${
|
|
255
|
-
},
|
|
254
|
+
), { gzYear: n, IMonthCn: _, IDayCn: M, cMonth: S, cDay: w, ncWeek: U } = t;
|
|
255
|
+
return `${S}月${w}日 ${n}${_}${M} ${U}`;
|
|
256
|
+
}, D = () => {
|
|
256
257
|
const s = "/upfm/v1/menuFavority";
|
|
257
258
|
I.value = !0;
|
|
258
259
|
const t = { pageSize: 20, pageNum: 1, userName: ue.get(me) };
|
|
259
260
|
G().get(s, t).then((n) => {
|
|
260
|
-
|
|
261
|
+
u.value = (n == null ? void 0 : n.list) || [];
|
|
261
262
|
}).finally(() => {
|
|
262
263
|
I.value = !1;
|
|
263
264
|
});
|
|
@@ -265,17 +266,17 @@ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye
|
|
|
265
266
|
j.push(s.menuPath);
|
|
266
267
|
}, H = () => {
|
|
267
268
|
var n;
|
|
268
|
-
const s = "/
|
|
269
|
-
G().get(s, t).then((
|
|
270
|
-
$.value = (
|
|
269
|
+
const s = "/upfm/v1/userMonitor", t = { pageSize: 8, pageNum: 1, employeeName: (n = h.getUserInfo) == null ? void 0 : n.name };
|
|
270
|
+
G().get(s, t).then((_) => {
|
|
271
|
+
$.value = (_ == null ? void 0 : _.list) || [];
|
|
271
272
|
});
|
|
272
273
|
}, T = () => {
|
|
273
274
|
b.value = !0;
|
|
274
275
|
};
|
|
275
276
|
K(() => {
|
|
276
|
-
|
|
277
|
+
D(), H();
|
|
277
278
|
});
|
|
278
|
-
const
|
|
279
|
+
const E = (s) => ["#409eff", "#67c23a", "#13c2c2", "#e85f33", "orange"][s % 5], q = [
|
|
279
280
|
"community",
|
|
280
281
|
"shield-star",
|
|
281
282
|
"group",
|
|
@@ -329,17 +330,17 @@ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye
|
|
|
329
330
|
];
|
|
330
331
|
return (s, t) => {
|
|
331
332
|
var x;
|
|
332
|
-
const n =
|
|
333
|
-
return a(),
|
|
333
|
+
const n = p("el-avatar"), _ = p("ut-flip-down"), M = p("el-empty"), S = p("iconify-icon-offline"), w = p("el-card"), U = p("el-col"), m = p("ut-calendar"), l = p("el-row"), d = ee("spinning");
|
|
334
|
+
return a(), v("div", qe, [
|
|
334
335
|
e("div", ze, [
|
|
335
336
|
e("div", Re, [
|
|
336
337
|
e("div", null, [
|
|
337
|
-
|
|
338
|
+
c(n, {
|
|
338
339
|
size: "large",
|
|
339
340
|
class: "text-4xl font-bold bg-[var(--el-color-primary)]"
|
|
340
341
|
}, {
|
|
341
|
-
default:
|
|
342
|
-
Y(f(
|
|
342
|
+
default: i(() => [
|
|
343
|
+
Y(f(r.value), 1)
|
|
343
344
|
]),
|
|
344
345
|
_: 1
|
|
345
346
|
})
|
|
@@ -354,7 +355,7 @@ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye
|
|
|
354
355
|
]),
|
|
355
356
|
e("div", He, [
|
|
356
357
|
t[2] || (t[2] = e("span", { class: "inline-block" }, " 所属角色: ", -1)),
|
|
357
|
-
e("div", Te, f(
|
|
358
|
+
e("div", Te, f(L()), 1)
|
|
358
359
|
]),
|
|
359
360
|
e("div", Oe, [
|
|
360
361
|
t[3] || (t[3] = e("span", { class: "inline-block" }, " 所属组织: ", -1)),
|
|
@@ -364,7 +365,7 @@ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye
|
|
|
364
365
|
]),
|
|
365
366
|
e("div", Ge, [
|
|
366
367
|
e("span", Pe, [
|
|
367
|
-
|
|
368
|
+
c(_, {
|
|
368
369
|
"show-days": !1,
|
|
369
370
|
"show-labels": !1
|
|
370
371
|
})
|
|
@@ -372,19 +373,19 @@ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye
|
|
|
372
373
|
e("div", We, f(A()), 1)
|
|
373
374
|
])
|
|
374
375
|
]),
|
|
375
|
-
|
|
376
|
+
c(l, {
|
|
376
377
|
class: "m-2",
|
|
377
378
|
gutter: 10
|
|
378
379
|
}, {
|
|
379
|
-
default:
|
|
380
|
+
default: i(() => [
|
|
380
381
|
te((a(), N(U, {
|
|
381
382
|
lg: 24,
|
|
382
383
|
md: 24,
|
|
383
384
|
class: ""
|
|
384
385
|
}, {
|
|
385
|
-
default:
|
|
386
|
-
|
|
387
|
-
header:
|
|
386
|
+
default: i(() => [
|
|
387
|
+
c(w, { class: "mb-2" }, {
|
|
388
|
+
header: i(() => [
|
|
388
389
|
e("div", { class: "flex items-center justify-between dark:bg-black" }, [
|
|
389
390
|
t[5] || (t[5] = e("span", { class: "font-bold" }, "常用菜单", -1)),
|
|
390
391
|
e("span", {
|
|
@@ -396,18 +397,18 @@ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye
|
|
|
396
397
|
]))
|
|
397
398
|
])
|
|
398
399
|
]),
|
|
399
|
-
default:
|
|
400
|
+
default: i(() => [
|
|
400
401
|
e("div", Ye, [
|
|
401
|
-
|
|
402
|
+
u.value.length ? O("", !0) : (a(), N(M, {
|
|
402
403
|
key: 0,
|
|
403
404
|
"image-size": 100,
|
|
404
405
|
description: "快来添加常用菜单吧!",
|
|
405
406
|
class: "p-0 pb-3"
|
|
406
407
|
})),
|
|
407
408
|
e("ul", {
|
|
408
|
-
class: se(["p-0 w-full h-full grid grid-rows-1 grid-cols-8 u-dashed-menu", { "grid-rows-2":
|
|
409
|
+
class: se(["p-0 w-full h-full grid grid-rows-1 grid-cols-8 u-dashed-menu", { "grid-rows-2": u.value.length > 8 }])
|
|
409
410
|
}, [
|
|
410
|
-
(a(!0),
|
|
411
|
+
(a(!0), v(k, null, C(u.value, (g, W) => (a(), v("li", {
|
|
411
412
|
key: g.id,
|
|
412
413
|
class: "text-center list-none bg-white",
|
|
413
414
|
onClick: (at) => F(g)
|
|
@@ -415,10 +416,10 @@ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye
|
|
|
415
416
|
e("div", Ke, [
|
|
416
417
|
e("div", {
|
|
417
418
|
class: "rounded-full w-10 h-10 flex items-center justify-center",
|
|
418
|
-
style: Q({ backgroundColor:
|
|
419
|
+
style: Q({ backgroundColor: E(W) })
|
|
419
420
|
}, [
|
|
420
|
-
|
|
421
|
-
icon: g.icon || `ri:${
|
|
421
|
+
c(S, {
|
|
422
|
+
icon: g.icon || `ri:${q[W]}-line`,
|
|
422
423
|
class: "text-2xl text-white"
|
|
423
424
|
}, null, 8, ["icon"])
|
|
424
425
|
], 4),
|
|
@@ -436,30 +437,30 @@ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye
|
|
|
436
437
|
})), [
|
|
437
438
|
[d, I.value]
|
|
438
439
|
]),
|
|
439
|
-
|
|
440
|
+
c(U, {
|
|
440
441
|
xl: 16,
|
|
441
442
|
lg: 12,
|
|
442
443
|
md: 24
|
|
443
444
|
}, {
|
|
444
|
-
default:
|
|
445
|
-
|
|
446
|
-
header:
|
|
445
|
+
default: i(() => [
|
|
446
|
+
c(w, { class: "mb-2" }, {
|
|
447
|
+
header: i(() => t[7] || (t[7] = [
|
|
447
448
|
e("div", { class: "font-bold" }, [
|
|
448
449
|
e("span", null, "个人动态")
|
|
449
450
|
], -1)
|
|
450
451
|
])),
|
|
451
|
-
default:
|
|
452
|
+
default: i(() => [
|
|
452
453
|
e("div", Xe, [
|
|
453
454
|
e("ul", Ze, [
|
|
454
|
-
(a(!0),
|
|
455
|
+
(a(!0), v(k, null, C($.value, (g) => (a(), v("li", {
|
|
455
456
|
key: g.id,
|
|
456
457
|
class: "w-full list-none p-2 border-b border-gray-200"
|
|
457
458
|
}, [
|
|
458
459
|
e("div", et, [
|
|
459
460
|
e("div", null, [
|
|
460
|
-
|
|
461
|
-
default:
|
|
462
|
-
Y(f(
|
|
461
|
+
c(n, { class: "text-base" }, {
|
|
462
|
+
default: i(() => [
|
|
463
|
+
Y(f(r.value), 1)
|
|
463
464
|
]),
|
|
464
465
|
_: 1
|
|
465
466
|
})
|
|
@@ -481,22 +482,22 @@ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye
|
|
|
481
482
|
]),
|
|
482
483
|
_: 1
|
|
483
484
|
}),
|
|
484
|
-
|
|
485
|
+
c(U, {
|
|
485
486
|
xl: 8,
|
|
486
487
|
lg: 12,
|
|
487
488
|
md: 24,
|
|
488
489
|
class: ""
|
|
489
490
|
}, {
|
|
490
|
-
default:
|
|
491
|
-
|
|
492
|
-
header:
|
|
491
|
+
default: i(() => [
|
|
492
|
+
c(w, { class: "mb-2" }, {
|
|
493
|
+
header: i(() => t[8] || (t[8] = [
|
|
493
494
|
e("div", { class: "font-bold" }, [
|
|
494
495
|
e("span", null, "日历")
|
|
495
496
|
], -1)
|
|
496
497
|
])),
|
|
497
|
-
default:
|
|
498
|
+
default: i(() => [
|
|
498
499
|
e("div", nt, [
|
|
499
|
-
|
|
500
|
+
c(m, {
|
|
500
501
|
holidays: z,
|
|
501
502
|
"statutory-holiday": o
|
|
502
503
|
})
|
|
@@ -510,18 +511,18 @@ const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye
|
|
|
510
511
|
]),
|
|
511
512
|
_: 1
|
|
512
513
|
}),
|
|
513
|
-
b.value ? (a(), N(
|
|
514
|
+
b.value ? (a(), N(Le, {
|
|
514
515
|
key: 0,
|
|
515
|
-
"data-source":
|
|
516
|
+
"data-source": u.value,
|
|
516
517
|
"user-name": B(h).getUserInfo.userName,
|
|
517
|
-
icons:
|
|
518
|
+
icons: q,
|
|
518
519
|
onClose: t[0] || (t[0] = (g) => b.value = !1),
|
|
519
|
-
onSuccess:
|
|
520
|
+
onSuccess: D
|
|
520
521
|
}, null, 8, ["data-source", "user-name"])) : O("", !0)
|
|
521
522
|
]);
|
|
522
523
|
};
|
|
523
524
|
}
|
|
524
|
-
}),
|
|
525
|
+
}), pt = /* @__PURE__ */ fe(lt, [["__scopeId", "data-v-5b8ab4a4"]]);
|
|
525
526
|
export {
|
|
526
|
-
|
|
527
|
+
pt as default
|
|
527
528
|
};
|