@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
|
@@ -0,0 +1,2904 @@
|
|
|
1
|
+
import * as je from "vue";
|
|
2
|
+
import { defineComponent as B, resolveComponent as ne, createBlock as st, openBlock as rt, withCtx as it, createVNode as Ue, toRaw as fe, isProxy as ge, defineAsyncComponent as lt, h as R, createApp as ut, computed as ye, ref as X } from "vue";
|
|
3
|
+
import { ElConfigProvider as we } from "element-plus";
|
|
4
|
+
import { checkVersion as ct } from "version-rocket";
|
|
5
|
+
import { useI18n as ze, createI18n as dt } from "vue-i18n";
|
|
6
|
+
import { http as I, storageLocal as h, cookies as U, buildHierarchyTree as le, dbstorage as ee, isUrl as _e, openLink as mt, NProgress as pt, VxetableRender as ht, useGlobal as qe, deviceDetection as ft, storageSession as gt } from "@utogether/utils";
|
|
7
|
+
import { merge as ue, clone as z, findLastIndexOf as yt, isEqual as be, findIndexOf as wt, isEmpty as bt, toDateString as b, getWhatDay as O, isArray as Ct } from "xe-utils";
|
|
8
|
+
import { createPinia as vt, defineStore as q } from "pinia";
|
|
9
|
+
import { useTimeoutFn as Tt } from "@vueuse/core";
|
|
10
|
+
import Ve, { VxeUI as D } from "vxe-table";
|
|
11
|
+
import { Icon as Ce } from "@iconify/vue";
|
|
12
|
+
import Et from "vue-tippy";
|
|
13
|
+
import St from "element-resize-detector";
|
|
14
|
+
var Dt = {
|
|
15
|
+
name: "en",
|
|
16
|
+
el: {
|
|
17
|
+
breadcrumb: {
|
|
18
|
+
label: "Breadcrumb"
|
|
19
|
+
},
|
|
20
|
+
colorpicker: {
|
|
21
|
+
confirm: "OK",
|
|
22
|
+
clear: "Clear",
|
|
23
|
+
defaultLabel: "color picker",
|
|
24
|
+
description: "current color is {color}. press enter to select a new color.",
|
|
25
|
+
alphaLabel: "pick alpha value"
|
|
26
|
+
},
|
|
27
|
+
datepicker: {
|
|
28
|
+
now: "Now",
|
|
29
|
+
today: "Today",
|
|
30
|
+
cancel: "Cancel",
|
|
31
|
+
clear: "Clear",
|
|
32
|
+
confirm: "OK",
|
|
33
|
+
dateTablePrompt: "Use the arrow keys and enter to select the day of the month",
|
|
34
|
+
monthTablePrompt: "Use the arrow keys and enter to select the month",
|
|
35
|
+
yearTablePrompt: "Use the arrow keys and enter to select the year",
|
|
36
|
+
selectedDate: "Selected date",
|
|
37
|
+
selectDate: "Select date",
|
|
38
|
+
selectTime: "Select time",
|
|
39
|
+
startDate: "Start Date",
|
|
40
|
+
startTime: "Start Time",
|
|
41
|
+
endDate: "End Date",
|
|
42
|
+
endTime: "End Time",
|
|
43
|
+
prevYear: "Previous Year",
|
|
44
|
+
nextYear: "Next Year",
|
|
45
|
+
prevMonth: "Previous Month",
|
|
46
|
+
nextMonth: "Next Month",
|
|
47
|
+
year: "",
|
|
48
|
+
month1: "January",
|
|
49
|
+
month2: "February",
|
|
50
|
+
month3: "March",
|
|
51
|
+
month4: "April",
|
|
52
|
+
month5: "May",
|
|
53
|
+
month6: "June",
|
|
54
|
+
month7: "July",
|
|
55
|
+
month8: "August",
|
|
56
|
+
month9: "September",
|
|
57
|
+
month10: "October",
|
|
58
|
+
month11: "November",
|
|
59
|
+
month12: "December",
|
|
60
|
+
week: "week",
|
|
61
|
+
weeks: {
|
|
62
|
+
sun: "Sun",
|
|
63
|
+
mon: "Mon",
|
|
64
|
+
tue: "Tue",
|
|
65
|
+
wed: "Wed",
|
|
66
|
+
thu: "Thu",
|
|
67
|
+
fri: "Fri",
|
|
68
|
+
sat: "Sat"
|
|
69
|
+
},
|
|
70
|
+
weeksFull: {
|
|
71
|
+
sun: "Sunday",
|
|
72
|
+
mon: "Monday",
|
|
73
|
+
tue: "Tuesday",
|
|
74
|
+
wed: "Wednesday",
|
|
75
|
+
thu: "Thursday",
|
|
76
|
+
fri: "Friday",
|
|
77
|
+
sat: "Saturday"
|
|
78
|
+
},
|
|
79
|
+
months: {
|
|
80
|
+
jan: "Jan",
|
|
81
|
+
feb: "Feb",
|
|
82
|
+
mar: "Mar",
|
|
83
|
+
apr: "Apr",
|
|
84
|
+
may: "May",
|
|
85
|
+
jun: "Jun",
|
|
86
|
+
jul: "Jul",
|
|
87
|
+
aug: "Aug",
|
|
88
|
+
sep: "Sep",
|
|
89
|
+
oct: "Oct",
|
|
90
|
+
nov: "Nov",
|
|
91
|
+
dec: "Dec"
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
inputNumber: {
|
|
95
|
+
decrease: "decrease number",
|
|
96
|
+
increase: "increase number"
|
|
97
|
+
},
|
|
98
|
+
select: {
|
|
99
|
+
loading: "Loading",
|
|
100
|
+
noMatch: "No matching data",
|
|
101
|
+
noData: "No data",
|
|
102
|
+
placeholder: "Select"
|
|
103
|
+
},
|
|
104
|
+
mention: {
|
|
105
|
+
loading: "Loading"
|
|
106
|
+
},
|
|
107
|
+
dropdown: {
|
|
108
|
+
toggleDropdown: "Toggle Dropdown"
|
|
109
|
+
},
|
|
110
|
+
cascader: {
|
|
111
|
+
noMatch: "No matching data",
|
|
112
|
+
loading: "Loading",
|
|
113
|
+
placeholder: "Select",
|
|
114
|
+
noData: "No data"
|
|
115
|
+
},
|
|
116
|
+
pagination: {
|
|
117
|
+
goto: "Go to",
|
|
118
|
+
pagesize: "/page",
|
|
119
|
+
total: "Total {total}",
|
|
120
|
+
pageClassifier: "",
|
|
121
|
+
page: "Page",
|
|
122
|
+
prev: "Go to previous page",
|
|
123
|
+
next: "Go to next page",
|
|
124
|
+
currentPage: "page {pager}",
|
|
125
|
+
prevPages: "Previous {pager} pages",
|
|
126
|
+
nextPages: "Next {pager} pages",
|
|
127
|
+
deprecationWarning: "Deprecated usages detected, please refer to the el-pagination documentation for more details"
|
|
128
|
+
},
|
|
129
|
+
dialog: {
|
|
130
|
+
close: "Close this dialog"
|
|
131
|
+
},
|
|
132
|
+
drawer: {
|
|
133
|
+
close: "Close this dialog"
|
|
134
|
+
},
|
|
135
|
+
messagebox: {
|
|
136
|
+
title: "Message",
|
|
137
|
+
confirm: "OK",
|
|
138
|
+
cancel: "Cancel",
|
|
139
|
+
error: "Illegal input",
|
|
140
|
+
close: "Close this dialog"
|
|
141
|
+
},
|
|
142
|
+
upload: {
|
|
143
|
+
deleteTip: "press delete to remove",
|
|
144
|
+
delete: "Delete",
|
|
145
|
+
preview: "Preview",
|
|
146
|
+
continue: "Continue"
|
|
147
|
+
},
|
|
148
|
+
slider: {
|
|
149
|
+
defaultLabel: "slider between {min} and {max}",
|
|
150
|
+
defaultRangeStartLabel: "pick start value",
|
|
151
|
+
defaultRangeEndLabel: "pick end value"
|
|
152
|
+
},
|
|
153
|
+
table: {
|
|
154
|
+
emptyText: "No Data",
|
|
155
|
+
confirmFilter: "Confirm",
|
|
156
|
+
resetFilter: "Reset",
|
|
157
|
+
clearFilter: "All",
|
|
158
|
+
sumText: "Sum"
|
|
159
|
+
},
|
|
160
|
+
tour: {
|
|
161
|
+
next: "Next",
|
|
162
|
+
previous: "Previous",
|
|
163
|
+
finish: "Finish"
|
|
164
|
+
},
|
|
165
|
+
tree: {
|
|
166
|
+
emptyText: "No Data"
|
|
167
|
+
},
|
|
168
|
+
transfer: {
|
|
169
|
+
noMatch: "No matching data",
|
|
170
|
+
noData: "No data",
|
|
171
|
+
titles: ["List 1", "List 2"],
|
|
172
|
+
filterPlaceholder: "Enter keyword",
|
|
173
|
+
noCheckedFormat: "{total} items",
|
|
174
|
+
hasCheckedFormat: "{checked}/{total} checked"
|
|
175
|
+
},
|
|
176
|
+
image: {
|
|
177
|
+
error: "FAILED"
|
|
178
|
+
},
|
|
179
|
+
pageHeader: {
|
|
180
|
+
title: "Back"
|
|
181
|
+
},
|
|
182
|
+
popconfirm: {
|
|
183
|
+
confirmButtonText: "Yes",
|
|
184
|
+
cancelButtonText: "No"
|
|
185
|
+
},
|
|
186
|
+
carousel: {
|
|
187
|
+
leftArrow: "Carousel arrow left",
|
|
188
|
+
rightArrow: "Carousel arrow right",
|
|
189
|
+
indicator: "Carousel switch to index {index}"
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
}, kt = {
|
|
193
|
+
name: "zh-cn",
|
|
194
|
+
el: {
|
|
195
|
+
breadcrumb: {
|
|
196
|
+
label: "面包屑"
|
|
197
|
+
},
|
|
198
|
+
colorpicker: {
|
|
199
|
+
confirm: "确定",
|
|
200
|
+
clear: "清空",
|
|
201
|
+
defaultLabel: "颜色选择器",
|
|
202
|
+
description: "当前颜色 {color},按 Enter 键选择新颜色",
|
|
203
|
+
alphaLabel: "选择透明度的值"
|
|
204
|
+
},
|
|
205
|
+
datepicker: {
|
|
206
|
+
now: "此刻",
|
|
207
|
+
today: "今天",
|
|
208
|
+
cancel: "取消",
|
|
209
|
+
clear: "清空",
|
|
210
|
+
confirm: "确定",
|
|
211
|
+
dateTablePrompt: "使用方向键与 Enter 键可选择日期",
|
|
212
|
+
monthTablePrompt: "使用方向键与 Enter 键可选择月份",
|
|
213
|
+
yearTablePrompt: "使用方向键与 Enter 键可选择年份",
|
|
214
|
+
selectedDate: "已选日期",
|
|
215
|
+
selectDate: "选择日期",
|
|
216
|
+
selectTime: "选择时间",
|
|
217
|
+
startDate: "开始日期",
|
|
218
|
+
startTime: "开始时间",
|
|
219
|
+
endDate: "结束日期",
|
|
220
|
+
endTime: "结束时间",
|
|
221
|
+
prevYear: "前一年",
|
|
222
|
+
nextYear: "后一年",
|
|
223
|
+
prevMonth: "上个月",
|
|
224
|
+
nextMonth: "下个月",
|
|
225
|
+
year: "年",
|
|
226
|
+
month1: "1 月",
|
|
227
|
+
month2: "2 月",
|
|
228
|
+
month3: "3 月",
|
|
229
|
+
month4: "4 月",
|
|
230
|
+
month5: "5 月",
|
|
231
|
+
month6: "6 月",
|
|
232
|
+
month7: "7 月",
|
|
233
|
+
month8: "8 月",
|
|
234
|
+
month9: "9 月",
|
|
235
|
+
month10: "10 月",
|
|
236
|
+
month11: "11 月",
|
|
237
|
+
month12: "12 月",
|
|
238
|
+
weeks: {
|
|
239
|
+
sun: "日",
|
|
240
|
+
mon: "一",
|
|
241
|
+
tue: "二",
|
|
242
|
+
wed: "三",
|
|
243
|
+
thu: "四",
|
|
244
|
+
fri: "五",
|
|
245
|
+
sat: "六"
|
|
246
|
+
},
|
|
247
|
+
weeksFull: {
|
|
248
|
+
sun: "星期日",
|
|
249
|
+
mon: "星期一",
|
|
250
|
+
tue: "星期二",
|
|
251
|
+
wed: "星期三",
|
|
252
|
+
thu: "星期四",
|
|
253
|
+
fri: "星期五",
|
|
254
|
+
sat: "星期六"
|
|
255
|
+
},
|
|
256
|
+
months: {
|
|
257
|
+
jan: "一月",
|
|
258
|
+
feb: "二月",
|
|
259
|
+
mar: "三月",
|
|
260
|
+
apr: "四月",
|
|
261
|
+
may: "五月",
|
|
262
|
+
jun: "六月",
|
|
263
|
+
jul: "七月",
|
|
264
|
+
aug: "八月",
|
|
265
|
+
sep: "九月",
|
|
266
|
+
oct: "十月",
|
|
267
|
+
nov: "十一月",
|
|
268
|
+
dec: "十二月"
|
|
269
|
+
}
|
|
270
|
+
},
|
|
271
|
+
inputNumber: {
|
|
272
|
+
decrease: "减少数值",
|
|
273
|
+
increase: "增加数值"
|
|
274
|
+
},
|
|
275
|
+
select: {
|
|
276
|
+
loading: "加载中",
|
|
277
|
+
noMatch: "无匹配数据",
|
|
278
|
+
noData: "无数据",
|
|
279
|
+
placeholder: "请选择"
|
|
280
|
+
},
|
|
281
|
+
dropdown: {
|
|
282
|
+
toggleDropdown: "切换下拉选项"
|
|
283
|
+
},
|
|
284
|
+
mention: {
|
|
285
|
+
loading: "加载中"
|
|
286
|
+
},
|
|
287
|
+
cascader: {
|
|
288
|
+
noMatch: "无匹配数据",
|
|
289
|
+
loading: "加载中",
|
|
290
|
+
placeholder: "请选择",
|
|
291
|
+
noData: "暂无数据"
|
|
292
|
+
},
|
|
293
|
+
pagination: {
|
|
294
|
+
goto: "前往",
|
|
295
|
+
pagesize: "条/页",
|
|
296
|
+
total: "共 {total} 条",
|
|
297
|
+
pageClassifier: "页",
|
|
298
|
+
page: "页",
|
|
299
|
+
prev: "上一页",
|
|
300
|
+
next: "下一页",
|
|
301
|
+
currentPage: "第 {pager} 页",
|
|
302
|
+
prevPages: "向前 {pager} 页",
|
|
303
|
+
nextPages: "向后 {pager} 页",
|
|
304
|
+
deprecationWarning: "你使用了一些已被废弃的用法,请参考 el-pagination 的官方文档"
|
|
305
|
+
},
|
|
306
|
+
dialog: {
|
|
307
|
+
close: "关闭此对话框"
|
|
308
|
+
},
|
|
309
|
+
drawer: {
|
|
310
|
+
close: "关闭此对话框"
|
|
311
|
+
},
|
|
312
|
+
messagebox: {
|
|
313
|
+
title: "提示",
|
|
314
|
+
confirm: "确定",
|
|
315
|
+
cancel: "取消",
|
|
316
|
+
error: "输入的数据不合法!",
|
|
317
|
+
close: "关闭此对话框"
|
|
318
|
+
},
|
|
319
|
+
upload: {
|
|
320
|
+
deleteTip: "按 Delete 键可删除",
|
|
321
|
+
delete: "删除",
|
|
322
|
+
preview: "查看图片",
|
|
323
|
+
continue: "继续上传"
|
|
324
|
+
},
|
|
325
|
+
slider: {
|
|
326
|
+
defaultLabel: "滑块介于 {min} 至 {max}",
|
|
327
|
+
defaultRangeStartLabel: "选择起始值",
|
|
328
|
+
defaultRangeEndLabel: "选择结束值"
|
|
329
|
+
},
|
|
330
|
+
table: {
|
|
331
|
+
emptyText: "暂无数据",
|
|
332
|
+
confirmFilter: "筛选",
|
|
333
|
+
resetFilter: "重置",
|
|
334
|
+
clearFilter: "全部",
|
|
335
|
+
sumText: "合计"
|
|
336
|
+
},
|
|
337
|
+
tour: {
|
|
338
|
+
next: "下一步",
|
|
339
|
+
previous: "上一步",
|
|
340
|
+
finish: "结束导览"
|
|
341
|
+
},
|
|
342
|
+
tree: {
|
|
343
|
+
emptyText: "暂无数据"
|
|
344
|
+
},
|
|
345
|
+
transfer: {
|
|
346
|
+
noMatch: "无匹配数据",
|
|
347
|
+
noData: "无数据",
|
|
348
|
+
titles: ["列表 1", "列表 2"],
|
|
349
|
+
filterPlaceholder: "请输入搜索内容",
|
|
350
|
+
noCheckedFormat: "共 {total} 项",
|
|
351
|
+
hasCheckedFormat: "已选 {checked}/{total} 项"
|
|
352
|
+
},
|
|
353
|
+
image: {
|
|
354
|
+
error: "加载失败"
|
|
355
|
+
},
|
|
356
|
+
pageHeader: {
|
|
357
|
+
title: "返回"
|
|
358
|
+
},
|
|
359
|
+
popconfirm: {
|
|
360
|
+
confirmButtonText: "确定",
|
|
361
|
+
cancelButtonText: "取消"
|
|
362
|
+
},
|
|
363
|
+
carousel: {
|
|
364
|
+
leftArrow: "上一张幻灯片",
|
|
365
|
+
rightArrow: "下一张幻灯片",
|
|
366
|
+
indicator: "幻灯片切换至索引 {index}"
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
};
|
|
370
|
+
const Ft = "menu_zh", xt = "menu_en", Pt = "authorized-token", It = "kCookies_token", Nt = "kSysConfig", $e = "loginer";
|
|
371
|
+
let ae = {}, He = {};
|
|
372
|
+
const Mt = (e, t) => {
|
|
373
|
+
ae = Object.assign(ae, t), e.config.globalProperties.$config = k();
|
|
374
|
+
}, k = () => ae, Rt = (e = {}) => {
|
|
375
|
+
He = e;
|
|
376
|
+
}, ve = () => He, w = () => k().ResponsiveStorageNameSpace, Q = () => ({
|
|
377
|
+
post: (e, t, o) => I.post(`${N()}${e}`, t, o),
|
|
378
|
+
get: (e, t, o) => I.get(`${N()}${e}`, t, o),
|
|
379
|
+
put: (e, t) => I.put(`${N()}${e}`, t),
|
|
380
|
+
delete: (e, t) => I.delete(`${N()}${e}`, t)
|
|
381
|
+
}), Ot = (e) => {
|
|
382
|
+
I.setRouter(e);
|
|
383
|
+
}, Lt = (e) => {
|
|
384
|
+
I.setBaseUrl(e);
|
|
385
|
+
}, At = window.location.origin + "/gateway", N = () => ve().VITE_BASE_URL === "origin" ? At : ve().VITE_BASE_URL, Bt = B({
|
|
386
|
+
name: "app",
|
|
387
|
+
components: {
|
|
388
|
+
[we.name]: we
|
|
389
|
+
},
|
|
390
|
+
beforeRouteEnter(e, t, o) {
|
|
391
|
+
Q().get("/upfm/v1/sysConfig", {}).then((n) => {
|
|
392
|
+
o();
|
|
393
|
+
});
|
|
394
|
+
},
|
|
395
|
+
computed: {
|
|
396
|
+
currentLocale() {
|
|
397
|
+
var e, t;
|
|
398
|
+
return ((t = (e = this.$storage) == null ? void 0 : e.locale) == null ? void 0 : t.locale) === "zh" ? kt : Dt;
|
|
399
|
+
}
|
|
400
|
+
},
|
|
401
|
+
beforeCreate() {
|
|
402
|
+
const { t: e } = ze(), n = (h.getItem(Nt) || { title: "U-DP" }).title;
|
|
403
|
+
ct(
|
|
404
|
+
{
|
|
405
|
+
pollingTime: 3e5,
|
|
406
|
+
checkOriginSpecifiedFilesUrl: [`${location.origin}/index.html`],
|
|
407
|
+
enable: process.env.NODE_ENV !== "development"
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
title: n,
|
|
411
|
+
description: e("message.udp.newVersion"),
|
|
412
|
+
buttonText: e("message.udp.updatenow"),
|
|
413
|
+
cancelButtonText: e("message.udp.updateLater")
|
|
414
|
+
}
|
|
415
|
+
);
|
|
416
|
+
}
|
|
417
|
+
}), jt = (e, t) => {
|
|
418
|
+
const o = e.__vccOpts || e;
|
|
419
|
+
for (const [n, a] of t)
|
|
420
|
+
o[n] = a;
|
|
421
|
+
return o;
|
|
422
|
+
};
|
|
423
|
+
function Ut(e, t, o, n, a, s) {
|
|
424
|
+
const i = ne("router-view"), r = ne("el-config-provider");
|
|
425
|
+
return rt(), st(r, {
|
|
426
|
+
size: "small",
|
|
427
|
+
"z-index": 5555,
|
|
428
|
+
locale: e.currentLocale
|
|
429
|
+
}, {
|
|
430
|
+
default: it(() => [
|
|
431
|
+
Ue(i)
|
|
432
|
+
]),
|
|
433
|
+
_: 1
|
|
434
|
+
}, 8, ["locale"]);
|
|
435
|
+
}
|
|
436
|
+
const zt = /* @__PURE__ */ jt(Bt, [["render", Ut]]), j = vt();
|
|
437
|
+
function _t(e) {
|
|
438
|
+
e.use(j);
|
|
439
|
+
}
|
|
440
|
+
const V = [
|
|
441
|
+
{
|
|
442
|
+
path: "/welcome",
|
|
443
|
+
name: "Welcome",
|
|
444
|
+
meta: {
|
|
445
|
+
title: "message.udp.home",
|
|
446
|
+
icon: "home-filled"
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
], Wn = (e) => {
|
|
450
|
+
const t = e.indexOf("windows nt 5.1") > -1 || e.indexOf("windows xp") > -1;
|
|
451
|
+
if (e.indexOf("windows xp") > -1, t) return "WinXP";
|
|
452
|
+
if (e.indexOf("windows nt 6.1") > -1 || e.indexOf("windows 7") > -1) return "Win7";
|
|
453
|
+
if (e.indexOf("windows nt6.2") > -1 || e.indexOf("windows 8") > -1) return "Win8";
|
|
454
|
+
if (e.indexOf("windows nt 10.0") > -1 || e.indexOf("windows 10") > -1) return "Win10";
|
|
455
|
+
}, Gn = (e) => {
|
|
456
|
+
let t = null;
|
|
457
|
+
const o = {
|
|
458
|
+
Chrome: e.indexOf("chrome") > -1 && e.indexOf("safari") > -1,
|
|
459
|
+
// Chrome浏览器
|
|
460
|
+
Firefox: e.indexOf("firefox") > -1,
|
|
461
|
+
// 火狐浏览器
|
|
462
|
+
Opera: e.indexOf("opera") > -1,
|
|
463
|
+
// Opera浏览器
|
|
464
|
+
Safari: e.indexOf("safari") > -1 && e.indexOf("chrome") == -1,
|
|
465
|
+
// safari浏览器
|
|
466
|
+
Edge: e.indexOf("edg") > -1,
|
|
467
|
+
// Edge浏览器
|
|
468
|
+
MetaSr: e.indexOf("metaSr") > -1,
|
|
469
|
+
// 搜狗浏览器
|
|
470
|
+
QQBrowser: /qqbrowser/.test(e),
|
|
471
|
+
// qq浏览器
|
|
472
|
+
WeixinBrowser: /MicroMessenger/i.test(e)
|
|
473
|
+
// 微信浏览器
|
|
474
|
+
};
|
|
475
|
+
let n = "";
|
|
476
|
+
for (const a in o)
|
|
477
|
+
o[a] && (n = e.match(/chrome\/([\d.]+)/)[1], t = a);
|
|
478
|
+
return { browser: t, browserVersion: n };
|
|
479
|
+
}, qt = {
|
|
480
|
+
onLogined: () => {
|
|
481
|
+
},
|
|
482
|
+
onBeforeLogout: () => {
|
|
483
|
+
}
|
|
484
|
+
}, Kn = () => {
|
|
485
|
+
qt.onLogined();
|
|
486
|
+
}, Vt = (e, t) => {
|
|
487
|
+
const o = [];
|
|
488
|
+
for (const n of e)
|
|
489
|
+
n[t] && o.push(n[t]);
|
|
490
|
+
return Array.from(new Set(o));
|
|
491
|
+
}, We = (e) => {
|
|
492
|
+
const t = e.replace("#", "").match(/../g);
|
|
493
|
+
for (let o = 0; o < 3; o++) t[o] = parseInt(t[o], 16);
|
|
494
|
+
return t;
|
|
495
|
+
}, Ge = (e, t, o) => {
|
|
496
|
+
const n = [e.toString(16), t.toString(16), o.toString(16)];
|
|
497
|
+
for (let a = 0; a < 3; a++)
|
|
498
|
+
n[a].length == 1 && (n[a] = `0${n[a]}`);
|
|
499
|
+
return `#${n.join("")}`;
|
|
500
|
+
}, $t = (e, t) => {
|
|
501
|
+
const o = We(e);
|
|
502
|
+
for (let n = 0; n < 3; n++) o[n] = Math.floor(o[n] * (1 - t));
|
|
503
|
+
return Ge(o[0], o[1], o[2]);
|
|
504
|
+
}, Ht = (e, t) => {
|
|
505
|
+
const o = We(e);
|
|
506
|
+
for (let n = 0; n < 3; n++) o[n] = Math.floor((255 - o[n]) * t + o[n]);
|
|
507
|
+
return Ge(o[0], o[1], o[2]);
|
|
508
|
+
}, Te = {
|
|
509
|
+
zh: {
|
|
510
|
+
message: {
|
|
511
|
+
reportCode: "报表编号",
|
|
512
|
+
tempPath: "模版路径",
|
|
513
|
+
tempFile: "模版文件",
|
|
514
|
+
exportFileType: "文件类型",
|
|
515
|
+
parameterType: "参数类型",
|
|
516
|
+
valueType: "值类型",
|
|
517
|
+
parameterField: "参数字段名",
|
|
518
|
+
parameterName: "参数名称",
|
|
519
|
+
showField: "显示字段",
|
|
520
|
+
valueField: "值字段",
|
|
521
|
+
exportNo: "导出编号",
|
|
522
|
+
moduleName: "模块名称",
|
|
523
|
+
exportResult: "导出结果",
|
|
524
|
+
exportStatus: "导出状态",
|
|
525
|
+
exportMsg: "提示信息",
|
|
526
|
+
fileType: "文件类型",
|
|
527
|
+
exportDate: "完成时间"
|
|
528
|
+
}
|
|
529
|
+
},
|
|
530
|
+
en: {
|
|
531
|
+
message: {
|
|
532
|
+
tempPath: "tempPath",
|
|
533
|
+
tempFile: "tempFile",
|
|
534
|
+
exportFileType: "exportFileType",
|
|
535
|
+
parameterType: "parameterType",
|
|
536
|
+
valueType: "valueType",
|
|
537
|
+
serviceCode: "serviceCode",
|
|
538
|
+
parameterField: "parameterField",
|
|
539
|
+
parameterName: "parameterName",
|
|
540
|
+
showField: "showField",
|
|
541
|
+
valueField: "valueField",
|
|
542
|
+
exportNo: "exportNo",
|
|
543
|
+
moduleName: "moduleName",
|
|
544
|
+
printPosition: "Print Position",
|
|
545
|
+
exportResult: "exportResult",
|
|
546
|
+
exportStatus: "exportStatus",
|
|
547
|
+
exportMsg: "exportMsg",
|
|
548
|
+
fileType: "fileType",
|
|
549
|
+
exportDate: "Export Date",
|
|
550
|
+
dataSetCode: "Dataset Code",
|
|
551
|
+
dataSetName: "Dataset Name",
|
|
552
|
+
dataSetType: "Dataset Type",
|
|
553
|
+
dataSetUrl: "Dataset Url",
|
|
554
|
+
defaultValue: "Default Value",
|
|
555
|
+
isRequired: "Required"
|
|
556
|
+
}
|
|
557
|
+
}
|
|
558
|
+
}, Wt = {
|
|
559
|
+
zh: { ...Te.zh.message },
|
|
560
|
+
en: { ...Te.en.message }
|
|
561
|
+
}, Gt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
562
|
+
__proto__: null,
|
|
563
|
+
default: Wt
|
|
564
|
+
}, Symbol.toStringTag, { value: "Module" })), Kt = {
|
|
565
|
+
zh: {
|
|
566
|
+
message: {
|
|
567
|
+
taskName: "任务名称",
|
|
568
|
+
processInstId: "任务编码",
|
|
569
|
+
taskTitle: "任务标题",
|
|
570
|
+
taskPhase: "流程阶段",
|
|
571
|
+
agreement: "审批意见",
|
|
572
|
+
description: "备注",
|
|
573
|
+
actuatorCode: "执行器编码",
|
|
574
|
+
actuatorName: "执行器名称",
|
|
575
|
+
actuatorType: "注册方式",
|
|
576
|
+
actuatorAddress: "机器地址"
|
|
577
|
+
}
|
|
578
|
+
},
|
|
579
|
+
en: {
|
|
580
|
+
message: {
|
|
581
|
+
taskName: "taskName",
|
|
582
|
+
processInstId: "processInstId",
|
|
583
|
+
taskTitle: "taskTitle",
|
|
584
|
+
taskPhase: "taskPhase",
|
|
585
|
+
agreement: "agreement",
|
|
586
|
+
description: "description",
|
|
587
|
+
actuatorCode: "Actuator Code",
|
|
588
|
+
actuatorName: "Actuator Name",
|
|
589
|
+
actuatorType: "Actuator Type",
|
|
590
|
+
actuatorAddress: "Actuator Adress"
|
|
591
|
+
}
|
|
592
|
+
}
|
|
593
|
+
}, Jt = {
|
|
594
|
+
zh: {
|
|
595
|
+
message: {
|
|
596
|
+
flowId: "流程标识",
|
|
597
|
+
flowName: "流程名称",
|
|
598
|
+
flowCode: "流程业务",
|
|
599
|
+
description: "流程描述",
|
|
600
|
+
flowDesign: "流程设计",
|
|
601
|
+
version: "版本",
|
|
602
|
+
effectDate: "生效日期"
|
|
603
|
+
}
|
|
604
|
+
},
|
|
605
|
+
en: {
|
|
606
|
+
message: {
|
|
607
|
+
flowId: "flowId",
|
|
608
|
+
flowName: "flowName",
|
|
609
|
+
flowCode: "flowCode",
|
|
610
|
+
description: "description",
|
|
611
|
+
flowDesign: "Flow Design"
|
|
612
|
+
}
|
|
613
|
+
}
|
|
614
|
+
}, Ee = [Kt, Jt], Yt = {
|
|
615
|
+
zh: {
|
|
616
|
+
...Object.assign({}, ...Ee.map((e) => e.zh.message))
|
|
617
|
+
},
|
|
618
|
+
en: {
|
|
619
|
+
...Object.assign({}, ...Ee.map((e) => e.en.message))
|
|
620
|
+
}
|
|
621
|
+
}, Qt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
622
|
+
__proto__: null,
|
|
623
|
+
default: Yt
|
|
624
|
+
}, Symbol.toStringTag, { value: "Module" })), Zt = {
|
|
625
|
+
zh: {
|
|
626
|
+
message: {
|
|
627
|
+
msgtemplateCode: "模板代码",
|
|
628
|
+
msgtemplateName: "模板名称",
|
|
629
|
+
msgTitle: "消息标题",
|
|
630
|
+
msgType: "消息类型",
|
|
631
|
+
language: "语言",
|
|
632
|
+
templateContent: "模板内容",
|
|
633
|
+
msgCode: "消息代码",
|
|
634
|
+
msgName: "消息名称",
|
|
635
|
+
msgService: "消息服务",
|
|
636
|
+
msgServiceName: "消息服务名称"
|
|
637
|
+
}
|
|
638
|
+
},
|
|
639
|
+
en: {
|
|
640
|
+
message: {
|
|
641
|
+
xx: "xxx"
|
|
642
|
+
}
|
|
643
|
+
}
|
|
644
|
+
}, Xt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
645
|
+
__proto__: null,
|
|
646
|
+
default: Zt
|
|
647
|
+
}, Symbol.toStringTag, { value: "Module" })), eo = {
|
|
648
|
+
udp: {
|
|
649
|
+
dark: "深色",
|
|
650
|
+
light: "浅色",
|
|
651
|
+
smart: "灵动",
|
|
652
|
+
card: "卡片",
|
|
653
|
+
theme: "主题色",
|
|
654
|
+
pageStyle: "整体风格",
|
|
655
|
+
navigationMode: "导航模式",
|
|
656
|
+
tagStyle: "页签风格",
|
|
657
|
+
collapse: "折叠",
|
|
658
|
+
expand: "展开",
|
|
659
|
+
login: "登 陆",
|
|
660
|
+
home: "首页",
|
|
661
|
+
logout: "退出系统",
|
|
662
|
+
password: "密码",
|
|
663
|
+
passwordReset: "密码重置",
|
|
664
|
+
oldPwd: "旧密码",
|
|
665
|
+
newPwd: "新密码",
|
|
666
|
+
confirmPwd: "确认密码",
|
|
667
|
+
reload: "重新加载",
|
|
668
|
+
closeCurrentTab: "关闭当前标签页",
|
|
669
|
+
closeLeftTabs: "关闭左侧标签页",
|
|
670
|
+
closeRightTabs: "关闭右侧标签页",
|
|
671
|
+
closeOtherTabs: "关闭其他标签页",
|
|
672
|
+
closeAllTabs: "关闭全部标签页",
|
|
673
|
+
wholeFullScreen: "整体页面全屏",
|
|
674
|
+
wholeExitFullScreen: "整体页面退出全屏",
|
|
675
|
+
contentFullScreen: "内容区全屏",
|
|
676
|
+
contentExitFullScreen: "内容区退出全屏",
|
|
677
|
+
fourZeroFour: "404",
|
|
678
|
+
fourZeroThree: "403",
|
|
679
|
+
five: "500",
|
|
680
|
+
flowTask: "流程任务",
|
|
681
|
+
backtop: "回到顶部",
|
|
682
|
+
error: "Error Page",
|
|
683
|
+
continueAdd: "连续添加",
|
|
684
|
+
menuQuery: "菜单搜索",
|
|
685
|
+
systemTitle: "系统标题",
|
|
686
|
+
systemLogo: "LOGO",
|
|
687
|
+
systemFavicon: "favicon",
|
|
688
|
+
homeBackimg: "首页背景",
|
|
689
|
+
baseUrl: "服务路径",
|
|
690
|
+
copyright: "版权信息",
|
|
691
|
+
showTitle: "显示项目名称",
|
|
692
|
+
i18nEnabled: "国际化",
|
|
693
|
+
orgTaggle: "启用组织切换",
|
|
694
|
+
baseColor: "基准色",
|
|
695
|
+
techSupport: "技术支持",
|
|
696
|
+
defaultLanguage: "默认语言",
|
|
697
|
+
roleName: "角色名称",
|
|
698
|
+
roleCode: "角色编码",
|
|
699
|
+
roleDesc: "角色说明",
|
|
700
|
+
loginTime: "登录时间",
|
|
701
|
+
operatingSystem: "操作系统",
|
|
702
|
+
ip: "ip地址",
|
|
703
|
+
browserVersion: "浏览器版本",
|
|
704
|
+
browser: "浏览器",
|
|
705
|
+
dictCode: "字典编码",
|
|
706
|
+
dictName: "字典名称",
|
|
707
|
+
dictType: "字典类型",
|
|
708
|
+
ruleCode: "规则代码",
|
|
709
|
+
ruleName: "规则名称",
|
|
710
|
+
fieldType: "段类型",
|
|
711
|
+
fieldValue: "段值",
|
|
712
|
+
dateMask: "日期掩码",
|
|
713
|
+
resetFrequency: "重置频率",
|
|
714
|
+
seqLength: "位数",
|
|
715
|
+
startValue: "开始值",
|
|
716
|
+
currentValue: "当前值",
|
|
717
|
+
haveBeenUsed: "使用中",
|
|
718
|
+
unitName: "单位名称",
|
|
719
|
+
unitCode: "单位编码",
|
|
720
|
+
unitNote: "单位介绍",
|
|
721
|
+
deleteCompany: "部门存在子级,请先删除子级",
|
|
722
|
+
tip: "温馨提示",
|
|
723
|
+
today: "今天",
|
|
724
|
+
yesterday: "昨天",
|
|
725
|
+
lastWeek: "一周内",
|
|
726
|
+
lastMonth: "1月内",
|
|
727
|
+
threeMonth: "3月内",
|
|
728
|
+
halfYear: "半年内",
|
|
729
|
+
anniversary: "1年内",
|
|
730
|
+
newVersion: "检测到新版本",
|
|
731
|
+
updatenow: "立即更新",
|
|
732
|
+
updateLater: "稍后更新",
|
|
733
|
+
appVersion: "版本号",
|
|
734
|
+
buildNo: "构建号",
|
|
735
|
+
versionInfo: "版本信息",
|
|
736
|
+
isForceUpdate: "安装方式",
|
|
737
|
+
downloadUrl: "APK文件",
|
|
738
|
+
forceUpdate: "强制更新",
|
|
739
|
+
freeUpdate: "自主更新",
|
|
740
|
+
placeholder: "请录入",
|
|
741
|
+
userName: "用户姓名",
|
|
742
|
+
userCode: "用户编码",
|
|
743
|
+
userType: "用户类型",
|
|
744
|
+
roleList: "角色列表",
|
|
745
|
+
userList: "用户列表",
|
|
746
|
+
orgCode: "业务实体编码",
|
|
747
|
+
orgName: "业务实体名称",
|
|
748
|
+
orgAlias: "业务实体简称",
|
|
749
|
+
orgDesc: "业务实体描述",
|
|
750
|
+
organizationName: "组织名称",
|
|
751
|
+
organizationCode: "组织编码",
|
|
752
|
+
appupper: "已上架",
|
|
753
|
+
applower: "已下架",
|
|
754
|
+
isApprovalPage: "审批页面",
|
|
755
|
+
showLink: "菜单可见"
|
|
756
|
+
},
|
|
757
|
+
btn: {
|
|
758
|
+
passwordReset: "密码重置",
|
|
759
|
+
add: "新增",
|
|
760
|
+
agree: "同意",
|
|
761
|
+
approve: "审批",
|
|
762
|
+
appupper: "上架",
|
|
763
|
+
applower: "下架",
|
|
764
|
+
auth: "权限",
|
|
765
|
+
back: "返回",
|
|
766
|
+
cancel: "取消",
|
|
767
|
+
completed: "完工",
|
|
768
|
+
close: "关闭",
|
|
769
|
+
toggle: "切换",
|
|
770
|
+
confirm: "确认",
|
|
771
|
+
config: "配置",
|
|
772
|
+
copy: "复制",
|
|
773
|
+
customSize: "自定义纸张",
|
|
774
|
+
detail: "详情",
|
|
775
|
+
directPrint: "直接打印",
|
|
776
|
+
design: "设 计",
|
|
777
|
+
delete: "删除",
|
|
778
|
+
del: "删除",
|
|
779
|
+
download: "下载",
|
|
780
|
+
dispatchUser: "分配用户",
|
|
781
|
+
dispatchAuth: "分配权限",
|
|
782
|
+
FAQ: "常见问题",
|
|
783
|
+
finish: "完成",
|
|
784
|
+
fetch: "查询",
|
|
785
|
+
edit: "编辑",
|
|
786
|
+
export: "导出",
|
|
787
|
+
import: "导入",
|
|
788
|
+
encode: "编码",
|
|
789
|
+
importJSON: "导入模板数据",
|
|
790
|
+
downloadTemp: "模板下载",
|
|
791
|
+
inv: "库存组织",
|
|
792
|
+
look: "查看",
|
|
793
|
+
lov: "值集",
|
|
794
|
+
inbound: "入库",
|
|
795
|
+
more: "更多",
|
|
796
|
+
outbound: "出库",
|
|
797
|
+
preview: "预览",
|
|
798
|
+
print: "打印",
|
|
799
|
+
paramSet: "参数集",
|
|
800
|
+
reset: "重置",
|
|
801
|
+
resumeTask: "继续",
|
|
802
|
+
role: "角色",
|
|
803
|
+
repaint: "重绘",
|
|
804
|
+
save: "保存",
|
|
805
|
+
scan: "扫码下载",
|
|
806
|
+
stopTask: "停止",
|
|
807
|
+
suspendTask: "暂停",
|
|
808
|
+
search: "搜索",
|
|
809
|
+
sync: "同步",
|
|
810
|
+
submit: "提交",
|
|
811
|
+
taskLog: "任务日志",
|
|
812
|
+
revoke: "撤销",
|
|
813
|
+
reject: "拒绝",
|
|
814
|
+
upload: "上传",
|
|
815
|
+
goback: "返回",
|
|
816
|
+
disabled: "禁用",
|
|
817
|
+
enable: "启用",
|
|
818
|
+
flowDesign: "流程设计",
|
|
819
|
+
bankinfo: "银行账号"
|
|
820
|
+
},
|
|
821
|
+
urpt: {
|
|
822
|
+
templateName: "模版名称",
|
|
823
|
+
templateCode: "模版编码",
|
|
824
|
+
paperType: "纸张类型",
|
|
825
|
+
printPosition: "打印视图",
|
|
826
|
+
buttonCode: "按钮编码",
|
|
827
|
+
resourceCode: "资源编码",
|
|
828
|
+
resourceName: "资源名称",
|
|
829
|
+
resourceUrl: "资源路径",
|
|
830
|
+
fileName: "文件名称",
|
|
831
|
+
fileSize: "文件大小",
|
|
832
|
+
filePath: "文件路径",
|
|
833
|
+
fileExtend: "文件类型",
|
|
834
|
+
textAlign: "对齐方式",
|
|
835
|
+
color: "色彩",
|
|
836
|
+
fillOpacity: "透明度",
|
|
837
|
+
fontSize: "字体大小",
|
|
838
|
+
rotation: "倾斜角度",
|
|
839
|
+
watermarkCode: "水印编码",
|
|
840
|
+
watermarkContent: "水印内容",
|
|
841
|
+
watermarkTrigger: "触发时机",
|
|
842
|
+
watermarkType: "水印类型",
|
|
843
|
+
xAxis: "横坐标",
|
|
844
|
+
yAxis: "纵坐标"
|
|
845
|
+
},
|
|
846
|
+
add: "新增",
|
|
847
|
+
operate: "操作",
|
|
848
|
+
emptyData: "暂无数据",
|
|
849
|
+
creationDate: "创建时间",
|
|
850
|
+
createdByName: "创建人",
|
|
851
|
+
creationName: "创建人",
|
|
852
|
+
lastUpdateDate: "更新日期",
|
|
853
|
+
lastUpdatedByName: "更新人",
|
|
854
|
+
sort: "序号",
|
|
855
|
+
seqNo: "序号",
|
|
856
|
+
remark: "备注",
|
|
857
|
+
loading: "加载中...",
|
|
858
|
+
keyword: "关键字",
|
|
859
|
+
required: "请录入",
|
|
860
|
+
isRequired: "必填否",
|
|
861
|
+
dataSetCode: "数据集编码",
|
|
862
|
+
dataSetName: "数据集名称",
|
|
863
|
+
dataSetType: "数据集类型",
|
|
864
|
+
dataSetUrl: "URL/服务编码",
|
|
865
|
+
paramCode: "参数编码",
|
|
866
|
+
paramName: "参数名称",
|
|
867
|
+
defaultValue: "默认值",
|
|
868
|
+
enabled: "启用",
|
|
869
|
+
disabled: "禁用",
|
|
870
|
+
to: "至",
|
|
871
|
+
startDate: "开始日期",
|
|
872
|
+
endDate: "截至日期",
|
|
873
|
+
operateSuccess: "操作成功!",
|
|
874
|
+
operateFailed: "操作失败!",
|
|
875
|
+
selectedRecord: "请至少选择一条记录",
|
|
876
|
+
delRecord: "您确定要删除选择的数据吗?",
|
|
877
|
+
importSuccess: "导入成功!",
|
|
878
|
+
importFailed: "数据导入失败,请往下滚动以便查看错误信息",
|
|
879
|
+
importRecord: "您确定要导入数据吗?",
|
|
880
|
+
importEmpty: "数据列表为空,请先导入数据列表",
|
|
881
|
+
importTip: `1、表格模板的【列标题】不可修改;
|
|
882
|
+
2、单次导入数据数量应小于2000条;
|
|
883
|
+
3、数据字典直接录入字典值表示,能极大的提高表格渲染速度哦。例如: 数据字典【是否】Y/N
|
|
884
|
+
4、导入成功,系统提示【导入成功数量xxx条】其中的数量包括表头行`,
|
|
885
|
+
errorInfo: "异常信息",
|
|
886
|
+
publish: "发布",
|
|
887
|
+
menuName: "菜单名称(中文)",
|
|
888
|
+
menuNameEn: "菜单名称(英文)",
|
|
889
|
+
menuType: "菜单类型",
|
|
890
|
+
menuCode: "菜单编码",
|
|
891
|
+
permissionCode: "权限编码",
|
|
892
|
+
permissionName: "权限名称",
|
|
893
|
+
menuPath: "路由",
|
|
894
|
+
frameSrc: "内链URI",
|
|
895
|
+
externalURI: "外链URI",
|
|
896
|
+
redirect: "重定向路径",
|
|
897
|
+
i18nField: "标题字段",
|
|
898
|
+
extraIcon: "额外图标",
|
|
899
|
+
icon: "图标",
|
|
900
|
+
jobResult: "执行结果",
|
|
901
|
+
endTime: "结束时间",
|
|
902
|
+
startTime: "开始时间",
|
|
903
|
+
errorMessage: "异常信息",
|
|
904
|
+
jobStatus: "任务状态",
|
|
905
|
+
jobParam: "执行器任务参数",
|
|
906
|
+
jobHandler: "任务处理类",
|
|
907
|
+
jobClassName: "实现类",
|
|
908
|
+
jobCron: "任务执行corn",
|
|
909
|
+
jobName: "任务名称",
|
|
910
|
+
jobDescription: "任务描述",
|
|
911
|
+
interfaceName: "接口名称",
|
|
912
|
+
interfaceUrl: "接口地址",
|
|
913
|
+
requestDate: "请求日期",
|
|
914
|
+
requestStatus: "请求状态",
|
|
915
|
+
requestParameter: "body参数",
|
|
916
|
+
responseTimeConsume: "响应时间(ms)",
|
|
917
|
+
responseContent: "响应内容",
|
|
918
|
+
stacktrace: "错误堆栈",
|
|
919
|
+
status: "状态",
|
|
920
|
+
email: "邮箱",
|
|
921
|
+
userPassword: "登录密码",
|
|
922
|
+
remarks: "备注",
|
|
923
|
+
userPwd: "用户密码",
|
|
924
|
+
unitName: "用户单位",
|
|
925
|
+
employeeCode: "编号",
|
|
926
|
+
employeeName: "姓名",
|
|
927
|
+
department: "部门",
|
|
928
|
+
gender: "性别",
|
|
929
|
+
releateUser: "关联用户",
|
|
930
|
+
identity: "身份证号码",
|
|
931
|
+
employeeDate: "入职日期",
|
|
932
|
+
solarDay: "出生日期",
|
|
933
|
+
phone: "座机号",
|
|
934
|
+
mobile: "手机号",
|
|
935
|
+
deptName: "部门名称",
|
|
936
|
+
deptCode: "部门编码",
|
|
937
|
+
deptType: "部门类型",
|
|
938
|
+
deletePartment: "部门存在子级,请先删除子级",
|
|
939
|
+
lovCode: "视图编码",
|
|
940
|
+
lovName: "视图名称",
|
|
941
|
+
valueField: "值字段名",
|
|
942
|
+
displayField: "显示字段名",
|
|
943
|
+
lovTitle: "视图标题",
|
|
944
|
+
lovType: "视图类型",
|
|
945
|
+
lovUrl: "视图URI",
|
|
946
|
+
colField: "表格字段名",
|
|
947
|
+
colTitle: "表格列标题",
|
|
948
|
+
colWidth: "列宽度",
|
|
949
|
+
fieldType: "字段类型",
|
|
950
|
+
dictName: "数据字典",
|
|
951
|
+
isSearch: "查询字段",
|
|
952
|
+
isCol: "表格列",
|
|
953
|
+
sqlStatement: "SQL语句",
|
|
954
|
+
fileName: "附件名称",
|
|
955
|
+
fileSize: "附件大小",
|
|
956
|
+
tip: {
|
|
957
|
+
projectConfig: "项目配置",
|
|
958
|
+
closeConfig: "关闭配置",
|
|
959
|
+
clearCache: "清空缓存",
|
|
960
|
+
toLogin: "清空缓存并返回登录页",
|
|
961
|
+
del: "确定要删除{msg}吗?",
|
|
962
|
+
uploadFormat: "上传格式{type}",
|
|
963
|
+
imageSize: "图片尺寸{size}",
|
|
964
|
+
imageCapacity: "图片大小{capacity}",
|
|
965
|
+
singleImg: "仅支持设置单张图",
|
|
966
|
+
emptyAuth: "无系统权限, 请先给用户分配角色重试",
|
|
967
|
+
initPassword: "初始密码为:【{code}】,请及时修改密码",
|
|
968
|
+
loginFailure: "用户名或密码不能为空",
|
|
969
|
+
updatenow: "立即更新",
|
|
970
|
+
newVersion: "检测到新版本",
|
|
971
|
+
updateLater: "稍后更新"
|
|
972
|
+
},
|
|
973
|
+
title: {
|
|
974
|
+
employeeInfo: "员工信息",
|
|
975
|
+
cronLog: "执行日志",
|
|
976
|
+
memuInfo: "菜单配置",
|
|
977
|
+
authority: "【{role}】权限明细",
|
|
978
|
+
authUser: "【{role}】分配用户",
|
|
979
|
+
authEdit: "角色编辑",
|
|
980
|
+
roleInfo: "角色列表",
|
|
981
|
+
appAdd: "App版本新增",
|
|
982
|
+
dictList: "【{name}】字典值列表",
|
|
983
|
+
dictInfo: "【{name}】字典值",
|
|
984
|
+
lovView: "值集视图",
|
|
985
|
+
lovColConfig: "值集列配置",
|
|
986
|
+
sequenceInfo: "{name}单据序列配置",
|
|
987
|
+
userInfo: "用户信息"
|
|
988
|
+
}
|
|
989
|
+
}, to = {
|
|
990
|
+
udp: {
|
|
991
|
+
dark: "深色",
|
|
992
|
+
light: "浅色",
|
|
993
|
+
smart: "灵动",
|
|
994
|
+
card: "卡片",
|
|
995
|
+
theme: "主题色",
|
|
996
|
+
pageStyle: "Page Style",
|
|
997
|
+
navigationMode: "Navigation Node",
|
|
998
|
+
tagStyle: "Tag Style",
|
|
999
|
+
collapse: "Collapse",
|
|
1000
|
+
expand: "Expand",
|
|
1001
|
+
login: "Login",
|
|
1002
|
+
home: "Home",
|
|
1003
|
+
logout: "Logout",
|
|
1004
|
+
password: "Password",
|
|
1005
|
+
passwordReset: "Password Reset",
|
|
1006
|
+
oldPwd: "Old Password",
|
|
1007
|
+
newPwd: "New Password",
|
|
1008
|
+
confirmPwd: "Confirm Password",
|
|
1009
|
+
reload: "Reload",
|
|
1010
|
+
closeCurrentTab: "Close Current Tab",
|
|
1011
|
+
closeLeftTabs: "Close Left Tabs",
|
|
1012
|
+
closeRightTabs: "Close Right Tabs",
|
|
1013
|
+
closeOtherTabs: "Close Other Tabs",
|
|
1014
|
+
closeAllTabs: "Close All Tabs",
|
|
1015
|
+
wholeFullScreen: "Whole Full Screen",
|
|
1016
|
+
wholeExitFullScreen: "Whole Exit Full Screen",
|
|
1017
|
+
contentFullScreen: "Content Fulll Screen",
|
|
1018
|
+
contentExitFullScreen: "Content Exit Full Screen",
|
|
1019
|
+
fourZeroFour: "404",
|
|
1020
|
+
fourZeroThree: "403",
|
|
1021
|
+
five: "500",
|
|
1022
|
+
backtop: "Back Top",
|
|
1023
|
+
error: "Error Page",
|
|
1024
|
+
continueAdd: "Continue Add",
|
|
1025
|
+
menuQuery: "Menu Search",
|
|
1026
|
+
systemTitle: "System Title",
|
|
1027
|
+
systemLogo: "LOGO",
|
|
1028
|
+
systemFavicon: "favicon",
|
|
1029
|
+
homeBackimg: "Home Background Image",
|
|
1030
|
+
baseUrl: "Base Url",
|
|
1031
|
+
copyright: "Copy Right",
|
|
1032
|
+
i18nEnabled: "Internationalize",
|
|
1033
|
+
defaultLanguage: "Language",
|
|
1034
|
+
roleName: "Role Name",
|
|
1035
|
+
roleCode: "Role Code",
|
|
1036
|
+
roleDesc: "Role Desc",
|
|
1037
|
+
loginTime: "Login Time",
|
|
1038
|
+
operatingSystem: "Operate System",
|
|
1039
|
+
ip: "ip",
|
|
1040
|
+
browserVersion: "Browser Version",
|
|
1041
|
+
browser: "Browser",
|
|
1042
|
+
dictCode: "Dict Code",
|
|
1043
|
+
dictName: "Dict Name",
|
|
1044
|
+
dictType: "Dict Type",
|
|
1045
|
+
ruleCode: "Rule Code",
|
|
1046
|
+
ruleName: "Rule Name",
|
|
1047
|
+
fieldType: "Field Type",
|
|
1048
|
+
fieldValue: "Field Value",
|
|
1049
|
+
dateMask: "Data Mask",
|
|
1050
|
+
resetFrequency: "Reset Frequency",
|
|
1051
|
+
seqLength: "Seq Length",
|
|
1052
|
+
startValue: "Start Value",
|
|
1053
|
+
currentValue: "Current Value",
|
|
1054
|
+
haveBeenUsed: "Have Been Used",
|
|
1055
|
+
unitName: "Unit Name",
|
|
1056
|
+
unitCode: "Unit Code",
|
|
1057
|
+
unitNote: "Unit Note",
|
|
1058
|
+
deleteCompany: "There are child levels in the Company, please delete the child level first",
|
|
1059
|
+
tip: "tip",
|
|
1060
|
+
today: "Today",
|
|
1061
|
+
yesterday: "Yesterday",
|
|
1062
|
+
lastWeek: "Last Week",
|
|
1063
|
+
lastMonth: "Last Month",
|
|
1064
|
+
threeMonth: "Three Month",
|
|
1065
|
+
halfYear: "Half Year",
|
|
1066
|
+
anniversary: "Anniversary",
|
|
1067
|
+
newVersion: "检测到新版本",
|
|
1068
|
+
updatenow: "立即更新",
|
|
1069
|
+
updateLater: "稍后更新",
|
|
1070
|
+
appVersion: "版本号",
|
|
1071
|
+
buildNo: "构建号",
|
|
1072
|
+
versionInfo: "版本信息",
|
|
1073
|
+
isForceUpdate: "安装方式",
|
|
1074
|
+
downloadUrl: "APK文件",
|
|
1075
|
+
forceUpdate: "强制更新",
|
|
1076
|
+
freeUpdate: "自主更新",
|
|
1077
|
+
userName: "User Name",
|
|
1078
|
+
userCode: "user Code",
|
|
1079
|
+
sysType: "User Type",
|
|
1080
|
+
orgCode: "Business Unit Code",
|
|
1081
|
+
orgName: "Business Unit Name",
|
|
1082
|
+
orgAlias: "Business Unit Alias",
|
|
1083
|
+
orgDesc: "Business Unit Descript",
|
|
1084
|
+
organizationName: "Organization Name",
|
|
1085
|
+
organizationCode: "Organization Code"
|
|
1086
|
+
},
|
|
1087
|
+
btn: {
|
|
1088
|
+
add: "Add",
|
|
1089
|
+
agree: "Agree",
|
|
1090
|
+
approve: "Approval",
|
|
1091
|
+
appupper: "App Add",
|
|
1092
|
+
applower: "App Remove",
|
|
1093
|
+
auth: "Authority",
|
|
1094
|
+
back: "Back",
|
|
1095
|
+
cancel: "Cancel",
|
|
1096
|
+
completed: "Completed",
|
|
1097
|
+
close: "Close",
|
|
1098
|
+
toggle: "Toggle",
|
|
1099
|
+
confirm: "Confirm",
|
|
1100
|
+
config: "Config",
|
|
1101
|
+
copy: "Copy",
|
|
1102
|
+
customSize: "Custom Size",
|
|
1103
|
+
detail: "Detail",
|
|
1104
|
+
directPrint: "Direct Print",
|
|
1105
|
+
design: "Design",
|
|
1106
|
+
delete: "Delete",
|
|
1107
|
+
del: "Delete",
|
|
1108
|
+
download: "Download",
|
|
1109
|
+
dispatchUser: "Dispatch User",
|
|
1110
|
+
dispatchAuth: "Dispatch Authority",
|
|
1111
|
+
finish: "Finish",
|
|
1112
|
+
fetch: "Fetch",
|
|
1113
|
+
edit: "Edit",
|
|
1114
|
+
export: "Export",
|
|
1115
|
+
import: "Import",
|
|
1116
|
+
encode: "Encode",
|
|
1117
|
+
importJSON: "Import Data",
|
|
1118
|
+
look: "Look",
|
|
1119
|
+
lov: "Lov",
|
|
1120
|
+
inbound: "Inbound",
|
|
1121
|
+
more: "More",
|
|
1122
|
+
outbound: "Outbound",
|
|
1123
|
+
preview: "Preview",
|
|
1124
|
+
print: "Print",
|
|
1125
|
+
paramSet: "Param Set",
|
|
1126
|
+
reset: "Reset",
|
|
1127
|
+
resumeTask: "Resume",
|
|
1128
|
+
role: "Role",
|
|
1129
|
+
repaint: "Repaint",
|
|
1130
|
+
save: "Save",
|
|
1131
|
+
scan: "Scan Download",
|
|
1132
|
+
stopTask: "Stop",
|
|
1133
|
+
suspendTask: "Suspend",
|
|
1134
|
+
search: "Search",
|
|
1135
|
+
sync: "Sync",
|
|
1136
|
+
submit: "Submit",
|
|
1137
|
+
taskLog: "Log",
|
|
1138
|
+
revoke: "Revoke",
|
|
1139
|
+
reject: "Reject",
|
|
1140
|
+
upload: "Upload"
|
|
1141
|
+
},
|
|
1142
|
+
file: {
|
|
1143
|
+
templateName: "Template Name",
|
|
1144
|
+
templateCode: "Template Code",
|
|
1145
|
+
paperType: "Paper Type",
|
|
1146
|
+
printPosition: "Print Position",
|
|
1147
|
+
buttonCode: "Button Code",
|
|
1148
|
+
resourceCode: "Resource Code",
|
|
1149
|
+
resourceName: "Resource Name",
|
|
1150
|
+
resourceUrl: "Resource Url",
|
|
1151
|
+
fileName: "File Name",
|
|
1152
|
+
fileSize: "File Size",
|
|
1153
|
+
filePath: "File Path",
|
|
1154
|
+
fileExtend: "File Extend",
|
|
1155
|
+
textAlign: "Text Align",
|
|
1156
|
+
color: "Color",
|
|
1157
|
+
fillOpacity: "Fill Opacity",
|
|
1158
|
+
fontSize: "Font Size",
|
|
1159
|
+
rotation: "Rotation",
|
|
1160
|
+
watermarkCode: "Watermark Code",
|
|
1161
|
+
watermarkContent: "Watermark Content",
|
|
1162
|
+
watermarkTrigger: "Watermark Trigger",
|
|
1163
|
+
watermarkType: "Watermark Type",
|
|
1164
|
+
xAxis: "xAxis",
|
|
1165
|
+
yAxis: "yAxis"
|
|
1166
|
+
},
|
|
1167
|
+
add: "Add",
|
|
1168
|
+
operate: "Operate",
|
|
1169
|
+
emptyData: "Empty Data",
|
|
1170
|
+
creationDate: "Creation Date",
|
|
1171
|
+
createdByName: "CreatedBy Name",
|
|
1172
|
+
creationName: "Creation Name",
|
|
1173
|
+
lastUpdateDate: "LastUpdate Date",
|
|
1174
|
+
lastUpdatedByName: "LastUpdatedBy Name",
|
|
1175
|
+
sort: "Sort",
|
|
1176
|
+
seqNo: "Seq No",
|
|
1177
|
+
remark: "Remark",
|
|
1178
|
+
loading: "Loading...",
|
|
1179
|
+
keyword: "Keyword",
|
|
1180
|
+
required: "Required",
|
|
1181
|
+
isRequired: "Is Required",
|
|
1182
|
+
dataSetCode: "Dataset Code",
|
|
1183
|
+
dataSetName: "Dataset Name",
|
|
1184
|
+
dataSetType: "Dataset Type",
|
|
1185
|
+
dataSetUrl: "Dataset Url",
|
|
1186
|
+
paramCode: "Param Code",
|
|
1187
|
+
paramName: "Param Name",
|
|
1188
|
+
defaultValue: "Default Value",
|
|
1189
|
+
enabled: "Enabled",
|
|
1190
|
+
disabled: "Disabled",
|
|
1191
|
+
to: "To",
|
|
1192
|
+
startDate: "Start Date",
|
|
1193
|
+
endDate: "End Date",
|
|
1194
|
+
operateSuccess: "Operate Success!",
|
|
1195
|
+
operateFailed: "Operate Failed!",
|
|
1196
|
+
selectedRecord: "Please select at least one record",
|
|
1197
|
+
delRecord: "Are you sure you want to delete this record?",
|
|
1198
|
+
importSuccess: "Import Success!",
|
|
1199
|
+
importFailed: "Data import failed, please scroll down to view the error message",
|
|
1200
|
+
importRecord: "Are you sure you want to import the data?",
|
|
1201
|
+
importEmpty: "The data list is empty, please import the data list first",
|
|
1202
|
+
importTip: `1. The column headings in the table template cannot be modified;
|
|
1203
|
+
2. The number of data imported at a time should be less than 2000;
|
|
1204
|
+
3. Directly entering dictionary values into the data dictionary can greatly improve the speed of table rendering. For example: Data Dictionary [Yes/No] Y/N
|
|
1205
|
+
4. Import successful, system prompts' xxx successful imports', including header rows`,
|
|
1206
|
+
errorInfo: "Error Info",
|
|
1207
|
+
publish: "Publish",
|
|
1208
|
+
menuName: "Menu Name",
|
|
1209
|
+
menuNameEn: "Menu Name",
|
|
1210
|
+
menuType: "Menu Type",
|
|
1211
|
+
menuCode: "Menu Code",
|
|
1212
|
+
permissionCode: "Permission Code",
|
|
1213
|
+
permissionName: "Permission Name",
|
|
1214
|
+
menuPath: "Menu Path",
|
|
1215
|
+
frameSrc: "Internal Link URI",
|
|
1216
|
+
externalURI: "External Link URI",
|
|
1217
|
+
redirect: "Redirect",
|
|
1218
|
+
i18nField: "Language Field",
|
|
1219
|
+
extraIcon: "Extra Icon",
|
|
1220
|
+
icon: "Icon",
|
|
1221
|
+
jobResult: "Job Result",
|
|
1222
|
+
endTime: "End Time",
|
|
1223
|
+
startTime: "Start Time",
|
|
1224
|
+
errorMessage: "Error Message",
|
|
1225
|
+
jobStatus: "Job Status",
|
|
1226
|
+
jobParam: "Job Param",
|
|
1227
|
+
jobHandler: "Job Handler",
|
|
1228
|
+
jobClassName: "Job ClassName",
|
|
1229
|
+
jobCron: "Job Cron",
|
|
1230
|
+
jobName: "Job Name",
|
|
1231
|
+
jobDescription: "Job Description",
|
|
1232
|
+
interfaceName: "Interface Name",
|
|
1233
|
+
interfaceUrl: "Interface Url",
|
|
1234
|
+
requestDate: "Request Date",
|
|
1235
|
+
requestStatus: "Request Status",
|
|
1236
|
+
requestParameter: "Request Parameter",
|
|
1237
|
+
responseTimeConsume: "Response TimeConsume(ms)",
|
|
1238
|
+
responseContent: "Response Content",
|
|
1239
|
+
stacktrace: "Stacktrace",
|
|
1240
|
+
status: "Status",
|
|
1241
|
+
email: "Email",
|
|
1242
|
+
userPassword: "Password",
|
|
1243
|
+
remarks: "Remarks",
|
|
1244
|
+
userPwd: "Password",
|
|
1245
|
+
unitName: "Department",
|
|
1246
|
+
employeeCode: "Employee Code",
|
|
1247
|
+
employeeName: "Employee Name",
|
|
1248
|
+
department: "Department",
|
|
1249
|
+
gender: "Sex",
|
|
1250
|
+
releateUser: "Releate User",
|
|
1251
|
+
identity: "Identity",
|
|
1252
|
+
employeeDate: "Employee Date",
|
|
1253
|
+
solarDay: "Solar Day",
|
|
1254
|
+
phone: "Phone",
|
|
1255
|
+
mobile: "Mobile",
|
|
1256
|
+
deptName: "Department Name",
|
|
1257
|
+
deptCode: "Department Code",
|
|
1258
|
+
deptType: "Department Type",
|
|
1259
|
+
deletePartment: "There are child levels in the department, please delete the child level first",
|
|
1260
|
+
lovCode: "LovCode",
|
|
1261
|
+
lovName: "lovName",
|
|
1262
|
+
valueField: "valueField",
|
|
1263
|
+
displayField: "displayField",
|
|
1264
|
+
lovTitle: "lovTitle",
|
|
1265
|
+
colField: "colField",
|
|
1266
|
+
colTitle: "colTitle",
|
|
1267
|
+
width: "width",
|
|
1268
|
+
dictDispose: "dictDispose",
|
|
1269
|
+
isSearch: "isSearch",
|
|
1270
|
+
isCol: "isCol"
|
|
1271
|
+
}, Se = /* @__PURE__ */ Object.assign({ "./module/u-report.ts": Gt, "./module/u-workflow.ts": Qt, "./module/umsg.ts": Xt }), H = {};
|
|
1272
|
+
for (const e in Se)
|
|
1273
|
+
H[e.replace(/(\.\/module\/|\.ts)/g, "")] = Se[e].default;
|
|
1274
|
+
const De = Object.keys(H).filter((e) => H[e]).map((e) => H[e]), oo = {
|
|
1275
|
+
zh: {
|
|
1276
|
+
...h.getItem(Ft),
|
|
1277
|
+
message: ue(eo, ...De.map((e) => e.zh.message))
|
|
1278
|
+
},
|
|
1279
|
+
en: {
|
|
1280
|
+
...h.getItem(xt),
|
|
1281
|
+
message: Object.assign(to, ...De.map((e) => e.en.message))
|
|
1282
|
+
}
|
|
1283
|
+
};
|
|
1284
|
+
let A = null;
|
|
1285
|
+
function no(e, t = { messages: {} }) {
|
|
1286
|
+
var o;
|
|
1287
|
+
A = dt({
|
|
1288
|
+
legacy: !1,
|
|
1289
|
+
locale: ((o = h.getItem(`${w()}locale`)) == null ? void 0 : o.locale) ?? "zh",
|
|
1290
|
+
fallbackLocale: "en",
|
|
1291
|
+
globalInjection: !0,
|
|
1292
|
+
messages: ue(oo, t.messages)
|
|
1293
|
+
}), D.setLanguage("zh-CN"), e.use(A);
|
|
1294
|
+
}
|
|
1295
|
+
const W = () => A;
|
|
1296
|
+
function Ke(e = "", t = !0) {
|
|
1297
|
+
if (!e)
|
|
1298
|
+
return "";
|
|
1299
|
+
if (typeof e == "object") {
|
|
1300
|
+
const o = A.global.locale;
|
|
1301
|
+
return e[o.value];
|
|
1302
|
+
}
|
|
1303
|
+
return t ? A.global.t.call(A.global, e) : e;
|
|
1304
|
+
}
|
|
1305
|
+
const ao = q("udp-system", {
|
|
1306
|
+
state: () => ({
|
|
1307
|
+
baseURL: "",
|
|
1308
|
+
userInfo: {},
|
|
1309
|
+
systemInfo: {},
|
|
1310
|
+
dataDict: {},
|
|
1311
|
+
sysConfig: {},
|
|
1312
|
+
menui18n: {},
|
|
1313
|
+
i18n: {},
|
|
1314
|
+
dicts: [],
|
|
1315
|
+
orgList: [],
|
|
1316
|
+
invOrgList: [],
|
|
1317
|
+
homeMenus: [],
|
|
1318
|
+
sessionKey: "",
|
|
1319
|
+
orgId: "",
|
|
1320
|
+
userName: "",
|
|
1321
|
+
organizationId: "",
|
|
1322
|
+
isAdminRole: !1
|
|
1323
|
+
}),
|
|
1324
|
+
getters: {
|
|
1325
|
+
getBaseURL() {
|
|
1326
|
+
return this.baseURL;
|
|
1327
|
+
},
|
|
1328
|
+
getUserInfo() {
|
|
1329
|
+
return this.userInfo;
|
|
1330
|
+
},
|
|
1331
|
+
getSysConfig() {
|
|
1332
|
+
return this.sysConfig;
|
|
1333
|
+
},
|
|
1334
|
+
getEmployee() {
|
|
1335
|
+
return this.employee;
|
|
1336
|
+
},
|
|
1337
|
+
getSessionKey() {
|
|
1338
|
+
return this.sessionKey;
|
|
1339
|
+
},
|
|
1340
|
+
getMenuI18n() {
|
|
1341
|
+
return this.menui18n;
|
|
1342
|
+
},
|
|
1343
|
+
getI18n() {
|
|
1344
|
+
return this.i18n;
|
|
1345
|
+
},
|
|
1346
|
+
getOrglist() {
|
|
1347
|
+
return this.orgList;
|
|
1348
|
+
},
|
|
1349
|
+
getOrgId() {
|
|
1350
|
+
return this.orgId;
|
|
1351
|
+
},
|
|
1352
|
+
getOrganizationId() {
|
|
1353
|
+
return this.organizationId;
|
|
1354
|
+
},
|
|
1355
|
+
getDataDict() {
|
|
1356
|
+
return this.dataDict;
|
|
1357
|
+
},
|
|
1358
|
+
getUserName() {
|
|
1359
|
+
return this.userName;
|
|
1360
|
+
},
|
|
1361
|
+
getAdminRole(e) {
|
|
1362
|
+
return e.isAdminRole;
|
|
1363
|
+
},
|
|
1364
|
+
getHomeMenus(e) {
|
|
1365
|
+
return e.homeMenus;
|
|
1366
|
+
},
|
|
1367
|
+
getOrganizationCode(e) {
|
|
1368
|
+
var t, o;
|
|
1369
|
+
return (o = (t = e.invOrgList) == null ? void 0 : t.find((n) => n.id === e.organizationId)) == null ? void 0 : o.organizationCode;
|
|
1370
|
+
},
|
|
1371
|
+
getOrg(e) {
|
|
1372
|
+
return e.orgList.find((t) => t.id === e.orgId);
|
|
1373
|
+
}
|
|
1374
|
+
},
|
|
1375
|
+
actions: {
|
|
1376
|
+
// baseURL
|
|
1377
|
+
setBaseURL(e) {
|
|
1378
|
+
this.sessionKey = e;
|
|
1379
|
+
},
|
|
1380
|
+
setSessionKey(e) {
|
|
1381
|
+
this.sessionKey = e.access_token || e;
|
|
1382
|
+
},
|
|
1383
|
+
// sysConfig
|
|
1384
|
+
setSysConfig(e) {
|
|
1385
|
+
this.sysConfig = e;
|
|
1386
|
+
},
|
|
1387
|
+
// orgId
|
|
1388
|
+
setOrgId(e) {
|
|
1389
|
+
this.orgId = e;
|
|
1390
|
+
},
|
|
1391
|
+
setOrganizationId(e) {
|
|
1392
|
+
this.organizationId = e;
|
|
1393
|
+
},
|
|
1394
|
+
setMenuI18n(e) {
|
|
1395
|
+
this.menui18n = e;
|
|
1396
|
+
},
|
|
1397
|
+
setI18n(e) {
|
|
1398
|
+
this.i18n = e;
|
|
1399
|
+
},
|
|
1400
|
+
setUserName(e) {
|
|
1401
|
+
this.userName = e;
|
|
1402
|
+
},
|
|
1403
|
+
// 首页子菜单列表
|
|
1404
|
+
setHomeMenus(e) {
|
|
1405
|
+
this.homeMenus = e;
|
|
1406
|
+
},
|
|
1407
|
+
// 库存组织列表
|
|
1408
|
+
setInvOrgList(e) {
|
|
1409
|
+
this.invOrgList = e;
|
|
1410
|
+
},
|
|
1411
|
+
setOrgList(e) {
|
|
1412
|
+
this.orgList = e;
|
|
1413
|
+
},
|
|
1414
|
+
setDict(e) {
|
|
1415
|
+
this.dicts = e, e == null || e.forEach((t) => {
|
|
1416
|
+
this.dataDict[t.dictCode] = t;
|
|
1417
|
+
}), h.setItem("kLov", this.dataDict);
|
|
1418
|
+
},
|
|
1419
|
+
// 系统信息
|
|
1420
|
+
setSystemInfo(e) {
|
|
1421
|
+
var n;
|
|
1422
|
+
this.systemInfo = e;
|
|
1423
|
+
const t = (n = e.employeeList) != null && n.length ? e.employeeList[0] : "";
|
|
1424
|
+
this.userInfo = e.user || {}, this.employee = Object.assign({}, t, e.user), this.orgId = e.orgId, this.organizationId = e.organizationId, this.orgList = e.orgList;
|
|
1425
|
+
const o = {
|
|
1426
|
+
orgId: e.orgId,
|
|
1427
|
+
organizationId: e.organizationId
|
|
1428
|
+
};
|
|
1429
|
+
U.set("kCookies_param", JSON.stringify(o)), this.isAdminRole = this.employee.sysRoles.some((a) => a.roleCode === "admin" || ["管理员"].includes(a.roleName)), C().setAuthButton(e.dataMenus);
|
|
1430
|
+
}
|
|
1431
|
+
}
|
|
1432
|
+
});
|
|
1433
|
+
function G() {
|
|
1434
|
+
return ao(j);
|
|
1435
|
+
}
|
|
1436
|
+
function so(e, t) {
|
|
1437
|
+
return /* @__PURE__ */ B({
|
|
1438
|
+
name: e,
|
|
1439
|
+
components: {
|
|
1440
|
+
asyncComponent: t
|
|
1441
|
+
},
|
|
1442
|
+
setup() {
|
|
1443
|
+
return () => Ue(ne("async-component"), null, null);
|
|
1444
|
+
}
|
|
1445
|
+
});
|
|
1446
|
+
}
|
|
1447
|
+
const ro = () => I.get(`${N()}/uums/roleMenu`), io = () => I.get(`${N()}/upfm/v1/lov/selectAll`), ke = (e) => I.get(`${N()}/uums/roleMenu/userMenu`, e), lo = () => import("./layoutView-De2QIEr2.js"), uo = () => import("./frameView-MAW_-GHJ.js");
|
|
1448
|
+
function $(e) {
|
|
1449
|
+
return e.forEach((t) => {
|
|
1450
|
+
var o, n;
|
|
1451
|
+
((o = t == null ? void 0 : t.meta) == null ? void 0 : o.rank) === null && (t.meta.rank = void 0), ((n = t == null ? void 0 : t.meta) == null ? void 0 : n.rank) === 0 && t.name !== "home" && t.path !== "/" && console.warn("rank only the home page can be 0");
|
|
1452
|
+
}), e.sort((t, o) => {
|
|
1453
|
+
var n, a;
|
|
1454
|
+
return ((n = t == null ? void 0 : t.meta) == null ? void 0 : n.rank) - ((a = o == null ? void 0 : o.meta) == null ? void 0 : a.rank);
|
|
1455
|
+
});
|
|
1456
|
+
}
|
|
1457
|
+
function Je(e) {
|
|
1458
|
+
const t = z(e, !0).filter((o) => {
|
|
1459
|
+
var n;
|
|
1460
|
+
return o && ((n = o.meta) == null ? void 0 : n.showLink) !== !1;
|
|
1461
|
+
});
|
|
1462
|
+
return t.forEach((o) => o.children && (o.children = Je(o.children))), t;
|
|
1463
|
+
}
|
|
1464
|
+
function Jn(e, t, o = "path") {
|
|
1465
|
+
function n(a, s, i) {
|
|
1466
|
+
for (let r = 0; r < a.length; r++) {
|
|
1467
|
+
const d = a[r];
|
|
1468
|
+
if (d[o] === s) return i;
|
|
1469
|
+
if (!(!d.children || !d.children.length)) {
|
|
1470
|
+
if (i.push(d.path), n(d.children, s, i).length) return i;
|
|
1471
|
+
i.pop();
|
|
1472
|
+
}
|
|
1473
|
+
}
|
|
1474
|
+
return [];
|
|
1475
|
+
}
|
|
1476
|
+
return n(t, e, []);
|
|
1477
|
+
}
|
|
1478
|
+
function Ye(e, t) {
|
|
1479
|
+
let o = t.find((n) => n.path == e);
|
|
1480
|
+
if (o)
|
|
1481
|
+
return ge(o) ? fe(o) : o;
|
|
1482
|
+
for (let n = 0; n < t.length; n++)
|
|
1483
|
+
if (t[n].children instanceof Array && t[n].children.length > 0 && (o = Ye(e, t[n].children), o))
|
|
1484
|
+
return ge(o) ? fe(o) : o;
|
|
1485
|
+
return null;
|
|
1486
|
+
}
|
|
1487
|
+
function co() {
|
|
1488
|
+
f.hasRoute("pathMatch") || f.addRoute({
|
|
1489
|
+
path: "/:pathMatch(.*)",
|
|
1490
|
+
name: "pathMatch",
|
|
1491
|
+
redirect: "/error/404"
|
|
1492
|
+
});
|
|
1493
|
+
}
|
|
1494
|
+
function mo() {
|
|
1495
|
+
var t, o;
|
|
1496
|
+
const e = W();
|
|
1497
|
+
(t = e.global) == null || t.mergeLocaleMessage("zh", L.zh), (o = e.global) == null || o.mergeLocaleMessage("en", L.en), h.setItem("menu_zh", L.zh), h.setItem("menu_en", L.en);
|
|
1498
|
+
}
|
|
1499
|
+
function Fe(e) {
|
|
1500
|
+
if (e != null && e.length) {
|
|
1501
|
+
const t = e.findIndex((n) => n.menuCode === "SysHome");
|
|
1502
|
+
if (t !== -1) {
|
|
1503
|
+
const n = [], a = [];
|
|
1504
|
+
e[t].children.forEach((s) => {
|
|
1505
|
+
s.menuCategory !== "1" ? n.push(s) : a.push(s);
|
|
1506
|
+
}), e[t].children = a, G().setHomeMenus(n);
|
|
1507
|
+
}
|
|
1508
|
+
const o = z(Xe(e), !0);
|
|
1509
|
+
mo(), Z(o).map((n) => {
|
|
1510
|
+
const { options: a } = f;
|
|
1511
|
+
a.routes[0].children.findIndex((s) => s.path === n.path) === -1 && (f.options.routes[0].children.push(n), $(f.options.routes[0].children), f.hasRoute(n == null ? void 0 : n.name) || f.addRoute(n));
|
|
1512
|
+
});
|
|
1513
|
+
}
|
|
1514
|
+
C().changeSetting(e), F().getMultiTagsCache || F().handleTags("equal", [
|
|
1515
|
+
...V,
|
|
1516
|
+
...C().flatteningRoutes.filter((t) => {
|
|
1517
|
+
var o;
|
|
1518
|
+
return (o = t == null ? void 0 : t.meta) == null ? void 0 : o.fixedTag;
|
|
1519
|
+
})
|
|
1520
|
+
]), co();
|
|
1521
|
+
}
|
|
1522
|
+
async function po(e) {
|
|
1523
|
+
let t = [];
|
|
1524
|
+
const o = `U-${e}-ROUTES`;
|
|
1525
|
+
return k().CachingAsyncRoutes && await ee.getItem(o).then((n) => t = n), io().then((n) => G().setDict(n)), await ro().then(async (n) => {
|
|
1526
|
+
G().setSystemInfo(n), await Q().get("/uums/cusOrganization", { pageSize: 100, pageNum: 1, orgId: n.orgId }).then((a) => G().setInvOrgList((a == null ? void 0 : a.list) || []));
|
|
1527
|
+
}), t != null && t.length ? new Promise((n) => {
|
|
1528
|
+
Fe(t), ke({ userName: e }).then((a) => {
|
|
1529
|
+
ee.setItem(o, a);
|
|
1530
|
+
}), n(f);
|
|
1531
|
+
}) : new Promise((n) => {
|
|
1532
|
+
ke({ userName: e }).then((a) => {
|
|
1533
|
+
Fe(z(a, !0)), ee.setItem(o, a), n(f);
|
|
1534
|
+
});
|
|
1535
|
+
});
|
|
1536
|
+
}
|
|
1537
|
+
function Z(e) {
|
|
1538
|
+
if (e.length === 0) return e;
|
|
1539
|
+
let t = le(e);
|
|
1540
|
+
for (let o = 0; o < t.length; o++)
|
|
1541
|
+
t[o].children && (t = t.slice(0, o + 1).concat(t[o].children, t.slice(o + 1)));
|
|
1542
|
+
return t;
|
|
1543
|
+
}
|
|
1544
|
+
function Qe(e) {
|
|
1545
|
+
if (e.length === 0) return e;
|
|
1546
|
+
const t = [];
|
|
1547
|
+
return e.forEach((o) => {
|
|
1548
|
+
o.path === "/" ? t.push({
|
|
1549
|
+
component: o.component,
|
|
1550
|
+
name: o.name,
|
|
1551
|
+
path: o.path,
|
|
1552
|
+
redirect: o.redirect,
|
|
1553
|
+
meta: o.meta,
|
|
1554
|
+
children: []
|
|
1555
|
+
}) : t[0].children.push({ ...o });
|
|
1556
|
+
}), t;
|
|
1557
|
+
}
|
|
1558
|
+
function ho({ name: e }, t) {
|
|
1559
|
+
switch (t) {
|
|
1560
|
+
case "add":
|
|
1561
|
+
C().cacheOperate({ mode: "add", name: e });
|
|
1562
|
+
break;
|
|
1563
|
+
case "delete":
|
|
1564
|
+
C().cacheOperate({ mode: "delete", name: e });
|
|
1565
|
+
break;
|
|
1566
|
+
case "refresh":
|
|
1567
|
+
C().cacheOperate({ mode: "refresh", name: e });
|
|
1568
|
+
break;
|
|
1569
|
+
default:
|
|
1570
|
+
C().cacheOperate({ mode: "delete", name: e }), Tt(() => {
|
|
1571
|
+
C().cacheOperate({ mode: "add", name: e });
|
|
1572
|
+
}, 100);
|
|
1573
|
+
}
|
|
1574
|
+
}
|
|
1575
|
+
const L = {
|
|
1576
|
+
zh: {},
|
|
1577
|
+
en: {}
|
|
1578
|
+
}, Ze = [], Xe = (e) => {
|
|
1579
|
+
var n;
|
|
1580
|
+
const t = Po();
|
|
1581
|
+
if (!e || !e.length) return;
|
|
1582
|
+
const o = Object.keys(t);
|
|
1583
|
+
for (let a = 0; a < e.length; a++) {
|
|
1584
|
+
const s = e[a];
|
|
1585
|
+
s != null && s.children && s.children.length && !s.redirect && (s.redirect = s.children[0].path);
|
|
1586
|
+
const { icon: i, permissionCode: r, extraIcon: d, frameSrc: c } = s;
|
|
1587
|
+
if (s.isApprovalPage === "Y" && Ze.push(s), s.meta = {
|
|
1588
|
+
keepAlive: !0,
|
|
1589
|
+
rank: s.sort,
|
|
1590
|
+
title: `${s.i18nField}`,
|
|
1591
|
+
// 审批流设计页面和审批页面的code写死,只需配置页面即可(保底方式)
|
|
1592
|
+
// showLink: !['UDPFlowTask'].includes(v.menuCode) ? null : false
|
|
1593
|
+
showLink: s.showLink !== "N"
|
|
1594
|
+
}, s.hiddenTag = null, Object.assign(s.meta, { icon: i, permissionCode: r, extraIcon: d, frameSrc: c }), L.zh[s.i18nField] = s.menuName || s.menuNameEn, L.en[s.i18nField] = s.menuNameEn || s.menuName, s.name = s.menuCode || s.name, s.path = s.menuPath || s.path, !s.parentId)
|
|
1595
|
+
s.component = lo;
|
|
1596
|
+
else if ((n = s.meta) != null && n.frameSrc)
|
|
1597
|
+
s.component = uo;
|
|
1598
|
+
else if (s.menuCategory === "10") {
|
|
1599
|
+
const p = o.findIndex((m) => m.includes("lowcode-contain"));
|
|
1600
|
+
s.component = so(
|
|
1601
|
+
s.name,
|
|
1602
|
+
lt(() => import(
|
|
1603
|
+
/* @vite-ignore */
|
|
1604
|
+
o[p]
|
|
1605
|
+
))
|
|
1606
|
+
), Object.assign(s.meta, { moduleType: s.moduleType });
|
|
1607
|
+
} else if (s.menuCategory !== "5") {
|
|
1608
|
+
const p = o.findIndex((m) => m.includes(s.path));
|
|
1609
|
+
s.component = t[o[p]];
|
|
1610
|
+
}
|
|
1611
|
+
s != null && s.children && s.children.length ? Xe(s.children) : delete s.children;
|
|
1612
|
+
}
|
|
1613
|
+
return e;
|
|
1614
|
+
};
|
|
1615
|
+
function Yn(e, t = !0) {
|
|
1616
|
+
const o = F().multiTags.findIndex((n) => {
|
|
1617
|
+
if (e.query) {
|
|
1618
|
+
if (e.path === n.path)
|
|
1619
|
+
return e.query === n.query;
|
|
1620
|
+
} else
|
|
1621
|
+
return e.path === n.path;
|
|
1622
|
+
});
|
|
1623
|
+
if (F().handleTags("splice", "", { startIndex: o, length: 1 }), ho(e.matched, "delete"), t) {
|
|
1624
|
+
const n = F().handleTags("slice");
|
|
1625
|
+
f.push({
|
|
1626
|
+
path: n[0].path,
|
|
1627
|
+
query: n[0].query
|
|
1628
|
+
});
|
|
1629
|
+
}
|
|
1630
|
+
}
|
|
1631
|
+
function Qn() {
|
|
1632
|
+
return Ze;
|
|
1633
|
+
}
|
|
1634
|
+
const fo = q("udp-permission", {
|
|
1635
|
+
state: () => ({
|
|
1636
|
+
// 静态路由生成的菜单
|
|
1637
|
+
constantMenus: So,
|
|
1638
|
+
// 整体路由生成的菜单(静态、动态)
|
|
1639
|
+
wholeMenus: [],
|
|
1640
|
+
// 深拷贝一个菜单树,与导航菜单不冲突
|
|
1641
|
+
menusTree: [],
|
|
1642
|
+
// 整体路由(一维数组格式)
|
|
1643
|
+
flatteningRoutes: [],
|
|
1644
|
+
buttonAuth: [],
|
|
1645
|
+
// 缓存页面keepAlive
|
|
1646
|
+
cachePageList: []
|
|
1647
|
+
}),
|
|
1648
|
+
getters: {
|
|
1649
|
+
getButtonAuth() {
|
|
1650
|
+
return this.buttonAuth;
|
|
1651
|
+
}
|
|
1652
|
+
},
|
|
1653
|
+
actions: {
|
|
1654
|
+
asyncActionRoutes(e = []) {
|
|
1655
|
+
if (this.wholeMenus.length > 0) return;
|
|
1656
|
+
const t = yt(e, (n) => n.menuCode === "SysHome"), o = z(this.constantMenus, !0);
|
|
1657
|
+
if (t !== -1) {
|
|
1658
|
+
const n = this.constantMenus.find((a) => a.name === "home");
|
|
1659
|
+
e[t].children && n.children.push(...e[t].children), e.splice(t, 1);
|
|
1660
|
+
}
|
|
1661
|
+
this.wholeMenus = Je($(this.constantMenus.concat(e))), this.flatteningRoutes = Z(this.constantMenus.concat(e)), this.menusTree = z(this.wholeMenus, !0), this.constantMenus = o;
|
|
1662
|
+
},
|
|
1663
|
+
async changeSetting(e) {
|
|
1664
|
+
await this.asyncActionRoutes(e);
|
|
1665
|
+
},
|
|
1666
|
+
setAuthButton(e) {
|
|
1667
|
+
this.buttonAuth = e;
|
|
1668
|
+
},
|
|
1669
|
+
setWholeMenus(e) {
|
|
1670
|
+
this.wholeMenus = e;
|
|
1671
|
+
},
|
|
1672
|
+
/** 监听缓存页面是否存在于标签页,不存在则删除 */
|
|
1673
|
+
clearCache() {
|
|
1674
|
+
let e = this.cachePageList.length;
|
|
1675
|
+
const t = Vt(F().multiTags, "name");
|
|
1676
|
+
for (; e > 0; )
|
|
1677
|
+
t.findIndex((o) => o === this.cachePageList[e - 1]) === -1 && this.cachePageList.splice(this.cachePageList.indexOf(this.cachePageList[e - 1]), 1), e--;
|
|
1678
|
+
},
|
|
1679
|
+
cacheOperate({ mode: e, name: t }) {
|
|
1680
|
+
const o = this.cachePageList.findIndex((n) => n === t);
|
|
1681
|
+
switch (e) {
|
|
1682
|
+
case "refresh":
|
|
1683
|
+
this.cachePageList = this.cachePageList.filter((n) => n !== t), this.clearCache();
|
|
1684
|
+
break;
|
|
1685
|
+
case "add":
|
|
1686
|
+
this.cachePageList.push(t);
|
|
1687
|
+
break;
|
|
1688
|
+
case "delete":
|
|
1689
|
+
o !== -1 && this.cachePageList.splice(o, 1), this.clearCache();
|
|
1690
|
+
break;
|
|
1691
|
+
case "reset":
|
|
1692
|
+
this.cachePageList = [];
|
|
1693
|
+
break;
|
|
1694
|
+
}
|
|
1695
|
+
},
|
|
1696
|
+
/** 清空缓存页面 */
|
|
1697
|
+
clearAllCachePage() {
|
|
1698
|
+
this.wholeMenus = [], this.menusTree = [], this.buttonAuth = [], this.cachePageList = [];
|
|
1699
|
+
}
|
|
1700
|
+
}
|
|
1701
|
+
});
|
|
1702
|
+
function C() {
|
|
1703
|
+
return fo(j);
|
|
1704
|
+
}
|
|
1705
|
+
const et = q("udp-multiTags", {
|
|
1706
|
+
state: () => {
|
|
1707
|
+
var e, t;
|
|
1708
|
+
return {
|
|
1709
|
+
// 存储标签页信息(路由信息)
|
|
1710
|
+
multiTags: (e = h.getItem(`${w()}configure`)) != null && e.multiTagsCache ? h.getItem(`${w()}tags`) : [...V, ...C().flatteningRoutes.filter((o) => {
|
|
1711
|
+
var n;
|
|
1712
|
+
return (n = o == null ? void 0 : o.meta) == null ? void 0 : n.fixedTag;
|
|
1713
|
+
})],
|
|
1714
|
+
multiTagsCache: (t = h.getItem(`${w()}configure`)) == null ? void 0 : t.multiTagsCache
|
|
1715
|
+
};
|
|
1716
|
+
},
|
|
1717
|
+
getters: {
|
|
1718
|
+
getMultiTagsCache(e) {
|
|
1719
|
+
return e.multiTagsCache;
|
|
1720
|
+
}
|
|
1721
|
+
},
|
|
1722
|
+
actions: {
|
|
1723
|
+
multiTagsCacheChange(e) {
|
|
1724
|
+
this.multiTagsCache = e, e ? h.setItem(`${w()}tags`, this.multiTags) : h.removeItem(`${w()}tags`);
|
|
1725
|
+
},
|
|
1726
|
+
tagsCache(e) {
|
|
1727
|
+
this.getMultiTagsCache && h.setItem(`${w()}tags`, e);
|
|
1728
|
+
},
|
|
1729
|
+
handleTags(e, t, o) {
|
|
1730
|
+
var n, a, s, i;
|
|
1731
|
+
switch (e) {
|
|
1732
|
+
case "equal":
|
|
1733
|
+
this.multiTags = t, this.tagsCache(this.multiTags);
|
|
1734
|
+
break;
|
|
1735
|
+
case "push":
|
|
1736
|
+
{
|
|
1737
|
+
const r = t;
|
|
1738
|
+
if ((n = r == null ? void 0 : r.meta) != null && n.hiddenTag || _e(r == null ? void 0 : r.name) || ((s = (a = r == null ? void 0 : r.meta) == null ? void 0 : a.title) == null ? void 0 : s.length) === 0) return;
|
|
1739
|
+
const d = r.path;
|
|
1740
|
+
if (this.multiTags.some((m) => m.path === d && be(m == null ? void 0 : m.query, r == null ? void 0 : r.query) && be(m == null ? void 0 : m.params, r == null ? void 0 : r.params))) return;
|
|
1741
|
+
const p = ((i = r == null ? void 0 : r.meta) == null ? void 0 : i.dynamicLevel) ?? -1;
|
|
1742
|
+
if (p > 0 && this.multiTags.filter((m) => (m == null ? void 0 : m.path) === d).length >= p) {
|
|
1743
|
+
const m = this.multiTags.findIndex((v) => (v == null ? void 0 : v.path) === d);
|
|
1744
|
+
m !== -1 && this.multiTags.splice(m, 1);
|
|
1745
|
+
}
|
|
1746
|
+
this.multiTags.push(t), this.tagsCache(this.multiTags);
|
|
1747
|
+
}
|
|
1748
|
+
break;
|
|
1749
|
+
case "splice":
|
|
1750
|
+
if (o)
|
|
1751
|
+
this.multiTags.splice(o == null ? void 0 : o.startIndex, o == null ? void 0 : o.length);
|
|
1752
|
+
else {
|
|
1753
|
+
const r = this.multiTags.findIndex((d) => d.path === t);
|
|
1754
|
+
if (r === -1) return;
|
|
1755
|
+
this.multiTags.splice(r, 1);
|
|
1756
|
+
}
|
|
1757
|
+
return this.tagsCache(this.multiTags), this.multiTags;
|
|
1758
|
+
case "slice":
|
|
1759
|
+
return this.multiTags.slice(-1);
|
|
1760
|
+
}
|
|
1761
|
+
}
|
|
1762
|
+
}
|
|
1763
|
+
});
|
|
1764
|
+
function F() {
|
|
1765
|
+
return et(j);
|
|
1766
|
+
}
|
|
1767
|
+
const go = () => import("./layoutView-De2QIEr2.js"), yo = {
|
|
1768
|
+
path: "/",
|
|
1769
|
+
name: "home",
|
|
1770
|
+
component: go,
|
|
1771
|
+
redirect: "/welcome",
|
|
1772
|
+
meta: {
|
|
1773
|
+
icon: "home-filled",
|
|
1774
|
+
title: "message.udp.home",
|
|
1775
|
+
rank: 0
|
|
1776
|
+
},
|
|
1777
|
+
children: [
|
|
1778
|
+
{
|
|
1779
|
+
path: "/welcome",
|
|
1780
|
+
name: "SuHome",
|
|
1781
|
+
component: () => import("./su-welcome-DgjzJeDF.js"),
|
|
1782
|
+
meta: {
|
|
1783
|
+
title: "message.udp.home",
|
|
1784
|
+
keepAlive: !0
|
|
1785
|
+
}
|
|
1786
|
+
}
|
|
1787
|
+
]
|
|
1788
|
+
}, wo = () => import("./layoutView-De2QIEr2.js"), bo = {
|
|
1789
|
+
path: "/error",
|
|
1790
|
+
name: "error",
|
|
1791
|
+
component: wo,
|
|
1792
|
+
redirect: "/error/403",
|
|
1793
|
+
meta: {
|
|
1794
|
+
showLink: !1,
|
|
1795
|
+
icon: "information-line",
|
|
1796
|
+
title: "message.udp.error",
|
|
1797
|
+
rank: 999
|
|
1798
|
+
},
|
|
1799
|
+
children: [
|
|
1800
|
+
{
|
|
1801
|
+
path: "/error/403",
|
|
1802
|
+
name: "403",
|
|
1803
|
+
component: () => import("./403-DdjDWbkf.js"),
|
|
1804
|
+
meta: {
|
|
1805
|
+
title: "message.udp.fourZeroThree"
|
|
1806
|
+
}
|
|
1807
|
+
}
|
|
1808
|
+
]
|
|
1809
|
+
}, Co = () => import("./layoutView-De2QIEr2.js"), _ = [
|
|
1810
|
+
{
|
|
1811
|
+
path: "/login",
|
|
1812
|
+
name: "login",
|
|
1813
|
+
component: () => import("./login-rdZ0GPYc.js"),
|
|
1814
|
+
meta: {
|
|
1815
|
+
title: "message.udp.login",
|
|
1816
|
+
showLink: !1
|
|
1817
|
+
}
|
|
1818
|
+
},
|
|
1819
|
+
{
|
|
1820
|
+
path: "/error/404",
|
|
1821
|
+
name: "404",
|
|
1822
|
+
component: () => import("./404-D9vF2gFz.js"),
|
|
1823
|
+
meta: {
|
|
1824
|
+
title: "message.udp.fourZeroFour",
|
|
1825
|
+
showLink: !1
|
|
1826
|
+
}
|
|
1827
|
+
},
|
|
1828
|
+
{
|
|
1829
|
+
path: "/error/500",
|
|
1830
|
+
name: "500",
|
|
1831
|
+
component: () => import("./500-mVaDmUjL.js"),
|
|
1832
|
+
meta: {
|
|
1833
|
+
title: "message.udp.five",
|
|
1834
|
+
showLink: !1
|
|
1835
|
+
}
|
|
1836
|
+
},
|
|
1837
|
+
{
|
|
1838
|
+
path: "/redirect",
|
|
1839
|
+
name: "redirect",
|
|
1840
|
+
component: Co,
|
|
1841
|
+
meta: {
|
|
1842
|
+
icon: "home-filled",
|
|
1843
|
+
title: "message.udp.home",
|
|
1844
|
+
showLink: !1,
|
|
1845
|
+
rank: 104
|
|
1846
|
+
},
|
|
1847
|
+
children: [
|
|
1848
|
+
{
|
|
1849
|
+
path: "/redirect/:path(.*)",
|
|
1850
|
+
// 2024-12-17
|
|
1851
|
+
name: "redirectView",
|
|
1852
|
+
component: () => import("./redirect-BqegffKC.js")
|
|
1853
|
+
}
|
|
1854
|
+
]
|
|
1855
|
+
}
|
|
1856
|
+
], vo = () => import("./layoutView-De2QIEr2.js"), To = {
|
|
1857
|
+
component: vo,
|
|
1858
|
+
path: "/utask",
|
|
1859
|
+
redirect: "/utask/task/flow-task",
|
|
1860
|
+
meta: {
|
|
1861
|
+
showLink: !1,
|
|
1862
|
+
icon: "IF-pure-iconfont-tabs",
|
|
1863
|
+
title: "message.udp.flowTask"
|
|
1864
|
+
},
|
|
1865
|
+
children: [
|
|
1866
|
+
// query 传参模式
|
|
1867
|
+
{
|
|
1868
|
+
path: "/utask/task/flow-task",
|
|
1869
|
+
name: "FlowTask",
|
|
1870
|
+
component: () => import("./flow-task-B07st2aD.js"),
|
|
1871
|
+
meta: {
|
|
1872
|
+
// 不在menu菜单中显示
|
|
1873
|
+
title: "",
|
|
1874
|
+
showLink: !1,
|
|
1875
|
+
activePath: "/uflow/index"
|
|
1876
|
+
}
|
|
1877
|
+
}
|
|
1878
|
+
]
|
|
1879
|
+
}, Eo = /* @__PURE__ */ Object.assign({
|
|
1880
|
+
"../views/organization/company/Company.vue": () => import("./Company-DY__kM9F.js"),
|
|
1881
|
+
"../views/organization/company/CompanyPanel.vue": () => import("./CompanyPanel-C5N8QcMA.js"),
|
|
1882
|
+
"../views/organization/department/Department.vue": () => import("./Department-DsuDZdy5.js"),
|
|
1883
|
+
"../views/organization/department/DepartmentPanel.vue": () => import("./DepartmentPanel-CdwI7Rzu.js"),
|
|
1884
|
+
"../views/organization/inv-org/InvOrganization.vue": () => import("./InvOrganization-Lui1q3Ou.js"),
|
|
1885
|
+
"../views/organization/org/Org.vue": () => import("./Org-qO5ExsPN.js"),
|
|
1886
|
+
"../views/organization/staff/Staff.vue": () => import("./Staff-Cd3twQ6Y.js"),
|
|
1887
|
+
"../views/organization/staff/StaffInfo.vue": () => import("./StaffInfo-DJp0a0qd.js"),
|
|
1888
|
+
"../views/organization/staff/StaffPanel.vue": () => import("./StaffPanel-B93hClzs.js"),
|
|
1889
|
+
"../views/system/cron/cron-task.vue": () => import("./cron-task-D-X-KFZm.js"),
|
|
1890
|
+
"../views/system/menu/AuthorityPanel.vue": () => import("./AuthorityPanel-BeBNiwqc.js"),
|
|
1891
|
+
"../views/system/menu/SystemMenu.vue": () => import("./SystemMenu-D4WME5d0.js"),
|
|
1892
|
+
"../views/system/menu/menuInfo.vue": () => import("./menuInfo-DmOcK6An.js"),
|
|
1893
|
+
"../views/system/role-assign/RoleAssign.vue": () => import("./RoleAssign-Cqt3CelK.js"),
|
|
1894
|
+
"../views/system/role-assign/RolePanel.vue": () => import("./RolePanel-C3JMpNu8.js"),
|
|
1895
|
+
"../views/system/role/AuthorityInfo.vue": () => import("./AuthorityInfo-DOUJ_Zrj.js"),
|
|
1896
|
+
"../views/system/role/Role.vue": () => import("./Role-CTatYsrC.js"),
|
|
1897
|
+
"../views/system/role/RolePanel.vue": () => import("./RolePanel-brKRJIhD.js"),
|
|
1898
|
+
"../views/system/role/UserInfo.vue": () => import("./UserInfo-D-AfdfJs.js"),
|
|
1899
|
+
"../views/system/sys/sys-config.vue": () => import("./sys-config-DOtK2I32.js"),
|
|
1900
|
+
"../views/system/sysUser/SysUser.vue": () => import("./SysUser-BvI6vaqI.js"),
|
|
1901
|
+
"../views/system/sysUser/SysUserPanel.vue": () => import("./SysUserPanel-C9V8X-Ek.js"),
|
|
1902
|
+
"../views/uapp/pda/pda-app.vue": () => import("./pda-app-DY63mQ2T.js"),
|
|
1903
|
+
"../views/udev/coderule/code-rule.vue": () => import("./code-rule-D-RqrQB6.js"),
|
|
1904
|
+
"../views/udev/dict/DictView.vue": () => import("./DictView-Be2Z5Obk.js"),
|
|
1905
|
+
"../views/udev/dict/childView.vue": () => import("./childView-1MTl6Kaj.js"),
|
|
1906
|
+
"../views/udev/lov/childView.vue": () => import("./childView--WMSo-wH.js"),
|
|
1907
|
+
"../views/udev/lov/lov-view.vue": () => import("./lov-view-Ao7LMspL.js"),
|
|
1908
|
+
"../views/upms/interface/log-in.vue": () => import("./log-in-CpGqc33f.js"),
|
|
1909
|
+
"../views/upms/interface/log-out.vue": () => import("./log-out-D1b4VRMZ.js"),
|
|
1910
|
+
"../views/upms/user/login-log.vue": () => import("./login-log-BNRXLeMi.js"),
|
|
1911
|
+
"../views/urpt/dataSet/DataSet.vue": () => import("./DataSet-DT-rGICv.js"),
|
|
1912
|
+
"../views/urpt/design/DesignPanel.vue": () => import("./DesignPanel-B50-g0TL.js"),
|
|
1913
|
+
"../views/urpt/design/Preview.vue": () => import("./Preview-Dq4dfV2D.js"),
|
|
1914
|
+
"../views/urpt/design/ReportDesign.vue": () => import("./ReportDesign-Bou01Jbr.js"),
|
|
1915
|
+
"../views/urpt/query/ReportQuery.vue": () => import("./ReportQuery-BBkmPPSw.js"),
|
|
1916
|
+
"../views/urpt/query/ReportQueryFrom.vue": () => import("./ReportQueryFrom-BCY8lTJ7.js"),
|
|
1917
|
+
"../views/urpt/report-request/ReportDefine.vue": () => import("./ReportDefine-DH3FvbS1.js"),
|
|
1918
|
+
"../views/urpt/static-resource/resource.vue": () => import("./resource-B21uV58T.js"),
|
|
1919
|
+
"../views/urpt/template/ReportTemplate.vue": () => import("./ReportTemplate-C_yJXxQ-.js")
|
|
1920
|
+
}), Zn = _, ce = [yo, bo, To], Xn = Qe(
|
|
1921
|
+
Z(le($(ce)))
|
|
1922
|
+
), So = $(ce).concat(..._), ea = Object.keys(_).map((e) => _[e].path), Do = /* @__PURE__ */ new Set();
|
|
1923
|
+
function ko() {
|
|
1924
|
+
Do.clear();
|
|
1925
|
+
}
|
|
1926
|
+
function Fo() {
|
|
1927
|
+
f.getRoutes().forEach((e) => {
|
|
1928
|
+
const { name: t, meta: o } = e;
|
|
1929
|
+
t && f.hasRoute(t) && (o != null && o.backstage) && (f.removeRoute(t), f.options.routes = Qe(Z(le($(ce)))));
|
|
1930
|
+
}), C().clearAllCachePage(), ko();
|
|
1931
|
+
}
|
|
1932
|
+
let se = null, f = null;
|
|
1933
|
+
function xo(e, t) {
|
|
1934
|
+
se = e, f = t, Object.assign(se, Eo);
|
|
1935
|
+
}
|
|
1936
|
+
function Po() {
|
|
1937
|
+
return se;
|
|
1938
|
+
}
|
|
1939
|
+
const Io = ["/login"], ta = (e, t, o) => {
|
|
1940
|
+
var i, r, d;
|
|
1941
|
+
const n = U.get($e), a = _e(e == null ? void 0 : e.name);
|
|
1942
|
+
function s() {
|
|
1943
|
+
Io.includes(e.fullPath) ? o(t.fullPath) : o();
|
|
1944
|
+
}
|
|
1945
|
+
if (t != null && t.name && (t == null ? void 0 : t.name) !== "login") {
|
|
1946
|
+
const c = (i = e.matched.find((p) => p.path === e.path || p.name === e.name && e.params)) == null ? void 0 : i.components;
|
|
1947
|
+
a ? (mt(e == null ? void 0 : e.name), (r = pt) == null || r.done()) : c != null && c.default || e.name === "redirect" ? s() : o({ path: "/error/404" });
|
|
1948
|
+
} else
|
|
1949
|
+
C().wholeMenus.length === 0 && po(n).then((c) => {
|
|
1950
|
+
var p;
|
|
1951
|
+
if (!F().getMultiTagsCache) {
|
|
1952
|
+
const { path: m } = e, x = wt(_, (u) => u.path === m) === -1 ? c.options.routes[0].children : c.options.routes, T = Ye(m, x);
|
|
1953
|
+
if (T && ((p = T.meta) != null && p.title)) {
|
|
1954
|
+
const { path: u, name: l, meta: y } = T;
|
|
1955
|
+
F().handleTags("push", { path: u, name: l, meta: y });
|
|
1956
|
+
}
|
|
1957
|
+
}
|
|
1958
|
+
bt(e.name) && c.push(e.fullPath);
|
|
1959
|
+
}), t.fullPath === "/" && e.fullPath === "/login" && !((d = e.query) != null && d.tokenExpire) ? (e.path = "/welcome", e.fullPath = "/welcome", e.name = "SuHome") : t.fullPath === "/" && e.path === "/workflow/approve/index" && (e.path = "/welcome", e.fullPath = "/welcome", e.name = "SuHome", e.query = {}), s();
|
|
1960
|
+
};
|
|
1961
|
+
ht(Ve, { serviceApi: Q(), i18n: Ke });
|
|
1962
|
+
Oo();
|
|
1963
|
+
const No = {
|
|
1964
|
+
// 对组件内置的提示语进行国际化翻译
|
|
1965
|
+
// @ts-ignore
|
|
1966
|
+
i18n: (e, t) => W().global.t(e, t),
|
|
1967
|
+
// 可选,对参数中的列头、校验提示..等进行自动翻译(只对支持国际化的有效)
|
|
1968
|
+
translate(e) {
|
|
1969
|
+
return e && ["message.", "el."].findIndex((o) => e.includes(o)) !== -1 ? W().global.t.call(W().global.locale, e) : e;
|
|
1970
|
+
}
|
|
1971
|
+
};
|
|
1972
|
+
function Mo(e = {}) {
|
|
1973
|
+
Ve.setConfig(ue(No, e)), D.interceptor.add("event.clearEdit", {
|
|
1974
|
+
tableInterceptorMethod(t) {
|
|
1975
|
+
const { $event: o } = t;
|
|
1976
|
+
if (o.target.className.indexOf("vxe-table--ignore-clear") > -1) return !1;
|
|
1977
|
+
}
|
|
1978
|
+
});
|
|
1979
|
+
}
|
|
1980
|
+
function Ro(e) {
|
|
1981
|
+
D.setTheme(e);
|
|
1982
|
+
}
|
|
1983
|
+
function Oo() {
|
|
1984
|
+
D.commands.add("utTodyay", {
|
|
1985
|
+
dateRangePickerCommandMethod({ $dateRangePicker: e }) {
|
|
1986
|
+
const t = b(/* @__PURE__ */ new Date(), "yyyy-MM-dd 00:00:00"), o = b(/* @__PURE__ */ new Date(), "yyyy-MM-dd 23:59:59");
|
|
1987
|
+
e.setModelValue(t, o);
|
|
1988
|
+
}
|
|
1989
|
+
}), D.commands.add("utYesterDay", {
|
|
1990
|
+
dateRangePickerCommandMethod({ $dateRangePicker: e }) {
|
|
1991
|
+
const t = b(O(/* @__PURE__ */ new Date(), -1), "yyyy-MM-dd 00:00:00"), o = b(O(/* @__PURE__ */ new Date(), -1), "yyyy-MM-dd 23:59:59");
|
|
1992
|
+
e.setModelValue(t, o);
|
|
1993
|
+
}
|
|
1994
|
+
}), D.commands.add("utRecentWeek", {
|
|
1995
|
+
dateRangePickerCommandMethod({ $dateRangePicker: e }) {
|
|
1996
|
+
const t = b(O(/* @__PURE__ */ new Date(), -7), "yyyy-MM-dd 00:00:00"), o = b(/* @__PURE__ */ new Date(), "yyyy-MM-dd 23:59:59");
|
|
1997
|
+
e.setModelValue(t, o);
|
|
1998
|
+
}
|
|
1999
|
+
}), D.commands.add("utRecentMonth", {
|
|
2000
|
+
dateRangePickerCommandMethod({ $dateRangePicker: e }) {
|
|
2001
|
+
const t = b(O(/* @__PURE__ */ new Date(), -30), "yyyy-MM-dd 00:00:00"), o = b(/* @__PURE__ */ new Date(), "yyyy-MM-dd 23:59:59");
|
|
2002
|
+
e.setModelValue(t, o);
|
|
2003
|
+
}
|
|
2004
|
+
}), D.commands.add("utRecentThreeMonth", {
|
|
2005
|
+
dateRangePickerCommandMethod({ $dateRangePicker: e }) {
|
|
2006
|
+
const t = b(O(/* @__PURE__ */ new Date(), -90), "yyyy-MM-dd 00:00:00"), o = b(/* @__PURE__ */ new Date(), "yyyy-MM-dd 23:59:59");
|
|
2007
|
+
e.setModelValue(t, o);
|
|
2008
|
+
}
|
|
2009
|
+
}), D.commands.add("utRecentHalfYear", {
|
|
2010
|
+
dateRangePickerCommandMethod({ $dateRangePicker: e }) {
|
|
2011
|
+
const t = b(O(/* @__PURE__ */ new Date(), -180), "yyyy-MM-dd 00:00:00"), o = b(/* @__PURE__ */ new Date(), "yyyy-MM-dd 23:59:59");
|
|
2012
|
+
e.setModelValue(t, o);
|
|
2013
|
+
}
|
|
2014
|
+
}), D.commands.add("utRecentYear", {
|
|
2015
|
+
dateRangePickerCommandMethod({ $dateRangePicker: e }) {
|
|
2016
|
+
const t = b(O(/* @__PURE__ */ new Date(), -365), "yyyy-MM-dd 00:00:00"), o = b(/* @__PURE__ */ new Date(), "yyyy-MM-dd 23:59:59");
|
|
2017
|
+
e.setModelValue(t, o);
|
|
2018
|
+
}
|
|
2019
|
+
});
|
|
2020
|
+
}
|
|
2021
|
+
var de = Object.defineProperty, Lo = Object.getOwnPropertyDescriptor, Ao = Object.getOwnPropertyNames, Bo = Object.prototype.hasOwnProperty, jo = (e, t, o) => t in e ? de(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o, Uo = (e, t) => {
|
|
2022
|
+
for (var o in t) de(e, o, { get: t[o], enumerable: !0 });
|
|
2023
|
+
}, zo = (e, t, o, n) => {
|
|
2024
|
+
if (t && typeof t == "object" || typeof t == "function") for (let a of Ao(t)) !Bo.call(e, a) && a !== o && de(e, a, { get: () => t[a], enumerable: !(n = Lo(t, a)) || n.enumerable });
|
|
2025
|
+
return e;
|
|
2026
|
+
}, _o = (e, t, o) => (zo(e, t, "default"), o), xe = (e, t, o) => (jo(e, typeof t != "symbol" ? t + "" : t, o), o), me = {};
|
|
2027
|
+
Uo(me, { Vue: () => je });
|
|
2028
|
+
_o(me, je);
|
|
2029
|
+
var J = class {
|
|
2030
|
+
static install(e, t) {
|
|
2031
|
+
let { nameSpace: o = this._nameSpace, memory: n } = t;
|
|
2032
|
+
return n && this.clearAll(o, n), new J(e, t);
|
|
2033
|
+
}
|
|
2034
|
+
static clearAll(e, t) {
|
|
2035
|
+
Object.keys(t).forEach((o) => {
|
|
2036
|
+
let n = e + o;
|
|
2037
|
+
Object.prototype.hasOwnProperty.call(window.localStorage, n) && window.localStorage.removeItem(n);
|
|
2038
|
+
});
|
|
2039
|
+
}
|
|
2040
|
+
static get(e) {
|
|
2041
|
+
return JSON.parse(window.localStorage.getItem(e));
|
|
2042
|
+
}
|
|
2043
|
+
static set(e, t) {
|
|
2044
|
+
t = typeof t == "object" ? JSON.stringify(t) : t, window.localStorage.setItem(e, t);
|
|
2045
|
+
}
|
|
2046
|
+
static getData(e, t) {
|
|
2047
|
+
if (Object.prototype.hasOwnProperty.call(window.localStorage, this._getStaticKey(t, e))) return JSON.parse(window.localStorage.getItem(this._getStaticKey(t, e)));
|
|
2048
|
+
}
|
|
2049
|
+
constructor(e, t) {
|
|
2050
|
+
let o = J, { version: n = 3, nameSpace: a = o._nameSpace, memory: s } = t, i = (c) => a + c, r = n === 3 ? (0, me.reactive)(s) : s;
|
|
2051
|
+
Object.keys(r).length === 0 && console.warn("key cannot be empty"), Object.keys(r).forEach((c) => {
|
|
2052
|
+
let p = r[c];
|
|
2053
|
+
o.set(i(c), p), Reflect.defineProperty(r, c, { get: () => o.get(i(c)), set: (m) => o.set(i(c), m), configurable: !0 }), n === 2 && e.util.defineReactive(r, c, r[c]);
|
|
2054
|
+
});
|
|
2055
|
+
let d = n === 3 ? e.config.globalProperties : e.prototype;
|
|
2056
|
+
Reflect.defineProperty(d, "$storage", { get: () => r });
|
|
2057
|
+
}
|
|
2058
|
+
}, M = J;
|
|
2059
|
+
xe(M, "_nameSpace", "rs-"), xe(M, "_getStaticKey", (e, t) => `${e ?? J._nameSpace}${t}`);
|
|
2060
|
+
const qo = (e, t) => {
|
|
2061
|
+
const o = w(), n = Object.assign(
|
|
2062
|
+
{
|
|
2063
|
+
// 国际化 默认中文zh
|
|
2064
|
+
locale: M.getData("locale", o) ?? {
|
|
2065
|
+
locale: t.Locale ?? "zh"
|
|
2066
|
+
},
|
|
2067
|
+
// layout模式以及主题
|
|
2068
|
+
layout: M.getData("layout", o) ?? {
|
|
2069
|
+
layout: t.Layout ?? "vertical",
|
|
2070
|
+
theme: t.Theme ?? "default",
|
|
2071
|
+
darkMode: t.DarkMode ?? !1,
|
|
2072
|
+
sidebarStatus: t.SidebarStatus ?? !0,
|
|
2073
|
+
epThemeColor: t.EpThemeColor ?? "#409EFF",
|
|
2074
|
+
themeColor: t.Theme ?? "light",
|
|
2075
|
+
// 主题色(对应项目配置中的主题色,与theme不同的是它不会受到浅色、深色整体风格切换的影响,只会在手动点击主题色时改变)
|
|
2076
|
+
overallStyle: t.OverallStyle ?? "light"
|
|
2077
|
+
// 整体风格(浅色:light、深色:dark、自动:system)
|
|
2078
|
+
},
|
|
2079
|
+
configure: M.getData("configure", o) ?? {
|
|
2080
|
+
grey: t.Grey ?? !1,
|
|
2081
|
+
weak: t.Weak ?? !1,
|
|
2082
|
+
hideTabs: t.HideTabs ?? !1,
|
|
2083
|
+
showLogo: t.ShowLogo ?? !0,
|
|
2084
|
+
showModel: t.ShowModel ?? "smart",
|
|
2085
|
+
multiTagsCache: t.MultiTagsCache ?? !1
|
|
2086
|
+
},
|
|
2087
|
+
cnd: M.getData("cnd", o) ?? {}
|
|
2088
|
+
},
|
|
2089
|
+
t.MultiTagsCache ? {
|
|
2090
|
+
// 默认显示首页tag
|
|
2091
|
+
tags: M.getData("tags", o) ?? V
|
|
2092
|
+
} : {}
|
|
2093
|
+
);
|
|
2094
|
+
e.use(M, { nameSpace: o, memory: n });
|
|
2095
|
+
}, Vo = (e) => {
|
|
2096
|
+
var a;
|
|
2097
|
+
if (!e) return !0;
|
|
2098
|
+
const t = (a = f.currentRoute.value.meta) == null ? void 0 : a.permissionCode;
|
|
2099
|
+
if (!t) return !0;
|
|
2100
|
+
Ct(e) || (e = [e]);
|
|
2101
|
+
const o = C().getButtonAuth;
|
|
2102
|
+
if (!o) return !0;
|
|
2103
|
+
let n = !1;
|
|
2104
|
+
return e.forEach((s) => {
|
|
2105
|
+
if (!n) {
|
|
2106
|
+
const i = `${t}.${s}`;
|
|
2107
|
+
n = o.includes(i);
|
|
2108
|
+
}
|
|
2109
|
+
}), n;
|
|
2110
|
+
}, tt = Object.freeze(
|
|
2111
|
+
{
|
|
2112
|
+
left: 0,
|
|
2113
|
+
top: 0,
|
|
2114
|
+
width: 16,
|
|
2115
|
+
height: 16
|
|
2116
|
+
}
|
|
2117
|
+
), Y = Object.freeze({
|
|
2118
|
+
rotate: 0,
|
|
2119
|
+
vFlip: !1,
|
|
2120
|
+
hFlip: !1
|
|
2121
|
+
}), pe = Object.freeze({
|
|
2122
|
+
...tt,
|
|
2123
|
+
...Y
|
|
2124
|
+
}), re = Object.freeze({
|
|
2125
|
+
...pe,
|
|
2126
|
+
body: "",
|
|
2127
|
+
hidden: !1
|
|
2128
|
+
});
|
|
2129
|
+
function $o(e, t) {
|
|
2130
|
+
const o = {};
|
|
2131
|
+
!e.hFlip != !t.hFlip && (o.hFlip = !0), !e.vFlip != !t.vFlip && (o.vFlip = !0);
|
|
2132
|
+
const n = ((e.rotate || 0) + (t.rotate || 0)) % 4;
|
|
2133
|
+
return n && (o.rotate = n), o;
|
|
2134
|
+
}
|
|
2135
|
+
function Pe(e, t) {
|
|
2136
|
+
const o = $o(e, t);
|
|
2137
|
+
for (const n in re)
|
|
2138
|
+
n in Y ? n in e && !(n in o) && (o[n] = Y[n]) : n in t ? o[n] = t[n] : n in e && (o[n] = e[n]);
|
|
2139
|
+
return o;
|
|
2140
|
+
}
|
|
2141
|
+
function Ho(e, t) {
|
|
2142
|
+
const o = e.icons, n = e.aliases || /* @__PURE__ */ Object.create(null), a = /* @__PURE__ */ Object.create(null);
|
|
2143
|
+
function s(i) {
|
|
2144
|
+
if (o[i])
|
|
2145
|
+
return a[i] = [];
|
|
2146
|
+
if (!(i in a)) {
|
|
2147
|
+
a[i] = null;
|
|
2148
|
+
const r = n[i] && n[i].parent, d = r && s(r);
|
|
2149
|
+
d && (a[i] = [r].concat(d));
|
|
2150
|
+
}
|
|
2151
|
+
return a[i];
|
|
2152
|
+
}
|
|
2153
|
+
return Object.keys(o).concat(Object.keys(n)).forEach(s), a;
|
|
2154
|
+
}
|
|
2155
|
+
function Wo(e, t, o) {
|
|
2156
|
+
const n = e.icons, a = e.aliases || /* @__PURE__ */ Object.create(null);
|
|
2157
|
+
let s = {};
|
|
2158
|
+
function i(r) {
|
|
2159
|
+
s = Pe(
|
|
2160
|
+
n[r] || a[r],
|
|
2161
|
+
s
|
|
2162
|
+
);
|
|
2163
|
+
}
|
|
2164
|
+
return i(t), o.forEach(i), Pe(e, s);
|
|
2165
|
+
}
|
|
2166
|
+
function Go(e, t) {
|
|
2167
|
+
const o = [];
|
|
2168
|
+
if (typeof e != "object" || typeof e.icons != "object")
|
|
2169
|
+
return o;
|
|
2170
|
+
e.not_found instanceof Array && e.not_found.forEach((a) => {
|
|
2171
|
+
t(a, null), o.push(a);
|
|
2172
|
+
});
|
|
2173
|
+
const n = Ho(e);
|
|
2174
|
+
for (const a in n) {
|
|
2175
|
+
const s = n[a];
|
|
2176
|
+
s && (t(a, Wo(e, a, s)), o.push(a));
|
|
2177
|
+
}
|
|
2178
|
+
return o;
|
|
2179
|
+
}
|
|
2180
|
+
const Ko = {
|
|
2181
|
+
provider: "",
|
|
2182
|
+
aliases: {},
|
|
2183
|
+
not_found: {},
|
|
2184
|
+
...tt
|
|
2185
|
+
};
|
|
2186
|
+
function te(e, t) {
|
|
2187
|
+
for (const o in t)
|
|
2188
|
+
if (o in e && typeof e[o] != typeof t[o])
|
|
2189
|
+
return !1;
|
|
2190
|
+
return !0;
|
|
2191
|
+
}
|
|
2192
|
+
function Jo(e) {
|
|
2193
|
+
if (typeof e != "object" || e === null)
|
|
2194
|
+
return null;
|
|
2195
|
+
const t = e;
|
|
2196
|
+
if (typeof t.prefix != "string" || !e.icons || typeof e.icons != "object" || !te(e, Ko))
|
|
2197
|
+
return null;
|
|
2198
|
+
const o = t.icons;
|
|
2199
|
+
for (const a in o) {
|
|
2200
|
+
const s = o[a];
|
|
2201
|
+
if (
|
|
2202
|
+
// Name cannot be empty
|
|
2203
|
+
!a || // Must have body
|
|
2204
|
+
typeof s.body != "string" || // Check other props
|
|
2205
|
+
!te(
|
|
2206
|
+
s,
|
|
2207
|
+
re
|
|
2208
|
+
)
|
|
2209
|
+
)
|
|
2210
|
+
return null;
|
|
2211
|
+
}
|
|
2212
|
+
const n = t.aliases || /* @__PURE__ */ Object.create(null);
|
|
2213
|
+
for (const a in n) {
|
|
2214
|
+
const s = n[a], i = s.parent;
|
|
2215
|
+
if (
|
|
2216
|
+
// Name cannot be empty
|
|
2217
|
+
!a || // Parent must be set and point to existing icon
|
|
2218
|
+
typeof i != "string" || !o[i] && !n[i] || // Check other props
|
|
2219
|
+
!te(
|
|
2220
|
+
s,
|
|
2221
|
+
re
|
|
2222
|
+
)
|
|
2223
|
+
)
|
|
2224
|
+
return null;
|
|
2225
|
+
}
|
|
2226
|
+
return t;
|
|
2227
|
+
}
|
|
2228
|
+
const ot = Object.freeze({
|
|
2229
|
+
width: null,
|
|
2230
|
+
height: null
|
|
2231
|
+
}), nt = Object.freeze({
|
|
2232
|
+
// Dimensions
|
|
2233
|
+
...ot,
|
|
2234
|
+
// Transformations
|
|
2235
|
+
...Y
|
|
2236
|
+
});
|
|
2237
|
+
function Yo(e, t) {
|
|
2238
|
+
const o = {
|
|
2239
|
+
...e
|
|
2240
|
+
};
|
|
2241
|
+
for (const n in t) {
|
|
2242
|
+
const a = t[n], s = typeof a;
|
|
2243
|
+
n in ot ? (a === null || a && (s === "string" || s === "number")) && (o[n] = a) : s === typeof o[n] && (o[n] = n === "rotate" ? a % 4 : a);
|
|
2244
|
+
}
|
|
2245
|
+
return o;
|
|
2246
|
+
}
|
|
2247
|
+
const Qo = /[\s,]+/;
|
|
2248
|
+
function Zo(e, t) {
|
|
2249
|
+
t.split(Qo).forEach((o) => {
|
|
2250
|
+
switch (o.trim()) {
|
|
2251
|
+
case "horizontal":
|
|
2252
|
+
e.hFlip = !0;
|
|
2253
|
+
break;
|
|
2254
|
+
case "vertical":
|
|
2255
|
+
e.vFlip = !0;
|
|
2256
|
+
break;
|
|
2257
|
+
}
|
|
2258
|
+
});
|
|
2259
|
+
}
|
|
2260
|
+
function Xo(e, t = 0) {
|
|
2261
|
+
const o = e.replace(/^-?[0-9.]*/, "");
|
|
2262
|
+
function n(a) {
|
|
2263
|
+
for (; a < 0; )
|
|
2264
|
+
a += 4;
|
|
2265
|
+
return a % 4;
|
|
2266
|
+
}
|
|
2267
|
+
if (o === "") {
|
|
2268
|
+
const a = parseInt(e);
|
|
2269
|
+
return isNaN(a) ? 0 : n(a);
|
|
2270
|
+
} else if (o !== e) {
|
|
2271
|
+
let a = 0;
|
|
2272
|
+
switch (o) {
|
|
2273
|
+
case "%":
|
|
2274
|
+
a = 25;
|
|
2275
|
+
break;
|
|
2276
|
+
case "deg":
|
|
2277
|
+
a = 90;
|
|
2278
|
+
}
|
|
2279
|
+
if (a) {
|
|
2280
|
+
let s = parseFloat(e.slice(0, e.length - o.length));
|
|
2281
|
+
return isNaN(s) ? 0 : (s = s / a, s % 1 === 0 ? n(s) : 0);
|
|
2282
|
+
}
|
|
2283
|
+
}
|
|
2284
|
+
return t;
|
|
2285
|
+
}
|
|
2286
|
+
const en = /(-?[0-9.]*[0-9]+[0-9.]*)/g, tn = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
|
|
2287
|
+
function Ie(e, t, o) {
|
|
2288
|
+
if (t === 1)
|
|
2289
|
+
return e;
|
|
2290
|
+
if (o = o || 100, typeof e == "number")
|
|
2291
|
+
return Math.ceil(e * t * o) / o;
|
|
2292
|
+
if (typeof e != "string")
|
|
2293
|
+
return e;
|
|
2294
|
+
const n = e.split(en);
|
|
2295
|
+
if (n === null || !n.length)
|
|
2296
|
+
return e;
|
|
2297
|
+
const a = [];
|
|
2298
|
+
let s = n.shift(), i = tn.test(s);
|
|
2299
|
+
for (; ; ) {
|
|
2300
|
+
if (i) {
|
|
2301
|
+
const r = parseFloat(s);
|
|
2302
|
+
isNaN(r) ? a.push(s) : a.push(Math.ceil(r * t * o) / o);
|
|
2303
|
+
} else
|
|
2304
|
+
a.push(s);
|
|
2305
|
+
if (s = n.shift(), s === void 0)
|
|
2306
|
+
return a.join("");
|
|
2307
|
+
i = !i;
|
|
2308
|
+
}
|
|
2309
|
+
}
|
|
2310
|
+
function on(e, t = "defs") {
|
|
2311
|
+
let o = "";
|
|
2312
|
+
const n = e.indexOf("<" + t);
|
|
2313
|
+
for (; n >= 0; ) {
|
|
2314
|
+
const a = e.indexOf(">", n), s = e.indexOf("</" + t);
|
|
2315
|
+
if (a === -1 || s === -1)
|
|
2316
|
+
break;
|
|
2317
|
+
const i = e.indexOf(">", s);
|
|
2318
|
+
if (i === -1)
|
|
2319
|
+
break;
|
|
2320
|
+
o += e.slice(a + 1, s).trim(), e = e.slice(0, n).trim() + e.slice(i + 1);
|
|
2321
|
+
}
|
|
2322
|
+
return {
|
|
2323
|
+
defs: o,
|
|
2324
|
+
content: e
|
|
2325
|
+
};
|
|
2326
|
+
}
|
|
2327
|
+
function nn(e, t) {
|
|
2328
|
+
return e ? "<defs>" + e + "</defs>" + t : t;
|
|
2329
|
+
}
|
|
2330
|
+
function an(e, t, o) {
|
|
2331
|
+
const n = on(e);
|
|
2332
|
+
return nn(n.defs, t + n.content + o);
|
|
2333
|
+
}
|
|
2334
|
+
const sn = (e) => e === "unset" || e === "undefined" || e === "none";
|
|
2335
|
+
function rn(e, t) {
|
|
2336
|
+
const o = {
|
|
2337
|
+
...pe,
|
|
2338
|
+
...e
|
|
2339
|
+
}, n = {
|
|
2340
|
+
...nt,
|
|
2341
|
+
...t
|
|
2342
|
+
}, a = {
|
|
2343
|
+
left: o.left,
|
|
2344
|
+
top: o.top,
|
|
2345
|
+
width: o.width,
|
|
2346
|
+
height: o.height
|
|
2347
|
+
};
|
|
2348
|
+
let s = o.body;
|
|
2349
|
+
[o, n].forEach((u) => {
|
|
2350
|
+
const l = [], y = u.hFlip, P = u.vFlip;
|
|
2351
|
+
let g = u.rotate;
|
|
2352
|
+
y ? P ? g += 2 : (l.push(
|
|
2353
|
+
"translate(" + (a.width + a.left).toString() + " " + (0 - a.top).toString() + ")"
|
|
2354
|
+
), l.push("scale(-1 1)"), a.top = a.left = 0) : P && (l.push(
|
|
2355
|
+
"translate(" + (0 - a.left).toString() + " " + (a.height + a.top).toString() + ")"
|
|
2356
|
+
), l.push("scale(1 -1)"), a.top = a.left = 0);
|
|
2357
|
+
let S;
|
|
2358
|
+
switch (g < 0 && (g -= Math.floor(g / 4) * 4), g = g % 4, g) {
|
|
2359
|
+
case 1:
|
|
2360
|
+
S = a.height / 2 + a.top, l.unshift(
|
|
2361
|
+
"rotate(90 " + S.toString() + " " + S.toString() + ")"
|
|
2362
|
+
);
|
|
2363
|
+
break;
|
|
2364
|
+
case 2:
|
|
2365
|
+
l.unshift(
|
|
2366
|
+
"rotate(180 " + (a.width / 2 + a.left).toString() + " " + (a.height / 2 + a.top).toString() + ")"
|
|
2367
|
+
);
|
|
2368
|
+
break;
|
|
2369
|
+
case 3:
|
|
2370
|
+
S = a.width / 2 + a.left, l.unshift(
|
|
2371
|
+
"rotate(-90 " + S.toString() + " " + S.toString() + ")"
|
|
2372
|
+
);
|
|
2373
|
+
break;
|
|
2374
|
+
}
|
|
2375
|
+
g % 2 === 1 && (a.left !== a.top && (S = a.left, a.left = a.top, a.top = S), a.width !== a.height && (S = a.width, a.width = a.height, a.height = S)), l.length && (s = an(
|
|
2376
|
+
s,
|
|
2377
|
+
'<g transform="' + l.join(" ") + '">',
|
|
2378
|
+
"</g>"
|
|
2379
|
+
));
|
|
2380
|
+
});
|
|
2381
|
+
const i = n.width, r = n.height, d = a.width, c = a.height;
|
|
2382
|
+
let p, m;
|
|
2383
|
+
i === null ? (m = r === null ? "1em" : r === "auto" ? c : r, p = Ie(m, d / c)) : (p = i === "auto" ? d : i, m = r === null ? Ie(p, c / d) : r === "auto" ? c : r);
|
|
2384
|
+
const v = {}, x = (u, l) => {
|
|
2385
|
+
sn(l) || (v[u] = l.toString());
|
|
2386
|
+
};
|
|
2387
|
+
x("width", p), x("height", m);
|
|
2388
|
+
const T = [a.left, a.top, d, c];
|
|
2389
|
+
return v.viewBox = T.join(" "), {
|
|
2390
|
+
attributes: v,
|
|
2391
|
+
viewBox: T,
|
|
2392
|
+
body: s
|
|
2393
|
+
};
|
|
2394
|
+
}
|
|
2395
|
+
const ln = /\sid="(\S+)"/g, un = "IconifyId" + Date.now().toString(16) + (Math.random() * 16777216 | 0).toString(16);
|
|
2396
|
+
let cn = 0;
|
|
2397
|
+
function dn(e, t = un) {
|
|
2398
|
+
const o = [];
|
|
2399
|
+
let n;
|
|
2400
|
+
for (; n = ln.exec(e); )
|
|
2401
|
+
o.push(n[1]);
|
|
2402
|
+
if (!o.length)
|
|
2403
|
+
return e;
|
|
2404
|
+
const a = "suffix" + (Math.random() * 16777216 | Date.now()).toString(16);
|
|
2405
|
+
return o.forEach((s) => {
|
|
2406
|
+
const i = typeof t == "function" ? t(s) : t + (cn++).toString(), r = s.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
2407
|
+
e = e.replace(
|
|
2408
|
+
// Allowed characters before id: [#;"]
|
|
2409
|
+
// Allowed characters after id: [)"], .[a-z]
|
|
2410
|
+
new RegExp('([#;"])(' + r + ')([")]|\\.[a-z])', "g"),
|
|
2411
|
+
"$1" + i + a + "$3"
|
|
2412
|
+
);
|
|
2413
|
+
}), e = e.replace(new RegExp(a, "g"), ""), e;
|
|
2414
|
+
}
|
|
2415
|
+
function mn(e, t) {
|
|
2416
|
+
let o = e.indexOf("xlink:") === -1 ? "" : ' xmlns:xlink="http://www.w3.org/1999/xlink"';
|
|
2417
|
+
for (const n in t)
|
|
2418
|
+
o += " " + n + '="' + t[n] + '"';
|
|
2419
|
+
return '<svg xmlns="http://www.w3.org/2000/svg"' + o + ">" + e + "</svg>";
|
|
2420
|
+
}
|
|
2421
|
+
function pn(e) {
|
|
2422
|
+
return e.replace(/"/g, "'").replace(/%/g, "%25").replace(/#/g, "%23").replace(/</g, "%3C").replace(/>/g, "%3E").replace(/\s+/g, " ");
|
|
2423
|
+
}
|
|
2424
|
+
function hn(e) {
|
|
2425
|
+
return "data:image/svg+xml," + pn(e);
|
|
2426
|
+
}
|
|
2427
|
+
function fn(e) {
|
|
2428
|
+
return 'url("' + hn(e) + '")';
|
|
2429
|
+
}
|
|
2430
|
+
const Ne = {
|
|
2431
|
+
...nt,
|
|
2432
|
+
inline: !1
|
|
2433
|
+
}, gn = {
|
|
2434
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2435
|
+
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
2436
|
+
"aria-hidden": !0,
|
|
2437
|
+
role: "img"
|
|
2438
|
+
}, yn = {
|
|
2439
|
+
display: "inline-block"
|
|
2440
|
+
}, ie = {
|
|
2441
|
+
backgroundColor: "currentColor"
|
|
2442
|
+
}, at = {
|
|
2443
|
+
backgroundColor: "transparent"
|
|
2444
|
+
}, Me = {
|
|
2445
|
+
Image: "var(--svg)",
|
|
2446
|
+
Repeat: "no-repeat",
|
|
2447
|
+
Size: "100% 100%"
|
|
2448
|
+
}, Re = {
|
|
2449
|
+
webkitMask: ie,
|
|
2450
|
+
mask: ie,
|
|
2451
|
+
background: at
|
|
2452
|
+
};
|
|
2453
|
+
for (const e in Re) {
|
|
2454
|
+
const t = Re[e];
|
|
2455
|
+
for (const o in Me)
|
|
2456
|
+
t[e + o] = Me[o];
|
|
2457
|
+
}
|
|
2458
|
+
const K = {};
|
|
2459
|
+
["horizontal", "vertical"].forEach((e) => {
|
|
2460
|
+
const t = e.slice(0, 1) + "Flip";
|
|
2461
|
+
K[e + "-flip"] = t, K[e.slice(0, 1) + "-flip"] = t, K[e + "Flip"] = t;
|
|
2462
|
+
});
|
|
2463
|
+
function Oe(e) {
|
|
2464
|
+
return e + (e.match(/^[-0-9.]+$/) ? "px" : "");
|
|
2465
|
+
}
|
|
2466
|
+
const wn = (e, t) => {
|
|
2467
|
+
const o = Yo(Ne, t), n = { ...gn }, a = t.mode || "svg", s = {}, i = t.style, r = typeof i == "object" && !(i instanceof Array) ? i : {};
|
|
2468
|
+
for (let u in t) {
|
|
2469
|
+
const l = t[u];
|
|
2470
|
+
if (l !== void 0)
|
|
2471
|
+
switch (u) {
|
|
2472
|
+
// Properties to ignore
|
|
2473
|
+
case "icon":
|
|
2474
|
+
case "style":
|
|
2475
|
+
case "onLoad":
|
|
2476
|
+
case "mode":
|
|
2477
|
+
case "ssr":
|
|
2478
|
+
break;
|
|
2479
|
+
// Boolean attributes
|
|
2480
|
+
case "inline":
|
|
2481
|
+
case "hFlip":
|
|
2482
|
+
case "vFlip":
|
|
2483
|
+
o[u] = l === !0 || l === "true" || l === 1;
|
|
2484
|
+
break;
|
|
2485
|
+
// Flip as string: 'horizontal,vertical'
|
|
2486
|
+
case "flip":
|
|
2487
|
+
typeof l == "string" && Zo(o, l);
|
|
2488
|
+
break;
|
|
2489
|
+
// Color: override style
|
|
2490
|
+
case "color":
|
|
2491
|
+
s.color = l;
|
|
2492
|
+
break;
|
|
2493
|
+
// Rotation as string
|
|
2494
|
+
case "rotate":
|
|
2495
|
+
typeof l == "string" ? o[u] = Xo(l) : typeof l == "number" && (o[u] = l);
|
|
2496
|
+
break;
|
|
2497
|
+
// Remove aria-hidden
|
|
2498
|
+
case "ariaHidden":
|
|
2499
|
+
case "aria-hidden":
|
|
2500
|
+
l !== !0 && l !== "true" && delete n["aria-hidden"];
|
|
2501
|
+
break;
|
|
2502
|
+
default: {
|
|
2503
|
+
const y = K[u];
|
|
2504
|
+
y ? (l === !0 || l === "true" || l === 1) && (o[y] = !0) : Ne[u] === void 0 && (n[u] = l);
|
|
2505
|
+
}
|
|
2506
|
+
}
|
|
2507
|
+
}
|
|
2508
|
+
const d = rn(e, o), c = d.attributes;
|
|
2509
|
+
if (o.inline && (s.verticalAlign = "-0.125em"), a === "svg") {
|
|
2510
|
+
n.style = {
|
|
2511
|
+
...s,
|
|
2512
|
+
...r
|
|
2513
|
+
}, Object.assign(n, c);
|
|
2514
|
+
let u = 0, l = t.id;
|
|
2515
|
+
return typeof l == "string" && (l = l.replace(/-/g, "_")), n.innerHTML = dn(d.body, l ? () => l + "ID" + u++ : "iconifyVue"), R("svg", n);
|
|
2516
|
+
}
|
|
2517
|
+
const { body: p, width: m, height: v } = e, x = a === "mask" || (a === "bg" ? !1 : p.indexOf("currentColor") !== -1), T = mn(p, {
|
|
2518
|
+
...c,
|
|
2519
|
+
width: m + "",
|
|
2520
|
+
height: v + ""
|
|
2521
|
+
});
|
|
2522
|
+
return n.style = {
|
|
2523
|
+
...s,
|
|
2524
|
+
"--svg": fn(T),
|
|
2525
|
+
width: Oe(c.width),
|
|
2526
|
+
height: Oe(c.height),
|
|
2527
|
+
...yn,
|
|
2528
|
+
...x ? ie : at,
|
|
2529
|
+
...r
|
|
2530
|
+
}, R("span", n);
|
|
2531
|
+
}, he = /* @__PURE__ */ Object.create(null);
|
|
2532
|
+
function bn(e, t) {
|
|
2533
|
+
he[e] = t;
|
|
2534
|
+
}
|
|
2535
|
+
function oa(e, t) {
|
|
2536
|
+
const o = typeof e.prefix == "string" ? e.prefix + ":" : "";
|
|
2537
|
+
Jo(e) && Go(e, (n, a) => {
|
|
2538
|
+
a && (he[o + n] = a);
|
|
2539
|
+
});
|
|
2540
|
+
}
|
|
2541
|
+
const Le = B({
|
|
2542
|
+
// Do not inherit other attributes: it is handled by render()
|
|
2543
|
+
inheritAttrs: !1,
|
|
2544
|
+
// Render icon
|
|
2545
|
+
render() {
|
|
2546
|
+
const e = this.$attrs, t = e.icon, o = typeof t == "string" ? he[t] : typeof t == "object" ? t : null;
|
|
2547
|
+
return o === null || typeof o != "object" || typeof o.body != "string" ? this.$slots.default ? this.$slots.default() : null : wn({
|
|
2548
|
+
...pe,
|
|
2549
|
+
...o
|
|
2550
|
+
}, e);
|
|
2551
|
+
}
|
|
2552
|
+
}), Cn = B({
|
|
2553
|
+
name: "IconOffline",
|
|
2554
|
+
components: { IconifyIcon: Le },
|
|
2555
|
+
props: {
|
|
2556
|
+
icon: {
|
|
2557
|
+
default: null
|
|
2558
|
+
}
|
|
2559
|
+
},
|
|
2560
|
+
render() {
|
|
2561
|
+
typeof this.icon == "object" && bn(this.icon, this.icon);
|
|
2562
|
+
const e = this.$attrs;
|
|
2563
|
+
return R(
|
|
2564
|
+
Le,
|
|
2565
|
+
{
|
|
2566
|
+
icon: this.icon,
|
|
2567
|
+
style: e != null && e.style ? Object.assign(e.style, { outline: "none" }) : { outline: "none" },
|
|
2568
|
+
...e
|
|
2569
|
+
},
|
|
2570
|
+
{
|
|
2571
|
+
default: () => []
|
|
2572
|
+
}
|
|
2573
|
+
);
|
|
2574
|
+
}
|
|
2575
|
+
});
|
|
2576
|
+
B({
|
|
2577
|
+
name: "IconifyIconOnline",
|
|
2578
|
+
components: { IconifyIcon: Ce },
|
|
2579
|
+
props: {
|
|
2580
|
+
icon: {
|
|
2581
|
+
type: String,
|
|
2582
|
+
default: ""
|
|
2583
|
+
}
|
|
2584
|
+
},
|
|
2585
|
+
render() {
|
|
2586
|
+
const e = this.$attrs;
|
|
2587
|
+
return R(
|
|
2588
|
+
Ce,
|
|
2589
|
+
{
|
|
2590
|
+
icon: `${this.icon}`,
|
|
2591
|
+
style: e != null && e.style ? Object.assign(e.style, { outline: "none" }) : { outline: "none" },
|
|
2592
|
+
...e
|
|
2593
|
+
},
|
|
2594
|
+
{
|
|
2595
|
+
default: () => []
|
|
2596
|
+
}
|
|
2597
|
+
);
|
|
2598
|
+
}
|
|
2599
|
+
});
|
|
2600
|
+
const vn = B({
|
|
2601
|
+
name: "FontIcon",
|
|
2602
|
+
props: {
|
|
2603
|
+
icon: {
|
|
2604
|
+
type: String,
|
|
2605
|
+
default: ""
|
|
2606
|
+
}
|
|
2607
|
+
},
|
|
2608
|
+
render() {
|
|
2609
|
+
const e = this.$attrs;
|
|
2610
|
+
return Object.keys(e).includes("uni") || (e == null ? void 0 : e.iconType) === "uni" ? R(
|
|
2611
|
+
"i",
|
|
2612
|
+
{
|
|
2613
|
+
class: "iconfont",
|
|
2614
|
+
...e
|
|
2615
|
+
},
|
|
2616
|
+
this.icon
|
|
2617
|
+
) : Object.keys(e).includes("svg") || (e == null ? void 0 : e.iconType) === "svg" ? R(
|
|
2618
|
+
"svg",
|
|
2619
|
+
{
|
|
2620
|
+
class: "icon-svg",
|
|
2621
|
+
"aria-hidden": !0
|
|
2622
|
+
},
|
|
2623
|
+
{
|
|
2624
|
+
default: () => [
|
|
2625
|
+
R("use", {
|
|
2626
|
+
"xlink:href": `#${this.icon}`
|
|
2627
|
+
})
|
|
2628
|
+
]
|
|
2629
|
+
}
|
|
2630
|
+
) : R("i", {
|
|
2631
|
+
class: `iconfont ${this.icon}`,
|
|
2632
|
+
...e
|
|
2633
|
+
});
|
|
2634
|
+
}
|
|
2635
|
+
}), Tn = Cn, En = vn, Sn = {
|
|
2636
|
+
mounted(e, t) {
|
|
2637
|
+
var n;
|
|
2638
|
+
const { value: o } = t;
|
|
2639
|
+
if (o) {
|
|
2640
|
+
const s = `${(n = f.currentRoute.value.meta) == null ? void 0 : n.prefixAuth}.${o}`;
|
|
2641
|
+
C().getButtonAuth.includes(s) || e.parentNode.removeChild(e);
|
|
2642
|
+
} else
|
|
2643
|
+
throw new Error(`need roles! Like v-auth="['admin','test']"`);
|
|
2644
|
+
}
|
|
2645
|
+
};
|
|
2646
|
+
function Dn(e) {
|
|
2647
|
+
return { all: e = e || /* @__PURE__ */ new Map(), on: function(t, o) {
|
|
2648
|
+
var n = e.get(t);
|
|
2649
|
+
n ? n.push(o) : e.set(t, [o]);
|
|
2650
|
+
}, off: function(t, o) {
|
|
2651
|
+
var n = e.get(t);
|
|
2652
|
+
n && (o ? n.splice(n.indexOf(o) >>> 0, 1) : e.set(t, []));
|
|
2653
|
+
}, emit: function(t, o) {
|
|
2654
|
+
var n = e.get(t);
|
|
2655
|
+
n && n.slice().map(function(a) {
|
|
2656
|
+
a(o);
|
|
2657
|
+
}), (n = e.get("*")) && n.slice().map(function(a) {
|
|
2658
|
+
a(t, o);
|
|
2659
|
+
});
|
|
2660
|
+
} };
|
|
2661
|
+
}
|
|
2662
|
+
const kn = Dn(), Ae = St({
|
|
2663
|
+
strategy: "scroll"
|
|
2664
|
+
}), Fn = {
|
|
2665
|
+
mounted(e, t, o) {
|
|
2666
|
+
Ae.listenTo(e, (n) => {
|
|
2667
|
+
const a = n.offsetWidth, s = n.offsetHeight;
|
|
2668
|
+
t != null && t.instance ? kn.emit("resize", { detail: { width: a, height: s } }) : o.el.dispatchEvent(new CustomEvent("resize", { detail: { width: a, height: s } }));
|
|
2669
|
+
});
|
|
2670
|
+
},
|
|
2671
|
+
unmounted(e) {
|
|
2672
|
+
Ae.uninstall(e);
|
|
2673
|
+
}
|
|
2674
|
+
}, Be = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2675
|
+
__proto__: null,
|
|
2676
|
+
auth: Sn,
|
|
2677
|
+
resize: Fn
|
|
2678
|
+
}, Symbol.toStringTag, { value: "Module" })), E = ut(zt);
|
|
2679
|
+
E.use(Et, {
|
|
2680
|
+
defaultProps: { animation: "perspective" }
|
|
2681
|
+
});
|
|
2682
|
+
const xn = (e) => {
|
|
2683
|
+
e.config.globalProperties.$hasAuthority = Vo, e.config.globalProperties.$serviceApi = Q(), e.config.globalProperties.$url = N(), window.$i18n = Ke;
|
|
2684
|
+
}, Pn = (e) => {
|
|
2685
|
+
Object.keys(Be).forEach((t) => {
|
|
2686
|
+
e.directive(t, Be[t]);
|
|
2687
|
+
});
|
|
2688
|
+
}, na = ({ router: e, config: t, lang: o, views: n, env: a, tableConfig: s }) => (xo(n, e), E.use(e), Ot(e), Mt(E, t), Rt(a), Mo(s), new Promise((i) => {
|
|
2689
|
+
no(E, o), E.component("IconifyIconOffline", Tn), E.component("FontIcon", En), xn(E), Lt(N()), Pn(E), _t(E), qo(E, t), i({ app: E, router: e });
|
|
2690
|
+
}));
|
|
2691
|
+
function In() {
|
|
2692
|
+
const { $storage: e, $config: t } = qe(), o = () => {
|
|
2693
|
+
et().multiTagsCache && (!e.tags || e.tags.length === 0) && (e.tags = V), e != null && e.locale || (ze().locale.value = (t == null ? void 0 : t.Locale) ?? "zh"), e && !(e != null && e.layout) && (e.layout = {
|
|
2694
|
+
layout: (t == null ? void 0 : t.Layout) ?? "vertical",
|
|
2695
|
+
theme: (t == null ? void 0 : t.Theme) ?? "default",
|
|
2696
|
+
darkMode: (t == null ? void 0 : t.DarkMode) ?? !1,
|
|
2697
|
+
sidebarStatus: (t == null ? void 0 : t.SidebarStatus) ?? !0,
|
|
2698
|
+
epThemeColor: (t == null ? void 0 : t.EpThemeColor) ?? "#409EFF",
|
|
2699
|
+
overallStyle: (t == null ? void 0 : t.OverallStyle) ?? "light"
|
|
2700
|
+
}), e && !(e != null && e.configure) && (e.configure = {
|
|
2701
|
+
grey: (t == null ? void 0 : t.Grey) ?? !1,
|
|
2702
|
+
weak: (t == null ? void 0 : t.Weak) ?? !1,
|
|
2703
|
+
hideTabs: (t == null ? void 0 : t.HideTabs) ?? !1,
|
|
2704
|
+
showLogo: (t == null ? void 0 : t.ShowLogo) ?? !0,
|
|
2705
|
+
showModel: (t == null ? void 0 : t.ShowModel) ?? "smart",
|
|
2706
|
+
multiTagsCache: (t == null ? void 0 : t.MultiTagsCache) ?? !1
|
|
2707
|
+
});
|
|
2708
|
+
}, n = ye(() => e == null ? void 0 : e.layout.layout), a = ye(() => e == null ? void 0 : e.layout);
|
|
2709
|
+
return {
|
|
2710
|
+
layout: n,
|
|
2711
|
+
layoutTheme: a,
|
|
2712
|
+
initStorage: o
|
|
2713
|
+
};
|
|
2714
|
+
}
|
|
2715
|
+
const Nn = q("udp-app", {
|
|
2716
|
+
state: () => {
|
|
2717
|
+
var e, t;
|
|
2718
|
+
return {
|
|
2719
|
+
sidebar: {
|
|
2720
|
+
opened: ((e = h.getItem(`${w()}layout`)) == null ? void 0 : e.sidebarStatus) ?? k().SidebarStatus,
|
|
2721
|
+
withoutAnimation: !1,
|
|
2722
|
+
isClickCollapse: !1
|
|
2723
|
+
},
|
|
2724
|
+
// 这里的layout用于监听容器拖拉后恢复对应的导航模式
|
|
2725
|
+
layout: ((t = h.getItem(`${w()}layout`)) == null ? void 0 : t.layout) ?? k().Layout,
|
|
2726
|
+
device: ft() ? "mobile" : "desktop"
|
|
2727
|
+
};
|
|
2728
|
+
},
|
|
2729
|
+
getters: {
|
|
2730
|
+
getSidebarStatus() {
|
|
2731
|
+
return this.sidebar.opened;
|
|
2732
|
+
},
|
|
2733
|
+
getDevice() {
|
|
2734
|
+
return this.device;
|
|
2735
|
+
}
|
|
2736
|
+
},
|
|
2737
|
+
actions: {
|
|
2738
|
+
TOGGLE_SIDEBAR(e, t) {
|
|
2739
|
+
const o = h.getItem(`${w()}layout`);
|
|
2740
|
+
o && (e && t ? (this.sidebar.withoutAnimation = !0, this.sidebar.opened = !0, o.sidebarStatus = !0) : !e && t ? (this.sidebar.withoutAnimation = !0, this.sidebar.opened = !1, o.sidebarStatus = !1) : !e && !t && (this.sidebar.withoutAnimation = !1, this.sidebar.opened = !this.sidebar.opened, this.sidebar.isClickCollapse = !this.sidebar.opened, o.sidebarStatus = this.sidebar.opened), h.setItem(`${w()}layout`, o));
|
|
2741
|
+
},
|
|
2742
|
+
async toggleSideBar(e, t) {
|
|
2743
|
+
await this.TOGGLE_SIDEBAR(e, t);
|
|
2744
|
+
},
|
|
2745
|
+
toggleDevice(e) {
|
|
2746
|
+
this.device = e;
|
|
2747
|
+
},
|
|
2748
|
+
setLayout(e) {
|
|
2749
|
+
this.layout = e;
|
|
2750
|
+
}
|
|
2751
|
+
}
|
|
2752
|
+
});
|
|
2753
|
+
function Mn() {
|
|
2754
|
+
return Nn(j);
|
|
2755
|
+
}
|
|
2756
|
+
const Rn = q("udp-epTheme", {
|
|
2757
|
+
state: () => {
|
|
2758
|
+
var e, t;
|
|
2759
|
+
return {
|
|
2760
|
+
epThemeColor: ((e = h.getItem(`${w()}-layout`)) == null ? void 0 : e.epThemeColor) ?? k().EpThemeColor,
|
|
2761
|
+
epTheme: ((t = h.getItem(`${w()}-layout`)) == null ? void 0 : t.theme) ?? k().Theme
|
|
2762
|
+
};
|
|
2763
|
+
},
|
|
2764
|
+
getters: {
|
|
2765
|
+
getEpThemeColor() {
|
|
2766
|
+
return this.epThemeColor;
|
|
2767
|
+
},
|
|
2768
|
+
// 用于mix导航模式下hamburger-svg的fill属性
|
|
2769
|
+
fill() {
|
|
2770
|
+
return this.epTheme === "light" ? "#409eff" : this.epTheme === "yellow" ? "#d25f00" : "#fff";
|
|
2771
|
+
}
|
|
2772
|
+
},
|
|
2773
|
+
actions: {
|
|
2774
|
+
setEpThemeColor(e) {
|
|
2775
|
+
const t = h.getItem(`${w()}layout`);
|
|
2776
|
+
this.epTheme = t == null ? void 0 : t.theme, this.epThemeColor = e, t && (t.epThemeColor = e, h.setItem(`${w()}layout`, t));
|
|
2777
|
+
}
|
|
2778
|
+
}
|
|
2779
|
+
});
|
|
2780
|
+
function oe() {
|
|
2781
|
+
return Rn(j);
|
|
2782
|
+
}
|
|
2783
|
+
function aa() {
|
|
2784
|
+
var x, T;
|
|
2785
|
+
const { layoutTheme: e, layout: t } = In(), o = X([
|
|
2786
|
+
/* 道奇蓝(默认) */
|
|
2787
|
+
{ color: "#1b2a47", themeColor: "default" },
|
|
2788
|
+
/* 亮白色 */
|
|
2789
|
+
{ color: "#ffffff", themeColor: "light" },
|
|
2790
|
+
/* 猩红色 */
|
|
2791
|
+
{ color: "#f5222d", themeColor: "dusk" },
|
|
2792
|
+
/* 橙红色 */
|
|
2793
|
+
{ color: "#fa541c", themeColor: "volcano" },
|
|
2794
|
+
/* 金色 */
|
|
2795
|
+
{ color: "#fadb14", themeColor: "yellow" },
|
|
2796
|
+
/* 绿宝石 */
|
|
2797
|
+
{ color: "#13c2c2", themeColor: "mingQing" },
|
|
2798
|
+
/* 酸橙绿 */
|
|
2799
|
+
{ color: "#52c41a", themeColor: "auroraGreen" },
|
|
2800
|
+
/* 深粉色 */
|
|
2801
|
+
{ color: "#eb2f96", themeColor: "pink" },
|
|
2802
|
+
/* 深紫罗兰色 */
|
|
2803
|
+
{ color: "#722ed1", themeColor: "saucePurple" }
|
|
2804
|
+
]), { $storage: n } = qe(), a = X((x = n == null ? void 0 : n.layout) == null ? void 0 : x.darkMode), s = X((T = n == null ? void 0 : n.layout) == null ? void 0 : T.overallStyle), i = document.documentElement;
|
|
2805
|
+
function r(u, l, y) {
|
|
2806
|
+
const P = y || document.body;
|
|
2807
|
+
let { className: g } = P;
|
|
2808
|
+
g = g.replace(l, "").trim(), P.className = u ? `${g} ${l}` : g;
|
|
2809
|
+
}
|
|
2810
|
+
function d(u = k().Theme ?? "default") {
|
|
2811
|
+
var l, y;
|
|
2812
|
+
if (e.value.theme = u, document.documentElement.setAttribute("data-theme", u), document.documentElement.className = "", document.documentElement.classList.add(`layout-theme-${u}`), n.layout = {
|
|
2813
|
+
layout: t.value,
|
|
2814
|
+
theme: u,
|
|
2815
|
+
darkMode: a.value,
|
|
2816
|
+
sidebarStatus: (l = n.layout) == null ? void 0 : l.sidebarStatus,
|
|
2817
|
+
epThemeColor: (y = n.layout) == null ? void 0 : y.epThemeColor,
|
|
2818
|
+
overallStyle: s.value
|
|
2819
|
+
}, u === "default" || u === "light")
|
|
2820
|
+
p(k().EpThemeColor || "#409EFF");
|
|
2821
|
+
else {
|
|
2822
|
+
const P = o.value.find((g) => g.themeColor === u);
|
|
2823
|
+
p(P.color);
|
|
2824
|
+
}
|
|
2825
|
+
}
|
|
2826
|
+
function c(u, l, y) {
|
|
2827
|
+
document.documentElement.style.setProperty(
|
|
2828
|
+
`--el-color-primary-${u}-${l}`,
|
|
2829
|
+
a.value ? $t(y, l / 10) : Ht(y, l / 10)
|
|
2830
|
+
);
|
|
2831
|
+
}
|
|
2832
|
+
const p = (u) => {
|
|
2833
|
+
oe().setEpThemeColor(u), document.documentElement.style.setProperty("--el-color-primary", u);
|
|
2834
|
+
for (let l = 1; l <= 2; l++)
|
|
2835
|
+
c("dark", l, u);
|
|
2836
|
+
for (let l = 1; l <= 9; l++)
|
|
2837
|
+
c("light", l, u);
|
|
2838
|
+
};
|
|
2839
|
+
function m(u) {
|
|
2840
|
+
s.value = u, oe().epTheme === "light" && a.value ? d("default") : d(oe().epTheme), Ro(a.value ? "dark" : "light"), a.value ? (document.documentElement.classList.add("dark"), document.documentElement.classList.remove("default")) : (document.documentElement.classList.add("default"), document.documentElement.classList.remove("dark"));
|
|
2841
|
+
}
|
|
2842
|
+
function v() {
|
|
2843
|
+
U.remove(It), U.remove(Pt), U.remove($e), h.clear(), gt.clear();
|
|
2844
|
+
const { Grey: u, Weak: l, MultiTagsCache: y, EpThemeColor: P, Layout: g } = k();
|
|
2845
|
+
Mn().setLayout(g), p(P), F().multiTagsCacheChange(y), r(u, "html-grey", document.querySelector("html")), r(l, "html-weakness", document.querySelector("html")), f.push("/login"), F().handleTags("equal", [...V]), Fo();
|
|
2846
|
+
}
|
|
2847
|
+
return {
|
|
2848
|
+
body: i,
|
|
2849
|
+
overallStyle: s,
|
|
2850
|
+
dataTheme: a,
|
|
2851
|
+
layoutTheme: e,
|
|
2852
|
+
themeColors: o,
|
|
2853
|
+
onReset: v,
|
|
2854
|
+
toggleClass: r,
|
|
2855
|
+
dataThemeChange: m,
|
|
2856
|
+
setEpThemeColor: p,
|
|
2857
|
+
setLayoutThemeColor: d
|
|
2858
|
+
};
|
|
2859
|
+
}
|
|
2860
|
+
export {
|
|
2861
|
+
In as A,
|
|
2862
|
+
N as B,
|
|
2863
|
+
Yn as C,
|
|
2864
|
+
io as D,
|
|
2865
|
+
Gn as E,
|
|
2866
|
+
En as F,
|
|
2867
|
+
Wn as G,
|
|
2868
|
+
Kn as H,
|
|
2869
|
+
Tn as I,
|
|
2870
|
+
na as J,
|
|
2871
|
+
Vo as K,
|
|
2872
|
+
qt as L,
|
|
2873
|
+
ta as M,
|
|
2874
|
+
Xn as N,
|
|
2875
|
+
Zn as O,
|
|
2876
|
+
Qn as P,
|
|
2877
|
+
jt as _,
|
|
2878
|
+
oa as a,
|
|
2879
|
+
bn as b,
|
|
2880
|
+
F as c,
|
|
2881
|
+
Jn as d,
|
|
2882
|
+
Mn as e,
|
|
2883
|
+
Ye as f,
|
|
2884
|
+
k as g,
|
|
2885
|
+
C as h,
|
|
2886
|
+
G as i,
|
|
2887
|
+
kn as j,
|
|
2888
|
+
Nt as k,
|
|
2889
|
+
ve as l,
|
|
2890
|
+
V as m,
|
|
2891
|
+
It as n,
|
|
2892
|
+
Pt as o,
|
|
2893
|
+
$e as p,
|
|
2894
|
+
Fo as q,
|
|
2895
|
+
f as r,
|
|
2896
|
+
j as s,
|
|
2897
|
+
Ke as t,
|
|
2898
|
+
oe as u,
|
|
2899
|
+
ea as v,
|
|
2900
|
+
Q as w,
|
|
2901
|
+
w as x,
|
|
2902
|
+
ho as y,
|
|
2903
|
+
aa as z
|
|
2904
|
+
};
|