@utogether/udp-core 1.0.1-beta.6 → 1.0.1-beta.8

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 (90) hide show
  1. package/dist/{403-Co4hnzlW.js → 403-Cjzd1bv9.js} +1 -1
  2. package/dist/{404-BsseeBQQ.js → 404-CJ-3SXgP.js} +1 -1
  3. package/dist/{500-DtKz7MA4.js → 500-CQ65MvIK.js} +1 -1
  4. package/dist/{AuthorityInfo-iWYEWOmC.js → AuthorityInfo-BdISFrap.js} +1 -1
  5. package/dist/AuthorityInfo.vue_vue_type_style_index_0_lang-DsLG5slc.js +100 -0
  6. package/dist/{Company-CK8Zkcv3.js → Company-Mj-z1hNb.js} +3 -3
  7. package/dist/{CompanyPanel-DL4UrYYG.js → CompanyPanel-BNXZ7ER3.js} +1 -1
  8. package/dist/{Department-BPHn8to4.js → Department-C4ygVbSP.js} +3 -3
  9. package/dist/{DepartmentPanel-Bqraa_NB.js → DepartmentPanel-Bk96mDlD.js} +1 -1
  10. package/dist/{DesignPanel-CFOIOZme.js → DesignPanel-Bwx2QwMM.js} +1 -1
  11. package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-H0FNG35Z.js → DesignPanel.vue_vue_type_style_index_0_lang-B3OjJTHG.js} +24 -26
  12. package/dist/{DictView-CaD1yHQS.js → DictView-DE3jnxnq.js} +19 -18
  13. package/dist/{InvOrganization-CoO0_wsY.js → InvOrganization-Drce3xUC.js} +1 -1
  14. package/dist/Org-C42D9lDj.js +39 -0
  15. package/dist/{Preview-B-K_bxDG.js → Preview-CCXoRvWF.js} +1 -1
  16. package/dist/{ReportDefine-DElbukSL.js → ReportDefine-BWsExcQU.js} +1 -1
  17. package/dist/{ReportDesign-DvUHOKDK.js → ReportDesign-BTzpUpGj.js} +26 -26
  18. package/dist/{ReportQuery-BcSYRNT3.js → ReportQuery-eoSmPXzc.js} +1 -1
  19. package/dist/{ReportQueryFrom-BGEA4Pqk.js → ReportQueryFrom-D4YlI5jl.js} +1 -1
  20. package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-B-KEPnfY.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-DPDGKW9a.js} +1 -1
  21. package/dist/{ReportTemplate-DnPtEoxn.js → ReportTemplate-BTa2YWq0.js} +1 -1
  22. package/dist/{Role-CMKkWZil.js → Role-BTGB91P1.js} +6 -6
  23. package/dist/{RoleAssign-BToNzG9a.js → RoleAssign-BBSY6bYM.js} +3 -3
  24. package/dist/{RolePanel-BikZ-D2u.js → RolePanel-BaTuyeVC.js} +1 -1
  25. package/dist/{RolePanel-BNqd7-M6.js → RolePanel-DNDI7e0g.js} +1 -1
  26. package/dist/RolePanel.vue_vue_type_script_setup_true_lang-BCwAp_1a.js +132 -0
  27. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-Nngq860f.js → RolePanel.vue_vue_type_script_setup_true_lang-QUeAQHrg.js} +44 -38
  28. package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-BDRDD2FX.js → ScrollPanel.vue_vue_type_style_index_0_lang-nqrbOaQP.js} +1 -1
  29. package/dist/{Staff-DBFATgM_.js → Staff-4dbkOqzl.js} +3 -3
  30. package/dist/{StaffInfo-CrfwZcEL.js → StaffInfo-xFAMTWgD.js} +1 -1
  31. package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-CE3_NJF_.js → StaffInfo.vue_vue_type_script_setup_true_lang-CocRlLsO.js} +1 -1
  32. package/dist/{StaffPanel-D54Rl_Bg.js → StaffPanel-Cx-8MHBz.js} +1 -1
  33. package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-B8wtuSZD.js → StaffPanel.vue_vue_type_script_setup_true_lang-B3wfpxel.js} +2 -2
  34. package/dist/{SysUser-CsuovBei.js → SysUser-BHpgPXsI.js} +2 -2
  35. package/dist/{SysUserPanel-DNUwWEVp.js → SysUserPanel-DH79Lsnm.js} +1 -1
  36. package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-CY6mhBV0.js → SysUserPanel.vue_vue_type_script_setup_true_lang-BONl2R1a.js} +104 -100
  37. package/dist/{SystemMenu-oLmwvaqT.js → SystemMenu-C2JbVgyr.js} +2 -2
  38. package/dist/{UserInfo-LyrDwBG1.js → UserInfo-Efo-_yRo.js} +1 -1
  39. package/dist/{UserInfo.vue_vue_type_style_index_0_lang-vinrRyOG.js → UserInfo.vue_vue_type_style_index_0_lang-DnjjBjMU.js} +39 -37
  40. package/dist/{childView-DGKp87fT.js → childView-D7U7qh_A.js} +1 -1
  41. package/dist/{childView-SmYl4G6c.js → childView-wFMGHGiX.js} +1 -1
  42. package/dist/{childView.vue_vue_type_style_index_0_lang-wVoPvyRY.js → childView.vue_vue_type_style_index_0_lang-Bshn4N8Y.js} +1 -1
  43. package/dist/{childView.vue_vue_type_style_index_0_lang-DU-Uun5d.js → childView.vue_vue_type_style_index_0_lang-w2CkZij-.js} +1 -1
  44. package/dist/{code-rule-CfbGjmOs.js → code-rule-B5dIxV6g.js} +1 -1
  45. package/dist/core.es.js +1 -1
  46. package/dist/{cron-task-DMfwGfms.js → cron-task-DWGtihrw.js} +1 -1
  47. package/dist/{frameView-D-hu_pqQ.js → frameView-DF2mXAwO.js} +1 -1
  48. package/dist/{index-ADANSV-q.js → index-VU6c04nN.js} +1562 -1309
  49. package/dist/{layoutView-D3SikBPr.js → layoutView-DUUKW0KX.js} +2 -2
  50. package/dist/{login-CQ1yBBdY.js → login-ByEoQ2HH.js} +11 -11
  51. package/dist/{lov-view-CSobDBH7.js → lov-view-DqD__3-w.js} +2 -2
  52. package/dist/{menuInfo-mFuM30f1.js → menuInfo-a7jPwS1r.js} +1 -1
  53. package/dist/{menuInfo.vue_vue_type_style_index_0_lang-BsIPzYg0.js → menuInfo.vue_vue_type_style_index_0_lang-ZzGrkylA.js} +2 -2
  54. package/dist/{pda-app-CIGFsvrX.js → pda-app-EP9d0Ypd.js} +201 -189
  55. package/dist/{resource-mbd4LPi-.js → resource-eughqxkP.js} +1 -1
  56. package/dist/{su-welcome-DruLsVvu.js → su-welcome-98GLKyZM.js} +1 -1
  57. package/dist/{sys-config-TXb5cJM4.js → sys-config-gs16tgwA.js} +1 -1
  58. package/dist/udp-core.css +2 -2
  59. package/dist/{utogether-Cv0UXnEX.js → utogether-C4Dd2epc.js} +1 -1
  60. package/package.json +1 -1
  61. package/src/App.vue +1 -6
  62. package/src/components/SuCharts/src/UserInfo.vue +78 -78
  63. package/src/components/udp/grid.vue +2 -18
  64. package/src/components/udp/index.ts +2 -2
  65. package/src/components/udp/modal-grid.vue +288 -297
  66. package/src/components/udp/utils.ts +11 -18
  67. package/src/main.ts +10 -2
  68. package/src/plugins/i18n/en.ts +24 -13
  69. package/src/plugins/i18n/zh.ts +348 -342
  70. package/src/plugins/vxe-table/index.ts +1 -1
  71. package/src/plugins/vxe-table/render.tsx +92 -17
  72. package/src/style/vxetable.scss +293 -287
  73. package/src/views/organization/org/Org.vue +9 -5
  74. package/src/views/system/menu/SystemMenu.vue +4 -18
  75. package/src/views/system/menu/menuInfo.vue +4 -17
  76. package/src/views/system/role/AuthorityInfo.vue +19 -15
  77. package/src/views/system/role/Role.vue +1 -5
  78. package/src/views/system/role/RolePanel.vue +11 -2
  79. package/src/views/system/role/UserInfo.vue +195 -193
  80. package/src/views/system/role-assign/RolePanel.vue +139 -136
  81. package/src/views/system/sysUser/SysUserPanel.vue +278 -282
  82. package/src/views/uapp/pda/pda-app.vue +36 -11
  83. package/src/views/udev/dict/DictView.vue +6 -1
  84. package/src/views/udev/dict/childView.vue +1 -6
  85. package/src/views/ulogin/login.vue +1 -5
  86. package/src/views/urpt/design/DesignPanel.vue +507 -526
  87. package/src/views/urpt/design/ReportDesign.vue +7 -11
  88. package/dist/AuthorityInfo.vue_vue_type_style_index_0_lang-BWp7PKyH.js +0 -102
  89. package/dist/Org-BU3oaFx3.js +0 -35
  90. package/dist/RolePanel.vue_vue_type_script_setup_true_lang-DYP3u1Nv.js +0 -126
@@ -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-ADANSV-q.js";
3
+ import { C as v } from "./index-VU6c04nN.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-ADANSV-q.js";
3
+ import { C as u } from "./index-VU6c04nN.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-ADANSV-q.js";
3
+ import { C as D } from "./index-VU6c04nN.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-BWp7PKyH.js";
1
+ import { _ as f } from "./AuthorityInfo.vue_vue_type_style_index_0_lang-DsLG5slc.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -0,0 +1,100 @@
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-VU6c04nN.js";
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({
5
+ __name: "AuthorityInfo",
6
+ props: {
7
+ show: { type: Boolean, default: !1 },
8
+ record: { default: () => ({}) },
9
+ dataStatus: { default: "detail" },
10
+ direction: { default: "rtl" }
11
+ },
12
+ emits: ["onClose"],
13
+ setup(h, { emit: y }) {
14
+ const d = h, u = f(null), o = f(!1), s = B({
15
+ dataList: [],
16
+ defaultCheckedKeys: []
17
+ // 默认权限
18
+ }), v = window.innerHeight - 180, g = y, w = async () => {
19
+ const e = await c().get("/uums/menu/listMenuTree", {});
20
+ o.value = !1, s.dataList = e;
21
+ }, k = async () => {
22
+ const e = {
23
+ roleId: d.record.id,
24
+ menuType: "1"
25
+ }, a = await c().get("/uums/role/getRoleMenus", e);
26
+ s.defaultCheckedKeys = a.map((i) => i.id);
27
+ }, C = async () => {
28
+ const { record: e } = d;
29
+ o.value = !0;
30
+ const a = u.value.getCheckedNodes(!1, !0);
31
+ e.sysMenus = a, await S(c().put("/uums/role", [e])), o.value = !1, l();
32
+ };
33
+ function l() {
34
+ g("onClose");
35
+ }
36
+ return M(() => {
37
+ o.value = !0, k(), w();
38
+ }), (e, a) => {
39
+ const i = n("el-tree-v2"), b = n("el-divider"), m = n("ut-button"), x = n("el-row"), T = n("el-drawer"), L = A("spinning");
40
+ return _(), p("div", E, [
41
+ t(T, {
42
+ "model-value": e.show,
43
+ title: e.$t("message.title.authority", { role: e.record.roleName }),
44
+ "before-close": l,
45
+ direction: "rtl",
46
+ "destroy-on-close": "",
47
+ "body-class": "ut-draw-body",
48
+ size: "40%"
49
+ }, {
50
+ footer: r(() => [
51
+ t(b, { style: { margin: "16px 0" } }),
52
+ t(x, {
53
+ type: "flex",
54
+ justify: "end",
55
+ style: { "padding-right": "20px" }
56
+ }, {
57
+ default: r(() => [
58
+ t(m, {
59
+ content: "cancel",
60
+ icon: "ri-close-fill",
61
+ status: "warning",
62
+ onTap: l
63
+ }),
64
+ t(m, {
65
+ content: "confirm",
66
+ icon: "ri-save-3-fill",
67
+ status: "u-cyan",
68
+ onTap: C
69
+ })
70
+ ]),
71
+ _: 1
72
+ })
73
+ ]),
74
+ default: r(() => [
75
+ D((_(), p("div", I, [
76
+ K("div", null, [
77
+ t(i, {
78
+ ref_key: "xTree",
79
+ ref: u,
80
+ data: s.dataList,
81
+ props: { children: "children", label: "menuName" },
82
+ "default-checked-keys": s.defaultCheckedKeys,
83
+ height: v,
84
+ "show-checkbox": "",
85
+ "node-key": "id"
86
+ }, null, 8, ["data", "default-checked-keys"])
87
+ ])
88
+ ])), [
89
+ [L, o.value]
90
+ ])
91
+ ]),
92
+ _: 1
93
+ }, 8, ["model-value", "title"])
94
+ ]);
95
+ };
96
+ }
97
+ });
98
+ export {
99
+ z as _
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-BDRDD2FX.js";
3
- import p from "./CompanyPanel-DL4UrYYG.js";
4
- import { _ as d } from "./index-ADANSV-q.js";
2
+ import { _ as m } from "./ScrollPanel.vue_vue_type_style_index_0_lang-nqrbOaQP.js";
3
+ import p from "./CompanyPanel-BNXZ7ER3.js";
4
+ import { _ as d } from "./index-VU6c04nN.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 { q as J, _ as K } from "./index-ADANSV-q.js";
7
+ import { q as J, _ as K } from "./index-VU6c04nN.js";
8
8
  const O = { class: "page-content" }, _ = "/uums/unit", Q = /* @__PURE__ */ V({
9
9
  __name: "CompanyPanel",
10
10
  setup(W) {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as l, ref as e, provide as t, createElementBlock as i, openBlock as m, createElementVNode as n, createVNode as o } from "vue";
2
- import { _ as p } from "./ScrollPanel.vue_vue_type_style_index_0_lang-BDRDD2FX.js";
3
- import _ from "./DepartmentPanel-Bqraa_NB.js";
4
- import { _ as d } from "./index-ADANSV-q.js";
2
+ import { _ as p } from "./ScrollPanel.vue_vue_type_style_index_0_lang-nqrbOaQP.js";
3
+ import _ from "./DepartmentPanel-Bk96mDlD.js";
4
+ import { _ as d } from "./index-VU6c04nN.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-ADANSV-q.js";
8
+ import { e as Q, q as W, _ as Z } from "./index-VU6c04nN.js";
9
9
  const ee = { class: "page-content" }, y = "/uums/department", te = /* @__PURE__ */ V({
10
10
  __name: "DepartmentPanel",
11
11
  setup(ae) {
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./DesignPanel.vue_vue_type_style_index_0_lang-H0FNG35Z.js";
1
+ import { _ as f } from "./DesignPanel.vue_vue_type_style_index_0_lang-B3OjJTHG.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,10 +1,10 @@
1
- import { defineComponent as it, ref as f, reactive as k, onMounted as ot, onBeforeUnmount as nt, resolveComponent as r, resolveDirective as pt, withDirectives as at, createElementBlock as N, openBlock as w, createVNode as l, createBlock as S, createCommentVNode as H, withCtx as i, createElementVNode as e, Fragment as rt, renderList as st, unref as dt, toDisplayString as D, withModifiers as ct, createTextVNode as O, nextTick as ht } from "vue";
2
- import { VXETable as U } from "vxe-table";
1
+ import { defineComponent as it, ref as f, reactive as M, onMounted as ot, onBeforeUnmount as nt, resolveComponent as r, resolveDirective as pt, withDirectives as at, createElementBlock as N, openBlock as w, createVNode as l, createBlock as S, createCommentVNode as H, withCtx as i, createElementVNode as e, Fragment as rt, renderList as st, unref as dt, toDisplayString as D, withModifiers as ct, createTextVNode as U, nextTick as ht } from "vue";
2
+ 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-ADANSV-q.js";
7
- import vt from "./Preview-B-K_bxDG.js";
6
+ import { e as gt, q as yt } from "./index-VU6c04nN.js";
7
+ import vt from "./Preview-CCXoRvWF.js";
8
8
  const xt = {
9
9
  panels: [
10
10
  {
@@ -490,11 +490,11 @@ const xt = {
490
490
  },
491
491
  emits: ["onClose"],
492
492
  setup(J, { emit: B }) {
493
- const R = J;
493
+ const I = J;
494
494
  let { $printPlugin: u } = ut();
495
- const I = gt().getDataDict, W = yt();
495
+ const R = gt().getDataDict, W = yt();
496
496
  let s = null;
497
- const C = f(!1), g = f(!1), y = f(!1), v = f(!1), z = f(null), T = f(""), m = f({}), d = k({}), h = k({ max: 5, min: 0.5, value: 1, ration: "100%" }), j = () => {
497
+ const C = f(!1), g = f(!1), y = f(!1), v = f(!1), z = f(null), T = f(""), m = f({}), d = M({}), h = M({ max: 5, min: 0.5, value: 1, ration: "100%" }), j = () => {
498
498
  g.value = !1, s.setPaper(d.width || 210, d.height || 296.6);
499
499
  }, V = async (n) => {
500
500
  const t = m.value;
@@ -512,24 +512,24 @@ const xt = {
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
514
  }, F = async () => {
515
- await U.modal.confirm("重绘操作不可逆,您确定继续吗?", "温馨提示") === "confirm" && s.clear();
515
+ await O.modal.confirm("重绘操作不可逆,您确定继续吗?", "温馨提示") === "confirm" && s.clear();
516
516
  }, L = async () => {
517
517
  y.value = !0;
518
518
  }, Y = async () => {
519
- await U.modal.confirm("导入后将覆盖原有的模板,您确定继续吗?", "温馨提示") === "confirm" && (V(P), y.value = !1);
519
+ await O.modal.confirm("导入后将覆盖原有的模板,您确定继续吗?", "温馨提示") === "confirm" && (V(P), y.value = !1);
520
520
  }, G = async () => {
521
521
  C.value = !0;
522
522
  const n = {};
523
523
  ht(() => {
524
524
  z.value.show(s, n, d.width || 220);
525
525
  });
526
- }, X = (n) => {
526
+ }, K = (n) => {
527
527
  if (n !== "customize") {
528
- const { width: t, height: p } = K(n);
528
+ const { width: t, height: p } = Q(n);
529
529
  d.width = t, d.height = p, s.setPaper(d.width, d.height);
530
530
  } else
531
531
  g.value = !0;
532
- }, K = (n) => ({
532
+ }, Q = (n) => ({
533
533
  A3: { width: 420, height: 296.6 },
534
534
  A4: { width: 210, height: 296.6 },
535
535
  A5: { width: 210, height: 147.6 },
@@ -537,7 +537,7 @@ const xt = {
537
537
  trisection: { width: 241, height: 93 }
538
538
  })[n];
539
539
  return ot(() => {
540
- const { record: n } = R;
540
+ const { record: n } = I;
541
541
  v.value = !0, m.value = ft(n, !0);
542
542
  const t = n.templateContent ? JSON.parse(n.templateContent) : xt;
543
543
  $("#hiprint-printTemplate").empty(), u.print.init({
@@ -560,7 +560,7 @@ const xt = {
560
560
  }), nt(() => {
561
561
  u = null, s = null;
562
562
  }), (n, t) => {
563
- const p = r("ut-button"), E = r("el-option"), _ = r("el-select"), x = r("vxe-input"), Q = r("el-popover"), M = r("vxe-button"), Z = r("el-space"), c = r("el-row"), a = r("el-col"), b = r("el-card"), tt = r("vxe-textarea"), et = r("vxe-modal"), lt = pt("spinning");
563
+ const p = r("ut-button"), E = r("el-option"), _ = r("el-select"), x = r("vxe-input"), X = r("el-popover"), k = r("vxe-button"), Z = r("el-space"), c = r("el-row"), a = r("el-col"), b = r("el-card"), tt = r("vxe-textarea"), et = r("vxe-modal"), lt = pt("spinning");
564
564
  return at((w(), N("div", wt, [
565
565
  l(b, { class: "design-panel-contain" }, {
566
566
  default: i(() => [
@@ -583,10 +583,10 @@ const xt = {
583
583
  placeholder: "Select Paper",
584
584
  class: "ml-1 mr-1",
585
585
  style: { width: "100px !important" },
586
- onChange: t[1] || (t[1] = (o) => X(m.value.paperType))
586
+ onChange: t[1] || (t[1] = (o) => K(m.value.paperType))
587
587
  }, {
588
588
  default: i(() => [
589
- (w(!0), N(rt, null, st(dt(I)["SU.PRINT.PAPER"].children, (o) => (w(), S(E, {
589
+ (w(!0), N(rt, null, st(dt(R)["SU.PRINT.PAPER"].children, (o) => (w(), S(E, {
590
590
  key: o.dictCode,
591
591
  label: o.dictName,
592
592
  value: o.dictCode
@@ -600,7 +600,7 @@ const xt = {
600
600
  ]),
601
601
  _: 1
602
602
  }, 8, ["modelValue"]),
603
- m.value.paperType === "customize" ? (w(), S(Q, {
603
+ m.value.paperType === "customize" ? (w(), S(X, {
604
604
  key: 0,
605
605
  visible: g.value,
606
606
  "onUpdate:visible": t[5] || (t[5] = (o) => g.value = o),
@@ -614,7 +614,7 @@ const xt = {
614
614
  l(p, {
615
615
  icon: "ri-font-size",
616
616
  content: "customSize",
617
- onClick: t[4] || (t[4] = ct((o) => g.value = !0, ["stop"]))
617
+ onTap: t[4] || (t[4] = ct((o) => g.value = !0, ["stop"]))
618
618
  })
619
619
  ]),
620
620
  default: i(() => [
@@ -652,7 +652,7 @@ const xt = {
652
652
  auth: "import",
653
653
  onTap: t[6] || (t[6] = (o) => L())
654
654
  }),
655
- l(M, {
655
+ l(k, {
656
656
  icon: "ri-indeterminate-circle-line ",
657
657
  class: "design-custom-button",
658
658
  onClick: t[7] || (t[7] = (o) => A("N"))
@@ -664,7 +664,7 @@ const xt = {
664
664
  align: "center",
665
665
  style: { width: "70px", "margin-left": "10px" }
666
666
  }, null, 8, ["modelValue"]),
667
- l(M, {
667
+ l(k, {
668
668
  icon: "ri-add-circle-fill ",
669
669
  class: "design-custom-button",
670
670
  onClick: t[9] || (t[9] = (o) => A("Y"))
@@ -710,7 +710,7 @@ const xt = {
710
710
  default: i(() => [
711
711
  l(c, { class: "drag_item_title" }, {
712
712
  default: i(() => t[17] || (t[17] = [
713
- O("拖拽组件列表")
713
+ U("拖拽组件列表")
714
714
  ])),
715
715
  _: 1
716
716
  }),
@@ -738,8 +738,7 @@ const xt = {
738
738
  }),
739
739
  l(a, {
740
740
  span: 12,
741
- class: "drag_item_box",
742
- tid: "defaultModule.text"
741
+ class: "drag_item_box"
743
742
  }, {
744
743
  default: i(() => t[19] || (t[19] = [
745
744
  e("div", null, [
@@ -785,8 +784,7 @@ const xt = {
785
784
  }),
786
785
  l(a, {
787
786
  span: 12,
788
- class: "drag_item_box",
789
- tid: "defaultModule.text"
787
+ class: "drag_item_box"
790
788
  }, {
791
789
  default: i(() => t[21] || (t[21] = [
792
790
  e("div", null, [
@@ -809,7 +807,7 @@ const xt = {
809
807
  }),
810
808
  l(c, { class: "drag_item_title" }, {
811
809
  default: i(() => t[22] || (t[22] = [
812
- O("辅助")
810
+ U("辅助")
813
811
  ])),
814
812
  _: 1
815
813
  }),
@@ -1,12 +1,12 @@
1
- import { defineComponent as v, ref as n, createVNode as c, resolveComponent as s, nextTick as g, createElementBlock as h, openBlock as u, createBlock as C, createCommentVNode as D } from "vue";
2
- import { _ as T } from "./childView.vue_vue_type_style_index_0_lang-DU-Uun5d.js";
3
- import { useRender as k } from "@utogether/utils";
4
- const E = {
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-w2CkZij-.js";
3
+ import { useRender as E } from "@utogether/utils";
4
+ const y = {
5
5
  name: "DictView"
6
- }, x = /* @__PURE__ */ v({
7
- ...E,
6
+ }, w = /* @__PURE__ */ v({
7
+ ...y,
8
8
  setup(N) {
9
- const o = n(null), a = [{
9
+ const o = i(null), a = [{
10
10
  field: "dictCode",
11
11
  title: "message.udp.dictCode"
12
12
  }, {
@@ -16,7 +16,7 @@ const E = {
16
16
  field: "dictType",
17
17
  title: "message.udp.dictType",
18
18
  code: "SU.DICT.TYPE"
19
- }], t = k(), l = [{
19
+ }], t = E(), l = [{
20
20
  type: "checkbox",
21
21
  width: 40,
22
22
  align: "center"
@@ -59,10 +59,10 @@ const E = {
59
59
  onClick: () => m(e)
60
60
  }, null)] : null
61
61
  }
62
- }], d = n(!1), r = n(null), m = (e) => {
62
+ }], d = i(!1), r = i(null), m = (e) => {
63
63
  g(() => {
64
- var i;
65
- d.value = !0, r.value = e, r.value.total = (i = e.children) == null ? void 0 : i.length;
64
+ var n;
65
+ d.value = !0, r.value = e, r.value.total = (n = e.children) == null ? void 0 : n.length;
66
66
  });
67
67
  }, f = () => {
68
68
  o.value.refreshData(), d.value = !1;
@@ -72,17 +72,18 @@ const E = {
72
72
  }) {
73
73
  l[1].editRender.props.disabled = !!e.id;
74
74
  }
75
- };
76
- return (e, i) => {
75
+ }, h = (e) => e.dictType !== "0";
76
+ return (e, n) => {
77
77
  const _ = s("ut-grid");
78
- return u(), h("div", null, [c(_, {
78
+ return u(), C("div", null, [c(_, {
79
79
  ref_key: "xgrid",
80
80
  ref: o,
81
81
  items: a,
82
82
  columns: l,
83
- url: "/upfm/v1/lov",
84
- events: p
85
- }, null, 512), d.value ? (u(), C(T, {
83
+ "check-method": h,
84
+ events: p,
85
+ url: "/upfm/v1/lov"
86
+ }, null, 512), d.value ? (u(), k(T, {
86
87
  key: 0,
87
88
  show: d.value,
88
89
  record: r.value,
@@ -92,5 +93,5 @@ const E = {
92
93
  }
93
94
  });
94
95
  export {
95
- x as default
96
+ w as default
96
97
  };
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as u, ref as s, reactive as m, resolveComponent as f, createBlock as p, openBlock as g } from "vue";
2
2
  import { t as _ } from "./await-to-js.es5-BtRbN2QH.js";
3
3
  import { useRender as h } from "@utogether/utils";
4
- import { q as z } from "./index-ADANSV-q.js";
4
+ import { q as z } from "./index-VU6c04nN.js";
5
5
  const k = {
6
6
  name: "InvOrganization"
7
7
  }, R = /* @__PURE__ */ u({
@@ -0,0 +1,39 @@
1
+ import { defineComponent as a, ref as m, resolveComponent as u, createBlock as c, openBlock as g } from "vue";
2
+ import { t as p } from "./await-to-js.es5-BtRbN2QH.js";
3
+ import { clone as f } from "xe-utils";
4
+ import { useRender as _ } from "@utogether/utils";
5
+ import { q as h } from "./index-VU6c04nN.js";
6
+ const C = { name: "OrgUnit" }, N = /* @__PURE__ */ a({
7
+ ...C,
8
+ setup(k) {
9
+ const t = "/uums/org", r = m(null), n = _(), d = [
10
+ { field: "orgCode", title: "message.udp.orgCode" },
11
+ { field: "orgName", title: "message.udp.orgName" },
12
+ { field: "orgAlias", title: "message.udp.orgAlias" }
13
+ ], s = [
14
+ { type: "checkbox", width: 50, align: "center" },
15
+ { field: "orgCode", title: "message.udp.orgCode", required: !0, editRender: { name: "$input" } },
16
+ { field: "orgName", title: "message.udp.orgName", required: !0, minWidth: 200, editRender: { name: "$input" } },
17
+ { field: "orgAlias", title: "message.udp.orgAlias", editRender: { name: "$input" } },
18
+ { field: "orgDesc", title: "message.udp.orgDesc", editRender: { name: "$input" } },
19
+ { field: "enabled", width: 80, cellRender: n.renderEnabled(l) }
20
+ ];
21
+ async function l({ row: o }) {
22
+ const i = f(o, !0), [e] = await p(h().put(t, [i]));
23
+ !e && r.value.refreshData();
24
+ }
25
+ return (o, i) => {
26
+ const e = u("ut-grid");
27
+ return g(), c(e, {
28
+ ref_key: "xgrid",
29
+ ref: r,
30
+ items: d,
31
+ columns: s,
32
+ url: t
33
+ }, null, 512);
34
+ };
35
+ }
36
+ });
37
+ export {
38
+ N as default
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-ADANSV-q.js";
2
+ import { _ as k } from "./index-VU6c04nN.js";
3
3
  const P = { class: "ut-preview-contain" }, C = /* @__PURE__ */ w({
4
4
  __name: "Preview",
5
5
  setup(T, { expose: d }) {
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as r } from "vue";
2
- import { _ as o } from "./index-ADANSV-q.js";
2
+ import { _ as o } from "./index-VU6c04nN.js";
3
3
  const t = {};
4
4
  function c(n, _) {
5
5
  return r(), e("div");
@@ -1,14 +1,14 @@
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 d, withDirectives as w, createBlock as p, createCommentVNode as c, vShow as E } from "vue";
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";
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-H0FNG35Z.js";
6
- import { q as U } from "./index-ADANSV-q.js";
5
+ import { _ as M } from "./DesignPanel.vue_vue_type_style_index_0_lang-B3OjJTHG.js";
6
+ import { q as U } from "./index-VU6c04nN.js";
7
7
  const f = "/urpt/v1/printTemplate", K = /* @__PURE__ */ A({
8
8
  name: "ReportDesign",
9
9
  __name: "ReportDesign",
10
10
  setup(F) {
11
- const o = s(null), l = s(!1), i = s(!1), n = S(), t = s({}), {
11
+ const l = s(null), o = s(!1), i = s(!1), n = S(), t = s({}), {
12
12
  copy: v
13
13
  } = V(), g = U(), h = [{
14
14
  field: "templateCode",
@@ -16,7 +16,7 @@ const f = "/urpt/v1/printTemplate", K = /* @__PURE__ */ A({
16
16
  }, {
17
17
  field: "templateName",
18
18
  title: "message.urpt.templateName"
19
- }], u = [
19
+ }], d = [
20
20
  {
21
21
  type: "checkbox",
22
22
  width: 50,
@@ -74,13 +74,13 @@ const f = "/urpt/v1/printTemplate", K = /* @__PURE__ */ A({
74
74
  content: "export",
75
75
  status: "u-cyan",
76
76
  icon: "ri-folder-download-fill",
77
- onTap: () => _(e)
77
+ onTap: () => y(e)
78
78
  }, null)]) : null
79
79
  }
80
80
  }
81
81
  ], C = [{
82
82
  field: "templateCode",
83
- title: "message.templateCode",
83
+ title: "message.urpt.templateCode",
84
84
  required: !0,
85
85
  itemRender: {
86
86
  name: "$input"
@@ -88,7 +88,7 @@ const f = "/urpt/v1/printTemplate", K = /* @__PURE__ */ A({
88
88
  span: 24
89
89
  }, {
90
90
  field: "templateName",
91
- title: "message.templateName",
91
+ title: "message.urpt.templateName",
92
92
  required: !0,
93
93
  itemRender: {
94
94
  name: "$input"
@@ -96,6 +96,7 @@ const f = "/urpt/v1/printTemplate", K = /* @__PURE__ */ A({
96
96
  span: 24
97
97
  }, {
98
98
  field: "paperType",
99
+ title: "message.urpt.paperType",
99
100
  width: 100,
100
101
  required: !0,
101
102
  itemRender: n.renderDict({
@@ -105,57 +106,56 @@ const f = "/urpt/v1/printTemplate", K = /* @__PURE__ */ A({
105
106
  }, {
106
107
  field: "remarks",
107
108
  title: "message.remark",
108
- required: !0,
109
109
  itemRender: {
110
110
  name: "$input"
111
111
  },
112
112
  span: 24
113
113
  }], R = (e) => {
114
114
  t.value.templateContent = e.templateContent, t.value.paperType = e.paperType, i.value = !0;
115
- }, _ = (e) => {
115
+ }, y = (e) => {
116
116
  v(e.templateContent), $("复制成功,快试试右键粘贴吧");
117
- }, y = async () => {
117
+ }, _ = async () => {
118
118
  const [e] = await B(g.post(f, [t.value]));
119
- !e && o.value.refreshData(), i.value = !1;
119
+ !e && l.value.refreshData(), i.value = !1;
120
120
  }, k = (e) => {
121
121
  t.value = e, b(() => {
122
- l.value = !0;
122
+ o.value = !0;
123
123
  });
124
124
  }, T = {
125
125
  editActived({
126
126
  row: e
127
127
  }) {
128
- e.id && (u[1].editRender.props.disabled = !0, o.value.getInstance().refreshColumn());
128
+ e.id && (d[1].editRender.props.disabled = !0, l.value.getInstance().refreshColumn());
129
129
  }
130
130
  }, N = ({
131
131
  row: e
132
132
  }) => (e == null ? void 0 : e.enabled) !== "1", D = () => {
133
- t.value = {}, l.value = !1, o.value.refreshData();
133
+ t.value = {}, o.value = !1, l.value.refreshData();
134
134
  };
135
- return (e, m) => {
136
- const q = a("ut-grid"), P = a("ut-modal-form");
137
- return d(), x("div", null, [w(r(q, {
135
+ return (e, p) => {
136
+ const P = a("ut-grid"), q = a("ut-modal-form");
137
+ return u(), x("div", null, [w(r(P, {
138
138
  ref_key: "xgrid",
139
- ref: o,
139
+ ref: l,
140
140
  items: h,
141
- columns: u,
141
+ columns: d,
142
142
  "check-method": N,
143
143
  url: f,
144
144
  events: T
145
- }, null, 512), [[E, !l.value]]), l.value ? (d(), p(M, {
145
+ }, null, 512), [[E, !o.value]]), o.value ? (u(), m(M, {
146
146
  key: 0,
147
147
  record: t.value,
148
148
  onOnClose: D
149
- }, null, 8, ["record"])) : c("", !0), i.value ? (d(), p(P, {
149
+ }, null, 8, ["record"])) : c("", !0), i.value ? (u(), m(q, {
150
150
  key: 1,
151
151
  record: t.value,
152
152
  items: C,
153
- width: 300,
154
- height: 240,
153
+ width: "40%",
154
+ height: 290,
155
155
  "data-status": "update",
156
156
  title: "复制模板",
157
- onConfirm: y,
158
- onClose: m[0] || (m[0] = (G) => i.value = !1)
157
+ onConfirm: _,
158
+ onClose: p[0] || (p[0] = (G) => i.value = !1)
159
159
  }, null, 8, ["record"])) : c("", !0)]);
160
160
  };
161
161
  }
@@ -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-B-KEPnfY.js";
3
+ import { _ as g } from "./ReportQueryFrom.vue_vue_type_style_index_0_lang-DPDGKW9a.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-B-KEPnfY.js";
1
+ import { _ as f } from "./ReportQueryFrom.vue_vue_type_style_index_0_lang-DPDGKW9a.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-ADANSV-q.js";
6
+ import { q as V } from "./index-VU6c04nN.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",