@utogether/udp-core 2.0.0-beta.6 → 2.0.0-beta.7
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-FwkedC35.js → 403-CNiAnTla.js} +1 -1
- package/dist/{404-fBOEoTA_.js → 404-BHi3Ej7Z.js} +1 -1
- package/dist/{500-iyNwORJV.js → 500-CTYskumb.js} +1 -1
- package/dist/{AuthorityInfo-BTGUSDZ4.js → AuthorityInfo-BjKduzRg.js} +1 -1
- package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-DSxmqRu8.js → AuthorityInfo.vue_vue_type_style_index_0_lang-CEekMsFF.js} +1 -1
- package/dist/{Company-ueSjOTse.js → Company-B1xm0v-1.js} +3 -3
- package/dist/{CompanyPanel-CAhzxgMa.js → CompanyPanel-Bk3gucNe.js} +1 -1
- package/dist/{Department-fGiF2ia2.js → Department-Cd8zo-JT.js} +3 -3
- package/dist/{DepartmentPanel-DW7RJCcR.js → DepartmentPanel-ePvnyT6M.js} +1 -1
- package/dist/{DesignPanel-CAQBm4D4.js → DesignPanel--qm9mgjH.js} +1 -1
- package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-5LGPeXPl.js → DesignPanel.vue_vue_type_style_index_0_lang-pZYzFbq4.js} +2 -2
- package/dist/{DictView-CvJgPLm3.js → DictView-B0NgfU0j.js} +1 -1
- package/dist/{InvOrganization-qlTFGd3Z.js → InvOrganization-BE1g-iwW.js} +1 -1
- package/dist/{Org-XLreDKod.js → Org-B3VzhliT.js} +1 -1
- package/dist/{Preview-CPbzW7CO.js → Preview-Ch-MYGp4.js} +1 -1
- package/dist/{ReportDefine-Cb8Kr-eh.js → ReportDefine-CUuKlZ3p.js} +1 -1
- package/dist/{ReportDesign-C7NEHxsF.js → ReportDesign-Bq_rcYCK.js} +2 -2
- package/dist/{ReportQuery-DRHAlGXP.js → ReportQuery-BRSA-lSg.js} +1 -1
- package/dist/{ReportQueryFrom-BVzD7HiO.js → ReportQueryFrom-b0Lxvnhp.js} +1 -1
- package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-B_lbUpW7.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-R_mfmI7C.js} +1 -1
- package/dist/{ReportTemplate-jvKZTiwg.js → ReportTemplate-CZ8LChJM.js} +1 -1
- package/dist/{Role-BHHb-iLB.js → Role-mezU2yUG.js} +3 -3
- package/dist/{RoleAssign-BTBTh4BY.js → RoleAssign-C23uEQ_b.js} +3 -3
- package/dist/{RolePanel-aV6bg80k.js → RolePanel-7iBT-us-.js} +1 -1
- package/dist/{RolePanel-BCi1rex2.js → RolePanel-BLML9HOE.js} +1 -1
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-C2b-FgFi.js → RolePanel.vue_vue_type_script_setup_true_lang-C5T9Unjq.js} +1 -1
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-BhFR-z17.js → RolePanel.vue_vue_type_script_setup_true_lang-Dxc4V1V8.js} +3 -3
- package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-BvNAonbh.js → ScrollPanel.vue_vue_type_style_index_0_lang-DF9mIgWs.js} +32 -31
- package/dist/Staff-B2bI3_H2.js +26 -0
- package/dist/{StaffInfo-DBgWZZxQ.js → StaffInfo-CIAehJfI.js} +1 -1
- package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-DZSUQTor.js → StaffInfo.vue_vue_type_script_setup_true_lang-D9VkkiTZ.js} +1 -1
- package/dist/{StaffPanel-qhtv83q9.js → StaffPanel-dXSv0PI3.js} +1 -1
- package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-B3j8x4MN.js → StaffPanel.vue_vue_type_script_setup_true_lang-DoU9krA4.js} +61 -49
- package/dist/{SysUser-D-7c33EB.js → SysUser-DxKpVGLT.js} +2 -2
- package/dist/{SysUserPanel-t1ZR91oy.js → SysUserPanel-Ci_Ep8mq.js} +1 -1
- package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-Bz2s1QPZ.js → SysUserPanel.vue_vue_type_script_setup_true_lang-gzipEh3A.js} +1 -1
- package/dist/{SystemMenu-DNffJRQo.js → SystemMenu-B_VBlI1Z.js} +2 -2
- package/dist/{UserInfo-niYGSHmG.js → UserInfo-DF0fggCn.js} +1 -1
- package/dist/{UserInfo.vue_vue_type_style_index_0_lang-B8CRjdQG.js → UserInfo.vue_vue_type_style_index_0_lang-b-DOPLHD.js} +1 -1
- package/dist/{childView-Dn28g10M.js → childView-62rEczLw.js} +1 -1
- package/dist/{childView-E2EnbUz2.js → childView-DhDitM7p.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-UzBSJ6wt.js → childView.vue_vue_type_style_index_0_lang-DwtD74xk.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-DFs-YATK.js → childView.vue_vue_type_style_index_0_lang-b5hnKDbO.js} +1 -1
- package/dist/{code-rule-D-RJozWD.js → code-rule-CabvTCWH.js} +1 -1
- package/dist/core.es.js +1 -1
- package/dist/{cron-task-CPuU0Rc2.js → cron-task-DXfxcgr-.js} +1 -1
- package/dist/{frameView-c4xFtvR6.js → frameView-DkFBCQIT.js} +1 -1
- package/dist/{index-CPKIQXdI.js → index-D7hSr6Dw.js} +49 -48
- package/dist/{layout-home-DrimiAWf.js → layout-home-B7Ex_WUd.js} +11 -11
- package/dist/{layoutView-DPaKZNx5.js → layoutView-DB70tHmm.js} +1 -1
- package/dist/{log-in-BQiOfnXg.js → log-in-D28_avjb.js} +1 -1
- package/dist/{log-out-BvlexfR3.js → log-out-CnWdyT-h.js} +1 -1
- package/dist/{login-0R1puBOn.js → login-BDFcVdJO.js} +1 -1
- package/dist/{lov-view-DieM-cvR.js → lov-view-DBxWS8bR.js} +2 -2
- package/dist/{menuInfo-Db7s_jX8.js → menuInfo-CznLhoJE.js} +1 -1
- package/dist/{menuInfo.vue_vue_type_style_index_0_lang-QbKkjhUR.js → menuInfo.vue_vue_type_style_index_0_lang-Dxu9tvz9.js} +1 -1
- package/dist/{pda-app-CCtwSfLe.js → pda-app-BWJOH5h6.js} +1 -1
- package/dist/{resource-rliX23RM.js → resource-_ZAigzWr.js} +1 -1
- package/dist/{su-welcome-MLhkyOoQ.js → su-welcome-B4Y3rNQi.js} +4 -4
- package/dist/{sys-config-Ci6UV7lE.js → sys-config-Bm0r674r.js} +1 -1
- package/dist/udp-core.css +1 -1
- package/package.json +1 -1
- package/src/components/SuScrollTree/ScrollPanel.vue +176 -170
- package/src/plugins/i18n/zh.ts +1 -0
- package/src/views/organization/staff/Staff.vue +59 -58
- package/src/views/organization/staff/StaffPanel.vue +17 -3
- package/src/views/system/layout/layout-home.vue +3 -3
- package/src/views/ufile/aggregation/File.vue +1 -3
- package/src/views/uhome/su-welcome.vue +2 -2
- package/dist/Staff-CQqKHfmG.js +0 -25
|
@@ -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 { J as C } from "./index-
|
|
3
|
+
import { J as C } from "./index-D7hSr6Dw.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 { J as C } from "./index-
|
|
3
|
+
import { J as C } from "./index-D7hSr6Dw.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 { J as D } from "./index-
|
|
3
|
+
import { J as D } from "./index-D7hSr6Dw.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-D7hSr6Dw.js";
|
|
3
3
|
import { t as S } from "./await-to-js.es5-Bv3Eu4mi.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-DF9mIgWs.js";
|
|
3
|
+
import p from "./CompanyPanel-Bk3gucNe.js";
|
|
4
|
+
import { _ as d } from "./index-D7hSr6Dw.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-D7hSr6Dw.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-DF9mIgWs.js";
|
|
3
|
+
import _ from "./DepartmentPanel-ePvnyT6M.js";
|
|
4
|
+
import { _ as d } from "./index-D7hSr6Dw.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-Bv3Eu4mi.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-D7hSr6Dw.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-Bv3Eu4mi.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-D7hSr6Dw.js";
|
|
7
|
+
import vt from "./Preview-Ch-MYGp4.js";
|
|
8
8
|
const xt = {
|
|
9
9
|
panels: [
|
|
10
10
|
{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as v, ref as n, createVNode as l, resolveComponent as s, nextTick as g, createElementBlock as C, openBlock as u, createBlock as D, createCommentVNode as T } from "vue";
|
|
2
|
-
import { _ as k } from "./childView.vue_vue_type_style_index_0_lang-
|
|
2
|
+
import { _ as k } from "./childView.vue_vue_type_style_index_0_lang-b5hnKDbO.js";
|
|
3
3
|
import { useRender as E } from "@utogether/utils";
|
|
4
4
|
const y = {
|
|
5
5
|
name: "DictView"
|
|
@@ -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-Bv3Eu4mi.js";
|
|
3
3
|
import { useRender as z } from "@utogether/utils";
|
|
4
|
-
import { y as h } from "./index-
|
|
4
|
+
import { y as h } from "./index-D7hSr6Dw.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-Bv3Eu4mi.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-D7hSr6Dw.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-D7hSr6Dw.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-Bv3Eu4mi.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-pZYzFbq4.js";
|
|
6
|
+
import { y as U } from "./index-D7hSr6Dw.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-R_mfmI7C.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-D7hSr6Dw.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-D7hSr6Dw.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-DF9mIgWs.js";
|
|
3
|
+
import { _ as d } from "./RolePanel.vue_vue_type_script_setup_true_lang-Dxc4V1V8.js";
|
|
4
|
+
import { _ as p } from "./index-D7hSr6Dw.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-DF9mIgWs.js";
|
|
3
|
+
import { _ as p } from "./RolePanel.vue_vue_type_script_setup_true_lang-C5T9Unjq.js";
|
|
4
|
+
import { _ as d } from "./index-D7hSr6Dw.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-Bv3Eu4mi.js";
|
|
6
6
|
import { successMessage as _ } from "@utogether/utils";
|
|
7
|
-
import { y as C } from "./index-
|
|
7
|
+
import { y as C } from "./index-D7hSr6Dw.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-CEekMsFF.js";
|
|
4
|
+
import { _ as R } from "./UserInfo.vue_vue_type_style_index_0_lang-b-DOPLHD.js";
|
|
5
|
+
import { y as T, i as q } from "./index-D7hSr6Dw.js";
|
|
6
6
|
const H = {
|
|
7
7
|
class: "page-content"
|
|
8
8
|
}, K = /* @__PURE__ */ S({
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { y as j } from "./index-
|
|
3
|
-
const M = { class: "u-panel-header" }, $ = { class: "u-panel-content system-scrollbar" }, K = /* @__PURE__ */
|
|
1
|
+
import { defineComponent as P, ref as k, inject as f, watch as E, nextTick as N, resolveComponent as v, createElementBlock as D, openBlock as h, withModifiers as O, createElementVNode as a, createBlock as C, createCommentVNode as y, createVNode as g, toDisplayString as _, withCtx as S, normalizeClass as V } from "vue";
|
|
2
|
+
import { y as j } from "./index-D7hSr6Dw.js";
|
|
3
|
+
const M = { class: "u-panel-header" }, $ = { class: "u-panel-content system-scrollbar" }, K = /* @__PURE__ */ P({
|
|
4
4
|
__name: "ScrollPanel",
|
|
5
5
|
props: {
|
|
6
6
|
title: {},
|
|
7
7
|
url: {},
|
|
8
8
|
showAllButton: { type: Boolean, default: !1 },
|
|
9
|
+
initLoadAll: { type: Boolean, default: !1 },
|
|
9
10
|
treeOtions: { default: () => ({
|
|
10
11
|
children: "children",
|
|
11
12
|
label: "label"
|
|
@@ -13,62 +14,62 @@ const M = { class: "u-panel-header" }, $ = { class: "u-panel-content system-scro
|
|
|
13
14
|
defaultParams: { default: () => ({}) }
|
|
14
15
|
},
|
|
15
16
|
setup(b, { expose: B }) {
|
|
16
|
-
const
|
|
17
|
-
|
|
18
|
-
() =>
|
|
17
|
+
const c = b, r = k([]), o = k(null), s = f("active"), u = f("scrollPanelChange"), w = f("treeList");
|
|
18
|
+
E(
|
|
19
|
+
() => u.value,
|
|
19
20
|
() => {
|
|
20
|
-
|
|
21
|
+
u.value && d();
|
|
21
22
|
}
|
|
22
23
|
);
|
|
23
|
-
const
|
|
24
|
-
const t = Object.assign(l,
|
|
25
|
-
|
|
24
|
+
const d = async (l = {}) => {
|
|
25
|
+
const t = Object.assign(l, c.defaultParams), e = await j().get(c.url, t);
|
|
26
|
+
r.value = e.list || e, w.value = e.list || e, c.initLoadAll ? s.value = {} : s.value = e.list ? e.list[0] : e[0], N(() => {
|
|
26
27
|
var n;
|
|
27
|
-
o.value && (o == null || o.value.setCurrentKey(((n =
|
|
28
|
-
}),
|
|
28
|
+
o.value && (o == null || o.value.setCurrentKey(((n = s.value) == null ? void 0 : n.id) || ""));
|
|
29
|
+
}), u.value = !1;
|
|
29
30
|
}, x = (l) => {
|
|
30
|
-
|
|
31
|
-
},
|
|
32
|
-
|
|
33
|
-
},
|
|
31
|
+
s.value = l;
|
|
32
|
+
}, A = () => {
|
|
33
|
+
s.value = {};
|
|
34
|
+
}, p = (l, t) => {
|
|
34
35
|
l.forEach((e) => {
|
|
35
36
|
var n;
|
|
36
|
-
o.value.store.nodesMap[e.id].expanded = t, (n = e.children) != null && n.length &&
|
|
37
|
+
o.value.store.nodesMap[e.id].expanded = t, (n = e.children) != null && n.length && p(e.children, t);
|
|
37
38
|
});
|
|
38
39
|
}, m = () => {
|
|
39
|
-
|
|
40
|
+
d();
|
|
40
41
|
};
|
|
41
42
|
return B({
|
|
42
43
|
onRefresh: m
|
|
43
|
-
}),
|
|
44
|
-
const e =
|
|
45
|
-
return
|
|
44
|
+
}), d(), (l, t) => {
|
|
45
|
+
const e = v("ut-button"), n = v("vxe-button"), L = v("el-tree");
|
|
46
|
+
return h(), D("div", {
|
|
46
47
|
class: "u-scroll-panel",
|
|
47
|
-
onClick: O(
|
|
48
|
+
onClick: O(A, ["prevent"])
|
|
48
49
|
}, [
|
|
49
50
|
a("div", M, [
|
|
50
51
|
a("h2", null, _(l.title), 1),
|
|
51
|
-
l.showAllButton ? (
|
|
52
|
+
l.showAllButton ? (h(), C(e, {
|
|
52
53
|
key: 0,
|
|
53
54
|
content: "BtnExpand",
|
|
54
|
-
onClick: t[0] || (t[0] = (i) =>
|
|
55
|
-
})) :
|
|
56
|
-
l.showAllButton ? (
|
|
55
|
+
onClick: t[0] || (t[0] = (i) => p(r.value, !0))
|
|
56
|
+
})) : y("", !0),
|
|
57
|
+
l.showAllButton ? (h(), C(e, {
|
|
57
58
|
key: 1,
|
|
58
59
|
status: "warning",
|
|
59
60
|
content: "BtnCollapse",
|
|
60
|
-
onClick: t[1] || (t[1] = (i) =>
|
|
61
|
-
})) :
|
|
62
|
-
|
|
61
|
+
onClick: t[1] || (t[1] = (i) => p(r.value, !1))
|
|
62
|
+
})) : y("", !0),
|
|
63
|
+
g(n, {
|
|
63
64
|
icon: "vxe-icon-refresh",
|
|
64
65
|
onClick: m
|
|
65
66
|
})
|
|
66
67
|
]),
|
|
67
68
|
a("div", $, [
|
|
68
|
-
|
|
69
|
+
g(L, {
|
|
69
70
|
ref_key: "tree",
|
|
70
71
|
ref: o,
|
|
71
|
-
data:
|
|
72
|
+
data: r.value,
|
|
72
73
|
props: l.treeOtions,
|
|
73
74
|
"expand-on-click-node": !1,
|
|
74
75
|
style: { "background-color": "#fff" },
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { defineComponent as l, ref as e, provide as t, createElementBlock as i, openBlock as _, createElementVNode as n, createVNode as o } from "vue";
|
|
2
|
+
import { _ as d } from "./ScrollPanel.vue_vue_type_style_index_0_lang-DF9mIgWs.js";
|
|
3
|
+
import { _ as f } from "./StaffPanel.vue_vue_type_script_setup_true_lang-DoU9krA4.js";
|
|
4
|
+
import { _ as m } from "./index-D7hSr6Dw.js";
|
|
5
|
+
const p = { class: "u-content-panel" }, u = { class: "u-left-panel" }, h = { class: "content" }, v = { name: "StaffPanel" }, C = /* @__PURE__ */ l({
|
|
6
|
+
...v,
|
|
7
|
+
setup(N) {
|
|
8
|
+
const a = e(!1), s = e([]), c = e({});
|
|
9
|
+
return t("scrollPanelChange", a), t("active", c), t("treeList", s), (r, P) => (_(), i("div", p, [
|
|
10
|
+
n("div", u, [
|
|
11
|
+
o(d, {
|
|
12
|
+
title: r.$t("department"),
|
|
13
|
+
"init-load-all": !0,
|
|
14
|
+
"tree-otions": { children: "children", label: "deptName" },
|
|
15
|
+
url: "/uums/department/treeDepartment"
|
|
16
|
+
}, null, 8, ["title"])
|
|
17
|
+
]),
|
|
18
|
+
n("div", h, [
|
|
19
|
+
o(f)
|
|
20
|
+
])
|
|
21
|
+
]));
|
|
22
|
+
}
|
|
23
|
+
}), B = /* @__PURE__ */ m(C, [["__scopeId", "data-v-1cfe93f2"]]);
|
|
24
|
+
export {
|
|
25
|
+
B as default
|
|
26
|
+
};
|
|
@@ -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-D7hSr6Dw.js";
|
|
4
4
|
const T = { class: "config" }, x = /* @__PURE__ */ b({
|
|
5
5
|
__name: "StaffInfo",
|
|
6
6
|
props: {
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useI18n as
|
|
3
|
-
import { clone as
|
|
4
|
-
import { warnMessage as
|
|
5
|
-
import { _ as
|
|
6
|
-
import { y as d } from "./index-
|
|
7
|
-
import { VxeUI as
|
|
8
|
-
import { t as
|
|
1
|
+
import { defineComponent as S, ref as N, inject as B, reactive as D, watch as L, nextTick as U, resolveComponent as c, createElementBlock as I, openBlock as i, createVNode as s, createBlock as M, createCommentVNode as A, Fragment as P } from "vue";
|
|
2
|
+
import { useI18n as V } from "vue-i18n";
|
|
3
|
+
import { clone as R } from "xe-utils";
|
|
4
|
+
import { warnMessage as T } from "@utogether/utils";
|
|
5
|
+
import { _ as Y } from "./StaffInfo.vue_vue_type_script_setup_true_lang-D9VkkiTZ.js";
|
|
6
|
+
import { y as d } from "./index-D7hSr6Dw.js";
|
|
7
|
+
import { VxeUI as O } from "vxe-pc-ui";
|
|
8
|
+
import { t as l } from "./await-to-js.es5-Bv3Eu4mi.js";
|
|
9
9
|
const j = {
|
|
10
10
|
class: "page-content"
|
|
11
|
-
},
|
|
11
|
+
}, u = "/uums/employee", W = /* @__PURE__ */ S({
|
|
12
12
|
__name: "StaffPanel",
|
|
13
13
|
setup(q) {
|
|
14
|
-
const o =
|
|
15
|
-
t:
|
|
16
|
-
} =
|
|
14
|
+
const o = N(null), {
|
|
15
|
+
t: m
|
|
16
|
+
} = V(), n = B("active"), t = D({
|
|
17
17
|
record: {},
|
|
18
18
|
showModelView: !1,
|
|
19
19
|
fetchExtParam: {}
|
|
20
20
|
});
|
|
21
|
-
|
|
21
|
+
L(() => n.value, (e) => {
|
|
22
22
|
t.fetchExtParam = {
|
|
23
|
-
departmentId: null
|
|
24
|
-
},
|
|
23
|
+
departmentId: e == null ? void 0 : e.id
|
|
24
|
+
}, U(() => {
|
|
25
25
|
o.value.refreshData();
|
|
26
26
|
});
|
|
27
27
|
});
|
|
28
|
-
const
|
|
28
|
+
const f = [{
|
|
29
29
|
code: "sync",
|
|
30
30
|
auth: "wechat",
|
|
31
31
|
status: "success",
|
|
@@ -40,14 +40,19 @@ const j = {
|
|
|
40
40
|
auth: "OA",
|
|
41
41
|
status: "success",
|
|
42
42
|
icon: "ri-refresh-line"
|
|
43
|
+
}, {
|
|
44
|
+
code: "bindUser",
|
|
45
|
+
auth: "bind",
|
|
46
|
+
status: "warning",
|
|
47
|
+
icon: "ri-bring-to-front"
|
|
43
48
|
}, {
|
|
44
49
|
code: "del",
|
|
45
50
|
auth: "/"
|
|
46
|
-
}],
|
|
51
|
+
}], p = [{
|
|
47
52
|
field: "employeeCode"
|
|
48
53
|
}, {
|
|
49
54
|
field: "employeeName"
|
|
50
|
-
}],
|
|
55
|
+
}], h = [{
|
|
51
56
|
type: "checkbox",
|
|
52
57
|
width: 50,
|
|
53
58
|
align: "center"
|
|
@@ -72,20 +77,20 @@ const j = {
|
|
|
72
77
|
default: ({
|
|
73
78
|
row: e
|
|
74
79
|
}) => {
|
|
75
|
-
const a = ["1", "Y"].includes(e.enabled) ? "disabled" : "enable",
|
|
76
|
-
return [s(
|
|
80
|
+
const a = ["1", "Y"].includes(e.enabled) ? "disabled" : "enable", r = ["1", "Y"].includes(e.enabled) ? "ri-stop-circle-fill" : "ri-play-circle-fill", C = ["1", "Y"].includes(e.enabled) ? "warning" : "success";
|
|
81
|
+
return [s(P, null, [s(c("ut-button"), {
|
|
77
82
|
icon: "ri-edit-box-line",
|
|
78
83
|
content: "edit",
|
|
79
|
-
onTap: () =>
|
|
80
|
-
}, null), s(
|
|
81
|
-
icon:
|
|
84
|
+
onTap: () => b(e)
|
|
85
|
+
}, null), s(c("ut-button"), {
|
|
86
|
+
icon: r,
|
|
82
87
|
content: a,
|
|
83
|
-
status:
|
|
88
|
+
status: C,
|
|
84
89
|
onTap: () => v(e)
|
|
85
90
|
}, null)])];
|
|
86
91
|
}
|
|
87
92
|
}
|
|
88
|
-
}],
|
|
93
|
+
}], g = {
|
|
89
94
|
toolbarButtonClick({
|
|
90
95
|
code: e
|
|
91
96
|
}) {
|
|
@@ -94,50 +99,57 @@ const j = {
|
|
|
94
99
|
}, y = () => {
|
|
95
100
|
var e, a;
|
|
96
101
|
if (!((e = n.value) != null && e.deptName))
|
|
97
|
-
return
|
|
102
|
+
return T("请先选择部门");
|
|
98
103
|
t.dataStatus = "add", t.record = {}, t.record.departmentId = (a = n.value) == null ? void 0 : a.id, t.record.deptName = n.value.deptName, t.record.enabled = "1", t.showModelView = !0;
|
|
99
|
-
},
|
|
104
|
+
}, b = (e) => {
|
|
100
105
|
t.dataStatus = "update", t.record = e, t.showModelView = !0;
|
|
101
106
|
}, v = async (e) => {
|
|
102
|
-
const a =
|
|
103
|
-
o.value.showLoading(), a.enabled = a.enabled === "1" ? "0" : "1", await d().put(
|
|
104
|
-
},
|
|
105
|
-
if (await
|
|
107
|
+
const a = R(e, !0);
|
|
108
|
+
o.value.showLoading(), a.enabled = a.enabled === "1" ? "0" : "1", await d().put(u, a), o.value.hiddenLoading(), o.value.refreshData();
|
|
109
|
+
}, w = async () => {
|
|
110
|
+
if (await O.modal.confirm(m("message.tip.confirmSync")) !== "confirm") return;
|
|
111
|
+
o.value.showLoading();
|
|
112
|
+
const [a] = await l(d().post("/uums/employee/syncEwEmp", {}));
|
|
113
|
+
o.value.hiddenLoading(), !a && o.value.refreshData();
|
|
114
|
+
}, _ = async () => {
|
|
115
|
+
const e = o.value.getInstance().getCheckboxRecords();
|
|
116
|
+
if (!e.length)
|
|
117
|
+
return;
|
|
106
118
|
o.value.showLoading();
|
|
107
|
-
const [a] = await
|
|
119
|
+
const [a] = await l(d().post("/uums/employee/bindUser", e));
|
|
108
120
|
o.value.hiddenLoading(), !a && o.value.refreshData();
|
|
109
|
-
},
|
|
110
|
-
e === "sync" &&
|
|
111
|
-
},
|
|
121
|
+
}, k = (e) => {
|
|
122
|
+
e === "sync" && w(), e === "bindUser" && _();
|
|
123
|
+
}, x = {
|
|
112
124
|
querySuccess: (e) => {
|
|
113
125
|
}
|
|
114
|
-
},
|
|
126
|
+
}, E = () => {
|
|
115
127
|
t.showModelView = !1, o.value.refreshData();
|
|
116
128
|
};
|
|
117
129
|
return (e, a) => {
|
|
118
|
-
const
|
|
119
|
-
return
|
|
130
|
+
const r = c("ut-grid");
|
|
131
|
+
return i(), I("div", j, [s(r, {
|
|
120
132
|
ref_key: "xgrid",
|
|
121
133
|
ref: o,
|
|
122
|
-
items:
|
|
123
|
-
columns:
|
|
134
|
+
items: p,
|
|
135
|
+
columns: h,
|
|
124
136
|
"default-params": t.fetchExtParam,
|
|
125
|
-
events:
|
|
137
|
+
events: g,
|
|
126
138
|
"auto-load": !1,
|
|
127
|
-
buttons:
|
|
128
|
-
url:
|
|
129
|
-
callback:
|
|
139
|
+
buttons: f,
|
|
140
|
+
url: u,
|
|
141
|
+
callback: x,
|
|
130
142
|
mode: "form",
|
|
131
|
-
onButtonClick:
|
|
132
|
-
}, null, 8, ["default-params"]), t.showModelView ? (
|
|
143
|
+
onButtonClick: k
|
|
144
|
+
}, null, 8, ["default-params"]), t.showModelView ? (i(), M(Y, {
|
|
133
145
|
key: 0,
|
|
134
146
|
record: t.record,
|
|
135
147
|
"data-status": t.dataStatus,
|
|
136
|
-
onOnClose:
|
|
137
|
-
}, null, 8, ["record", "data-status"])) :
|
|
148
|
+
onOnClose: E
|
|
149
|
+
}, null, 8, ["record", "data-status"])) : A("", !0)]);
|
|
138
150
|
};
|
|
139
151
|
}
|
|
140
152
|
});
|
|
141
153
|
export {
|
|
142
|
-
|
|
154
|
+
W as _
|
|
143
155
|
};
|
|
@@ -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-gzipEh3A.js";
|
|
3
|
+
import { _ as a } from "./index-D7hSr6Dw.js";
|
|
4
4
|
const p = { class: "u-content-panel1" }, i = /* @__PURE__ */ t({
|
|
5
5
|
__name: "SysUser",
|
|
6
6
|
setup(m) {
|