@utogether/udp-core 1.0.4 → 2.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{403-DASI6Pwz.js → 403-CTJDBjz7.js} +1 -1
- package/dist/{404-YhBA92cb.js → 404-BFYkWIkQ.js} +1 -1
- package/dist/{500-ywbFF5MX.js → 500-DGG3qadg.js} +1 -1
- package/dist/{AuthorityInfo-tCSX2Fh7.js → AuthorityInfo-ozZIo1Te.js} +1 -1
- package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-Cwd6UT2i.js → AuthorityInfo.vue_vue_type_style_index_0_lang-DujerENw.js} +1 -1
- package/dist/{AuthorityPanel-BeBNiwqc.js → AuthorityPanel-CRlAwbaI.js} +1 -1
- package/dist/{AuthorityPanel.vue_vue_type_style_index_0_lang-CIYmnP9-.js → AuthorityPanel.vue_vue_type_style_index_0_lang-DxhZjp1S.js} +31 -24
- package/dist/{Company-l23MEzdM.js → Company-6VJtwh23.js} +3 -3
- package/dist/{CompanyPanel-D_s0rh6h.js → CompanyPanel-B2P488mq.js} +1 -1
- package/dist/{Department-DSEvORLg.js → Department-BnwoLEOC.js} +3 -3
- package/dist/{DepartmentPanel-WN8nOgCV.js → DepartmentPanel-CRrrmxtv.js} +1 -1
- package/dist/{DesignPanel-DirEGh9M.js → DesignPanel-CvbccgX2.js} +1 -1
- package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-D02hXSrN.js → DesignPanel.vue_vue_type_style_index_0_lang-Dz2tUszs.js} +2 -2
- package/dist/{DictView-DiIQdiek.js → DictView-Ce1LoVHh.js} +17 -16
- package/dist/{InvOrganization-b7v3g9EJ.js → InvOrganization-BwCFZO1X.js} +1 -1
- package/dist/{Org-BORfx1PL.js → Org-0hzs6b0R.js} +1 -1
- package/dist/{Preview-DkRn_TSc.js → Preview--DnEAhwh.js} +1 -1
- package/dist/{ReportDefine-Cd0QeaWA.js → ReportDefine-Cu983bTN.js} +1 -1
- package/dist/{ReportDesign-4qNqyeEW.js → ReportDesign-QsWXXgvo.js} +2 -2
- package/dist/{ReportQuery-BJfTFpec.js → ReportQuery-BjKIIhPu.js} +1 -1
- package/dist/{ReportQueryFrom-CB7sExZx.js → ReportQueryFrom-DIjBO6Fx.js} +1 -1
- package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-CqO_2Ier.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-0T62cUMK.js} +1 -1
- package/dist/{ReportTemplate-B69muSgT.js → ReportTemplate-2uk9tJcy.js} +1 -1
- package/dist/{Role-Bo4YrNDC.js → Role-_QP8QEaI.js} +3 -3
- package/dist/{RoleAssign-kOMYJ4s3.js → RoleAssign-C2gkcmEQ.js} +3 -3
- package/dist/{RolePanel-BSJmjyqc.js → RolePanel-B8FPNGaA.js} +1 -1
- package/dist/{RolePanel-B1d4e6uk.js → RolePanel-vnl_lXNY.js} +1 -1
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-DCzX-ZP_.js → RolePanel.vue_vue_type_script_setup_true_lang-BuQbYEEI.js} +1 -1
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-DgQpfjaU.js → RolePanel.vue_vue_type_script_setup_true_lang-bxHXrBYl.js} +3 -3
- package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-WNOYFxJ1.js → ScrollPanel.vue_vue_type_style_index_0_lang-C6yZXBqB.js} +1 -1
- package/dist/{Staff-BFp3zNNR.js → Staff-CHWrMIEb.js} +3 -3
- package/dist/{StaffInfo-DcU9_40C.js → StaffInfo-Cpq2eayz.js} +1 -1
- package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-CtfN2CAr.js → StaffInfo.vue_vue_type_script_setup_true_lang-BVCjF2i1.js} +1 -1
- package/dist/{StaffPanel-7exWkZd9.js → StaffPanel-D2BMXt5p.js} +1 -1
- package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-v5xOXKRS.js → StaffPanel.vue_vue_type_script_setup_true_lang-B6jAGo-g.js} +2 -2
- package/dist/{SysUser-B3uB_cp2.js → SysUser-om6H1BeC.js} +2 -2
- package/dist/{SysUserPanel-B0CLp5AO.js → SysUserPanel-CH0HPP7h.js} +1 -1
- package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-Cwea_4dY.js → SysUserPanel.vue_vue_type_script_setup_true_lang-Dpl13ee0.js} +126 -111
- package/dist/{SystemMenu-a59l4hTk.js → SystemMenu-BkG_DKxA.js} +52 -49
- package/dist/{UserInfo-D1IA2oLt.js → UserInfo-D9croxUe.js} +1 -1
- package/dist/{UserInfo.vue_vue_type_style_index_0_lang-DDVgYRD5.js → UserInfo.vue_vue_type_style_index_0_lang-DLIP8xpN.js} +1 -1
- package/dist/{childView-6rCeLcsx.js → childView-BY_Ip-l1.js} +1 -1
- package/dist/{childView-JdrkroL5.js → childView-CHp_TueS.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-BfcnWnx9.js → childView.vue_vue_type_style_index_0_lang-BNHbDRjt.js} +25 -22
- package/dist/{childView.vue_vue_type_style_index_0_lang-B8x99f1B.js → childView.vue_vue_type_style_index_0_lang-CbjGf7Z7.js} +1 -1
- package/dist/{code-rule-2lkPF547.js → code-rule-Ce6yWqCq.js} +1 -1
- package/dist/core.es.js +1 -1
- package/dist/{cron-task-DV1pGO1m.js → cron-task-DziaH0rI.js} +1 -1
- package/dist/{frameView-C0bzSB8c.js → frameView-DNeCVQaY.js} +1 -1
- package/dist/index-BabfUVv_.js +7241 -0
- package/dist/layout-home-Cis1KlEr.js +195 -0
- package/dist/{layoutView-CTV-E4Cj.js → layoutView-12Mlp9A2.js} +144 -145
- package/dist/{log-in-CoBP2x6u.js → log-in-1NGaA5OM.js} +1 -1
- package/dist/{log-out-KX8FiRVf.js → log-out-B8_atGcQ.js} +1 -1
- package/dist/{login-CtCoGWzD.js → login-5dydO6GR.js} +124 -134
- package/dist/{lov-view-Bm0JEzzg.js → lov-view-DPvGUu3h.js} +2 -2
- package/dist/{menuInfo-D2qPoRwz.js → menuInfo-DVADYfEK.js} +1 -1
- package/dist/{menuInfo.vue_vue_type_style_index_0_lang-DoQjX9Ly.js → menuInfo.vue_vue_type_style_index_0_lang-DgsifDrm.js} +37 -35
- package/dist/{pda-app-SbcIclbH.js → pda-app-BZXs-2BQ.js} +1 -1
- package/dist/{resource-Cdq1UKGI.js → resource-BZA9NFKc.js} +1 -1
- package/dist/su-welcome-BXe6Cdp3.js +580 -0
- package/dist/{sys-config-CCOf4xbj.js → sys-config-DQmNjWH4.js} +1 -1
- package/dist/udp-core.css +1 -1
- package/package.json +1 -1
- package/src/App.vue +71 -65
- package/src/components/udp/form-upload/form-upload.vue +492 -0
- package/src/components/udp/index.ts +2 -1
- package/src/layout/components/lay-content/index.vue +136 -143
- package/src/layout/components/lay-sidebar/sidebar-logo.vue +1 -1
- package/src/layout/layoutView.vue +7 -6
- package/src/main.ts +4 -7
- package/src/plugins/i18n/zh.ts +16 -3
- package/src/plugins/vxe-table/render.tsx +19 -1
- package/src/style/vxetable.scss +356 -348
- package/src/views/system/layout/layout-home.vue +199 -0
- package/src/views/system/menu/AuthorityPanel.vue +141 -140
- package/src/views/system/menu/SystemMenu.vue +10 -1
- package/src/views/system/menu/menuInfo.vue +384 -384
- package/src/views/system/sysUser/SysUserPanel.vue +22 -6
- package/src/views/udev/dict/DictView.vue +2 -2
- package/src/views/udev/dict/childView.vue +1 -0
- package/src/views/uhome/dynamic-card.vue +32 -0
- package/src/views/uhome/su-welcome.vue +10 -5
- package/src/views/ulogin/login.vue +34 -23
- package/types/global.d.ts +1 -0
- package/dist/index-BbtbEMCH.js +0 -4649
- package/dist/su-welcome-BHDsjqqV.js +0 -524
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as S, ref as l, resolveComponent as
|
|
1
|
+
import { defineComponent as S, ref as l, resolveComponent as d, createElementBlock as E, openBlock as m, createVNode as n, withCtx as T, createBlock as H, createCommentVNode as U, Fragment as $ } from "vue";
|
|
2
2
|
import { useI18n as z } from "vue-i18n";
|
|
3
3
|
import { t as F } from "./await-to-js.es5-BtRbN2QH.js";
|
|
4
4
|
import { VxeUI as M } from "vxe-pc-ui";
|
|
5
5
|
import { useRender as O, successMessage as f } from "@utogether/utils";
|
|
6
|
-
import { y as p, i as
|
|
6
|
+
import { y as p, i as g } from "./index-BabfUVv_.js";
|
|
7
7
|
import { clone as j } from "xe-utils";
|
|
8
8
|
const G = {
|
|
9
9
|
class: "u-dict-config_wrapper"
|
|
10
|
-
},
|
|
10
|
+
}, h = "/upfm/v1/lov", ee = /* @__PURE__ */ S({
|
|
11
11
|
__name: "childView",
|
|
12
12
|
props: {
|
|
13
13
|
record: {
|
|
@@ -19,12 +19,12 @@ const G = {
|
|
|
19
19
|
}
|
|
20
20
|
},
|
|
21
21
|
emits: ["onClose"],
|
|
22
|
-
setup(
|
|
22
|
+
setup(v, {
|
|
23
23
|
emit: C
|
|
24
24
|
}) {
|
|
25
|
-
const w =
|
|
25
|
+
const w = v, y = O(), {
|
|
26
26
|
t: _
|
|
27
|
-
} = z(),
|
|
27
|
+
} = z(), a = l(!1), i = l(null), s = l(null), t = l({}), o = l("add"), k = window.innerHeight - 70, I = [{
|
|
28
28
|
field: "dictCode",
|
|
29
29
|
title: "message.udp.dictCode",
|
|
30
30
|
required: !0,
|
|
@@ -36,6 +36,9 @@ const G = {
|
|
|
36
36
|
}, {
|
|
37
37
|
field: "dictDesc",
|
|
38
38
|
title: "message.remark"
|
|
39
|
+
}, {
|
|
40
|
+
field: "remarks",
|
|
41
|
+
title: "message.remark"
|
|
39
42
|
}, {
|
|
40
43
|
field: "enabled",
|
|
41
44
|
formatter: ["formatDict", "SU.ENABLE"]
|
|
@@ -47,18 +50,18 @@ const G = {
|
|
|
47
50
|
slots: {
|
|
48
51
|
default: ({
|
|
49
52
|
row: e
|
|
50
|
-
}) => [n($, null, [n(
|
|
53
|
+
}) => [n($, null, [n(d("ut-button"), {
|
|
51
54
|
content: "add",
|
|
52
55
|
status: "warning",
|
|
53
56
|
auth: "edit",
|
|
54
57
|
icon: "ri-add-line",
|
|
55
58
|
onTap: () => B(e)
|
|
56
|
-
}, null), n(
|
|
59
|
+
}, null), n(d("ut-button"), {
|
|
57
60
|
content: "edit",
|
|
58
61
|
status: "primary",
|
|
59
62
|
auth: "edit",
|
|
60
63
|
onTap: () => x(e)
|
|
61
|
-
}, null), n(
|
|
64
|
+
}, null), n(d("ut-button"), {
|
|
62
65
|
content: "del",
|
|
63
66
|
status: "danger",
|
|
64
67
|
auth: "del",
|
|
@@ -84,29 +87,29 @@ const G = {
|
|
|
84
87
|
defaultValue: "1"
|
|
85
88
|
})
|
|
86
89
|
}], N = () => {
|
|
87
|
-
|
|
90
|
+
a.value = !0, o.value = "add", t.value = {
|
|
88
91
|
enabled: "1",
|
|
89
92
|
parentId: w.record.id
|
|
90
93
|
};
|
|
91
94
|
}, B = (e) => {
|
|
92
|
-
|
|
95
|
+
a.value = !0, o.value = "add", t.value = {
|
|
93
96
|
enabled: "1",
|
|
94
97
|
parentId: e.id
|
|
95
98
|
};
|
|
96
99
|
}, V = async (e) => {
|
|
97
|
-
await M.modal.confirm(_("message.delRecord")) === "confirm" && (await p().delete(
|
|
100
|
+
await M.modal.confirm(_("message.delRecord")) === "confirm" && (await p().delete(h, [e]), f(), i.value.refreshData());
|
|
98
101
|
}, x = async (e) => {
|
|
99
|
-
|
|
102
|
+
a.value = !0, o.value = "edit", t.value = j(e, !0);
|
|
100
103
|
}, D = async () => {
|
|
101
104
|
const e = {
|
|
102
105
|
...t.value,
|
|
103
|
-
orgId:
|
|
104
|
-
organizationId:
|
|
106
|
+
orgId: g().getOrgId,
|
|
107
|
+
organizationId: g().getOrganizationId
|
|
105
108
|
};
|
|
106
109
|
s.value.showLoading();
|
|
107
|
-
const r = o.value === "add" ? "post" : "put", [u] = await F(p()[r](
|
|
110
|
+
const r = o.value === "add" ? "post" : "put", [u] = await F(p()[r](h, [e]));
|
|
108
111
|
if (s.value.hiddenLoading(), !u) {
|
|
109
|
-
if (
|
|
112
|
+
if (a.value = o.value !== "edit", o.value === "add") {
|
|
110
113
|
const c = t.value.parentId;
|
|
111
114
|
t.value = {
|
|
112
115
|
enabled: "1",
|
|
@@ -122,7 +125,7 @@ const G = {
|
|
|
122
125
|
A("onClose");
|
|
123
126
|
}
|
|
124
127
|
return (e, r) => {
|
|
125
|
-
const u =
|
|
128
|
+
const u = d("ut-grid"), c = d("ut-modal-form"), R = d("vxe-drawer");
|
|
126
129
|
return m(), E("div", G, [n(R, {
|
|
127
130
|
"model-value": e.show,
|
|
128
131
|
title: e.$t("message.title.dictList", {
|
|
@@ -136,8 +139,8 @@ const G = {
|
|
|
136
139
|
default: T(() => [n(u, {
|
|
137
140
|
ref_key: "xgrid",
|
|
138
141
|
ref: i,
|
|
139
|
-
columns:
|
|
140
|
-
height:
|
|
142
|
+
columns: I,
|
|
143
|
+
height: k,
|
|
141
144
|
"default-params": {
|
|
142
145
|
parentId: e.record.id
|
|
143
146
|
},
|
|
@@ -152,7 +155,7 @@ const G = {
|
|
|
152
155
|
url: "/upfm/v1/lov/children",
|
|
153
156
|
mode: "form",
|
|
154
157
|
onButtonClick: q
|
|
155
|
-
}, null, 8, ["default-params"]),
|
|
158
|
+
}, null, 8, ["default-params"]), a.value ? (m(), H(c, {
|
|
156
159
|
key: 0,
|
|
157
160
|
ref_key: "xmodal",
|
|
158
161
|
ref: s,
|
|
@@ -164,7 +167,7 @@ const G = {
|
|
|
164
167
|
title: e.$t("message.title.dictInfo", {
|
|
165
168
|
name: e.record.dictName
|
|
166
169
|
}),
|
|
167
|
-
onClose: r[0] || (r[0] = (J) =>
|
|
170
|
+
onClose: r[0] || (r[0] = (J) => a.value = !1),
|
|
168
171
|
onConfirm: D
|
|
169
172
|
}, null, 8, ["record", "data-status", "title"])) : U("", !0)]),
|
|
170
173
|
_: 1
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as V, ref as a, resolveComponent as o, resolveDirective as F, createElementBlock as w, openBlock as _, createVNode as d, withCtx as c, withDirectives as W } from "vue";
|
|
2
2
|
import { t as u } from "./await-to-js.es5-BtRbN2QH.js";
|
|
3
3
|
import { useRender as P } from "@utogether/utils";
|
|
4
|
-
import { i as $, y as f } from "./index-
|
|
4
|
+
import { i as $, y as f } from "./index-BabfUVv_.js";
|
|
5
5
|
const x = { class: "ut-loview-wrapper" }, B = "/upfm/v1/lovViewHeader", p = "/upfm/v1/lovViewLine", G = /* @__PURE__ */ V({
|
|
6
6
|
__name: "childView",
|
|
7
7
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as U, ref as d, createVNode as f, resolveComponent as i, nextTick as C, createElementBlock as y, openBlock as p, createBlock as b, createCommentVNode as q } from "vue";
|
|
2
2
|
import { t as x } from "./await-to-js.es5-BtRbN2QH.js";
|
|
3
3
|
import { useRender as B } from "@utogether/utils";
|
|
4
|
-
import { y as D } from "./index-
|
|
4
|
+
import { y as D } from "./index-BabfUVv_.js";
|
|
5
5
|
const I = {
|
|
6
6
|
name: "CodeRule"
|
|
7
7
|
}, M = /* @__PURE__ */ U({
|
package/dist/core.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { R as a, O as t, H as r, K as o, L as u, T as i, y as n, B as l, E as g, J as c, P as h, S as m, Q as S, s as f, C as y, D as R, c as C, h as P, i as d } from "./index-
|
|
1
|
+
import { R as a, O as t, H as r, K as o, L as u, T as i, y as n, B as l, E as g, J as c, P as h, S as m, Q as S, s as f, C as y, D as R, c as C, h as P, i as d } from "./index-BabfUVv_.js";
|
|
2
2
|
export {
|
|
3
3
|
a as constantRoutes,
|
|
4
4
|
t as default,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as k, ref as d, createVNode as n, resolveComponent as o, Fragment as v, createElementBlock as T, openBlock as f, createBlock as I, createCommentVNode as R } from "vue";
|
|
2
2
|
import { VXETable as C } from "vxe-table";
|
|
3
3
|
import { t as x } from "./await-to-js.es5-BtRbN2QH.js";
|
|
4
|
-
import { y } from "./index-
|
|
4
|
+
import { y } from "./index-BabfUVv_.js";
|
|
5
5
|
import { useRender as S, successMessage as D } from "@utogether/utils";
|
|
6
6
|
const E = {
|
|
7
7
|
name: "CronTask"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as _, ref as r, unref as a, onMounted as d, resolveDirective as p, withDirectives as v, createElementBlock as h, openBlock as g, createElementVNode as k, nextTick as x } from "vue";
|
|
2
2
|
import { useRoute as E } from "vue-router";
|
|
3
|
-
import { _ as R } from "./index-
|
|
3
|
+
import { _ as R } from "./index-BabfUVv_.js";
|
|
4
4
|
const w = { class: "frame" }, S = ["src"], V = /* @__PURE__ */ _({
|
|
5
5
|
__name: "frameView",
|
|
6
6
|
setup(B) {
|