@utogether/udp-core 2.0.0-beta.1 → 2.0.0-beta.3
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/dist/{403-CTJDBjz7.js → 403-CxOqlq0f.js} +3 -3
- package/dist/403-WCboRvzZ-ZAPgYStl.js +65 -0
- package/dist/404-2V0Qi-d7-DkNwQggp.js +65 -0
- package/dist/{404-BFYkWIkQ.js → 404-xdB6lFeQ.js} +1 -1
- package/dist/500-BYfzvixf-CGpEieyQ.js +67 -0
- package/dist/{500-DGG3qadg.js → 500-C94bRK2S.js} +2 -2
- package/dist/AuthorityInfo-DBovfUjB-DpQwT9Q5.js +4 -0
- package/dist/{AuthorityInfo-ozZIo1Te.js → AuthorityInfo-Dy3b_nFN.js} +1 -1
- package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-DujerENw.js → AuthorityInfo.vue_vue_type_style_index_0_lang-Bh7IbcdY.js} +2 -2
- package/dist/AuthorityInfo.vue_vue_type_style_index_0_lang-D-l_Az3s-Cw7WmFxz.js +100 -0
- package/dist/AuthorityPanel-CRlAwbaI-G7pZXKdE.js +4 -0
- package/dist/AuthorityPanel.vue_vue_type_style_index_0_lang-DxhZjp1S-CJvk3pW8.js +114 -0
- package/dist/Company-B4vsXy2I-CkNCOqjJ.js +25 -0
- package/dist/{Company-6VJtwh23.js → Company-gKkfnhLt.js} +3 -3
- package/dist/{CompanyPanel-B2P488mq.js → CompanyPanel-BF5Pc35s.js} +7 -7
- package/dist/CompanyPanel-Czcx8Gyw-CvndXwB_.js +206 -0
- package/dist/DataSet-DT-rGICv-DaUfgbxk.js +147 -0
- package/dist/{Department-BnwoLEOC.js → Department-D0I3QVZe.js} +3 -3
- package/dist/Department-D0dVUrGC-C6HJcYI1.js +25 -0
- package/dist/{DepartmentPanel-CRrrmxtv.js → DepartmentPanel-2LHODgc7.js} +22 -22
- package/dist/DepartmentPanel-e91Lxr1j-BS_A-ILd.js +254 -0
- package/dist/{DesignPanel-CvbccgX2.js → DesignPanel-CtF3cAAQ.js} +1 -1
- package/dist/DesignPanel-DdFl_ohi-uCwFxcl1.js +4 -0
- package/dist/DesignPanel.vue_vue_type_style_index_0_lang-BACPrfUI-cC7yL0uY.js +1013 -0
- package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-Dz2tUszs.js → DesignPanel.vue_vue_type_style_index_0_lang-BCYgwoVt.js} +3 -3
- package/dist/DictView-BzQLOf_P-DDicwdmM.js +111 -0
- package/dist/{DictView-Ce1LoVHh.js → DictView-H3V5hxg3.js} +1 -1
- package/dist/{InvOrganization-BwCFZO1X.js → InvOrganization-BiGLnbqe.js} +2 -2
- package/dist/InvOrganization-atbhw0CI-BABbVt9V.js +74 -0
- package/dist/Org-BW1YHG-Q-Cow7JWlD.js +39 -0
- package/dist/{Org-0hzs6b0R.js → Org-DQTCQHNY.js} +2 -2
- package/dist/Preview-DJtVsoq1-CCGidQjJ.js +48 -0
- package/dist/{Preview--DnEAhwh.js → Preview-DXaiis29.js} +1 -1
- package/dist/{ReportDefine-Cu983bTN.js → ReportDefine-BLh4CiER.js} +1 -1
- package/dist/ReportDefine-CNx_ob99-6NQAHK-Q.js +10 -0
- package/dist/ReportDesign-FbQ6yTJS-C1pPAUSp.js +165 -0
- package/dist/{ReportDesign-QsWXXgvo.js → ReportDesign-Ni1YxrLC.js} +7 -7
- package/dist/ReportQuery-C5gz8Lgd-Eu2cQmda.js +75 -0
- package/dist/{ReportQuery-BjKIIhPu.js → ReportQuery-C8G88_qF.js} +1 -1
- package/dist/ReportQueryFrom-C7scua5v-uHXWq8Gy.js +4 -0
- package/dist/{ReportQueryFrom-DIjBO6Fx.js → ReportQueryFrom-CuZKPtB4.js} +1 -1
- package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-0T62cUMK.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-BAn_siFW.js} +7 -7
- package/dist/ReportQueryFrom.vue_vue_type_style_index_0_lang-DCbz67Wa-vK6r2uCl.js +178 -0
- package/dist/ReportTemplate-BDANdIWv-D_IGjR1w.js +161 -0
- package/dist/{ReportTemplate-2uk9tJcy.js → ReportTemplate-DFnDXWmx.js} +8 -8
- package/dist/{Role-_QP8QEaI.js → Role-BQ7hsfPn.js} +3 -3
- package/dist/Role-ByB0WbxW-5E8Mb148.js +25 -0
- package/dist/RoleAssign-DW6iC_0v-Bis61auk.js +26 -0
- package/dist/{RoleAssign-C2gkcmEQ.js → RoleAssign-UPCg2d4G.js} +3 -3
- package/dist/RolePanel-BM2MaQPU-CgcsbfaX.js +4 -0
- package/dist/{RolePanel-vnl_lXNY.js → RolePanel-C-mQ5XRq.js} +1 -1
- package/dist/RolePanel-ClQy8DBL-DARL4O-o.js +4 -0
- package/dist/{RolePanel-B8FPNGaA.js → RolePanel-CoSXOCZN.js} +1 -1
- package/dist/RolePanel.vue_vue_type_script_setup_true_lang-Bc_Ao_PU-DMmxr2iI.js +132 -0
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-bxHXrBYl.js → RolePanel.vue_vue_type_script_setup_true_lang-Bg-t2UhF.js} +7 -7
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-BuQbYEEI.js → RolePanel.vue_vue_type_script_setup_true_lang-D-o7HYZ8.js} +8 -8
- package/dist/RolePanel.vue_vue_type_script_setup_true_lang-fthF1zkp-JsbQJoDy.js +154 -0
- package/dist/ScrollPanel.vue_vue_type_style_index_0_lang-ByWIwajm-BsBf2Vs3.js +100 -0
- package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-C6yZXBqB.js → ScrollPanel.vue_vue_type_style_index_0_lang-CCsoxDfk.js} +1 -1
- package/dist/Staff-CuxzvhD9-D0KTcyRh.js +25 -0
- package/dist/{Staff-CHWrMIEb.js → Staff-D-CmvG1R.js} +3 -3
- package/dist/StaffInfo-CY7gUICu-EZUhUwIp.js +4 -0
- package/dist/{StaffInfo-Cpq2eayz.js → StaffInfo-Idhvuc6e.js} +1 -1
- package/dist/StaffInfo.vue_vue_type_script_setup_true_lang-Dd8gtQz8-Dlkt-eCn.js +108 -0
- package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-BVCjF2i1.js → StaffInfo.vue_vue_type_script_setup_true_lang-MUGKjnHU.js} +1 -1
- package/dist/{StaffPanel-D2BMXt5p.js → StaffPanel-CDDmAYE5.js} +1 -1
- package/dist/StaffPanel-CwqG0_xr-CrvzLJoc.js +4 -0
- package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-B6jAGo-g.js → StaffPanel.vue_vue_type_script_setup_true_lang-Bdilqbee.js} +42 -42
- package/dist/StaffPanel.vue_vue_type_script_setup_true_lang-DCdBy8Hu-BXrueqi0.js +143 -0
- package/dist/SysUser-9Q2UJWhi-DprWXFlR.js +15 -0
- package/dist/{SysUser-om6H1BeC.js → SysUser-a-j5bppr.js} +2 -2
- package/dist/{SysUserPanel-CH0HPP7h.js → SysUserPanel-6V232wwB.js} +1 -1
- package/dist/SysUserPanel-bJy69O7x-BJtBgFEs.js +4 -0
- package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-Dpl13ee0.js → SysUserPanel.vue_vue_type_script_setup_true_lang-BOtHuMVy.js} +2 -2
- package/dist/SysUserPanel.vue_vue_type_script_setup_true_lang-DUPFqgz3-BSqRCMen.js +356 -0
- package/dist/{SystemMenu-BkG_DKxA.js → SystemMenu-BnVeOSOQ.js} +7 -7
- package/dist/SystemMenu-DGOAolc1-CJSLHP8i.js +156 -0
- package/dist/UserInfo-CKoOHkAM-DDWp0I_U.js +4 -0
- package/dist/{UserInfo-D9croxUe.js → UserInfo-Cax9b2nw.js} +1 -1
- package/dist/UserInfo.vue_vue_type_style_index_0_lang-BaT53SSu-DsNaAomO.js +160 -0
- package/dist/{UserInfo.vue_vue_type_style_index_0_lang-DLIP8xpN.js → UserInfo.vue_vue_type_style_index_0_lang-D-cw11i9.js} +2 -2
- package/dist/await-to-js.es5-Bv3Eu4mi-UCggJjes.js +10 -0
- package/dist/await-to-js.es5-Bv3Eu4mi.js +10 -0
- package/dist/childView-0YZQ6GBn-CEqg7k5d.js +4 -0
- package/dist/{childView-BY_Ip-l1.js → childView-DKG3eZo8.js} +1 -1
- package/dist/childView-DKkgi3yo-D47ft-vi.js +4 -0
- package/dist/{childView-CHp_TueS.js → childView-siumuBz0.js} +1 -1
- package/dist/childView.vue_vue_type_style_index_0_lang-ABMrGInv-ClOdE_sa.js +143 -0
- package/dist/{childView.vue_vue_type_style_index_0_lang-BNHbDRjt.js → childView.vue_vue_type_style_index_0_lang-CUfXDS1q.js} +8 -8
- package/dist/{childView.vue_vue_type_style_index_0_lang-CbjGf7Z7.js → childView.vue_vue_type_style_index_0_lang-CW3EbAmW.js} +8 -8
- package/dist/childView.vue_vue_type_style_index_0_lang-CaW106ve-CClTM8PK.js +180 -0
- package/dist/{code-rule-Ce6yWqCq.js → code-rule-Dtoree6F.js} +2 -2
- package/dist/code-rule-wQyfgpNL-C4evD4Co.js +148 -0
- package/dist/core.es.js +10 -10
- package/dist/cron-task-C-kryDtd-C0NuGZCe.js +135 -0
- package/dist/{cron-task-DziaH0rI.js → cron-task-GSRgA7S5.js} +2 -2
- package/dist/flow-task-B07st2aD-CgQvagSQ.js +10 -0
- package/dist/frameView-BOGA3ezf-QoSxzmSQ.js +44 -0
- package/dist/{frameView-DNeCVQaY.js → frameView-Cy6wxW0K.js} +1 -1
- package/dist/{index-BabfUVv_.js → index-Dc7xWMiC.js} +1057 -1033
- package/dist/layout-home-3Dy4onl4.js +228 -0
- package/dist/layout-home-CYHksXN_-Basy-3IH.js +228 -0
- package/dist/layoutView-BaRvAbIa-xVgfqspc.js +3302 -0
- package/dist/{layoutView-12Mlp9A2.js → layoutView-DMjNscJ-.js} +8 -8
- package/dist/log-in-Cx1dGik8-BVeEHeZ8.js +117 -0
- package/dist/{log-in-1NGaA5OM.js → log-in-VAG6Cvcx.js} +8 -8
- package/dist/log-out-COYdxrNC-ftopGZdE.js +130 -0
- package/dist/{log-out-B8_atGcQ.js → log-out-DZGaMCjC.js} +4 -4
- package/dist/{login-5dydO6GR.js → login-CqVMdNHs.js} +16 -16
- package/dist/login-Dg9ofNS8-Bocp1XMA.js +241 -0
- package/dist/login-log-DJBGJVV0-AoOyj0jD.js +70 -0
- package/dist/lov-view-C0T5prk8-B2DBmn55.js +97 -0
- package/dist/{lov-view-DPvGUu3h.js → lov-view-Cc68_28B.js} +7 -7
- package/dist/{menuInfo-DVADYfEK.js → menuInfo-BIrIaJlH.js} +1 -1
- package/dist/menuInfo-BZJ_q7bz-Drho-_QC.js +4 -0
- package/dist/menuInfo.vue_vue_type_style_index_0_lang-BA8xjUo3-BCZ1wipf.js +363 -0
- package/dist/{menuInfo.vue_vue_type_style_index_0_lang-DgsifDrm.js → menuInfo.vue_vue_type_style_index_0_lang-DlE4w35X.js} +2 -2
- package/dist/{pda-app-BZXs-2BQ.js → pda-app-DnjphrRS.js} +9 -9
- package/dist/pda-app-m9hsppHo-B4xyja1o.js +710 -0
- package/dist/redirect-BqegffKC-CBCIuqmz.js +15 -0
- package/dist/resource-C6KEIXu--B_ddyecm.js +97 -0
- package/dist/{resource-BZA9NFKc.js → resource-DISgPDM7.js} +4 -4
- package/dist/su-welcome-BjbuSrBZ.js +49424 -0
- package/dist/su-welcome-CYYy-dzr-D3RKPoB0.js +42089 -0
- package/dist/sys-config-DCjJGtht-DARDjlrt.js +370 -0
- package/dist/{sys-config-DQmNjWH4.js → sys-config-Yc9vh1t1.js} +13 -13
- package/dist/udp-core.css +1 -1
- package/dist/utogether-MlnyYtNS-CGgjFNPS.js +4 -0
- package/package.json +5 -2
- package/src/App.vue +71 -71
- package/src/components/udp/content/index.vue +88 -88
- package/src/components/udp/form-upload/form-upload.vue +492 -492
- package/src/components/udp/grid/index.vue +524 -524
- package/src/components/udp/index.ts +6 -6
- package/src/components/udp/ut-stamp-badge/index.vue +271 -271
- package/src/components/udp/utils.ts +408 -408
- package/src/layout/components/lay-content/index.vue +136 -136
- package/src/layout/components/lay-search/components/SearchModal.vue +181 -189
- package/src/layout/components/lay-setting/index.vue +503 -503
- package/src/layout/components/lay-sidebar/sidebar-logo.vue +101 -101
- package/src/layout/components/lay-tag/index.vue +598 -598
- package/src/layout/hooks/useNav.ts +176 -176
- package/src/layout/hooks/useTag.ts +227 -227
- package/src/layout/layoutView.vue +216 -216
- package/src/layout/types.ts +93 -93
- package/src/main.ts +111 -112
- package/src/plugins/i18n/zh.ts +1 -0
- package/src/plugins/vxe-table/index.ts +116 -116
- package/src/plugins/vxe-table/render.tsx +968 -968
- package/src/router/index.ts +187 -187
- package/src/router/modules/home.ts +32 -32
- package/src/router/utils.ts +420 -420
- package/src/store/modules/epTheme.ts +48 -48
- package/src/style/vxetable.scss +364 -356
- package/src/utils/dataFormat/index.ts +222 -222
- package/src/utils/lifecycle.ts +39 -39
- package/src/views/organization/department/DepartmentPanel.vue +303 -303
- package/src/views/organization/staff/StaffInfo.vue +127 -127
- package/src/views/organization/staff/StaffPanel.vue +3 -3
- package/src/views/system/layout/layout-home.vue +45 -7
- package/src/views/system/menu/AuthorityPanel.vue +141 -141
- package/src/views/system/menu/SystemMenu.vue +194 -194
- package/src/views/system/menu/menuInfo.vue +1 -1
- package/src/views/system/sysUser/SysUserPanel.vue +363 -363
- package/src/views/udev/coderule/code-rule.vue +132 -132
- package/src/views/udev/dict/DictView.vue +118 -118
- package/src/views/udev/dict/childView.vue +184 -184
- package/src/views/udev/lov/childView.vue +174 -174
- package/src/views/uhome/components/common-menu.vue +118 -0
- package/src/views/uhome/components/dynamic-component.vue +66 -0
- package/src/views/uhome/components/home-todo.vue +170 -0
- package/src/views/uhome/components/menu-favorite.vue +315 -315
- package/src/views/uhome/dynamic-card.vue +18 -19
- package/src/views/uhome/su-welcome.vue +46 -116
- package/src/views/ulogin/login.vue +336 -336
- package/src/views/upms/interface/log-in.vue +100 -100
- package/src/views/upms/interface/log-out.vue +104 -104
- package/src/views/upms/user/login-log.vue +54 -54
- package/types/global.d.ts +232 -232
- package/dist/await-to-js.es5-BtRbN2QH.js +0 -10
- package/dist/layout-home-Cis1KlEr.js +0 -195
- package/dist/su-welcome-BXe6Cdp3.js +0 -580
|
@@ -1,580 +0,0 @@
|
|
|
1
|
-
import { defineComponent as G, ref as C, onMounted as Y, resolveComponent as _, createBlock as w, openBlock as o, withCtx as c, createElementVNode as e, createVNode as r, createCommentVNode as D, unref as W, normalizeStyle as X, toDisplayString as v, createElementBlock as f, Fragment as I, renderList as V, nextTick as Z, resolveDynamicComponent as ee, defineAsyncComponent as te, computed as ne, resolveDirective as se, createTextVNode as Q, withDirectives as oe, normalizeClass as le } from "vue";
|
|
2
|
-
import { useRouter as ae } from "vue-router";
|
|
3
|
-
import ce from "dayjs";
|
|
4
|
-
import { dbstorage as ie, delay as re, warnMessage as ue, successMessage as de, lunarCalendar as me, cookies as _e } from "@utogether/utils";
|
|
5
|
-
import { y as F, i as fe, p as pe, _ as ve } from "./index-BabfUVv_.js";
|
|
6
|
-
import { clone as ge, max as he } from "xe-utils";
|
|
7
|
-
import xe from "vuedraggable";
|
|
8
|
-
import { t as ye } from "./await-to-js.es5-BtRbN2QH.js";
|
|
9
|
-
const be = { class: "" }, we = { class: "w-full h-24" }, ke = { class: "" }, Ce = { class: "h-24 w-24 flex justify-center items-center flex-col relative drag-item ut-menu-top-item" }, Ne = { class: "w-[90%] text-xs mt-2 text-ellipsis overflow-hidden whitespace-nowrap text-center" }, $e = ["onClick"], Ie = {
|
|
10
|
-
class: "p-3 pb-14",
|
|
11
|
-
style: { "padding-bottom": "54px" }
|
|
12
|
-
}, Ve = { class: "flex items-center" }, Se = { class: "ml-1 font-bold text-base" }, Me = { class: "pl-3 py-2" }, Ue = { class: "flex items-center" }, je = { class: "ml-1 font-bold text-sm" }, De = { class: "pl-3 py-2" }, Ee = { class: "flex items-center" }, Le = { class: "ml-1 font-bold text-sm" }, ze = { class: "py-2" }, Re = { class: "flex justify-end" }, Ae = "/upfm/v1/menuFavority", qe = /* @__PURE__ */ G({
|
|
13
|
-
__name: "menu-favorite",
|
|
14
|
-
props: {
|
|
15
|
-
dataSource: { default: () => [] },
|
|
16
|
-
icons: { default: () => [] },
|
|
17
|
-
userName: { default: "" }
|
|
18
|
-
},
|
|
19
|
-
emits: ["close", "success"],
|
|
20
|
-
setup(H, { emit: h }) {
|
|
21
|
-
const S = H, d = C([]), N = C([]), g = C(!1), y = C(!1), i = C({}), b = async () => {
|
|
22
|
-
N.value = await ie.getItem(`U-${S.userName}-ROUTES`), N.value = N.value.filter((s) => s.menuCode !== "SysHome"), await re(64), T();
|
|
23
|
-
}, A = (s, l) => {
|
|
24
|
-
var t;
|
|
25
|
-
d.value.splice(l, 1);
|
|
26
|
-
const n = (t = i.value[s.parentId]) == null ? void 0 : t.findIndex((u) => u === s.menuId);
|
|
27
|
-
i.value[s.parentId].splice(n, 1);
|
|
28
|
-
}, U = (s) => {
|
|
29
|
-
const l = [], n = [];
|
|
30
|
-
return s.children.forEach((t) => {
|
|
31
|
-
["5", "100"].includes(t.menuCategory) ? l.push(t) : n.push(t);
|
|
32
|
-
}), { folder: l, menus: n };
|
|
33
|
-
}, T = () => {
|
|
34
|
-
S.dataSource.forEach((s) => {
|
|
35
|
-
i.value[s.parentId] ? i.value[s.parentId].push(s.menuId) : i.value[s.parentId] = [s.menuId];
|
|
36
|
-
});
|
|
37
|
-
}, E = (s, l) => {
|
|
38
|
-
if (l.checked) {
|
|
39
|
-
if (d.value.length === 16)
|
|
40
|
-
return Z(() => {
|
|
41
|
-
i.value[s.id].splice(i.value[s.id].length - 1, 1);
|
|
42
|
-
}), ue("最多只能选择16个常用功能");
|
|
43
|
-
const n = s.children.find((t) => t.id === l.label);
|
|
44
|
-
n && (n.seqNo = O() + 10, n.menuId = n.id, d.value.push(n));
|
|
45
|
-
} else {
|
|
46
|
-
let n = d.value.findIndex((t) => t.menuId === l.label);
|
|
47
|
-
n !== -1 && d.value.splice(n, 1), n = i.value[s.id].findIndex((t) => t === l.label), n !== -1 && i.value[s.id].splice(n, 1);
|
|
48
|
-
}
|
|
49
|
-
}, q = () => {
|
|
50
|
-
d.value.forEach((s, l) => {
|
|
51
|
-
s.seqNo = (l + 1) * 10;
|
|
52
|
-
});
|
|
53
|
-
}, O = () => {
|
|
54
|
-
var s;
|
|
55
|
-
return ((s = he(d.value, (l) => l.seqNo)) == null ? void 0 : s.seqNo) || 0;
|
|
56
|
-
}, B = () => {
|
|
57
|
-
const s = d.value.map((l, n) => ({
|
|
58
|
-
userName: S.userName,
|
|
59
|
-
menuId: l.menuId,
|
|
60
|
-
seqNo: 10 * (n + 1)
|
|
61
|
-
}));
|
|
62
|
-
y.value = !0, F().post(Ae, s).then(() => {
|
|
63
|
-
de(), L(), z("success");
|
|
64
|
-
}).finally(() => {
|
|
65
|
-
y.value = !1;
|
|
66
|
-
});
|
|
67
|
-
}, L = () => {
|
|
68
|
-
g.value = !1, z("close");
|
|
69
|
-
}, P = (s) => ["#409eff", "#67c23a", "#13c2c2", "#e85f33", "orange"][s % 5], z = h;
|
|
70
|
-
return Y(() => {
|
|
71
|
-
d.value = ge(S.dataSource, !0), g.value = !0, b();
|
|
72
|
-
}), (s, l) => {
|
|
73
|
-
const n = _("el-empty"), t = _("iconify-icon-offline"), u = _("el-scrollbar"), x = _("vxe-checkbox"), M = _("vxe-checkbox-group"), j = _("ut-button"), R = _("vxe-modal");
|
|
74
|
-
return o(), w(R, {
|
|
75
|
-
modelValue: g.value,
|
|
76
|
-
"onUpdate:modelValue": l[0] || (l[0] = (m) => g.value = m),
|
|
77
|
-
loading: y.value,
|
|
78
|
-
width: "75%",
|
|
79
|
-
height: "80%",
|
|
80
|
-
title: "常用菜单设置(拖动可改变菜单顺序)",
|
|
81
|
-
"class-name": "u-favorite-modal",
|
|
82
|
-
"show-footer": "",
|
|
83
|
-
onClose: L
|
|
84
|
-
}, {
|
|
85
|
-
default: c(() => [
|
|
86
|
-
e("div", be, [
|
|
87
|
-
r(u, {
|
|
88
|
-
heigth: "100",
|
|
89
|
-
class: "w-full border-b border-slate-300"
|
|
90
|
-
}, {
|
|
91
|
-
default: c(() => [
|
|
92
|
-
e("div", we, [
|
|
93
|
-
d.value.length ? D("", !0) : (o(), w(n, {
|
|
94
|
-
key: 0,
|
|
95
|
-
"image-size": 50,
|
|
96
|
-
description: "",
|
|
97
|
-
class: "p-0"
|
|
98
|
-
})),
|
|
99
|
-
r(W(xe), {
|
|
100
|
-
list: d.value,
|
|
101
|
-
handle: ".drag-item",
|
|
102
|
-
animation: "300",
|
|
103
|
-
"item-key": "id",
|
|
104
|
-
class: "flex",
|
|
105
|
-
onEnd: q
|
|
106
|
-
}, {
|
|
107
|
-
item: c(({ element: m, index: a }) => [
|
|
108
|
-
e("div", ke, [
|
|
109
|
-
e("div", Ce, [
|
|
110
|
-
e("div", {
|
|
111
|
-
class: "rounded-full w-10 h-10 flex items-center justify-center",
|
|
112
|
-
style: X({ backgroundColor: P(a) })
|
|
113
|
-
}, [
|
|
114
|
-
r(t, {
|
|
115
|
-
icon: m.icon || `ri:${s.icons[a]}-line`,
|
|
116
|
-
class: "text-2xl text-white"
|
|
117
|
-
}, null, 8, ["icon"])
|
|
118
|
-
], 4),
|
|
119
|
-
e("span", Ne, v(m.menuName), 1),
|
|
120
|
-
e("i", {
|
|
121
|
-
class: "ri-indeterminate-circle-line right-3 top-2 text-base hidden ut-menu-del",
|
|
122
|
-
onClick: (p) => A(m, a)
|
|
123
|
-
}, null, 8, $e)
|
|
124
|
-
])
|
|
125
|
-
])
|
|
126
|
-
]),
|
|
127
|
-
_: 1
|
|
128
|
-
}, 8, ["list"])
|
|
129
|
-
])
|
|
130
|
-
]),
|
|
131
|
-
_: 1
|
|
132
|
-
}),
|
|
133
|
-
r(u, { class: "u-favorite-menu--contain" }, {
|
|
134
|
-
default: c(() => [
|
|
135
|
-
e("div", Ie, [
|
|
136
|
-
(o(!0), f(I, null, V(N.value, (m) => (o(), f("div", {
|
|
137
|
-
key: m.id,
|
|
138
|
-
class: "grandparent-node"
|
|
139
|
-
}, [
|
|
140
|
-
e("div", Ve, [
|
|
141
|
-
l[1] || (l[1] = e("div", { class: "w-2 h-4 bg-green-400" }, null, -1)),
|
|
142
|
-
e("div", Se, v(m.menuName), 1)
|
|
143
|
-
]),
|
|
144
|
-
e("div", Me, [
|
|
145
|
-
r(M, {
|
|
146
|
-
modelValue: i.value[m.id],
|
|
147
|
-
"onUpdate:modelValue": (a) => i.value[m.id] = a,
|
|
148
|
-
onChange: (a) => E(m, a)
|
|
149
|
-
}, {
|
|
150
|
-
default: c(() => [
|
|
151
|
-
(o(!0), f(I, null, V(U(m).menus, (a) => (o(), w(x, {
|
|
152
|
-
key: a.id,
|
|
153
|
-
label: a.id,
|
|
154
|
-
content: a.menuName
|
|
155
|
-
}, null, 8, ["label", "content"]))), 128))
|
|
156
|
-
]),
|
|
157
|
-
_: 2
|
|
158
|
-
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])
|
|
159
|
-
]),
|
|
160
|
-
(o(!0), f(I, null, V(U(m).folder, (a) => (o(), f("div", {
|
|
161
|
-
key: a.id,
|
|
162
|
-
class: "parent-node pl-3"
|
|
163
|
-
}, [
|
|
164
|
-
e("div", Ue, [
|
|
165
|
-
l[2] || (l[2] = e("div", { class: "w-2 h-4 bg-blue-400" }, null, -1)),
|
|
166
|
-
e("div", je, v(a.menuName), 1)
|
|
167
|
-
]),
|
|
168
|
-
e("div", De, [
|
|
169
|
-
r(M, {
|
|
170
|
-
modelValue: i.value[a.id],
|
|
171
|
-
"onUpdate:modelValue": (p) => i.value[a.id] = p,
|
|
172
|
-
onChange: (p) => E(a, p)
|
|
173
|
-
}, {
|
|
174
|
-
default: c(() => [
|
|
175
|
-
(o(!0), f(I, null, V(U(a).menus, (p) => (o(), w(x, {
|
|
176
|
-
key: p.id,
|
|
177
|
-
label: p.id,
|
|
178
|
-
content: p.menuName
|
|
179
|
-
}, null, 8, ["label", "content"]))), 128))
|
|
180
|
-
]),
|
|
181
|
-
_: 2
|
|
182
|
-
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])
|
|
183
|
-
]),
|
|
184
|
-
(o(!0), f(I, null, V(U(a).folder, (p) => (o(), f("div", {
|
|
185
|
-
key: p.id,
|
|
186
|
-
class: "child-node pl-3"
|
|
187
|
-
}, [
|
|
188
|
-
e("div", Ee, [
|
|
189
|
-
l[3] || (l[3] = e("div", { class: "w-2 h-4 bg-red-400" }, null, -1)),
|
|
190
|
-
e("div", Le, v(p.menuName), 1)
|
|
191
|
-
]),
|
|
192
|
-
e("div", ze, [
|
|
193
|
-
r(M, {
|
|
194
|
-
modelValue: i.value[p.id],
|
|
195
|
-
"onUpdate:modelValue": ($) => i.value[p.id] = $,
|
|
196
|
-
onChange: ($) => E(a, $)
|
|
197
|
-
}, {
|
|
198
|
-
default: c(() => [
|
|
199
|
-
(o(!0), f(I, null, V(U(p).menus, ($) => (o(), w(x, {
|
|
200
|
-
key: $.id,
|
|
201
|
-
label: $.id,
|
|
202
|
-
content: $.menuName
|
|
203
|
-
}, null, 8, ["label", "content"]))), 128))
|
|
204
|
-
]),
|
|
205
|
-
_: 2
|
|
206
|
-
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])
|
|
207
|
-
])
|
|
208
|
-
]))), 128))
|
|
209
|
-
]))), 128))
|
|
210
|
-
]))), 128))
|
|
211
|
-
])
|
|
212
|
-
]),
|
|
213
|
-
_: 1
|
|
214
|
-
})
|
|
215
|
-
])
|
|
216
|
-
]),
|
|
217
|
-
footer: c(() => [
|
|
218
|
-
e("div", Re, [
|
|
219
|
-
r(j, {
|
|
220
|
-
content: "cancel",
|
|
221
|
-
status: "warning",
|
|
222
|
-
onTap: L
|
|
223
|
-
}),
|
|
224
|
-
r(j, {
|
|
225
|
-
content: "confirm",
|
|
226
|
-
onTap: B
|
|
227
|
-
})
|
|
228
|
-
])
|
|
229
|
-
]),
|
|
230
|
-
_: 1
|
|
231
|
-
}, 8, ["modelValue", "loading"]);
|
|
232
|
-
};
|
|
233
|
-
}
|
|
234
|
-
}), Fe = {
|
|
235
|
-
class: "dynamic-card w-full"
|
|
236
|
-
}, He = /* @__PURE__ */ G({
|
|
237
|
-
__name: "dynamic-card",
|
|
238
|
-
setup(H) {
|
|
239
|
-
const h = C([]), S = async () => {
|
|
240
|
-
const d = F(), [N, g] = await ye(d.get("/ucrm/sysHomeConfig", {
|
|
241
|
-
pageSize: 1e3,
|
|
242
|
-
pageNum: 1,
|
|
243
|
-
enabled: "1"
|
|
244
|
-
}));
|
|
245
|
-
N || g == null || g.list.forEach((y) => {
|
|
246
|
-
const i = {
|
|
247
|
-
...y,
|
|
248
|
-
component: te(async () => import(`${y.url}.vue`))
|
|
249
|
-
};
|
|
250
|
-
h.value.push(i);
|
|
251
|
-
});
|
|
252
|
-
};
|
|
253
|
-
return Y(() => {
|
|
254
|
-
S();
|
|
255
|
-
}), (d, N) => {
|
|
256
|
-
const g = _("vxe-card"), y = _("vxe-col"), i = _("vxe-row");
|
|
257
|
-
return o(), f("div", Fe, [r(i, {
|
|
258
|
-
gutter: [10, 10],
|
|
259
|
-
wrap: ""
|
|
260
|
-
}, {
|
|
261
|
-
default: c(() => [(o(!0), f(I, null, V(h.value, (b) => (o(), w(y, {
|
|
262
|
-
key: b.id,
|
|
263
|
-
span: b.span
|
|
264
|
-
}, {
|
|
265
|
-
default: c(() => [r(g, {
|
|
266
|
-
title: b.title,
|
|
267
|
-
height: b.height,
|
|
268
|
-
shadow: ""
|
|
269
|
-
}, {
|
|
270
|
-
default: c(() => [(o(), w(ee(b.component)))]),
|
|
271
|
-
_: 2
|
|
272
|
-
}, 1032, ["title", "height"])]),
|
|
273
|
-
_: 2
|
|
274
|
-
}, 1032, ["span"]))), 128))]),
|
|
275
|
-
_: 1
|
|
276
|
-
})]);
|
|
277
|
-
};
|
|
278
|
-
}
|
|
279
|
-
}), Te = { class: "ut-home m-3" }, Oe = {
|
|
280
|
-
key: 0,
|
|
281
|
-
class: "h-32 mb-4 p-4 flex justify-between items-center bg-white home-page"
|
|
282
|
-
}, Be = { class: "flex flex-row items-center flex-[2]" }, Pe = { class: "ml-4 text-xs flex-[2]" }, We = { class: "flex justify-center items-center" }, Ge = { class: "py-2 text-gray-500 flex" }, Ye = { class: "w-2/3" }, Je = { class: "text-gray-500 flex" }, Ke = { class: "w-2/3" }, Qe = { class: "flex flex-col" }, Xe = { class: "text-4xl" }, Ze = { class: "mt-1 ml-3" }, et = { class: "default:bg-white dark:bg-black" }, tt = ["onClick"], nt = { class: "h-20 flex justify-center items-center flex-col" }, st = { class: "text-xs mt-2" }, ot = { class: "p-3" }, lt = { class: "p-0 w-full h-full" }, at = { class: "flex" }, ct = { class: "ml-3" }, it = { class: "text-blue-600 mr-3" }, rt = { class: "text-gray-400 text-sm" }, ut = { class: "p-1" }, dt = /* @__PURE__ */ G({
|
|
283
|
-
name: "UdpWelcome",
|
|
284
|
-
__name: "su-welcome",
|
|
285
|
-
setup(H) {
|
|
286
|
-
const h = fe(), S = ae(), d = C([]), N = C([]), g = C(!1), y = C(!1), i = ne(() => {
|
|
287
|
-
var n;
|
|
288
|
-
return (n = h.getUserInfo.name) == null ? void 0 : n.slice(0, 1);
|
|
289
|
-
}), b = C(+window.__UDP_VERSION__.substring(0, 1) > 1), A = () => {
|
|
290
|
-
var t, u;
|
|
291
|
-
return h.isAdminRole ? "系统管理员" : (u = (t = h.getUserInfo) == null ? void 0 : t.sysRoles) == null ? void 0 : u.map((x) => x.roleName).join(",");
|
|
292
|
-
}, U = () => {
|
|
293
|
-
var t;
|
|
294
|
-
return h.isAdminRole ? "【系统管理员】拥有所有组织" : A() === "项目组管理员" ? "【项目组管理员】拥有所有组织" : (t = h.getOrglist) == null ? void 0 : t.map((u) => u.orgName).join(",");
|
|
295
|
-
}, T = () => {
|
|
296
|
-
const n = Number(ce().format("HH"));
|
|
297
|
-
return n < 12 ? "上午好" : n < 18 ? "下午好" : "晚上好";
|
|
298
|
-
}, E = () => {
|
|
299
|
-
const n = /* @__PURE__ */ new Date(), t = me.solar2lunar(n.getFullYear(), n.getMonth() + 1, n.getDate()), { gzYear: u, IMonthCn: x, IDayCn: M, cMonth: j, cDay: R, ncWeek: m } = t;
|
|
300
|
-
return `${j}月${R}日 ${u}${x}${M} ${m}`;
|
|
301
|
-
}, q = () => {
|
|
302
|
-
const n = "/upfm/v1/menuFavority";
|
|
303
|
-
y.value = !0;
|
|
304
|
-
const t = { pageSize: 20, pageNum: 1, userName: _e.get(pe) };
|
|
305
|
-
F().get(n, t).then((u) => {
|
|
306
|
-
d.value = (u == null ? void 0 : u.list) || [];
|
|
307
|
-
}).finally(() => {
|
|
308
|
-
y.value = !1;
|
|
309
|
-
});
|
|
310
|
-
}, O = (n) => {
|
|
311
|
-
S.push(n.menuPath);
|
|
312
|
-
}, B = () => {
|
|
313
|
-
var u;
|
|
314
|
-
const n = "/upfm/v1/userMonitor", t = { pageSize: 8, pageNum: 1, employeeName: (u = h.getUserInfo) == null ? void 0 : u.name };
|
|
315
|
-
F().get(n, t).then((x) => {
|
|
316
|
-
N.value = (x == null ? void 0 : x.list) || [];
|
|
317
|
-
});
|
|
318
|
-
}, L = () => {
|
|
319
|
-
g.value = !0;
|
|
320
|
-
};
|
|
321
|
-
Y(() => {
|
|
322
|
-
!b.value && q(), B();
|
|
323
|
-
});
|
|
324
|
-
const P = (n) => ["#409eff", "#67c23a", "#13c2c2", "#e85f33", "orange"][n % 5], z = [
|
|
325
|
-
"community",
|
|
326
|
-
"shield-star",
|
|
327
|
-
"group",
|
|
328
|
-
"settings",
|
|
329
|
-
"star",
|
|
330
|
-
"train",
|
|
331
|
-
"send-plane",
|
|
332
|
-
"rocket",
|
|
333
|
-
"device",
|
|
334
|
-
"compass",
|
|
335
|
-
"map-pin",
|
|
336
|
-
"keynote",
|
|
337
|
-
"article",
|
|
338
|
-
"tv",
|
|
339
|
-
"database-2",
|
|
340
|
-
"calendar"
|
|
341
|
-
], s = [
|
|
342
|
-
{
|
|
343
|
-
2023: { 12: { 30: "班", 31: "班" } }
|
|
344
|
-
},
|
|
345
|
-
{
|
|
346
|
-
2024: {
|
|
347
|
-
1: { 1: "假" },
|
|
348
|
-
2: {
|
|
349
|
-
4: "班",
|
|
350
|
-
10: "假",
|
|
351
|
-
11: "假",
|
|
352
|
-
12: "假",
|
|
353
|
-
13: "假",
|
|
354
|
-
14: "假",
|
|
355
|
-
15: "假",
|
|
356
|
-
16: "假",
|
|
357
|
-
17: "假",
|
|
358
|
-
18: "班"
|
|
359
|
-
},
|
|
360
|
-
4: { 4: "假", 5: "假", 6: "假", 7: "班", 28: "班" },
|
|
361
|
-
5: { 1: "假", 2: "假", 3: "假", 4: "假", 5: "假", 11: "班" },
|
|
362
|
-
6: { 8: "假", 9: "假", 10: "假" },
|
|
363
|
-
9: { 15: "假", 16: "假", 17: "假", 14: "班", 29: "班" },
|
|
364
|
-
10: { 1: "假", 2: "假", 3: "假", 4: "假", 5: "假", 6: "假", 7: "假", 12: "班" }
|
|
365
|
-
}
|
|
366
|
-
}
|
|
367
|
-
], l = [
|
|
368
|
-
{ name: "元旦", date: "2024-01-01" },
|
|
369
|
-
{ name: "春节", date: "2024-02-10" },
|
|
370
|
-
{ name: "清明节", date: "2024-04-04" },
|
|
371
|
-
{ name: "劳动节", date: "2024-05-01" },
|
|
372
|
-
{ name: "端午节", date: "2024-06-10" },
|
|
373
|
-
{ name: "中秋节", date: "2024-09-17" },
|
|
374
|
-
{ name: "国庆节", date: "2024-10-01" }
|
|
375
|
-
];
|
|
376
|
-
return (n, t) => {
|
|
377
|
-
var J;
|
|
378
|
-
const u = _("el-avatar"), x = _("ut-flip-down"), M = _("el-row"), j = _("el-empty"), R = _("iconify-icon-offline"), m = _("el-card"), a = _("el-col"), p = _("ut-calendar"), $ = se("spinning");
|
|
379
|
-
return o(), f("div", Te, [
|
|
380
|
-
b.value ? D("", !0) : (o(), f("div", Oe, [
|
|
381
|
-
e("div", Be, [
|
|
382
|
-
e("div", null, [
|
|
383
|
-
r(u, {
|
|
384
|
-
size: "large",
|
|
385
|
-
class: "text-4xl font-bold bg-[var(--el-color-primary)]"
|
|
386
|
-
}, {
|
|
387
|
-
default: c(() => [
|
|
388
|
-
Q(v(i.value), 1)
|
|
389
|
-
]),
|
|
390
|
-
_: 1
|
|
391
|
-
})
|
|
392
|
-
]),
|
|
393
|
-
e("div", Pe, [
|
|
394
|
-
e("div", We, [
|
|
395
|
-
e("span", null, v(T()) + ", " + v(((J = W(h).getUserInfo) == null ? void 0 : J.name) || "") + ",欢迎回来! ", 1),
|
|
396
|
-
t[1] || (t[1] = e("div", {
|
|
397
|
-
class: "flex flex-[2] justify-center items-center font-bold",
|
|
398
|
-
style: { color: "var(--el-color-primary)" }
|
|
399
|
-
}, " 星光不问赶路人,岁月不负有心人,以梦为马,不负韶华! ", -1))
|
|
400
|
-
]),
|
|
401
|
-
e("div", Ge, [
|
|
402
|
-
t[2] || (t[2] = e("span", { class: "inline-block" }, " 所属角色: ", -1)),
|
|
403
|
-
e("div", Ye, v(A()), 1)
|
|
404
|
-
]),
|
|
405
|
-
e("div", Je, [
|
|
406
|
-
t[3] || (t[3] = e("span", { class: "inline-block" }, " 所属组织: ", -1)),
|
|
407
|
-
e("div", Ke, v(U()), 1)
|
|
408
|
-
])
|
|
409
|
-
])
|
|
410
|
-
]),
|
|
411
|
-
e("div", Qe, [
|
|
412
|
-
e("span", Xe, [
|
|
413
|
-
r(x, {
|
|
414
|
-
"show-days": !1,
|
|
415
|
-
"show-labels": !1
|
|
416
|
-
})
|
|
417
|
-
]),
|
|
418
|
-
e("div", Ze, v(E()), 1)
|
|
419
|
-
])
|
|
420
|
-
])),
|
|
421
|
-
b.value ? (o(), w(M, { key: 1 }, {
|
|
422
|
-
default: c(() => [
|
|
423
|
-
r(He)
|
|
424
|
-
]),
|
|
425
|
-
_: 1
|
|
426
|
-
})) : D("", !0),
|
|
427
|
-
b.value ? D("", !0) : (o(), w(M, {
|
|
428
|
-
key: 2,
|
|
429
|
-
class: "m-2",
|
|
430
|
-
gutter: 10
|
|
431
|
-
}, {
|
|
432
|
-
default: c(() => [
|
|
433
|
-
oe((o(), w(a, {
|
|
434
|
-
lg: 24,
|
|
435
|
-
md: 24,
|
|
436
|
-
class: ""
|
|
437
|
-
}, {
|
|
438
|
-
default: c(() => [
|
|
439
|
-
r(m, { class: "mb-2" }, {
|
|
440
|
-
header: c(() => [
|
|
441
|
-
e("div", { class: "flex items-center justify-between dark:bg-black" }, [
|
|
442
|
-
t[5] || (t[5] = e("span", { class: "font-bold" }, "常用菜单", -1)),
|
|
443
|
-
e("span", {
|
|
444
|
-
class: "text-xs text-gray-400 cursor-pointer",
|
|
445
|
-
onClick: L
|
|
446
|
-
}, t[4] || (t[4] = [
|
|
447
|
-
e("span", null, "更多", -1),
|
|
448
|
-
e("i", { class: "vxe-icon-arrow-right" }, null, -1)
|
|
449
|
-
]))
|
|
450
|
-
])
|
|
451
|
-
]),
|
|
452
|
-
default: c(() => [
|
|
453
|
-
e("div", et, [
|
|
454
|
-
d.value.length ? D("", !0) : (o(), w(j, {
|
|
455
|
-
key: 0,
|
|
456
|
-
"image-size": 100,
|
|
457
|
-
description: "快来添加常用菜单吧!",
|
|
458
|
-
class: "p-0 pb-3"
|
|
459
|
-
})),
|
|
460
|
-
e("ul", {
|
|
461
|
-
class: le(["p-0 w-full h-full grid grid-rows-1 grid-cols-8 u-dashed-menu", { "grid-rows-2": d.value.length > 8 }])
|
|
462
|
-
}, [
|
|
463
|
-
(o(!0), f(I, null, V(d.value, (k, K) => (o(), f("li", {
|
|
464
|
-
key: k.id,
|
|
465
|
-
class: "text-center list-none bg-white",
|
|
466
|
-
onClick: (mt) => O(k)
|
|
467
|
-
}, [
|
|
468
|
-
e("div", nt, [
|
|
469
|
-
e("div", {
|
|
470
|
-
class: "rounded-full w-10 h-10 flex items-center justify-center",
|
|
471
|
-
style: X({ backgroundColor: P(K) })
|
|
472
|
-
}, [
|
|
473
|
-
r(R, {
|
|
474
|
-
icon: k.icon || `ri:${z[K]}-line`,
|
|
475
|
-
class: "text-2xl text-white"
|
|
476
|
-
}, null, 8, ["icon"])
|
|
477
|
-
], 4),
|
|
478
|
-
e("span", st, v(k.menuName), 1)
|
|
479
|
-
])
|
|
480
|
-
], 8, tt))), 128))
|
|
481
|
-
], 2)
|
|
482
|
-
]),
|
|
483
|
-
t[6] || (t[6] = e("div", null, null, -1))
|
|
484
|
-
]),
|
|
485
|
-
_: 1
|
|
486
|
-
})
|
|
487
|
-
]),
|
|
488
|
-
_: 1
|
|
489
|
-
})), [
|
|
490
|
-
[$, y.value]
|
|
491
|
-
]),
|
|
492
|
-
r(a, {
|
|
493
|
-
xl: 16,
|
|
494
|
-
lg: 12,
|
|
495
|
-
md: 24
|
|
496
|
-
}, {
|
|
497
|
-
default: c(() => [
|
|
498
|
-
r(m, { class: "mb-2" }, {
|
|
499
|
-
header: c(() => t[7] || (t[7] = [
|
|
500
|
-
e("div", { class: "font-bold" }, [
|
|
501
|
-
e("span", null, "个人动态")
|
|
502
|
-
], -1)
|
|
503
|
-
])),
|
|
504
|
-
default: c(() => [
|
|
505
|
-
e("div", ot, [
|
|
506
|
-
e("ul", lt, [
|
|
507
|
-
(o(!0), f(I, null, V(N.value, (k) => (o(), f("li", {
|
|
508
|
-
key: k.id,
|
|
509
|
-
class: "w-full list-none p-2 border-b border-gray-200"
|
|
510
|
-
}, [
|
|
511
|
-
e("div", at, [
|
|
512
|
-
e("div", null, [
|
|
513
|
-
r(u, { class: "text-base" }, {
|
|
514
|
-
default: c(() => [
|
|
515
|
-
Q(v(i.value), 1)
|
|
516
|
-
]),
|
|
517
|
-
_: 1
|
|
518
|
-
})
|
|
519
|
-
]),
|
|
520
|
-
e("div", ct, [
|
|
521
|
-
e("div", null, [
|
|
522
|
-
e("span", it, v(k.browser), 1),
|
|
523
|
-
e("span", null, v(k.browserVersion || k.platformVersion), 1)
|
|
524
|
-
]),
|
|
525
|
-
e("div", rt, v(k.loginTime), 1)
|
|
526
|
-
])
|
|
527
|
-
])
|
|
528
|
-
]))), 128))
|
|
529
|
-
])
|
|
530
|
-
])
|
|
531
|
-
]),
|
|
532
|
-
_: 1
|
|
533
|
-
})
|
|
534
|
-
]),
|
|
535
|
-
_: 1
|
|
536
|
-
}),
|
|
537
|
-
r(a, {
|
|
538
|
-
xl: 8,
|
|
539
|
-
lg: 12,
|
|
540
|
-
md: 24,
|
|
541
|
-
class: ""
|
|
542
|
-
}, {
|
|
543
|
-
default: c(() => [
|
|
544
|
-
r(m, { class: "mb-2" }, {
|
|
545
|
-
header: c(() => t[8] || (t[8] = [
|
|
546
|
-
e("div", { class: "font-bold" }, [
|
|
547
|
-
e("span", null, "日历")
|
|
548
|
-
], -1)
|
|
549
|
-
])),
|
|
550
|
-
default: c(() => [
|
|
551
|
-
e("div", ut, [
|
|
552
|
-
r(p, {
|
|
553
|
-
holidays: s,
|
|
554
|
-
"statutory-holiday": l
|
|
555
|
-
})
|
|
556
|
-
])
|
|
557
|
-
]),
|
|
558
|
-
_: 1
|
|
559
|
-
})
|
|
560
|
-
]),
|
|
561
|
-
_: 1
|
|
562
|
-
})
|
|
563
|
-
]),
|
|
564
|
-
_: 1
|
|
565
|
-
})),
|
|
566
|
-
g.value ? (o(), w(qe, {
|
|
567
|
-
key: 3,
|
|
568
|
-
"data-source": d.value,
|
|
569
|
-
"user-name": W(h).getUserInfo.userName,
|
|
570
|
-
icons: z,
|
|
571
|
-
onClose: t[0] || (t[0] = (k) => g.value = !1),
|
|
572
|
-
onSuccess: q
|
|
573
|
-
}, null, 8, ["data-source", "user-name"])) : D("", !0)
|
|
574
|
-
]);
|
|
575
|
-
};
|
|
576
|
-
}
|
|
577
|
-
}), bt = /* @__PURE__ */ ve(dt, [["__scopeId", "data-v-20e01b24"]]);
|
|
578
|
-
export {
|
|
579
|
-
bt as default
|
|
580
|
-
};
|