@utogether/udp-core 1.0.1-beta.23 → 1.0.1-beta.25
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-CVk0Zv7-.js → 403-CcK3Z1Ut.js} +1 -1
- package/dist/{404-ndDOUJxF.js → 404-Bo_CvpAq.js} +1 -1
- package/dist/{500-CBFigQjv.js → 500-D_PHJmAt.js} +1 -1
- package/dist/{AuthorityInfo-BDf4I8In.js → AuthorityInfo-BNyWnjft.js} +1 -1
- package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-cEIXuHBK.js → AuthorityInfo.vue_vue_type_style_index_0_lang-KAsR77o2.js} +1 -1
- package/dist/{Company-DYDDIDa5.js → Company-CDWGarmp.js} +3 -3
- package/dist/{CompanyPanel-DggYD4kC.js → CompanyPanel-CCaP8Akz.js} +1 -1
- package/dist/{Department-DqrAvwmT.js → Department-DKtHXR1d.js} +3 -3
- package/dist/{DepartmentPanel-BjhhDlhw.js → DepartmentPanel-ClhzUdEf.js} +1 -1
- package/dist/{DesignPanel-DAR2pcpF.js → DesignPanel-C07pQw5N.js} +1 -1
- package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-B8GPGq0h.js → DesignPanel.vue_vue_type_style_index_0_lang-Bs3tVdcr.js} +2 -2
- package/dist/{DictView-BcLgE6q2.js → DictView-BoSLIZQg.js} +16 -15
- package/dist/{InvOrganization-B61NWug9.js → InvOrganization-DLU5itCw.js} +1 -1
- package/dist/{Org-9tL7q4mS.js → Org-CsD3SR_w.js} +1 -1
- package/dist/{Preview-Bn4QDJ6s.js → Preview-CX4fXxW0.js} +1 -1
- package/dist/{ReportDefine-BMGU8p3z.js → ReportDefine-BwBNr_Oc.js} +1 -1
- package/dist/{ReportDesign-DkwxPGCT.js → ReportDesign-Cv2Bwvye.js} +2 -2
- package/dist/{ReportQuery-DOFFL8Nn.js → ReportQuery-B2uzUNww.js} +1 -1
- package/dist/{ReportQueryFrom-BDDlluNb.js → ReportQueryFrom-DYfXC2UY.js} +1 -1
- package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-Yqw26YrX.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-BpmudBiL.js} +1 -1
- package/dist/{ReportTemplate-DmFqn7ji.js → ReportTemplate-CJo-42IC.js} +1 -1
- package/dist/{Role-DGw_eao_.js → Role-bB1Q6Yha.js} +3 -3
- package/dist/{RoleAssign-BJ32jpGq.js → RoleAssign-Drw5pVP3.js} +3 -3
- package/dist/{RolePanel-DHS9C-hf.js → RolePanel--YCIdOp8.js} +1 -1
- package/dist/{RolePanel-B2O0mFtr.js → RolePanel-BDADA7Ki.js} +1 -1
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-CEYM_zn7.js → RolePanel.vue_vue_type_script_setup_true_lang-BqLVxcz-.js} +1 -1
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-T5FN19eF.js → RolePanel.vue_vue_type_script_setup_true_lang-CEJmE7mg.js} +3 -3
- package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-CeYU2NrW.js → ScrollPanel.vue_vue_type_style_index_0_lang-C_sqOcvc.js} +1 -1
- package/dist/{Staff-3Rejxejf.js → Staff-CM_RZn0q.js} +3 -3
- package/dist/{StaffInfo-C94C3Gj7.js → StaffInfo-BQowR-hf.js} +1 -1
- package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-Bm76KXps.js → StaffInfo.vue_vue_type_script_setup_true_lang-unmZZb3r.js} +1 -1
- package/dist/{StaffPanel-ClhiNL5a.js → StaffPanel-BYeVwLCJ.js} +1 -1
- package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-DjUOMmMr.js → StaffPanel.vue_vue_type_script_setup_true_lang-D5Z7wC3G.js} +2 -2
- package/dist/{SysUser-DUXK1KbY.js → SysUser-gQkVBVRy.js} +2 -2
- package/dist/{SysUserPanel-3HThXZFZ.js → SysUserPanel--NpQuDi_.js} +1 -1
- package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-DjbpSAOd.js → SysUserPanel.vue_vue_type_script_setup_true_lang-Dp2-Jj5B.js} +1 -1
- package/dist/{SystemMenu-C1CrBLIy.js → SystemMenu-_iRBXuJt.js} +39 -39
- package/dist/{UserInfo-C1tgO95t.js → UserInfo-FenstLY2.js} +1 -1
- package/dist/{UserInfo.vue_vue_type_style_index_0_lang-CNLWkLRN.js → UserInfo.vue_vue_type_style_index_0_lang-F1VcEy9W.js} +1 -1
- package/dist/{childView-CCr-NwqZ.js → childView-C1S10Kzx.js} +1 -1
- package/dist/{childView-CeYGykew.js → childView-Cl20RURS.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-IhbVX2Xa.js → childView.vue_vue_type_style_index_0_lang-CvXI-jWg.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-D9PsELsS.js → childView.vue_vue_type_style_index_0_lang-PkzzLPiF.js} +1 -1
- package/dist/{code-rule-BVjue1Qj.js → code-rule-DcLQh0J2.js} +1 -1
- package/dist/core.es.js +1 -1
- package/dist/{cron-task-BfVSQIgT.js → cron-task-DSTiWf2H.js} +1 -1
- package/dist/{frameView-D_YJavxB.js → frameView-BgULY6HL.js} +1 -1
- package/dist/index-CicLR1aC.js +2902 -0
- package/dist/{layoutView-DpxwrEJd.js → layoutView-CM8KvOD7.js} +1 -1
- package/dist/{login-8muEJPMg.js → login-Cn3mQTZK.js} +1 -1
- package/dist/{lov-view-DEp2h_qy.js → lov-view-Cb9MBjDA.js} +2 -2
- package/dist/{menuInfo-rPb4Ed8Q.js → menuInfo-DLMBNk6i.js} +1 -1
- package/dist/{menuInfo.vue_vue_type_style_index_0_lang-mtPuZDRn.js → menuInfo.vue_vue_type_style_index_0_lang-Ca1mQxmJ.js} +119 -99
- package/dist/{pda-app-CSrTwUo7.js → pda-app-BEMzxuBJ.js} +1 -1
- package/dist/{resource-B4Fsud2G.js → resource-BhHMd7QC.js} +1 -1
- package/dist/{su-welcome-DkwJ8pW8.js → su-welcome-BYm1CMJ2.js} +1 -1
- package/dist/{sys-config-CnMkBejC.js → sys-config-B3OKaUem.js} +1 -1
- package/dist/udp-core.css +1 -1
- package/package.json +1 -1
- package/src/main.ts +20 -20
- package/src/plugins/i18n/zh.ts +3 -1
- package/src/router/utils.ts +2 -2
- package/src/style/button.scss +85 -85
- package/src/views/system/menu/SystemMenu.vue +185 -183
- package/src/views/system/menu/menuInfo.vue +384 -363
- package/src/views/udev/dict/DictView.vue +118 -118
- package/dist/index-ZaDSQxcf.js +0 -6495
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createElementBlock as l, openBlock as a, createStaticVNode as m, defineComponent as r, resolveComponent as F, resolveDirective as n, createVNode as f, createElementVNode as M, unref as B, withDirectives as h, createTextVNode as e, createBlock as k, withCtx as u } from "vue";
|
|
2
2
|
import { useRouter as y, useRoute as C } from "vue-router";
|
|
3
|
-
import { C as v } from "./index-
|
|
3
|
+
import { C as v } from "./index-CicLR1aC.js";
|
|
4
4
|
const E = {
|
|
5
5
|
width: "251",
|
|
6
6
|
height: "294"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createElementBlock as l, openBlock as a, createStaticVNode as m, defineComponent as r, resolveComponent as n, resolveDirective as F, createVNode as f, createElementVNode as M, unref as v, withDirectives as p, createTextVNode as e, createBlock as B, withCtx as D } from "vue";
|
|
2
2
|
import { useRouter as C, useRoute as k } from "vue-router";
|
|
3
|
-
import { C as u } from "./index-
|
|
3
|
+
import { C as u } from "./index-CicLR1aC.js";
|
|
4
4
|
const y = {
|
|
5
5
|
width: "252",
|
|
6
6
|
height: "294"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createElementBlock as s, openBlock as a, createStaticVNode as o, defineComponent as r, resolveComponent as F, resolveDirective as f, createVNode as n, createElementVNode as M, unref as k, withDirectives as p, createTextVNode as e, createBlock as v, withCtx as B } from "vue";
|
|
2
2
|
import { useRouter as u, useRoute as C } from "vue-router";
|
|
3
|
-
import { C as D } from "./index-
|
|
3
|
+
import { C as D } from "./index-CicLR1aC.js";
|
|
4
4
|
const y = {
|
|
5
5
|
width: "254",
|
|
6
6
|
height: "294"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as N, ref as f, reactive as B, onBeforeMount as M, resolveComponent as n, resolveDirective as A, createElementBlock as p, openBlock as _, createVNode as t, withCtx as r, withDirectives as D, createElementVNode as K } from "vue";
|
|
2
|
-
import { w as c } from "./index-
|
|
2
|
+
import { w as c } from "./index-CicLR1aC.js";
|
|
3
3
|
import { t as S } from "./await-to-js.es5-BtRbN2QH.js";
|
|
4
4
|
const E = { class: "config" }, I = { style: { position: "relative", height: "100%" } }, H = /* @__PURE__ */ N({
|
|
5
5
|
__name: "AuthorityInfo",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as r, ref as e, provide as t, createElementBlock as i, openBlock as _, createElementVNode as o, createVNode as n } from "vue";
|
|
2
|
-
import { _ as m } from "./ScrollPanel.vue_vue_type_style_index_0_lang-
|
|
3
|
-
import p from "./CompanyPanel-
|
|
4
|
-
import { _ as d } from "./index-
|
|
2
|
+
import { _ as m } from "./ScrollPanel.vue_vue_type_style_index_0_lang-C_sqOcvc.js";
|
|
3
|
+
import p from "./CompanyPanel-CCaP8Akz.js";
|
|
4
|
+
import { _ as d } from "./index-CicLR1aC.js";
|
|
5
5
|
const f = { class: "u-content-panel" }, u = { class: "u-left-panel" }, h = { class: "content" }, v = /* @__PURE__ */ r({
|
|
6
6
|
__name: "Company",
|
|
7
7
|
setup(C) {
|
|
@@ -4,7 +4,7 @@ import { VxeUI as U } from "vxe-table";
|
|
|
4
4
|
import { templateRef as R } from "@vueuse/core";
|
|
5
5
|
import { clone as z } from "xe-utils";
|
|
6
6
|
import { warnMessage as G, successMessage as H } from "@utogether/utils";
|
|
7
|
-
import { w as J, _ as K } from "./index-
|
|
7
|
+
import { w as J, _ as K } from "./index-CicLR1aC.js";
|
|
8
8
|
const O = { class: "page-content" }, _ = "/uums/unit", Q = /* @__PURE__ */ V({
|
|
9
9
|
__name: "CompanyPanel",
|
|
10
10
|
setup(W) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as l, ref as e, provide as t, createElementBlock as i, openBlock as m, createElementVNode as n, createVNode as o } from "vue";
|
|
2
|
-
import { _ as p } from "./ScrollPanel.vue_vue_type_style_index_0_lang-
|
|
3
|
-
import _ from "./DepartmentPanel-
|
|
4
|
-
import { _ as d } from "./index-
|
|
2
|
+
import { _ as p } from "./ScrollPanel.vue_vue_type_style_index_0_lang-C_sqOcvc.js";
|
|
3
|
+
import _ from "./DepartmentPanel-ClhzUdEf.js";
|
|
4
|
+
import { _ as d } from "./index-CicLR1aC.js";
|
|
5
5
|
const f = { class: "u-content-panel" }, u = { class: "u-left-panel" }, h = { class: "content" }, v = /* @__PURE__ */ l({
|
|
6
6
|
__name: "Department",
|
|
7
7
|
setup(D) {
|
|
@@ -5,7 +5,7 @@ import { clone as G } from "xe-utils";
|
|
|
5
5
|
import { t as k } from "./await-to-js.es5-BtRbN2QH.js";
|
|
6
6
|
import { VXETable as J } from "vxe-table";
|
|
7
7
|
import { warnMessage as K, successMessage as O } from "@utogether/utils";
|
|
8
|
-
import { i as Q, w as W, _ as Z } from "./index-
|
|
8
|
+
import { i as Q, w as W, _ as Z } from "./index-CicLR1aC.js";
|
|
9
9
|
const ee = { class: "page-content" }, y = "/uums/department", te = /* @__PURE__ */ V({
|
|
10
10
|
__name: "DepartmentPanel",
|
|
11
11
|
setup(ae) {
|
|
@@ -3,8 +3,8 @@ import { VxeUI as O } from "vxe-pc-ui";
|
|
|
3
3
|
import { useGlobal as ut } from "@utogether/utils";
|
|
4
4
|
import { t as mt } from "./await-to-js.es5-BtRbN2QH.js";
|
|
5
5
|
import { clone as ft } from "xe-utils";
|
|
6
|
-
import { i as gt, w as yt } from "./index-
|
|
7
|
-
import vt from "./Preview-
|
|
6
|
+
import { i as gt, w as yt } from "./index-CicLR1aC.js";
|
|
7
|
+
import vt from "./Preview-CX4fXxW0.js";
|
|
8
8
|
const xt = {
|
|
9
9
|
panels: [
|
|
10
10
|
{
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as v, ref as
|
|
2
|
-
import { _ as T } from "./childView.vue_vue_type_style_index_0_lang-
|
|
1
|
+
import { defineComponent as v, ref as i, createVNode as c, resolveComponent as s, nextTick as g, createElementBlock as C, openBlock as u, createBlock as k, createCommentVNode as D } from "vue";
|
|
2
|
+
import { _ as T } from "./childView.vue_vue_type_style_index_0_lang-PkzzLPiF.js";
|
|
3
3
|
import { useRender as E } from "@utogether/utils";
|
|
4
4
|
const y = {
|
|
5
5
|
name: "DictView"
|
|
6
|
-
},
|
|
6
|
+
}, w = /* @__PURE__ */ v({
|
|
7
7
|
...y,
|
|
8
8
|
setup(N) {
|
|
9
|
-
const
|
|
9
|
+
const o = i(null), a = [{
|
|
10
10
|
field: "dictCode",
|
|
11
11
|
title: "message.udp.dictCode"
|
|
12
12
|
}, {
|
|
@@ -16,7 +16,7 @@ const y = {
|
|
|
16
16
|
field: "dictType",
|
|
17
17
|
title: "message.udp.dictType",
|
|
18
18
|
code: "SU.DICT.TYPE"
|
|
19
|
-
}], t = E(),
|
|
19
|
+
}], t = E(), l = [
|
|
20
20
|
{
|
|
21
21
|
type: "checkbox",
|
|
22
22
|
width: 40,
|
|
@@ -66,36 +66,37 @@ const y = {
|
|
|
66
66
|
slots: {
|
|
67
67
|
default: ({
|
|
68
68
|
row: e
|
|
69
|
-
}) => e.id ? [
|
|
69
|
+
}) => e.id ? [c(s("ut-button"), {
|
|
70
70
|
content: "lov",
|
|
71
71
|
onClick: () => m(e)
|
|
72
72
|
}, null)] : null
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
|
-
], d =
|
|
75
|
+
], d = i(!1), r = i(null), m = (e) => {
|
|
76
76
|
g(() => {
|
|
77
77
|
var n;
|
|
78
78
|
d.value = !0, r.value = e, r.value.total = (n = e.children) == null ? void 0 : n.length;
|
|
79
79
|
});
|
|
80
80
|
}, f = () => {
|
|
81
|
-
|
|
81
|
+
o.value.refreshData(), d.value = !1;
|
|
82
82
|
}, p = {
|
|
83
83
|
editActived({
|
|
84
84
|
row: e
|
|
85
85
|
}) {
|
|
86
|
+
l[1].editRender.props.disabled = !!e.id;
|
|
86
87
|
}
|
|
87
88
|
}, h = (e) => e.dictType !== "0";
|
|
88
89
|
return (e, n) => {
|
|
89
|
-
const _ =
|
|
90
|
-
return
|
|
90
|
+
const _ = s("ut-grid");
|
|
91
|
+
return u(), C("div", null, [c(_, {
|
|
91
92
|
ref_key: "xgrid",
|
|
92
|
-
ref:
|
|
93
|
-
items:
|
|
94
|
-
columns:
|
|
93
|
+
ref: o,
|
|
94
|
+
items: a,
|
|
95
|
+
columns: l,
|
|
95
96
|
"check-method": h,
|
|
96
97
|
events: p,
|
|
97
98
|
url: "/upfm/v1/lov"
|
|
98
|
-
}, null, 512), d.value ? (
|
|
99
|
+
}, null, 512), d.value ? (u(), k(T, {
|
|
99
100
|
key: 0,
|
|
100
101
|
show: d.value,
|
|
101
102
|
record: r.value,
|
|
@@ -105,5 +106,5 @@ const y = {
|
|
|
105
106
|
}
|
|
106
107
|
});
|
|
107
108
|
export {
|
|
108
|
-
|
|
109
|
+
w as default
|
|
109
110
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as u, ref as m, reactive as c, resolveComponent as g, createBlock as p, openBlock as f } from "vue";
|
|
2
2
|
import { t as _ } from "./await-to-js.es5-BtRbN2QH.js";
|
|
3
3
|
import { useRender as z } from "@utogether/utils";
|
|
4
|
-
import { w as h } from "./index-
|
|
4
|
+
import { w as h } from "./index-CicLR1aC.js";
|
|
5
5
|
const C = {
|
|
6
6
|
name: "InvOrganization"
|
|
7
7
|
}, x = /* @__PURE__ */ u({
|
|
@@ -2,7 +2,7 @@ import { defineComponent as a, ref as m, resolveComponent as u, createBlock as c
|
|
|
2
2
|
import { t as p } from "./await-to-js.es5-BtRbN2QH.js";
|
|
3
3
|
import { clone as f } from "xe-utils";
|
|
4
4
|
import { useRender as _ } from "@utogether/utils";
|
|
5
|
-
import { w as h } from "./index-
|
|
5
|
+
import { w as h } from "./index-CicLR1aC.js";
|
|
6
6
|
const C = { name: "OrgUnit" }, y = /* @__PURE__ */ a({
|
|
7
7
|
...C,
|
|
8
8
|
setup(k) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as w, ref as o, resolveComponent as u, createElementBlock as h, openBlock as x, createVNode as c, withCtx as p, createElementVNode as g, nextTick as V } from "vue";
|
|
2
|
-
import { _ as k } from "./index-
|
|
2
|
+
import { _ as k } from "./index-CicLR1aC.js";
|
|
3
3
|
const P = { class: "ut-preview-contain" }, C = /* @__PURE__ */ w({
|
|
4
4
|
__name: "Preview",
|
|
5
5
|
setup(T, { expose: d }) {
|
|
@@ -2,8 +2,8 @@ import { defineComponent as I, ref as s, createVNode as r, Fragment as b, resolv
|
|
|
2
2
|
import { useRender as S, successMessage as $ } from "@utogether/utils";
|
|
3
3
|
import { useClipboard as V } from "@vueuse/core";
|
|
4
4
|
import { t as B } from "./await-to-js.es5-BtRbN2QH.js";
|
|
5
|
-
import { _ as M } from "./DesignPanel.vue_vue_type_style_index_0_lang-
|
|
6
|
-
import { w as U } from "./index-
|
|
5
|
+
import { _ as M } from "./DesignPanel.vue_vue_type_style_index_0_lang-Bs3tVdcr.js";
|
|
6
|
+
import { w as U } from "./index-CicLR1aC.js";
|
|
7
7
|
const f = "/urpt/v1/printTemplate", K = /* @__PURE__ */ I({
|
|
8
8
|
name: "ReportDesign",
|
|
9
9
|
__name: "ReportDesign",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as m, reactive as c, watch as f, ref as p, onMounted as u, resolveComponent as h, createElementBlock as _, openBlock as r, withDirectives as w, createBlock as x, createCommentVNode as D, createVNode as R, vShow as C } from "vue";
|
|
2
2
|
import { useRoute as S } from "vue-router";
|
|
3
|
-
import { _ as g } from "./ReportQueryFrom.vue_vue_type_style_index_0_lang-
|
|
3
|
+
import { _ as g } from "./ReportQueryFrom.vue_vue_type_style_index_0_lang-BpmudBiL.js";
|
|
4
4
|
import { useRender as N } from "@utogether/utils";
|
|
5
5
|
const T = { name: "ReportQuery" }, O = /* @__PURE__ */ m({
|
|
6
6
|
...T,
|
|
@@ -3,7 +3,7 @@ import { useI18n as z } from "vue-i18n";
|
|
|
3
3
|
import { clone as A } from "xe-utils";
|
|
4
4
|
import { useRoute as J } from "vue-router";
|
|
5
5
|
import { templateRef as O } from "@vueuse/core";
|
|
6
|
-
import { w as V } from "./index-
|
|
6
|
+
import { w as V } from "./index-CicLR1aC.js";
|
|
7
7
|
import { useRender as Y } from "@utogether/utils";
|
|
8
8
|
const H = { class: "ut-drawer-template" }, M = { class: "flex" }, te = /* @__PURE__ */ T({
|
|
9
9
|
__name: "ReportQueryFrom",
|
|
@@ -2,7 +2,7 @@ import { defineComponent as E, ref as r, createVNode as p, Fragment as S, resolv
|
|
|
2
2
|
import { useI18n as q } from "vue-i18n";
|
|
3
3
|
import { clone as U } from "xe-utils";
|
|
4
4
|
import { useRender as V, successMessage as B, warnMessage as M } from "@utogether/utils";
|
|
5
|
-
import { i as C, w as D } from "./index-
|
|
5
|
+
import { i as C, w as D } from "./index-CicLR1aC.js";
|
|
6
6
|
const I = "/upms/v1/printTemplateConfig", L = /* @__PURE__ */ E({
|
|
7
7
|
__name: "ReportTemplate",
|
|
8
8
|
setup(W) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as r, ref as e, provide as t, createElementBlock as i, openBlock as _, createElementVNode as o, createVNode as n } from "vue";
|
|
2
|
-
import { _ as m } from "./ScrollPanel.vue_vue_type_style_index_0_lang-
|
|
3
|
-
import { _ as d } from "./RolePanel.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { _ as p } from "./index-
|
|
2
|
+
import { _ as m } from "./ScrollPanel.vue_vue_type_style_index_0_lang-C_sqOcvc.js";
|
|
3
|
+
import { _ as d } from "./RolePanel.vue_vue_type_script_setup_true_lang-CEJmE7mg.js";
|
|
4
|
+
import { _ as p } from "./index-CicLR1aC.js";
|
|
5
5
|
const f = { class: "u-content-panel" }, u = { class: "u-left-panel" }, h = { class: "content" }, v = /* @__PURE__ */ r({
|
|
6
6
|
__name: "Role",
|
|
7
7
|
setup(C) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as l, ref as e, provide as t, createElementBlock as i, openBlock as _, createElementVNode as o, createVNode as s } from "vue";
|
|
2
|
-
import { _ as m } from "./ScrollPanel.vue_vue_type_style_index_0_lang-
|
|
3
|
-
import { _ as p } from "./RolePanel.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { _ as d } from "./index-
|
|
2
|
+
import { _ as m } from "./ScrollPanel.vue_vue_type_style_index_0_lang-C_sqOcvc.js";
|
|
3
|
+
import { _ as p } from "./RolePanel.vue_vue_type_script_setup_true_lang-BqLVxcz-.js";
|
|
4
|
+
import { _ as d } from "./index-CicLR1aC.js";
|
|
5
5
|
const f = { class: "u-content-panel" }, u = { class: "u-left-panel" }, g = { class: "content" }, h = /* @__PURE__ */ l({
|
|
6
6
|
__name: "RoleAssign",
|
|
7
7
|
setup(v) {
|
|
@@ -4,7 +4,7 @@ import { clone as $ } from "xe-utils";
|
|
|
4
4
|
import { VxeUI as j } from "vxe-pc-ui";
|
|
5
5
|
import { t as v } from "./await-to-js.es5-BtRbN2QH.js";
|
|
6
6
|
import { successMessage as _ } from "@utogether/utils";
|
|
7
|
-
import { w as C } from "./index-
|
|
7
|
+
import { w as C } from "./index-CicLR1aC.js";
|
|
8
8
|
const q = {
|
|
9
9
|
class: "page-content"
|
|
10
10
|
}, d = "/uums/orgRole", X = /* @__PURE__ */ b({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as S, reactive as I, inject as M, ref as l, watch as B, createVNode as s, Fragment as E, resolveComponent as r, createElementBlock as $, openBlock as d, createBlock as i, createCommentVNode as c } from "vue";
|
|
2
2
|
import { useRender as O } from "@utogether/utils";
|
|
3
|
-
import { _ as P } from "./AuthorityInfo.vue_vue_type_style_index_0_lang-
|
|
4
|
-
import { _ as R } from "./UserInfo.vue_vue_type_style_index_0_lang-
|
|
5
|
-
import { w as T, i as q } from "./index-
|
|
3
|
+
import { _ as P } from "./AuthorityInfo.vue_vue_type_style_index_0_lang-KAsR77o2.js";
|
|
4
|
+
import { _ as R } from "./UserInfo.vue_vue_type_style_index_0_lang-F1VcEy9W.js";
|
|
5
|
+
import { w as T, i as q } from "./index-CicLR1aC.js";
|
|
6
6
|
const H = {
|
|
7
7
|
class: "page-content"
|
|
8
8
|
}, K = /* @__PURE__ */ S({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as N, ref as k, inject as p, watch as A, nextTick as L, resolveComponent as f, createElementBlock as D, openBlock as v, withModifiers as O, createElementVNode as a, createBlock as C, createCommentVNode as g, createVNode as y, toDisplayString as _, withCtx as S, normalizeClass as V } from "vue";
|
|
2
|
-
import { w as j } from "./index-
|
|
2
|
+
import { w as j } from "./index-CicLR1aC.js";
|
|
3
3
|
const M = { class: "u-panel-header" }, $ = { class: "u-panel-content system-scrollbar" }, K = /* @__PURE__ */ N({
|
|
4
4
|
__name: "ScrollPanel",
|
|
5
5
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as l, ref as e, provide as t, createElementBlock as _, openBlock as i, createElementVNode as n, createVNode as a } from "vue";
|
|
2
|
-
import { _ as m } from "./ScrollPanel.vue_vue_type_style_index_0_lang-
|
|
3
|
-
import { _ as d } from "./StaffPanel.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { _ as p } from "./index-
|
|
2
|
+
import { _ as m } from "./ScrollPanel.vue_vue_type_style_index_0_lang-C_sqOcvc.js";
|
|
3
|
+
import { _ as d } from "./StaffPanel.vue_vue_type_script_setup_true_lang-D5Z7wC3G.js";
|
|
4
|
+
import { _ as p } from "./index-CicLR1aC.js";
|
|
5
5
|
const f = { class: "u-content-panel" }, u = { class: "u-left-panel" }, h = { class: "content" }, v = { name: "StaffPanel" }, C = /* @__PURE__ */ l({
|
|
6
6
|
...v,
|
|
7
7
|
setup(N) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as b, ref as u, onMounted as D, resolveComponent as r, createElementBlock as E, openBlock as k, createVNode as n, withCtx as f } from "vue";
|
|
2
2
|
import { useRender as F } from "@utogether/utils";
|
|
3
|
-
import { w as _ } from "./index-
|
|
3
|
+
import { w as _ } from "./index-CicLR1aC.js";
|
|
4
4
|
const T = { class: "config" }, x = /* @__PURE__ */ b({
|
|
5
5
|
__name: "StaffInfo",
|
|
6
6
|
props: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as b, ref as g, inject as w, reactive as x, watch as y, nextTick as E, resolveComponent as l, createElementBlock as N, openBlock as c, createVNode as d, createBlock as k, createCommentVNode as C, Fragment as S } from "vue";
|
|
2
2
|
import { clone as D } from "xe-utils";
|
|
3
3
|
import { warnMessage as M } from "@utogether/utils";
|
|
4
|
-
import { _ as B } from "./StaffInfo.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { w as P } from "./index-
|
|
4
|
+
import { _ as B } from "./StaffInfo.vue_vue_type_script_setup_true_lang-unmZZb3r.js";
|
|
5
|
+
import { w as P } from "./index-CicLR1aC.js";
|
|
6
6
|
const A = {
|
|
7
7
|
class: "page-content"
|
|
8
8
|
}, s = "/uums/employee", j = /* @__PURE__ */ b({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as t, ref as o, provide as s, createElementBlock as r, openBlock as c, createVNode as _ } from "vue";
|
|
2
|
-
import { _ as n } from "./SysUserPanel.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { _ as a } from "./index-
|
|
2
|
+
import { _ as n } from "./SysUserPanel.vue_vue_type_script_setup_true_lang-Dp2-Jj5B.js";
|
|
3
|
+
import { _ as a } from "./index-CicLR1aC.js";
|
|
4
4
|
const p = { class: "u-content-panel1" }, i = /* @__PURE__ */ t({
|
|
5
5
|
__name: "SysUser",
|
|
6
6
|
setup(m) {
|
|
@@ -4,7 +4,7 @@ import { t as S } from "./await-to-js.es5-BtRbN2QH.js";
|
|
|
4
4
|
import { useRender as ue, warnMessage as me, delay as ce, errorMessage as fe, getDictChildren as pe } from "@utogether/utils";
|
|
5
5
|
import { VxeUI as ge } from "vxe-pc-ui";
|
|
6
6
|
import { clone as U, isEmpty as he } from "xe-utils";
|
|
7
|
-
import { w as we } from "./index-
|
|
7
|
+
import { w as we } from "./index-CicLR1aC.js";
|
|
8
8
|
const ve = {
|
|
9
9
|
class: "page"
|
|
10
10
|
}, i = "/uums/user", ke = /* @__PURE__ */ oe({
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as k, reactive as S, ref as v, createVNode as n, resolveComponent as i, Fragment as m, createElementBlock as A, openBlock as D } from "vue";
|
|
2
2
|
import { useI18n as E } from "vue-i18n";
|
|
3
|
-
import { _ as
|
|
4
|
-
import { _ as
|
|
3
|
+
import { _ as N } from "./menuInfo.vue_vue_type_style_index_0_lang-Ca1mQxmJ.js";
|
|
4
|
+
import { _ as I } from "./AuthorityPanel.vue_vue_type_style_index_0_lang-CIYmnP9-.js";
|
|
5
5
|
import { clone as p } from "xe-utils";
|
|
6
6
|
import { t as M } from "./await-to-js.es5-BtRbN2QH.js";
|
|
7
|
-
import { VxeUI as
|
|
8
|
-
import { useRender as
|
|
9
|
-
import { w as
|
|
10
|
-
const
|
|
7
|
+
import { VxeUI as P } from "vxe-pc-ui";
|
|
8
|
+
import { useRender as R } from "@utogether/utils";
|
|
9
|
+
import { w as U } from "./index-CicLR1aC.js";
|
|
10
|
+
const B = {
|
|
11
11
|
class: "page-content"
|
|
12
|
-
},
|
|
12
|
+
}, L = {
|
|
13
13
|
name: "SystemMenu"
|
|
14
|
-
}, q = /* @__PURE__ */
|
|
15
|
-
...
|
|
16
|
-
setup(
|
|
17
|
-
const t =
|
|
14
|
+
}, q = /* @__PURE__ */ k({
|
|
15
|
+
...L,
|
|
16
|
+
setup(z) {
|
|
17
|
+
const t = S({
|
|
18
18
|
record: {},
|
|
19
19
|
dataList: [],
|
|
20
20
|
submitLoading: !1,
|
|
@@ -27,9 +27,9 @@ const P = {
|
|
|
27
27
|
}
|
|
28
28
|
}), {
|
|
29
29
|
t: h
|
|
30
|
-
} = E(), f =
|
|
30
|
+
} = E(), f = R(), d = U(), r = v(null), s = "/uums/menu";
|
|
31
31
|
let l;
|
|
32
|
-
const
|
|
32
|
+
const w = [{
|
|
33
33
|
type: "checkbox",
|
|
34
34
|
width: 50,
|
|
35
35
|
align: "center"
|
|
@@ -66,81 +66,81 @@ const P = {
|
|
|
66
66
|
default: ({
|
|
67
67
|
row: e
|
|
68
68
|
}) => {
|
|
69
|
-
const
|
|
69
|
+
const o = e.menuType, a = n(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), x =
|
|
74
|
+
}, null), x = n(i("ut-button"), {
|
|
75
75
|
icon: "ri-lock-fill",
|
|
76
76
|
content: "auth",
|
|
77
77
|
onTap: () => b(e)
|
|
78
78
|
}, null);
|
|
79
|
-
return [
|
|
79
|
+
return [n(m, null, [o ? null : n(m, null, [n(i("ut-button"), {
|
|
80
80
|
status: "success",
|
|
81
81
|
icon: "ri-edit-box-line",
|
|
82
82
|
content: "edit",
|
|
83
|
-
onTap: () =>
|
|
83
|
+
onTap: () => y(e)
|
|
84
84
|
}, null), ["0", "5"].includes(e.menuCategory) ? a : x])])];
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
|
-
}],
|
|
87
|
+
}], C = ({
|
|
88
88
|
code: e
|
|
89
89
|
}) => {
|
|
90
90
|
e === "add" && u(), e === "del" && T();
|
|
91
|
-
},
|
|
91
|
+
}, g = async ({
|
|
92
92
|
row: e
|
|
93
93
|
}) => {
|
|
94
|
-
const
|
|
94
|
+
const o = await d.get(s, {
|
|
95
95
|
parentId: e.id
|
|
96
96
|
});
|
|
97
97
|
return new Promise((a) => {
|
|
98
|
-
a(
|
|
98
|
+
a(o.list);
|
|
99
99
|
});
|
|
100
100
|
}, u = (e) => {
|
|
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.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
|
-
},
|
|
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
|
+
}, y = (e) => {
|
|
103
103
|
t.showDrawer = !0, t.dataStatus = "update", t.record = p(e, !0), t.record.menuType = t.record.menuType.toString(), t.record.dispalyCode = e.permissionCode;
|
|
104
104
|
};
|
|
105
105
|
async function _({
|
|
106
106
|
row: e
|
|
107
107
|
}) {
|
|
108
|
-
await d.put(
|
|
108
|
+
await d.put(s, [e]), r.value.refreshData();
|
|
109
109
|
}
|
|
110
110
|
const T = async () => {
|
|
111
|
-
const e = await
|
|
111
|
+
const e = await P.modal.confirm(h("message.delRecord")), o = r.value.getInstance().getCheckboxRecords();
|
|
112
112
|
if (e === "confirm") {
|
|
113
|
-
const [a] = await M(d.delete(
|
|
113
|
+
const [a] = await M(d.delete(s, o));
|
|
114
114
|
}
|
|
115
115
|
}, b = (e) => {
|
|
116
116
|
t.showAuthority = !0, t.dataStatus = "update", t.record = p(e, !0), t.record.menuType = t.record.menuType.toString(), t.record.dispalyCode = e.permissionCode;
|
|
117
|
-
}, c = (e,
|
|
118
|
-
e === "submit" && (l ||
|
|
117
|
+
}, c = (e, o) => {
|
|
118
|
+
e === "submit" && (l || o) && r.value.getInstance().reloadTreeExpand(l || o), t.record = {}, t.showDrawer = !1, t.showAuthority = !1;
|
|
119
119
|
};
|
|
120
|
-
return (e,
|
|
121
|
-
const a =
|
|
122
|
-
return
|
|
120
|
+
return (e, o) => {
|
|
121
|
+
const a = i("ut-grid");
|
|
122
|
+
return D(), A("div", B, [n(a, {
|
|
123
123
|
ref_key: "xgrid",
|
|
124
|
-
ref:
|
|
124
|
+
ref: r,
|
|
125
125
|
"tree-config": {
|
|
126
126
|
childrenField: "children",
|
|
127
127
|
lazy: !0,
|
|
128
128
|
hasChild: "hasChildren",
|
|
129
|
-
loadMethod:
|
|
129
|
+
loadMethod: g,
|
|
130
130
|
iconOpen: "ri-checkbox-indeterminate-line ri-lg",
|
|
131
131
|
iconClose: "ri-add-box-line ri-lg"
|
|
132
132
|
},
|
|
133
|
-
columns:
|
|
134
|
-
url:
|
|
133
|
+
columns: w,
|
|
134
|
+
url: s,
|
|
135
135
|
stripe: !1,
|
|
136
136
|
mode: "form",
|
|
137
|
-
onToolbarButtonClick:
|
|
138
|
-
}, null, 8, ["tree-config"]),
|
|
137
|
+
onToolbarButtonClick: C
|
|
138
|
+
}, null, 8, ["tree-config"]), n(N, {
|
|
139
139
|
show: t.showDrawer,
|
|
140
140
|
record: t.record,
|
|
141
141
|
"data-status": t.dataStatus,
|
|
142
142
|
onClose: c
|
|
143
|
-
}, null, 8, ["show", "record", "data-status"]),
|
|
143
|
+
}, null, 8, ["show", "record", "data-status"]), n(I, {
|
|
144
144
|
show: t.showAuthority,
|
|
145
145
|
record: t.record,
|
|
146
146
|
onClose: c
|
|
@@ -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 { w as V } from "./index-
|
|
3
|
+
import { w as V } from "./index-CicLR1aC.js";
|
|
4
4
|
const q = { class: "u-dict-config_wrapper" }, D = /* @__PURE__ */ R({
|
|
5
5
|
__name: "UserInfo",
|
|
6
6
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as V, ref as a, resolveComponent as o, resolveDirective as F, createElementBlock as h, 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 $, w as f } from "./index-
|
|
4
|
+
import { i as $, w as f } from "./index-CicLR1aC.js";
|
|
5
5
|
const B = { class: "ut-loview-wrapper" }, Y = "/upfm/v1/lovViewHeader", m = "/upfm/v1/lovViewLine", G = /* @__PURE__ */ V({
|
|
6
6
|
__name: "childView",
|
|
7
7
|
props: {
|