@utogether/udp-core 1.0.2 → 1.0.4
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-B1rIjAAu.js → 403-DASI6Pwz.js} +1 -1
- package/dist/{404-mBqc2y4t.js → 404-YhBA92cb.js} +1 -1
- package/dist/{500-BoI45Zdh.js → 500-ywbFF5MX.js} +1 -1
- package/dist/{AuthorityInfo-B08NBIIn.js → AuthorityInfo-tCSX2Fh7.js} +1 -1
- package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-BLP1SaiH.js → AuthorityInfo.vue_vue_type_style_index_0_lang-Cwd6UT2i.js} +1 -1
- package/dist/{Company-JGGyWEWH.js → Company-l23MEzdM.js} +3 -3
- package/dist/{CompanyPanel-BQ_cCmDx.js → CompanyPanel-D_s0rh6h.js} +1 -1
- package/dist/{Department-z2iO6hwM.js → Department-DSEvORLg.js} +3 -3
- package/dist/{DepartmentPanel-BtQe7zwU.js → DepartmentPanel-WN8nOgCV.js} +1 -1
- package/dist/{DesignPanel-7mhtVWas.js → DesignPanel-DirEGh9M.js} +1 -1
- package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-4EsHemj_.js → DesignPanel.vue_vue_type_style_index_0_lang-D02hXSrN.js} +2 -2
- package/dist/{DictView-CjchV2Yk.js → DictView-DiIQdiek.js} +10 -9
- package/dist/{InvOrganization-Pn1O_XP0.js → InvOrganization-b7v3g9EJ.js} +1 -1
- package/dist/{Org-BqytV_vi.js → Org-BORfx1PL.js} +1 -1
- package/dist/{Preview-CLpUUMay.js → Preview-DkRn_TSc.js} +1 -1
- package/dist/{ReportDefine-Cz1KtEUF.js → ReportDefine-Cd0QeaWA.js} +1 -1
- package/dist/{ReportDesign-BaORYud4.js → ReportDesign-4qNqyeEW.js} +2 -2
- package/dist/{ReportQuery-CPCPXiXz.js → ReportQuery-BJfTFpec.js} +1 -1
- package/dist/{ReportQueryFrom-C_AcrfkJ.js → ReportQueryFrom-CB7sExZx.js} +1 -1
- package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-Bm67ejay.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-CqO_2Ier.js} +1 -1
- package/dist/{ReportTemplate-CFiNMz79.js → ReportTemplate-B69muSgT.js} +1 -1
- package/dist/{Role-B-XDoJd5.js → Role-Bo4YrNDC.js} +3 -3
- package/dist/{RoleAssign-BolW8YVs.js → RoleAssign-kOMYJ4s3.js} +3 -3
- package/dist/{RolePanel-HilSuYns.js → RolePanel-B1d4e6uk.js} +1 -1
- package/dist/{RolePanel-2kfs5tw9.js → RolePanel-BSJmjyqc.js} +1 -1
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-CE4gApUY.js → RolePanel.vue_vue_type_script_setup_true_lang-DCzX-ZP_.js} +1 -1
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-DPzgfAyV.js → RolePanel.vue_vue_type_script_setup_true_lang-DgQpfjaU.js} +3 -3
- package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-CCTH4RkH.js → ScrollPanel.vue_vue_type_style_index_0_lang-WNOYFxJ1.js} +1 -1
- package/dist/{Staff-BTk3whFC.js → Staff-BFp3zNNR.js} +3 -3
- package/dist/{StaffInfo-d3AuSzlA.js → StaffInfo-DcU9_40C.js} +1 -1
- package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-eOL4VlfE.js → StaffInfo.vue_vue_type_script_setup_true_lang-CtfN2CAr.js} +1 -1
- package/dist/{StaffPanel-DV-D4jjz.js → StaffPanel-7exWkZd9.js} +1 -1
- package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-4sFq3CEo.js → StaffPanel.vue_vue_type_script_setup_true_lang-v5xOXKRS.js} +47 -39
- package/dist/{SysUser-BnjYytws.js → SysUser-B3uB_cp2.js} +2 -2
- package/dist/{SysUserPanel-CBoyD-Qi.js → SysUserPanel-B0CLp5AO.js} +1 -1
- package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-PrTlTZR-.js → SysUserPanel.vue_vue_type_script_setup_true_lang-Cwea_4dY.js} +1 -1
- package/dist/{SystemMenu-kYB_ZaUt.js → SystemMenu-a59l4hTk.js} +28 -28
- package/dist/{UserInfo-4dx97VBL.js → UserInfo-D1IA2oLt.js} +1 -1
- package/dist/{UserInfo.vue_vue_type_style_index_0_lang-BpbC_ZDm.js → UserInfo.vue_vue_type_style_index_0_lang-DDVgYRD5.js} +1 -1
- package/dist/{childView-CHPNfTEb.js → childView-6rCeLcsx.js} +1 -1
- package/dist/{childView-CKA_JgVZ.js → childView-JdrkroL5.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-Bym2fQRd.js → childView.vue_vue_type_style_index_0_lang-B8x99f1B.js} +19 -20
- package/dist/{childView.vue_vue_type_style_index_0_lang-W7bCtXeu.js → childView.vue_vue_type_style_index_0_lang-BfcnWnx9.js} +31 -31
- package/dist/{code-rule-CbxuZg0-.js → code-rule-2lkPF547.js} +1 -1
- package/dist/core.es.js +1 -1
- package/dist/{cron-task-nTOpqQYf.js → cron-task-DV1pGO1m.js} +1 -1
- package/dist/{frameView-Z1tPUyCh.js → frameView-C0bzSB8c.js} +1 -1
- package/dist/{index-C3q8HoJM.js → index-BbtbEMCH.js} +64 -65
- package/dist/{layoutView--MGA9zUB.js → layoutView-CTV-E4Cj.js} +1 -1
- package/dist/{log-in-CSYJDA6m.js → log-in-CoBP2x6u.js} +1 -1
- package/dist/{log-out-DiwGCg7p.js → log-out-KX8FiRVf.js} +1 -1
- package/dist/{login-C6Y0ajDp.js → login-CtCoGWzD.js} +1 -1
- package/dist/{login-log-C0V-_l3F.js → login-log-DJBGJVV0.js} +4 -4
- package/dist/{lov-view-Cmv7wZZ9.js → lov-view-Bm0JEzzg.js} +2 -2
- package/dist/{menuInfo-UeutJpOa.js → menuInfo-D2qPoRwz.js} +1 -1
- package/dist/{menuInfo.vue_vue_type_style_index_0_lang-CWX4Mu67.js → menuInfo.vue_vue_type_style_index_0_lang-DoQjX9Ly.js} +1 -1
- package/dist/{pda-app-B6w99SJo.js → pda-app-SbcIclbH.js} +1 -1
- package/dist/{resource-BybJvUv0.js → resource-Cdq1UKGI.js} +1 -1
- package/dist/{su-welcome-C1bmxHoY.js → su-welcome-BHDsjqqV.js} +20 -20
- package/dist/{sys-config-BnmIDnCj.js → sys-config-CCOf4xbj.js} +1 -1
- package/package.json +1 -1
- package/src/plugins/vxe-table/index.ts +116 -116
- package/src/plugins/vxe-table/render.tsx +950 -945
- package/src/utils/dataFormat/index.ts +17 -18
- package/src/views/organization/staff/StaffPanel.vue +12 -3
- package/src/views/system/menu/SystemMenu.vue +185 -185
- package/src/views/udev/dict/DictView.vue +2 -2
- package/src/views/udev/dict/childView.vue +6 -6
- package/src/views/udev/lov/childView.vue +174 -174
- package/src/views/uhome/components/menu-favorite.vue +3 -2
- package/src/views/upms/user/login-log.vue +5 -5
|
@@ -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 v } from "vue-router";
|
|
3
|
-
import { H as C } from "./index-
|
|
3
|
+
import { H as C } from "./index-BbtbEMCH.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 k, useRoute as u } from "vue-router";
|
|
3
|
-
import { H as C } from "./index-
|
|
3
|
+
import { H as C } from "./index-BbtbEMCH.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 { H as D } from "./index-
|
|
3
|
+
import { H as D } from "./index-BbtbEMCH.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 { y as c } from "./index-
|
|
2
|
+
import { y as c } from "./index-BbtbEMCH.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-WNOYFxJ1.js";
|
|
3
|
+
import p from "./CompanyPanel-D_s0rh6h.js";
|
|
4
|
+
import { _ as d } from "./index-BbtbEMCH.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 { y as J, _ as K } from "./index-
|
|
7
|
+
import { y as J, _ as K } from "./index-BbtbEMCH.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 a } 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-WNOYFxJ1.js";
|
|
3
|
+
import _ from "./DepartmentPanel-WN8nOgCV.js";
|
|
4
|
+
import { _ as d } from "./index-BbtbEMCH.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 Q } from "xe-utils";
|
|
|
5
5
|
import { t as k } from "./await-to-js.es5-BtRbN2QH.js";
|
|
6
6
|
import { VxeUI as T } from "vxe-table";
|
|
7
7
|
import { warnMessage as W, successMessage as X } from "@utogether/utils";
|
|
8
|
-
import { i as Z, E as b, y as ee, _ as te } from "./index-
|
|
8
|
+
import { i as Z, E as b, y as ee, _ as te } from "./index-BbtbEMCH.js";
|
|
9
9
|
const ae = { class: "page-content" }, C = "/uums/department", ne = /* @__PURE__ */ U({
|
|
10
10
|
__name: "DepartmentPanel",
|
|
11
11
|
setup(se) {
|
|
@@ -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, y as yt } from "./index-
|
|
7
|
-
import vt from "./Preview-
|
|
6
|
+
import { i as gt, y as yt } from "./index-BbtbEMCH.js";
|
|
7
|
+
import vt from "./Preview-DkRn_TSc.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 l, nextTick as g, createElementBlock as C, openBlock as s, createBlock as k, createCommentVNode as D } from "vue";
|
|
2
|
+
import { _ as T } from "./childView.vue_vue_type_style_index_0_lang-BfcnWnx9.js";
|
|
3
3
|
import { useRender as E } from "@utogether/utils";
|
|
4
4
|
const y = {
|
|
5
5
|
name: "DictView"
|
|
6
6
|
}, R = /* @__PURE__ */ v({
|
|
7
7
|
...y,
|
|
8
8
|
setup(N) {
|
|
9
|
-
const
|
|
9
|
+
const o = i(null), u = [{
|
|
10
10
|
field: "dictCode",
|
|
11
11
|
title: "message.udp.dictCode"
|
|
12
12
|
}, {
|
|
@@ -66,19 +66,20 @@ const y = {
|
|
|
66
66
|
slots: {
|
|
67
67
|
default: ({
|
|
68
68
|
row: e
|
|
69
|
-
}) => e.id ? [l(
|
|
69
|
+
}) => e.id ? [c(l("ut-button"), {
|
|
70
70
|
content: "lov",
|
|
71
|
+
icon: "ri-dice-6-line",
|
|
71
72
|
onClick: () => m(e)
|
|
72
73
|
}, null)] : null
|
|
73
74
|
}
|
|
74
75
|
}
|
|
75
|
-
], d =
|
|
76
|
+
], d = i(!1), r = i(null), m = (e) => {
|
|
76
77
|
g(() => {
|
|
77
78
|
var n;
|
|
78
79
|
d.value = !0, r.value = e, r.value.total = (n = e.children) == null ? void 0 : n.length;
|
|
79
80
|
});
|
|
80
81
|
}, f = () => {
|
|
81
|
-
|
|
82
|
+
o.value.refreshData(), d.value = !1;
|
|
82
83
|
}, p = {
|
|
83
84
|
editActived({
|
|
84
85
|
row: e
|
|
@@ -86,10 +87,10 @@ const y = {
|
|
|
86
87
|
}
|
|
87
88
|
}, h = (e) => e.dictType !== "0";
|
|
88
89
|
return (e, n) => {
|
|
89
|
-
const _ =
|
|
90
|
-
return s(), C("div", null, [
|
|
90
|
+
const _ = l("ut-grid");
|
|
91
|
+
return s(), C("div", null, [c(_, {
|
|
91
92
|
ref_key: "xgrid",
|
|
92
|
-
ref:
|
|
93
|
+
ref: o,
|
|
93
94
|
items: u,
|
|
94
95
|
columns: a,
|
|
95
96
|
"check-method": h,
|
|
@@ -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 { y as h } from "./index-
|
|
4
|
+
import { y as h } from "./index-BbtbEMCH.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 { y as h } from "./index-
|
|
5
|
+
import { y as h } from "./index-BbtbEMCH.js";
|
|
6
6
|
const C = { name: "OrgUnit" }, N = /* @__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-BbtbEMCH.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 { y as U } from "./index-
|
|
5
|
+
import { _ as M } from "./DesignPanel.vue_vue_type_style_index_0_lang-D02hXSrN.js";
|
|
6
|
+
import { y as U } from "./index-BbtbEMCH.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-CqO_2Ier.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 { y as V } from "./index-
|
|
6
|
+
import { y as V } from "./index-BbtbEMCH.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, y as D } from "./index-
|
|
5
|
+
import { i as C, y as D } from "./index-BbtbEMCH.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-WNOYFxJ1.js";
|
|
3
|
+
import { _ as d } from "./RolePanel.vue_vue_type_script_setup_true_lang-DgQpfjaU.js";
|
|
4
|
+
import { _ as p } from "./index-BbtbEMCH.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-WNOYFxJ1.js";
|
|
3
|
+
import { _ as p } from "./RolePanel.vue_vue_type_script_setup_true_lang-DCzX-ZP_.js";
|
|
4
|
+
import { _ as d } from "./index-BbtbEMCH.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 { y as C } from "./index-
|
|
7
|
+
import { y as C } from "./index-BbtbEMCH.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 { y as T, i as q } from "./index-
|
|
3
|
+
import { _ as P } from "./AuthorityInfo.vue_vue_type_style_index_0_lang-Cwd6UT2i.js";
|
|
4
|
+
import { _ as R } from "./UserInfo.vue_vue_type_style_index_0_lang-DDVgYRD5.js";
|
|
5
|
+
import { y as T, i as q } from "./index-BbtbEMCH.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 { y as j } from "./index-
|
|
2
|
+
import { y as j } from "./index-BbtbEMCH.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-WNOYFxJ1.js";
|
|
3
|
+
import { _ as d } from "./StaffPanel.vue_vue_type_script_setup_true_lang-v5xOXKRS.js";
|
|
4
|
+
import { _ as p } from "./index-BbtbEMCH.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 { y as _ } from "./index-
|
|
3
|
+
import { y as _ } from "./index-BbtbEMCH.js";
|
|
4
4
|
const T = { class: "config" }, x = /* @__PURE__ */ b({
|
|
5
5
|
__name: "StaffInfo",
|
|
6
6
|
props: {
|
|
@@ -1,27 +1,28 @@
|
|
|
1
|
-
import { defineComponent as E, ref as
|
|
2
|
-
import { useI18n as
|
|
3
|
-
import { clone as
|
|
4
|
-
import { warnMessage as
|
|
5
|
-
import { _ as
|
|
6
|
-
import { y as i } from "./index-
|
|
7
|
-
import { VxeUI as
|
|
8
|
-
|
|
1
|
+
import { defineComponent as E, ref as C, inject as S, reactive as N, watch as B, nextTick as D, resolveComponent as r, createElementBlock as M, openBlock as d, createVNode as s, createBlock as I, createCommentVNode as L, Fragment as A } from "vue";
|
|
2
|
+
import { useI18n as P } from "vue-i18n";
|
|
3
|
+
import { clone as U } from "xe-utils";
|
|
4
|
+
import { warnMessage as V } from "@utogether/utils";
|
|
5
|
+
import { _ as T } from "./StaffInfo.vue_vue_type_script_setup_true_lang-CtfN2CAr.js";
|
|
6
|
+
import { y as i } from "./index-BbtbEMCH.js";
|
|
7
|
+
import { VxeUI as Y } from "vxe-pc-ui";
|
|
8
|
+
import { t as O } from "./await-to-js.es5-BtRbN2QH.js";
|
|
9
|
+
const j = {
|
|
9
10
|
class: "page-content"
|
|
10
|
-
}, l = "/uums/employee",
|
|
11
|
+
}, l = "/uums/employee", Q = /* @__PURE__ */ E({
|
|
11
12
|
__name: "StaffPanel",
|
|
12
|
-
setup(
|
|
13
|
-
const
|
|
13
|
+
setup(q) {
|
|
14
|
+
const a = C(null), {
|
|
14
15
|
t: u
|
|
15
|
-
} =
|
|
16
|
+
} = P(), n = S("active"), t = N({
|
|
16
17
|
record: {},
|
|
17
18
|
showModelView: !1,
|
|
18
19
|
fetchExtParam: {}
|
|
19
20
|
});
|
|
20
|
-
|
|
21
|
+
B(() => n.value, (e) => {
|
|
21
22
|
t.fetchExtParam = {
|
|
22
23
|
departmentId: e == null ? void 0 : e.id
|
|
23
|
-
},
|
|
24
|
-
|
|
24
|
+
}, D(() => {
|
|
25
|
+
a.value.refreshData();
|
|
25
26
|
});
|
|
26
27
|
});
|
|
27
28
|
const m = [{
|
|
@@ -71,16 +72,16 @@ const Y = {
|
|
|
71
72
|
default: ({
|
|
72
73
|
row: e
|
|
73
74
|
}) => {
|
|
74
|
-
const
|
|
75
|
-
return [s(
|
|
75
|
+
const o = ["1", "Y"].includes(e.enabled) ? "disabled" : "enable", c = ["1", "Y"].includes(e.enabled) ? "ri-stop-circle-fill" : "ri-play-circle-fill", x = ["1", "Y"].includes(e.enabled) ? "warning" : "success";
|
|
76
|
+
return [s(A, null, [s(r("ut-button"), {
|
|
76
77
|
icon: "ri-edit-box-line",
|
|
77
78
|
content: "edit",
|
|
78
79
|
onTap: () => v(e)
|
|
79
80
|
}, null), s(r("ut-button"), {
|
|
80
81
|
icon: c,
|
|
81
|
-
content:
|
|
82
|
+
content: o,
|
|
82
83
|
status: x,
|
|
83
|
-
onTap: () =>
|
|
84
|
+
onTap: () => b(e)
|
|
84
85
|
}, null)])];
|
|
85
86
|
}
|
|
86
87
|
}
|
|
@@ -91,27 +92,33 @@ const Y = {
|
|
|
91
92
|
e === "add" && y();
|
|
92
93
|
}
|
|
93
94
|
}, y = () => {
|
|
94
|
-
var e,
|
|
95
|
+
var e, o;
|
|
95
96
|
if (!((e = n.value) != null && e.deptName))
|
|
96
|
-
return
|
|
97
|
-
t.dataStatus = "add", t.record = {}, t.record.departmentId = (
|
|
97
|
+
return V("请先选择部门");
|
|
98
|
+
t.dataStatus = "add", t.record = {}, t.record.departmentId = (o = n.value) == null ? void 0 : o.id, t.record.deptName = n.value.deptName, t.record.enabled = "1", t.showModelView = !0;
|
|
98
99
|
}, v = (e) => {
|
|
99
100
|
t.dataStatus = "update", t.record = e, t.showModelView = !0;
|
|
100
|
-
},
|
|
101
|
-
const
|
|
102
|
-
|
|
103
|
-
},
|
|
104
|
-
await
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
101
|
+
}, b = async (e) => {
|
|
102
|
+
const o = U(e, !0);
|
|
103
|
+
a.value.showLoading(), o.enabled = o.enabled === "1" ? "0" : "1", await i().put(l, o), a.value.hiddenLoading(), a.value.refreshData();
|
|
104
|
+
}, g = async () => {
|
|
105
|
+
if (await Y.modal.confirm(u("message.tip.confirmSync")) !== "confirm") return;
|
|
106
|
+
a.value.showLoading();
|
|
107
|
+
const [o] = await O(i().post("/uums/employee/syncEwEmp", {}));
|
|
108
|
+
a.value.hiddenLoading(), !o && a.value.refreshData();
|
|
109
|
+
}, _ = (e) => {
|
|
110
|
+
e === "sync" && g();
|
|
111
|
+
}, w = {
|
|
112
|
+
querySuccess: (e) => {
|
|
113
|
+
}
|
|
114
|
+
}, k = () => {
|
|
115
|
+
t.showModelView = !1, a.value.refreshData();
|
|
109
116
|
};
|
|
110
|
-
return (e,
|
|
117
|
+
return (e, o) => {
|
|
111
118
|
const c = r("ut-grid");
|
|
112
|
-
return d(),
|
|
119
|
+
return d(), M("div", j, [s(c, {
|
|
113
120
|
ref_key: "xgrid",
|
|
114
|
-
ref:
|
|
121
|
+
ref: a,
|
|
115
122
|
items: f,
|
|
116
123
|
columns: p,
|
|
117
124
|
"default-params": t.fetchExtParam,
|
|
@@ -119,17 +126,18 @@ const Y = {
|
|
|
119
126
|
"auto-load": !1,
|
|
120
127
|
buttons: m,
|
|
121
128
|
url: l,
|
|
129
|
+
callback: w,
|
|
122
130
|
mode: "form",
|
|
123
|
-
onButtonClick:
|
|
124
|
-
}, null, 8, ["default-params"]), t.showModelView ? (d(),
|
|
131
|
+
onButtonClick: _
|
|
132
|
+
}, null, 8, ["default-params"]), t.showModelView ? (d(), I(T, {
|
|
125
133
|
key: 0,
|
|
126
134
|
record: t.record,
|
|
127
135
|
"data-status": t.dataStatus,
|
|
128
|
-
onOnClose:
|
|
129
|
-
}, null, 8, ["record", "data-status"])) :
|
|
136
|
+
onOnClose: k
|
|
137
|
+
}, null, 8, ["record", "data-status"])) : L("", !0)]);
|
|
130
138
|
};
|
|
131
139
|
}
|
|
132
140
|
});
|
|
133
141
|
export {
|
|
134
|
-
|
|
142
|
+
Q as _
|
|
135
143
|
};
|
|
@@ -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-Cwea_4dY.js";
|
|
3
|
+
import { _ as a } from "./index-BbtbEMCH.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 C, isEmpty as he } from "xe-utils";
|
|
7
|
-
import { y as we } from "./index-
|
|
7
|
+
import { y as we } from "./index-BbtbEMCH.js";
|
|
8
8
|
const ve = {
|
|
9
9
|
class: "page"
|
|
10
10
|
}, i = "/uums/user", ke = /* @__PURE__ */ oe({
|