@utogether/udp-core 1.0.3 → 1.0.4-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-D6H3sArg.js → 403-CH-5FVhN.js} +1 -1
- package/dist/{404-DTyfysQ2.js → 404-CFk6Ivq-.js} +1 -1
- package/dist/{500-DKaVDaBm.js → 500-DRjSNKN3.js} +1 -1
- package/dist/{AuthorityInfo-DQULR69Y.js → AuthorityInfo-DxNFwxdz.js} +1 -1
- package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-CzAnoTnO.js → AuthorityInfo.vue_vue_type_style_index_0_lang-BI2PKcqq.js} +1 -1
- package/dist/{AuthorityPanel-BeBNiwqc.js → AuthorityPanel-BzIh29KB.js} +1 -1
- package/dist/{AuthorityPanel.vue_vue_type_style_index_0_lang-CIYmnP9-.js → AuthorityPanel.vue_vue_type_style_index_0_lang-D3GN0Ybz.js} +32 -24
- package/dist/{Company-BWFrR-Cq.js → Company-DGFD7_MF.js} +3 -3
- package/dist/{CompanyPanel-Dh814lsw.js → CompanyPanel-BHXndpIr.js} +1 -1
- package/dist/{Department-DagPxerl.js → Department-CFcjdf8m.js} +3 -3
- package/dist/{DepartmentPanel-BVy2YGED.js → DepartmentPanel-DrBtJClY.js} +1 -1
- package/dist/{DesignPanel-DKfjfj2S.js → DesignPanel-EAKuwOqp.js} +1 -1
- package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-D-a8W08Y.js → DesignPanel.vue_vue_type_style_index_0_lang-BOP4Q41a.js} +2 -2
- package/dist/{DictView-CE5nEiKu.js → DictView-CpRvxDO0.js} +1 -1
- package/dist/{InvOrganization-CZk_EbFZ.js → InvOrganization-DZC9aKKv.js} +1 -1
- package/dist/{Org-BO8jfnqN.js → Org-D5heLogi.js} +1 -1
- package/dist/{Preview-DYJaP96f.js → Preview-DWuThn2_.js} +1 -1
- package/dist/{ReportDefine-DZXbs7iX.js → ReportDefine-FeHx3B-B.js} +1 -1
- package/dist/{ReportDesign-CSdqOQ1D.js → ReportDesign-Deo5AK76.js} +2 -2
- package/dist/{ReportQuery-_Vdt3CnA.js → ReportQuery-WK5BPREv.js} +1 -1
- package/dist/{ReportQueryFrom-BWKddh9p.js → ReportQueryFrom-BcbRvwcp.js} +1 -1
- package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-DbdGwioi.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-DEXuBXHO.js} +1 -1
- package/dist/{ReportTemplate-DS-DGao8.js → ReportTemplate-DAk0qIJq.js} +1 -1
- package/dist/{Role-BM0kEu7y.js → Role-sSVr8txF.js} +3 -3
- package/dist/{RoleAssign-Cp05HUWn.js → RoleAssign-gg9O7P1_.js} +3 -3
- package/dist/{RolePanel-hXeshcCZ.js → RolePanel-D2M-Wc-X.js} +1 -1
- package/dist/{RolePanel-DeuHpCdK.js → RolePanel-DsyVPcoq.js} +1 -1
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-CNyWCIJm.js → RolePanel.vue_vue_type_script_setup_true_lang-C4fuYoIS.js} +1 -1
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-Bf0pSCTN.js → RolePanel.vue_vue_type_script_setup_true_lang-RR24avbF.js} +3 -3
- package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-BiKe39xG.js → ScrollPanel.vue_vue_type_style_index_0_lang-6v5vVx-e.js} +1 -1
- package/dist/{Staff-DLltLFMl.js → Staff-DTDrOuE0.js} +3 -3
- package/dist/{StaffInfo-pfELaI_i.js → StaffInfo-B2H_6lwQ.js} +1 -1
- package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-BKKdNggm.js → StaffInfo.vue_vue_type_script_setup_true_lang-BkDRBn9p.js} +1 -1
- package/dist/{StaffPanel-D3Pk28JN.js → StaffPanel-dpmnAD0A.js} +1 -1
- package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-D9HLeyKe.js → StaffPanel.vue_vue_type_script_setup_true_lang-dgV9B37R.js} +2 -2
- package/dist/{SysUser-BOh7ejz3.js → SysUser-BjpQdzSo.js} +2 -2
- package/dist/{SysUserPanel-RElVo0BV.js → SysUserPanel-C5IHO7JB.js} +1 -1
- package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-DoW0v5y9.js → SysUserPanel.vue_vue_type_script_setup_true_lang-HvJ4Hrps.js} +1 -1
- package/dist/{SystemMenu-DZneBqKO.js → SystemMenu-D7W9E8SF.js} +52 -49
- package/dist/{UserInfo-D9qo_f_9.js → UserInfo-D_lbSbUh.js} +1 -1
- package/dist/{UserInfo.vue_vue_type_style_index_0_lang-CY4dtMnZ.js → UserInfo.vue_vue_type_style_index_0_lang-NLl8VJ5I.js} +1 -1
- package/dist/{childView-CmlGxD9G.js → childView-B1XV2jZ7.js} +1 -1
- package/dist/{childView-DStrPumM.js → childView-LQllG9vw.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-Dtv1rrdP.js → childView.vue_vue_type_style_index_0_lang-DN19uWOO.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-B9k694be.js → childView.vue_vue_type_style_index_0_lang-Dpo_nfX9.js} +1 -1
- package/dist/{code-rule-CxzgQDH_.js → code-rule-DkKKcosO.js} +1 -1
- package/dist/core.es.js +1 -1
- package/dist/{cron-task-kbyRTz97.js → cron-task-bGVrr2Jg.js} +1 -1
- package/dist/{frameView-BawZlIge.js → frameView-B3n2JXTj.js} +1 -1
- package/dist/{index-nkstuOxE.js → index-DYT0k5Sg.js} +3562 -961
- package/dist/{layoutView-DVGqPJmA.js → layoutView-bh22tftc.js} +144 -145
- package/dist/{log-in-j2PZGLQH.js → log-in-Dk_xyZ_l.js} +1 -1
- package/dist/{log-out-DIJU-Vpf.js → log-out-CERhlqtr.js} +1 -1
- package/dist/{login-DvmHMcgD.js → login-C5EJWWLi.js} +124 -134
- package/dist/{lov-view-C-dIDLh8.js → lov-view-BNGHpq-d.js} +2 -2
- package/dist/{menuInfo-D0mcKmrT.js → menuInfo-2DBTH6Vf.js} +1 -1
- package/dist/{menuInfo.vue_vue_type_style_index_0_lang-CbwS7aGl.js → menuInfo.vue_vue_type_style_index_0_lang-KtLS__XM.js} +37 -35
- package/dist/{pda-app-BjvyTDkw.js → pda-app-BzmHIT9A.js} +1 -1
- package/dist/{resource-BknIxaTQ.js → resource-D6UY8vN8.js} +1 -1
- package/dist/{su-welcome-CwtvamZC.js → su-welcome-okexK2W2.js} +1 -1
- package/dist/{sys-config-CCKhGcCL.js → sys-config-9F_C1LzR.js} +1 -1
- package/dist/udp-core.css +1 -1
- package/package.json +1 -1
- package/src/App.vue +73 -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 +2 -2
- package/src/plugins/i18n/zh.ts +1 -0
- package/src/plugins/vxe-table/index.ts +1 -1
- package/src/plugins/vxe-table/render.tsx +19 -1
- package/src/style/vxetable.scss +356 -348
- package/src/views/system/menu/AuthorityPanel.vue +142 -140
- package/src/views/system/menu/SystemMenu.vue +10 -1
- package/src/views/system/menu/menuInfo.vue +384 -384
- package/src/views/ulogin/login.vue +34 -23
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { defineComponent as k, reactive as S, ref as
|
|
2
|
-
import { useI18n as
|
|
3
|
-
import { _ as N } from "./menuInfo.vue_vue_type_style_index_0_lang-
|
|
4
|
-
import { _ as
|
|
5
|
-
import { clone as
|
|
6
|
-
import { t as
|
|
7
|
-
import { VxeUI as
|
|
8
|
-
import { useRender as
|
|
9
|
-
import { y as
|
|
10
|
-
const
|
|
1
|
+
import { defineComponent as k, reactive as S, ref as D, createVNode as o, resolveComponent as i, Fragment as h, createElementBlock as A, openBlock as E } from "vue";
|
|
2
|
+
import { useI18n as I } from "vue-i18n";
|
|
3
|
+
import { _ as N } from "./menuInfo.vue_vue_type_style_index_0_lang-KtLS__XM.js";
|
|
4
|
+
import { _ as P } from "./AuthorityPanel.vue_vue_type_style_index_0_lang-D3GN0Ybz.js";
|
|
5
|
+
import { clone as f } from "xe-utils";
|
|
6
|
+
import { t as R } from "./await-to-js.es5-BtRbN2QH.js";
|
|
7
|
+
import { VxeUI as M } from "vxe-pc-ui";
|
|
8
|
+
import { useRender as U } from "@utogether/utils";
|
|
9
|
+
import { y as W } from "./index-DYT0k5Sg.js";
|
|
10
|
+
const B = {
|
|
11
11
|
class: "page-content"
|
|
12
|
-
},
|
|
12
|
+
}, L = {
|
|
13
13
|
name: "SystemMenu"
|
|
14
|
-
},
|
|
15
|
-
...
|
|
16
|
-
setup(
|
|
14
|
+
}, G = /* @__PURE__ */ k({
|
|
15
|
+
...L,
|
|
16
|
+
setup(z) {
|
|
17
17
|
const t = S({
|
|
18
18
|
record: {},
|
|
19
19
|
dataList: [],
|
|
@@ -26,10 +26,10 @@ const W = {
|
|
|
26
26
|
pageNum: 1
|
|
27
27
|
}
|
|
28
28
|
}), {
|
|
29
|
-
t:
|
|
30
|
-
} =
|
|
29
|
+
t: g
|
|
30
|
+
} = I(), y = U(), d = W(), a = D(null), s = "/uums/menu";
|
|
31
31
|
let l;
|
|
32
|
-
const
|
|
32
|
+
const C = [{
|
|
33
33
|
type: "checkbox",
|
|
34
34
|
width: 50,
|
|
35
35
|
align: "center"
|
|
@@ -57,7 +57,7 @@ const W = {
|
|
|
57
57
|
}, {
|
|
58
58
|
field: "enabled",
|
|
59
59
|
width: 80,
|
|
60
|
-
cellRender:
|
|
60
|
+
cellRender: y.renderEnabled(b)
|
|
61
61
|
}, {
|
|
62
62
|
field: "operate",
|
|
63
63
|
width: 140,
|
|
@@ -66,81 +66,84 @@ const W = {
|
|
|
66
66
|
default: ({
|
|
67
67
|
row: e
|
|
68
68
|
}) => {
|
|
69
|
-
const n = e.menuType,
|
|
69
|
+
const n = e.menuType, r = o(i("ut-button"), {
|
|
70
70
|
status: "u-cyan",
|
|
71
71
|
icon: "ri-add-fill",
|
|
72
72
|
content: "add",
|
|
73
73
|
onTap: () => u(e)
|
|
74
|
-
}, null),
|
|
74
|
+
}, null), m = o(i("ut-button"), {
|
|
75
75
|
icon: "ri-lock-fill",
|
|
76
76
|
content: "auth",
|
|
77
|
-
onTap: () =>
|
|
77
|
+
onTap: () => v(e)
|
|
78
78
|
}, null);
|
|
79
|
-
return [o(
|
|
79
|
+
return [o(h, null, [n ? null : o(h, null, [o(i("ut-button"), {
|
|
80
80
|
status: "success",
|
|
81
81
|
icon: "ri-edit-box-line",
|
|
82
82
|
content: "edit",
|
|
83
|
-
onTap: () =>
|
|
84
|
-
}, null), ["0", "5"].includes(e.menuCategory) ?
|
|
83
|
+
onTap: () => T(e)
|
|
84
|
+
}, null), ["0", "5"].includes(e.menuCategory) ? r : m])])];
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
|
-
}],
|
|
87
|
+
}], w = ({
|
|
88
88
|
code: e
|
|
89
89
|
}) => {
|
|
90
|
-
e === "add" && u(), e === "del" &&
|
|
91
|
-
},
|
|
90
|
+
e === "add" && u(), e === "del" && x();
|
|
91
|
+
}, _ = async ({
|
|
92
92
|
row: e
|
|
93
93
|
}) => {
|
|
94
|
-
const n = await d.get(
|
|
94
|
+
const n = await d.get(s, {
|
|
95
95
|
parentId: e.id
|
|
96
96
|
});
|
|
97
|
-
return new Promise((
|
|
98
|
-
|
|
97
|
+
return new Promise((r) => {
|
|
98
|
+
r(n.list);
|
|
99
99
|
});
|
|
100
100
|
}, u = (e) => {
|
|
101
101
|
t.showDrawer = !0, t.dataStatus = "add", t.record.dispalyCode = e == null ? void 0 : e.permissionCode, t.record.permissionCode = e == null ? void 0 : e.permissionCode, t.record.menuType = "0", t.record.showLink = "Y", t.record.isApprovalPage = "N", t.record.menuCategory = e ? "" : "0", t.record.parentId = e == null ? void 0 : e.id, t.record.hasChildren = e == null ? void 0 : e.hasChildren, t.record.children = t.record.children || [], l = e;
|
|
102
|
-
},
|
|
103
|
-
t.showDrawer = !0, t.dataStatus = "update", t.record =
|
|
102
|
+
}, T = (e) => {
|
|
103
|
+
t.showDrawer = !0, t.dataStatus = "update", t.record = f(e, !0), t.record.menuType = t.record.menuType.toString(), t.record.dispalyCode = e.permissionCode;
|
|
104
104
|
};
|
|
105
|
-
async function
|
|
105
|
+
async function b({
|
|
106
106
|
row: e
|
|
107
107
|
}) {
|
|
108
|
-
await d.put(
|
|
108
|
+
await d.put(s, [e]), a.value.refreshData();
|
|
109
109
|
}
|
|
110
|
-
const
|
|
111
|
-
const e = await
|
|
110
|
+
const x = async () => {
|
|
111
|
+
const e = await M.modal.confirm(g("message.delRecord")), n = a.value.getInstance().getCheckboxRecords();
|
|
112
112
|
if (e === "confirm") {
|
|
113
|
-
const [
|
|
113
|
+
const [r, m] = await R(d.delete(s, n));
|
|
114
|
+
if (r) return;
|
|
115
|
+
const p = a.value.getInstance().getTreeParentRow(n[0]);
|
|
116
|
+
p ? a.value.getInstance().reloadTreeExpand(p) : a.value.refreshData();
|
|
114
117
|
}
|
|
115
|
-
},
|
|
116
|
-
t.showAuthority = !0, t.dataStatus = "update", t.record =
|
|
118
|
+
}, v = (e) => {
|
|
119
|
+
t.showAuthority = !0, t.dataStatus = "update", t.record = f(e, !0), t.record.menuType = t.record.menuType.toString(), t.record.dispalyCode = e.permissionCode;
|
|
117
120
|
}, c = (e, n) => {
|
|
118
|
-
e === "submit" && (l || n) &&
|
|
121
|
+
e === "submit" && (l || n) && a.value.getInstance().reloadTreeExpand(l || n), t.record = {}, t.showDrawer = !1, t.showAuthority = !1;
|
|
119
122
|
};
|
|
120
123
|
return (e, n) => {
|
|
121
|
-
const
|
|
122
|
-
return
|
|
124
|
+
const r = i("ut-grid");
|
|
125
|
+
return E(), A("div", B, [o(r, {
|
|
123
126
|
ref_key: "xgrid",
|
|
124
|
-
ref:
|
|
127
|
+
ref: a,
|
|
125
128
|
"tree-config": {
|
|
126
129
|
childrenField: "children",
|
|
127
130
|
lazy: !0,
|
|
128
131
|
hasChild: "hasChildren",
|
|
129
|
-
loadMethod:
|
|
132
|
+
loadMethod: _,
|
|
130
133
|
iconOpen: "ri-checkbox-indeterminate-line ri-lg",
|
|
131
134
|
iconClose: "ri-add-box-line ri-lg"
|
|
132
135
|
},
|
|
133
|
-
columns:
|
|
134
|
-
url:
|
|
136
|
+
columns: C,
|
|
137
|
+
url: s,
|
|
135
138
|
stripe: !1,
|
|
136
139
|
mode: "form",
|
|
137
|
-
onToolbarButtonClick:
|
|
140
|
+
onToolbarButtonClick: w
|
|
138
141
|
}, null, 8, ["tree-config"]), o(N, {
|
|
139
142
|
show: t.showDrawer,
|
|
140
143
|
record: t.record,
|
|
141
144
|
"data-status": t.dataStatus,
|
|
142
145
|
onClose: c
|
|
143
|
-
}, null, 8, ["show", "record", "data-status"]), o(
|
|
146
|
+
}, null, 8, ["show", "record", "data-status"]), o(P, {
|
|
144
147
|
show: t.showAuthority,
|
|
145
148
|
record: t.record,
|
|
146
149
|
onClose: c
|
|
@@ -149,5 +152,5 @@ const W = {
|
|
|
149
152
|
}
|
|
150
153
|
});
|
|
151
154
|
export {
|
|
152
|
-
|
|
155
|
+
G as default
|
|
153
156
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as R, ref as i, reactive as x, onBeforeMount as B, resolveComponent as d, createElementBlock as U, openBlock as m, createVNode as c, withCtx as $, createBlock as j, createCommentVNode as A, mergeProps as E, toHandlers as P } from "vue";
|
|
2
2
|
import { t as S } from "./await-to-js.es5-BtRbN2QH.js";
|
|
3
|
-
import { y as V } from "./index-
|
|
3
|
+
import { y as V } from "./index-DYT0k5Sg.js";
|
|
4
4
|
const q = { class: "u-dict-config_wrapper" }, D = /* @__PURE__ */ R({
|
|
5
5
|
__name: "UserInfo",
|
|
6
6
|
props: {
|
|
@@ -3,7 +3,7 @@ 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 h } from "./index-
|
|
6
|
+
import { y as p, i as h } from "./index-DYT0k5Sg.js";
|
|
7
7
|
import { clone as j } from "xe-utils";
|
|
8
8
|
const G = {
|
|
9
9
|
class: "u-dict-config_wrapper"
|
|
@@ -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-DYT0k5Sg.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-DYT0k5Sg.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-DYT0k5Sg.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-DYT0k5Sg.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-DYT0k5Sg.js";
|
|
4
4
|
const w = { class: "frame" }, S = ["src"], V = /* @__PURE__ */ _({
|
|
5
5
|
__name: "frameView",
|
|
6
6
|
setup(B) {
|