@utogether/udp-core 1.0.1-beta.14 → 1.0.1-beta.16

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.
Files changed (82) hide show
  1. package/dist/{403-pRpb9luy.js → 403-RBzulrcG.js} +1 -1
  2. package/dist/{404-Bsowhpja.js → 404-DX-dU_6C.js} +1 -1
  3. package/dist/{500-DZuJN9lQ.js → 500-BCTk0__d.js} +1 -1
  4. package/dist/{AuthorityInfo-DsSMdxQ1.js → AuthorityInfo-BADTOenq.js} +1 -1
  5. package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-DCRZ7hKU.js → AuthorityInfo.vue_vue_type_style_index_0_lang-Cv46yAx_.js} +3 -3
  6. package/dist/{Company-JFHxazkc.js → Company-B-61KrWd.js} +3 -3
  7. package/dist/{CompanyPanel-Bt-5OX8x.js → CompanyPanel-CawSrEff.js} +10 -10
  8. package/dist/{Department-B1bTl93X.js → Department-CrzJPtvP.js} +3 -3
  9. package/dist/{DepartmentPanel-CVIvI8sf.js → DepartmentPanel-DYuL8H-j.js} +23 -23
  10. package/dist/{DesignPanel-snVLq3Gi.js → DesignPanel-DEAv6V68.js} +1 -1
  11. package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-Cvb54DDl.js → DesignPanel.vue_vue_type_style_index_0_lang-BsnXZ2td.js} +6 -6
  12. package/dist/{DictView-OoNA8vMb.js → DictView-BuO-2b-c.js} +15 -16
  13. package/dist/{InvOrganization-CINznAuo.js → InvOrganization-CBgKBJAn.js} +1 -1
  14. package/dist/{Org-BA3ZHIpa.js → Org-BaQw2r-o.js} +3 -3
  15. package/dist/{Preview-C9rFs95x.js → Preview-DvCrmKNk.js} +2 -2
  16. package/dist/{ReportDefine-D2CXXxZp.js → ReportDefine-DyhWz0as.js} +1 -1
  17. package/dist/{ReportDesign-DWmFLxO_.js → ReportDesign-DgZ2f2zv.js} +10 -10
  18. package/dist/{ReportQuery-BBMEls-l.js → ReportQuery-DTZYbCDi.js} +1 -1
  19. package/dist/{ReportQueryFrom-CIeGY6UD.js → ReportQueryFrom-B-vtJegP.js} +1 -1
  20. package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-qtLKZPIW.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-D6izgxph.js} +1 -1
  21. package/dist/{ReportTemplate-CWxGNxLg.js → ReportTemplate-DA1ZqKGf.js} +11 -11
  22. package/dist/{Role-CF93718B.js → Role-mbqoav5t.js} +3 -3
  23. package/dist/{RoleAssign-BjoNSr6O.js → RoleAssign-ltEJIEcr.js} +3 -3
  24. package/dist/{RolePanel-qBGK6Ilt.js → RolePanel-1g1a-G8D.js} +1 -1
  25. package/dist/{RolePanel-DmQaKkm5.js → RolePanel-u90v9eS0.js} +1 -1
  26. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-BeNdAkYp.js → RolePanel.vue_vue_type_script_setup_true_lang-D9YxpGnt.js} +1 -1
  27. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-DdK59XHp.js → RolePanel.vue_vue_type_script_setup_true_lang-LC4Egk-Q.js} +9 -9
  28. package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-LU6W_QVY.js → ScrollPanel.vue_vue_type_style_index_0_lang-DZ3W1epK.js} +8 -8
  29. package/dist/{Staff-BrjfdZU2.js → Staff-CJ2GgCL3.js} +3 -3
  30. package/dist/{StaffInfo-DYmftNDC.js → StaffInfo-3KkodDCK.js} +1 -1
  31. package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-DVLhL8tz.js → StaffInfo.vue_vue_type_script_setup_true_lang-CW-isIxJ.js} +7 -7
  32. package/dist/{StaffPanel-DJERIwT_.js → StaffPanel-DoXPSoY5.js} +1 -1
  33. package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-D_leV5A8.js → StaffPanel.vue_vue_type_script_setup_true_lang-DvhGnOMZ.js} +2 -2
  34. package/dist/{SysUser-WO0whf-F.js → SysUser-BuIZhMPh.js} +2 -2
  35. package/dist/{SysUserPanel-C64mSt4O.js → SysUserPanel-t1GJcJGM.js} +1 -1
  36. package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-B19FuxOZ.js → SysUserPanel.vue_vue_type_script_setup_true_lang-CDDkFLlN.js} +6 -6
  37. package/dist/{SystemMenu-CY1EDfzl.js → SystemMenu-DuLEL6_l.js} +10 -10
  38. package/dist/{UserInfo-DWXmMOD1.js → UserInfo-WWby4lts.js} +1 -1
  39. package/dist/{UserInfo.vue_vue_type_style_index_0_lang-pjHVXRtK.js → UserInfo.vue_vue_type_style_index_0_lang-B06ZSrJV.js} +10 -10
  40. package/dist/{childView-CMBPpTyj.js → childView-B0-EAoAi.js} +1 -1
  41. package/dist/{childView-Czd4yk_A.js → childView-IYY4L8VK.js} +1 -1
  42. package/dist/{childView.vue_vue_type_style_index_0_lang-C9wXL52o.js → childView.vue_vue_type_style_index_0_lang-B56v6yK7.js} +1 -1
  43. package/dist/{childView.vue_vue_type_style_index_0_lang-CaMQbFZm.js → childView.vue_vue_type_style_index_0_lang-CjF8nZuj.js} +6 -6
  44. package/dist/{code-rule-kHfdPgGA.js → code-rule-DDLdi3pP.js} +6 -6
  45. package/dist/core.es.js +17 -12
  46. package/dist/{cron-task-D1bbdvVP.js → cron-task-p3-AFN1w.js} +11 -11
  47. package/dist/{frameView-B5JStsSt.js → frameView-B_WAZErD.js} +1 -1
  48. package/dist/{index-Ce51XQgg.js → index-24fnvUBy.js} +748 -544
  49. package/dist/{layoutView-DR39l27s.js → layoutView-CoEp2afn.js} +25 -27
  50. package/dist/{log-out--RRncZhN.js → log-out-D1b4VRMZ.js} +30 -24
  51. package/dist/login-DP0oP70W.js +249 -0
  52. package/dist/{lov-view-wdnYE7wy.js → lov-view-BDoZRK-v.js} +5 -5
  53. package/dist/{menuInfo-D0746839.js → menuInfo-5Xls76qB.js} +1 -1
  54. package/dist/{menuInfo.vue_vue_type_style_index_0_lang-p_yYtGl2.js → menuInfo.vue_vue_type_style_index_0_lang-BfZczW9a.js} +7 -7
  55. package/dist/{pda-app-zzzZfBj5.js → pda-app-DxGYn4G7.js} +20 -20
  56. package/dist/{resource-B7wnjBVW.js → resource-BnYWe_-Q.js} +7 -7
  57. package/dist/{su-welcome-CeajjyWS.js → su-welcome-B2rNhhDH.js} +88 -88
  58. package/dist/sys-config-Bb4WkxZK.js +355 -0
  59. package/dist/udp-core.css +2 -2
  60. package/dist/utogether-MlnyYtNS.js +4 -0
  61. package/index.ts +12 -4
  62. package/package.json +18 -18
  63. package/src/components/udp/form.vue +2 -2
  64. package/src/components/udp/utils.ts +11 -7
  65. package/src/layout/hooks/useTag.ts +221 -233
  66. package/src/main.ts +114 -113
  67. package/src/plugins/i18n/zh.ts +6 -1
  68. package/src/store/modules/system.ts +1 -3
  69. package/src/style/login.css +336 -336
  70. package/src/style/vxetable.scss +32 -0
  71. package/src/utils/index.ts +3 -1
  72. package/src/views/system/sys/sys-config.vue +50 -1
  73. package/src/views/uapp/pda/pda-app.vue +1 -1
  74. package/src/views/udev/dict/DictView.vue +2 -2
  75. package/src/views/ulogin/login.vue +323 -321
  76. package/src/views/upms/interface/log-out.vue +101 -107
  77. package/src/views/urpt/design/Preview.vue +1 -0
  78. package/src/views/urpt/design/ReportDesign.vue +2 -4
  79. package/types/global.d.ts +230 -236
  80. package/dist/login-d5LMP32l.js +0 -253
  81. package/dist/sys-config-CpfSg66g.js +0 -290
  82. package/dist/utogether-B_dUqXea.js +0 -182
@@ -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-Ce51XQgg.js";
3
+ import { C as v } from "./index-24fnvUBy.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-Ce51XQgg.js";
3
+ import { C as u } from "./index-24fnvUBy.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-Ce51XQgg.js";
3
+ import { C as D } from "./index-24fnvUBy.js";
4
4
  const y = {
5
5
  width: "254",
6
6
  height: "294"
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./AuthorityInfo.vue_vue_type_style_index_0_lang-DCRZ7hKU.js";
1
+ import { _ as f } from "./AuthorityInfo.vue_vue_type_style_index_0_lang-Cv46yAx_.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,7 +1,7 @@
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 { q as c } from "./index-Ce51XQgg.js";
2
+ import { w as c } from "./index-24fnvUBy.js";
3
3
  import { t as S } from "./await-to-js.es5-BtRbN2QH.js";
4
- const E = { class: "config" }, I = { style: { position: "relative", height: "100%" } }, z = /* @__PURE__ */ N({
4
+ const E = { class: "config" }, I = { style: { position: "relative", height: "100%" } }, H = /* @__PURE__ */ N({
5
5
  __name: "AuthorityInfo",
6
6
  props: {
7
7
  show: { type: Boolean, default: !1 },
@@ -96,5 +96,5 @@ const E = { class: "config" }, I = { style: { position: "relative", height: "100
96
96
  }
97
97
  });
98
98
  export {
99
- z as _
99
+ H as _
100
100
  };
@@ -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-LU6W_QVY.js";
3
- import p from "./CompanyPanel-Bt-5OX8x.js";
4
- import { _ as d } from "./index-Ce51XQgg.js";
2
+ import { _ as m } from "./ScrollPanel.vue_vue_type_style_index_0_lang-DZ3W1epK.js";
3
+ import p from "./CompanyPanel-CawSrEff.js";
4
+ import { _ as d } from "./index-24fnvUBy.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) {
@@ -1,10 +1,10 @@
1
- import { defineComponent as V, reactive as j, inject as w, watch as B, resolveComponent as i, createElementBlock as E, openBlock as l, createVNode as s, createBlock as c, withCtx as d, createElementVNode as n, createCommentVNode as v, createTextVNode as D, toDisplayString as L } from "vue";
1
+ import { defineComponent as V, reactive as j, inject as C, watch as B, resolveComponent as i, createElementBlock as E, openBlock as l, createVNode as s, createBlock as c, withCtx as d, createElementVNode as n, createCommentVNode as v, createTextVNode as D, toDisplayString as L } from "vue";
2
2
  import { useI18n as M } from "vue-i18n";
3
3
  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 { q as J, _ as K } from "./index-Ce51XQgg.js";
7
+ import { w as J, _ as K } from "./index-24fnvUBy.js";
8
8
  const O = { class: "page-content" }, _ = "/uums/unit", Q = /* @__PURE__ */ V({
9
9
  __name: "CompanyPanel",
10
10
  setup(W) {
@@ -28,7 +28,7 @@ const O = { class: "page-content" }, _ = "/uums/unit", Q = /* @__PURE__ */ V({
28
28
  message: `${r("message.required")}${r("message.udp.unitCode")}`
29
29
  }
30
30
  ]
31
- }, m = w("active"), $ = w("scrollPanelChange"), f = J();
31
+ }, m = C("active"), $ = C("scrollPanelChange"), f = J();
32
32
  B(
33
33
  () => m.value,
34
34
  (t, a) => {
@@ -53,16 +53,16 @@ const O = { class: "page-content" }, _ = "/uums/unit", Q = /* @__PURE__ */ V({
53
53
  if ((o = t.children) != null && o.length) return G(r("message.deletePartment"));
54
54
  await U.modal.confirm(r("message.tip.del", { msg: "aaaaa" })) === "confirm" && (await f.delete(_, t), b());
55
55
  }, b = () => {
56
- $.value = !0, H(r("message.operateSuccess")), q();
56
+ $.value = !0, H(r("message.operateSuccess")), I();
57
57
  }, F = () => {
58
58
  e.dialogFormVisible = !1, e.dataStatus = "";
59
- }, q = () => {
59
+ }, I = () => {
60
60
  e.dialogFormVisible = !1;
61
61
  };
62
62
  return (t, a) => {
63
- const o = i("ut-button"), I = i("vxe-toolbar"), g = i("vxe-form-item"), P = i("vxe-form"), u = i("el-row"), A = i("vxe-checkbox"), C = i("vxe-button"), T = i("el-card");
63
+ const o = i("ut-button"), P = i("vxe-toolbar"), g = i("vxe-form-item"), q = i("vxe-form"), u = i("el-row"), A = i("vxe-checkbox"), w = i("vxe-button"), T = i("el-card");
64
64
  return l(), E("div", O, [
65
- s(I, {
65
+ s(P, {
66
66
  perfect: "",
67
67
  class: ""
68
68
  }, {
@@ -107,7 +107,7 @@ const O = { class: "page-content" }, _ = "/uums/unit", Q = /* @__PURE__ */ V({
107
107
  ], -1)),
108
108
  s(u, null, {
109
109
  default: d(() => [
110
- s(P, {
110
+ s(q, {
111
111
  ref_key: "xForm",
112
112
  ref: y,
113
113
  data: e.record,
@@ -155,13 +155,13 @@ const O = { class: "page-content" }, _ = "/uums/unit", Q = /* @__PURE__ */ V({
155
155
  ]),
156
156
  _: 1
157
157
  }, 8, ["modelValue"])) : v("", !0),
158
- e.dataStatus !== "detail" ? (l(), c(C, {
158
+ e.dataStatus !== "detail" ? (l(), c(w, {
159
159
  key: 1,
160
160
  status: "primary",
161
161
  content: t.$t("message.btn.confirm"),
162
162
  onClick: h
163
163
  }, null, 8, ["content"])) : v("", !0),
164
- e.dataStatus !== "detail" ? (l(), c(C, {
164
+ e.dataStatus !== "detail" ? (l(), c(w, {
165
165
  key: 2,
166
166
  status: "warning",
167
167
  content: t.$t("message.btn.cancel"),
@@ -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-LU6W_QVY.js";
3
- import _ from "./DepartmentPanel-CVIvI8sf.js";
4
- import { _ as d } from "./index-Ce51XQgg.js";
2
+ import { _ as p } from "./ScrollPanel.vue_vue_type_style_index_0_lang-DZ3W1epK.js";
3
+ import _ from "./DepartmentPanel-DYuL8H-j.js";
4
+ import { _ as d } from "./index-24fnvUBy.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 { e as Q, q as W, _ as Z } from "./index-Ce51XQgg.js";
8
+ import { i as Q, w as W, _ as Z } from "./index-24fnvUBy.js";
9
9
  const ee = { class: "page-content" }, y = "/uums/department", te = /* @__PURE__ */ V({
10
10
  __name: "DepartmentPanel",
11
11
  setup(ae) {
@@ -47,20 +47,20 @@ const ee = { class: "page-content" }, y = "/uums/department", te = /* @__PURE__
47
47
  e.dataStatus = "add", e.record = {}, e.record.parentId = (a = p.value) == null ? void 0 : a.id, e.isChecked = !1, e.dialogFormVisible = !0;
48
48
  }, x = (a) => {
49
49
  e.dataStatus = a, e.record = G(p.value, !0), e.dialogFormVisible = !0;
50
- }, b = z("xForm", null), D = () => {
51
- b.value.validate(async (a) => {
50
+ }, w = z("xForm", null), D = () => {
51
+ w.value.validate(async (a) => {
52
52
  if (!a) {
53
- const { record: t, dataStatus: r } = e;
53
+ const { record: t, dataStatus: i } = e;
54
54
  e.loading = !0;
55
- const [g] = r === "add" ? await k(f.post(y, t)) : await k(f.put(y, t));
56
- e.loading = !1, g || w();
55
+ const [g] = i === "add" ? await k(f.post(y, t)) : await k(f.put(y, t));
56
+ e.loading = !1, g || b();
57
57
  }
58
58
  });
59
59
  }, N = async () => {
60
60
  const { record: a } = e;
61
61
  if (a.children.length) return K(o("message.deletePartment"));
62
- await J.modal.confirm(o("message.tip.del")) === "confirm" && (await f.delete(y, a), w());
63
- }, w = () => {
62
+ await J.modal.confirm(o("message.tip.del")) === "confirm" && (await f.delete(y, a), b());
63
+ }, b = () => {
64
64
  h.value = !0, O(o("message.operateSuccess")), P();
65
65
  }, F = () => {
66
66
  e.dataStatus === "add" && (e.dialogFormVisible = !1), e.dataStatus = "";
@@ -68,30 +68,30 @@ const ee = { class: "page-content" }, y = "/uums/department", te = /* @__PURE__
68
68
  e.dialogFormVisible = !1;
69
69
  };
70
70
  return (a, t) => {
71
- const r = l("ut-button"), g = l("vxe-toolbar"), v = l("vxe-form-item"), q = l("vxe-form"), u = l("el-row"), E = l("vxe-checkbox"), A = l("el-card"), I = M("spinning");
71
+ const i = l("ut-button"), g = l("vxe-toolbar"), v = l("vxe-form-item"), E = l("vxe-form"), u = l("el-row"), q = l("vxe-checkbox"), A = l("el-card"), I = M("spinning");
72
72
  return c(), R("div", ee, [
73
73
  n(g, {
74
74
  perfect: "",
75
75
  class: ""
76
76
  }, {
77
77
  buttons: d(() => [
78
- n(r, {
78
+ n(i, {
79
79
  status: "u-cyan",
80
80
  icon: "ri-add-line",
81
81
  content: "add",
82
- onTap: t[0] || (t[0] = (i) => T())
82
+ onTap: t[0] || (t[0] = (r) => T())
83
83
  }),
84
- n(r, {
84
+ n(i, {
85
85
  status: "primary",
86
86
  icon: "ri-edit-box-line",
87
87
  content: "edit",
88
- onTap: t[1] || (t[1] = (i) => x("update"))
88
+ onTap: t[1] || (t[1] = (r) => x("update"))
89
89
  }),
90
- n(r, {
90
+ n(i, {
91
91
  status: "danger",
92
92
  icon: "ri-close-fill",
93
93
  content: "delete",
94
- onTap: t[2] || (t[2] = (i) => N())
94
+ onTap: t[2] || (t[2] = (r) => N())
95
95
  })
96
96
  ]),
97
97
  _: 1
@@ -115,15 +115,15 @@ const ee = { class: "page-content" }, y = "/uums/department", te = /* @__PURE__
115
115
  ], -1)),
116
116
  n(u, null, {
117
117
  default: d(() => [
118
- n(q, {
118
+ n(E, {
119
119
  ref_key: "xForm",
120
- ref: b,
120
+ ref: w,
121
121
  data: e.record,
122
122
  rules: $,
123
123
  "label-width": "90px"
124
124
  }, {
125
125
  default: d(() => {
126
- var i;
126
+ var r;
127
127
  return [
128
128
  n(v, {
129
129
  title: a.$t("message.deptName"),
@@ -142,7 +142,7 @@ const ee = { class: "page-content" }, y = "/uums/department", te = /* @__PURE__
142
142
  field: "deptType",
143
143
  "item-render": {
144
144
  name: "$select",
145
- options: (i = H(S)["SU.DEPARTMENT.TYPE"]) == null ? void 0 : i.children,
145
+ options: (r = H(S)["SU.DEPARTMENT.TYPE"]) == null ? void 0 : r.children,
146
146
  optionProps: { label: "dictName", value: "dictCode" },
147
147
  props: { disabled: e.dataStatus === "detail" }
148
148
  },
@@ -160,10 +160,10 @@ const ee = { class: "page-content" }, y = "/uums/department", te = /* @__PURE__
160
160
  justify: "center"
161
161
  }, {
162
162
  default: d(() => [
163
- e.dataStatus === "add" ? (c(), m(E, {
163
+ e.dataStatus === "add" ? (c(), m(q, {
164
164
  key: 0,
165
165
  modelValue: e.isChecked,
166
- "onUpdate:modelValue": t[3] || (t[3] = (i) => e.isChecked = i),
166
+ "onUpdate:modelValue": t[3] || (t[3] = (r) => e.isChecked = r),
167
167
  style: { "padding-top": "5px", "margin-right": "8px" }
168
168
  }, {
169
169
  default: d(() => [
@@ -171,13 +171,13 @@ const ee = { class: "page-content" }, y = "/uums/department", te = /* @__PURE__
171
171
  ]),
172
172
  _: 1
173
173
  }, 8, ["modelValue"])) : _("", !0),
174
- e.dataStatus !== "detail" ? (c(), m(r, {
174
+ e.dataStatus !== "detail" ? (c(), m(i, {
175
175
  key: 1,
176
176
  status: "primary",
177
177
  content: "confirm",
178
178
  onTap: D
179
179
  })) : _("", !0),
180
- e.dataStatus !== "detail" ? (c(), m(r, {
180
+ e.dataStatus !== "detail" ? (c(), m(i, {
181
181
  key: 2,
182
182
  status: "warning",
183
183
  content: "cancel",
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./DesignPanel.vue_vue_type_style_index_0_lang-Cvb54DDl.js";
1
+ import { _ as f } from "./DesignPanel.vue_vue_type_style_index_0_lang-BsnXZ2td.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -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 { e as gt, q as yt } from "./index-Ce51XQgg.js";
7
- import vt from "./Preview-C9rFs95x.js";
6
+ import { i as gt, w as yt } from "./index-24fnvUBy.js";
7
+ import vt from "./Preview-DvCrmKNk.js";
8
8
  const xt = {
9
9
  panels: [
10
10
  {
@@ -507,11 +507,11 @@ const xt = {
507
507
  const [E, _] = await mt(W.put("/urpt/v1/printTemplate", [t]));
508
508
  v.value = !1, E || (T.value = "", m.value = _[0]), n && n();
509
509
  }, P = () => {
510
- q("onClose");
511
- }, q = B, A = (n) => {
510
+ F("onClose");
511
+ }, F = B, A = (n) => {
512
512
  let t = h.value;
513
513
  n === "Y" ? (t += 0.1, t > h.max && (t = 5)) : (t -= 0.1, t < h.min && (t = 0.5)), s && (s.zoom(t), h.value = t, h.ration = `${(t * 100).toFixed(0)}%`);
514
- }, F = async () => {
514
+ }, q = async () => {
515
515
  await O.modal.confirm("重绘操作不可逆,您确定继续吗?", "温馨提示") === "confirm" && s.clear();
516
516
  }, L = async () => {
517
517
  y.value = !0;
@@ -674,7 +674,7 @@ const xt = {
674
674
  icon: "ri-delete-bin-5-fill",
675
675
  content: "repaint",
676
676
  auth: "repaint",
677
- onTap: t[10] || (t[10] = (o) => F())
677
+ onTap: t[10] || (t[10] = (o) => q())
678
678
  })
679
679
  ]),
680
680
  e("div", null, [
@@ -1,12 +1,12 @@
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-CaMQbFZm.js";
1
+ import { defineComponent as v, ref as o, createVNode as l, resolveComponent as c, 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-CjF8nZuj.js";
3
3
  import { useRender as E } from "@utogether/utils";
4
4
  const y = {
5
5
  name: "DictView"
6
- }, w = /* @__PURE__ */ v({
6
+ }, R = /* @__PURE__ */ v({
7
7
  ...y,
8
8
  setup(N) {
9
- const o = i(null), a = [{
9
+ const i = o(null), u = [{
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(), l = [
19
+ }], t = E(), a = [
20
20
  {
21
21
  type: "checkbox",
22
22
  width: 40,
@@ -66,37 +66,36 @@ const y = {
66
66
  slots: {
67
67
  default: ({
68
68
  row: e
69
- }) => e.id ? [c(s("ut-button"), {
69
+ }) => e.id ? [l(c("ut-button"), {
70
70
  content: "lov",
71
71
  onClick: () => m(e)
72
72
  }, null)] : null
73
73
  }
74
74
  }
75
- ], d = i(!1), r = i(null), m = (e) => {
75
+ ], d = o(!1), r = o(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
- o.value.refreshData(), d.value = !1;
81
+ i.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;
87
86
  }
88
87
  }, h = (e) => e.dictType !== "0";
89
88
  return (e, n) => {
90
- const _ = s("ut-grid");
91
- return u(), C("div", null, [c(_, {
89
+ const _ = c("ut-grid");
90
+ return s(), C("div", null, [l(_, {
92
91
  ref_key: "xgrid",
93
- ref: o,
94
- items: a,
95
- columns: l,
92
+ ref: i,
93
+ items: u,
94
+ columns: a,
96
95
  "check-method": h,
97
96
  events: p,
98
97
  url: "/upfm/v1/lov"
99
- }, null, 512), d.value ? (u(), k(T, {
98
+ }, null, 512), d.value ? (s(), k(T, {
100
99
  key: 0,
101
100
  show: d.value,
102
101
  record: r.value,
@@ -106,5 +105,5 @@ const y = {
106
105
  }
107
106
  });
108
107
  export {
109
- w as default
108
+ R as default
110
109
  };
@@ -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 { q as h } from "./index-Ce51XQgg.js";
4
+ import { w as h } from "./index-24fnvUBy.js";
5
5
  const C = {
6
6
  name: "InvOrganization"
7
7
  }, x = /* @__PURE__ */ u({
@@ -2,8 +2,8 @@ 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 { q as h } from "./index-Ce51XQgg.js";
6
- const C = { name: "OrgUnit" }, N = /* @__PURE__ */ a({
5
+ import { w as h } from "./index-24fnvUBy.js";
6
+ const C = { name: "OrgUnit" }, y = /* @__PURE__ */ a({
7
7
  ...C,
8
8
  setup(k) {
9
9
  const t = "/uums/org", r = m(null), n = _(), d = [
@@ -35,5 +35,5 @@ const C = { name: "OrgUnit" }, N = /* @__PURE__ */ a({
35
35
  }
36
36
  });
37
37
  export {
38
- N as default
38
+ y as default
39
39
  };
@@ -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-Ce51XQgg.js";
2
+ import { _ as k } from "./index-24fnvUBy.js";
3
3
  const P = { class: "ut-preview-contain" }, C = /* @__PURE__ */ w({
4
4
  __name: "Preview",
5
5
  setup(T, { expose: d }) {
@@ -42,7 +42,7 @@ const P = { class: "ut-preview-contain" }, C = /* @__PURE__ */ w({
42
42
  ]);
43
43
  };
44
44
  }
45
- }), N = /* @__PURE__ */ k(C, [["__scopeId", "data-v-a7a65711"]]);
45
+ }), N = /* @__PURE__ */ k(C, [["__scopeId", "data-v-e51c0962"]]);
46
46
  export {
47
47
  N as default
48
48
  };
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as r } from "vue";
2
- import { _ as o } from "./index-Ce51XQgg.js";
2
+ import { _ as o } from "./index-24fnvUBy.js";
3
3
  const t = {};
4
4
  function c(n, _) {
5
5
  return r(), e("div");
@@ -1,10 +1,10 @@
1
- import { defineComponent as A, ref as s, createVNode as r, Fragment as I, resolveComponent as a, nextTick as b, createElementBlock as x, openBlock as u, withDirectives as w, createBlock as m, createCommentVNode as c, vShow as E } from "vue";
1
+ import { defineComponent as I, ref as s, createVNode as r, Fragment as b, resolveComponent as a, nextTick as q, createElementBlock as w, openBlock as u, withDirectives as x, createBlock as m, createCommentVNode as c, vShow as E } from "vue";
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-Cvb54DDl.js";
6
- import { q as U } from "./index-Ce51XQgg.js";
7
- const f = "/urpt/v1/printTemplate", K = /* @__PURE__ */ A({
5
+ import { _ as M } from "./DesignPanel.vue_vue_type_style_index_0_lang-BsnXZ2td.js";
6
+ import { w as U } from "./index-24fnvUBy.js";
7
+ const f = "/urpt/v1/printTemplate", K = /* @__PURE__ */ I({
8
8
  name: "ReportDesign",
9
9
  __name: "ReportDesign",
10
10
  setup(F) {
@@ -61,7 +61,7 @@ const f = "/urpt/v1/printTemplate", K = /* @__PURE__ */ A({
61
61
  slots: {
62
62
  default: ({
63
63
  row: e
64
- }) => e.id ? r(I, null, [r(a("ut-button"), {
64
+ }) => e.id ? r(b, null, [r(a("ut-button"), {
65
65
  content: "design",
66
66
  icon: "ri-quill-pen-line",
67
67
  onTap: () => k(e)
@@ -118,14 +118,14 @@ const f = "/urpt/v1/printTemplate", K = /* @__PURE__ */ A({
118
118
  const [e] = await B(g.post(f, [t.value]));
119
119
  !e && l.value.refreshData(), i.value = !1;
120
120
  }, k = (e) => {
121
- t.value = e, b(() => {
121
+ t.value = e, q(() => {
122
122
  o.value = !0;
123
123
  });
124
124
  }, T = {
125
125
  editActived({
126
126
  row: e
127
127
  }) {
128
- e.id && (d[1].editRender.props.disabled = !0, l.value.getInstance().refreshColumn());
128
+ d[1].editRender.props.disabled = !!e.id, l.value.getInstance().refreshColumn();
129
129
  }
130
130
  }, N = ({
131
131
  row: e
@@ -133,8 +133,8 @@ const f = "/urpt/v1/printTemplate", K = /* @__PURE__ */ A({
133
133
  t.value = {}, o.value = !1, l.value.refreshData();
134
134
  };
135
135
  return (e, p) => {
136
- const P = a("ut-grid"), q = a("ut-modal-form");
137
- return u(), x("div", null, [w(r(P, {
136
+ const P = a("ut-grid"), A = a("ut-modal-form");
137
+ return u(), w("div", null, [x(r(P, {
138
138
  ref_key: "xgrid",
139
139
  ref: l,
140
140
  items: h,
@@ -146,7 +146,7 @@ const f = "/urpt/v1/printTemplate", K = /* @__PURE__ */ A({
146
146
  key: 0,
147
147
  record: t.value,
148
148
  onOnClose: D
149
- }, null, 8, ["record"])) : c("", !0), i.value ? (u(), m(q, {
149
+ }, null, 8, ["record"])) : c("", !0), i.value ? (u(), m(A, {
150
150
  key: 1,
151
151
  record: t.value,
152
152
  items: C,
@@ -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-qtLKZPIW.js";
3
+ import { _ as g } from "./ReportQueryFrom.vue_vue_type_style_index_0_lang-D6izgxph.js";
4
4
  import { useRender as N } from "@utogether/utils";
5
5
  const T = { name: "ReportQuery" }, O = /* @__PURE__ */ m({
6
6
  ...T,
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./ReportQueryFrom.vue_vue_type_style_index_0_lang-qtLKZPIW.js";
1
+ import { _ as f } from "./ReportQueryFrom.vue_vue_type_style_index_0_lang-D6izgxph.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -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 { q as V } from "./index-Ce51XQgg.js";
6
+ import { w as V } from "./index-24fnvUBy.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",
@@ -1,14 +1,14 @@
1
- import { defineComponent as E, ref as r, createVNode as p, Fragment as S, resolveComponent as s, createElementBlock as q, openBlock as f, createBlock as v, createCommentVNode as h } from "vue";
2
- import { useI18n as O } from "vue-i18n";
1
+ import { defineComponent as E, ref as r, createVNode as p, Fragment as S, resolveComponent as s, createElementBlock as O, openBlock as f, createBlock as v, createCommentVNode as h } from "vue";
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 { e as C, q as D } from "./index-Ce51XQgg.js";
5
+ import { i as C, w as D } from "./index-24fnvUBy.js";
6
6
  const I = "/upms/v1/printTemplateConfig", L = /* @__PURE__ */ E({
7
7
  __name: "ReportTemplate",
8
8
  setup(W) {
9
9
  const {
10
10
  t: b
11
- } = O(), o = V(), d = r(null), l = r(!1), i = r(!1), g = r({}), u = r([]), a = r({}), R = [{
11
+ } = q(), o = V(), i = r(null), l = r(!1), d = r(!1), g = r({}), u = r([]), a = r({}), R = [{
12
12
  field: "templateCode",
13
13
  title: "message.urpt.templateCode"
14
14
  }, {
@@ -72,7 +72,7 @@ const I = "/upms/v1/printTemplateConfig", L = /* @__PURE__ */ E({
72
72
  }, null)])]
73
73
  }
74
74
  }], N = () => {
75
- if (!d.value.getInstance().getCheckboxRecords().length)
75
+ if (!i.value.getInstance().getCheckboxRecords().length)
76
76
  return M(b("message.selectedRecord"));
77
77
  u.value = [], u.value.push({
78
78
  field: "orgName",
@@ -87,7 +87,7 @@ const I = "/upms/v1/printTemplateConfig", L = /* @__PURE__ */ E({
87
87
  }), a.value = {}, l.value = !0;
88
88
  }, _ = () => {
89
89
  if (a.value.orgName) {
90
- const t = d.value.getInstance().getCheckboxRecords(), e = [];
90
+ const t = i.value.getInstance().getCheckboxRecords(), e = [];
91
91
  t.forEach((m) => {
92
92
  a.value.orgName.forEach((c) => {
93
93
  const n = U(m, !0);
@@ -115,7 +115,7 @@ const I = "/upms/v1/printTemplateConfig", L = /* @__PURE__ */ E({
115
115
  }], y = (t) => {
116
116
  g.value = {
117
117
  headerId: t.id
118
- }, i.value = !0;
118
+ }, d.value = !0;
119
119
  }, P = [{
120
120
  code: "copy",
121
121
  icon: "ri-file-copy-line",
@@ -124,9 +124,9 @@ const I = "/upms/v1/printTemplateConfig", L = /* @__PURE__ */ E({
124
124
  }];
125
125
  return (t, e) => {
126
126
  const m = s("ut-grid"), c = s("ut-modal-form"), n = s("ut-modal-grid");
127
- return f(), q("div", null, [p(m, {
127
+ return f(), O("div", null, [p(m, {
128
128
  ref_key: "xgrid",
129
- ref: d,
129
+ ref: i,
130
130
  items: R,
131
131
  buttons: P,
132
132
  columns: k,
@@ -143,7 +143,7 @@ const I = "/upms/v1/printTemplateConfig", L = /* @__PURE__ */ E({
143
143
  title: "单据复制",
144
144
  onConfirm: _,
145
145
  onClose: e[0] || (e[0] = (T) => l.value = !1)
146
- }, null, 8, ["record", "items"])) : h("", !0), i.value ? (f(), v(n, {
146
+ }, null, 8, ["record", "items"])) : h("", !0), d.value ? (f(), v(n, {
147
147
  key: 1,
148
148
  ref: "xmgrid",
149
149
  "default-value": g.value,
@@ -151,7 +151,7 @@ const I = "/upms/v1/printTemplateConfig", L = /* @__PURE__ */ E({
151
151
  url: "/upms/v1/printTemplateConfigOgn",
152
152
  title: "库存组织",
153
153
  width: "45%",
154
- onClose: e[1] || (e[1] = (T) => i.value = !1)
154
+ onClose: e[1] || (e[1] = (T) => d.value = !1)
155
155
  }, null, 8, ["default-value"])) : h("", !0)]);
156
156
  };
157
157
  }
@@ -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-LU6W_QVY.js";
3
- import { _ as d } from "./RolePanel.vue_vue_type_script_setup_true_lang-DdK59XHp.js";
4
- import { _ as p } from "./index-Ce51XQgg.js";
2
+ import { _ as m } from "./ScrollPanel.vue_vue_type_style_index_0_lang-DZ3W1epK.js";
3
+ import { _ as d } from "./RolePanel.vue_vue_type_script_setup_true_lang-LC4Egk-Q.js";
4
+ import { _ as p } from "./index-24fnvUBy.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) {