@utogether/udp-core 1.0.1-beta.1 → 1.0.1-beta.3

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 (93) hide show
  1. package/build/plugins.ts +6 -1
  2. package/dist/{403-Dp617CWX.js → 403-BuP9jvH9.js} +1 -1
  3. package/dist/{404-Cz_Axb6Y.js → 404-DfQk8kKl.js} +1 -1
  4. package/dist/{500-BGCtRNse.js → 500-OgROWdiZ.js} +1 -1
  5. package/dist/{AuthorityInfo-DGGfm7IS.js → AuthorityInfo-q2ksfkWH.js} +1 -1
  6. package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-BqccGW7v.js → AuthorityInfo.vue_vue_type_style_index_0_lang-Bwsf6lMH.js} +1 -1
  7. package/dist/{Company-IV3GTnzY.js → Company-DgqowAxc.js} +3 -3
  8. package/dist/{CompanyPanel-qV-_VtoL.js → CompanyPanel-BNb1rUhD.js} +16 -16
  9. package/dist/{Department-B3W-OxW8.js → Department-Cl8CROSU.js} +3 -3
  10. package/dist/{DepartmentPanel-Cw3OWxE7.js → DepartmentPanel-D5VkqKeP.js} +1 -1
  11. package/dist/{DesignPanel-BFxR2fHJ.js → DesignPanel-BGvEusHC.js} +1 -1
  12. package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-DljbeFba.js → DesignPanel.vue_vue_type_style_index_0_lang-BQF1uQ7w.js} +2 -2
  13. package/dist/{DictView-C-i7e4hZ.js → DictView-BnxfaOBv.js} +13 -12
  14. package/dist/InvOrganization-5y79ZLdY.js +66 -0
  15. package/dist/{Org-CA7vTDIF.js → Org-2oBAXN2r.js} +1 -1
  16. package/dist/{Preview-BlDMmpdR.js → Preview-BaGmXH7r.js} +1 -1
  17. package/dist/{ReportDefine-Cub_85LA.js → ReportDefine-DkQdBErt.js} +1 -1
  18. package/dist/{ReportDesign-hFhq5UVE.js → ReportDesign-DzB_A_G6.js} +2 -2
  19. package/dist/{ReportQuery-ChkWEyxT.js → ReportQuery-DRcMb6ya.js} +1 -1
  20. package/dist/{ReportQueryFrom-KVyD_8Dj.js → ReportQueryFrom-CeA9xhR4.js} +1 -1
  21. package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-CLNODquq.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-CgGtcs5V.js} +1 -1
  22. package/dist/{ReportTemplate-ag9NDvh2.js → ReportTemplate-qaiTMQuT.js} +1 -1
  23. package/dist/{Role-_q3lQ8CZ.js → Role-DsFulAjq.js} +3 -3
  24. package/dist/{RoleAssign-DZb9IRsm.js → RoleAssign-DMRdocpa.js} +3 -3
  25. package/dist/{RolePanel-CsLsz-Ds.js → RolePanel-B9POS_pg.js} +1 -1
  26. package/dist/{RolePanel-BQb1LlhD.js → RolePanel-wXVysDHM.js} +1 -1
  27. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-BrnRgHEk.js → RolePanel.vue_vue_type_script_setup_true_lang-CleVvkcY.js} +3 -3
  28. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-cmW7zBLu.js → RolePanel.vue_vue_type_script_setup_true_lang-t6S_0zmJ.js} +1 -1
  29. package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-CaFKRwXu.js → ScrollPanel.vue_vue_type_style_index_0_lang-DlXUs0j9.js} +1 -1
  30. package/dist/{Staff-BSf9Ypbk.js → Staff-Cq4V7ruC.js} +3 -3
  31. package/dist/{StaffInfo-BNKasyMF.js → StaffInfo-CJDKMbud.js} +1 -1
  32. package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-DDZ7ukd0.js → StaffInfo.vue_vue_type_script_setup_true_lang-DQ4DL1KY.js} +1 -1
  33. package/dist/{StaffPanel-Bpq0WVlH.js → StaffPanel-CG-uggdr.js} +1 -1
  34. package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-BhiJ0Q-Q.js → StaffPanel.vue_vue_type_script_setup_true_lang-DAgN7zN2.js} +2 -2
  35. package/dist/{SysUser-FAABuNti.js → SysUser-kwnzRNdD.js} +2 -2
  36. package/dist/{SysUserPanel-PxJeOgHm.js → SysUserPanel-DTlZf3vk.js} +1 -1
  37. package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-njefUln5.js → SysUserPanel.vue_vue_type_script_setup_true_lang-BW6PlGjM.js} +1 -1
  38. package/dist/{SystemMenu-C-7NAGon.js → SystemMenu-BVT0n-L2.js} +21 -21
  39. package/dist/{UserInfo-ClXKtyGo.js → UserInfo-BbTQ9Zat.js} +1 -1
  40. package/dist/{UserInfo.vue_vue_type_style_index_0_lang-8N7P4Hl7.js → UserInfo.vue_vue_type_style_index_0_lang-D_bpYDmI.js} +1 -1
  41. package/dist/{childView-C_HmDQNd.js → childView-BJbIhjmf.js} +1 -1
  42. package/dist/{childView-uUlBcTza.js → childView-DCsGFrG-.js} +1 -1
  43. package/dist/{childView.vue_vue_type_style_index_0_lang-y0sDvYx5.js → childView.vue_vue_type_style_index_0_lang-BCDxpVoD.js} +1 -1
  44. package/dist/{childView.vue_vue_type_style_index_0_lang-Ckjmw6wJ.js → childView.vue_vue_type_style_index_0_lang-CDtsalCm.js} +1 -1
  45. package/dist/{code-rule-AgCVDKFy.js → code-rule-DePU6cdp.js} +1 -1
  46. package/dist/core.es.js +1 -1
  47. package/dist/{cron-task-C6FgQxTi.js → cron-task-DUM1SIGL.js} +1 -1
  48. package/dist/{frameView-BDgISK7N.js → frameView-CEUTDtSm.js} +1 -1
  49. package/dist/img/l_img.svg +1 -1
  50. package/dist/img/minicolors.png +0 -0
  51. package/dist/img/v_img.svg +1 -1
  52. package/dist/{index-DzOzUkf6.js → index-ZdgOD7cF.js} +59 -48
  53. package/dist/{layoutView-yb3DV2DQ.js → layoutView-PCjwVwkX.js} +109 -108
  54. package/dist/{login-RRpljbkm.js → login-B1CjWVKu.js} +2 -2
  55. package/dist/{lov-view-C9-rjzZR.js → lov-view-D8wwkxFJ.js} +2 -2
  56. package/dist/{menuInfo-CzPQyFhp.js → menuInfo-B5JKVwrB.js} +1 -1
  57. package/dist/{menuInfo.vue_vue_type_style_index_0_lang-BumXunCg.js → menuInfo.vue_vue_type_style_index_0_lang-CcM9WX4n.js} +97 -96
  58. package/dist/{pda-app-Dvy3U-b6.js → pda-app-DIa1p1Ww.js} +1 -1
  59. package/dist/{resource-Fy0lFkSV.js → resource-CCQ7Dd-5.js} +1 -1
  60. package/dist/{su-welcome-DYvSCUST.js → su-welcome-CLp9YaJa.js} +1 -1
  61. package/dist/{sys-config-DJ1vNQTy.js → sys-config-BBmf_SqF.js} +1 -1
  62. package/dist/udp-core.css +2 -2
  63. package/dist/{utogether-CjmJiHoE.js → utogether-Bkptx2lB.js} +1 -1
  64. package/package.json +18 -18
  65. package/src/App.vue +70 -70
  66. package/src/components/udp/form-upload.vue +71 -20
  67. package/src/components/udp/grid.vue +500 -0
  68. package/src/components/udp/index.ts +7 -4
  69. package/src/components/udp/lov.vue +410 -0
  70. package/src/components/udp/modal-form.vue +2 -2
  71. package/src/components/udp/modal-grid.vue +297 -0
  72. package/src/components/udp/utils.ts +379 -40
  73. package/src/layout/components/lay-navbar/index.vue +1 -1
  74. package/src/layout/components/lay-panel/index.vue +150 -150
  75. package/src/layout/components/lay-sidebar/breadCrumb.vue +1 -1
  76. package/src/layout/components/lay-tag/index.vue +625 -625
  77. package/src/layout/layoutView.vue +215 -215
  78. package/src/main.ts +4 -3
  79. package/src/plugins/i18n/en.ts +291 -289
  80. package/src/plugins/i18n/zh.ts +338 -337
  81. package/src/plugins/vxe-table/index.ts +53 -46
  82. package/src/plugins/vxe-table/render.tsx +4 -2
  83. package/src/style/button.scss +85 -78
  84. package/src/style/tailwind.css +1 -68
  85. package/src/style/vxetable.scss +258 -256
  86. package/src/views/organization/company/CompanyPanel.vue +259 -259
  87. package/src/views/organization/inv-org/InvOrganization.vue +2 -3
  88. package/src/views/system/menu/SystemMenu.vue +197 -197
  89. package/src/views/system/menu/menuInfo.vue +372 -371
  90. package/src/views/udev/dict/DictView.vue +106 -106
  91. package/src/views/udev/lov/lov-view.vue +91 -91
  92. package/vite.config.ts +4 -1
  93. package/dist/InvOrganization-cfT6riGU.js +0 -260
package/build/plugins.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * @Author: wei.li
3
3
  * @Date: 2022-05-26 10:25:57
4
4
  * @LastEditors: levi7754 levi7754@163.com
5
- * @LastEditTime: 2025-07-16 17:46:57
5
+ * @LastEditTime: 2025-07-26 10:31:27
6
6
  * @Description: file content
7
7
  */
8
8
  import vue from '@vitejs/plugin-vue';
@@ -11,6 +11,7 @@ import svgLoader from 'vite-svg-loader';
11
11
  import vueJsx from '@vitejs/plugin-vue-jsx';
12
12
  import tailwindcss from '@tailwindcss/vite';
13
13
  import { visualizer } from 'rollup-plugin-visualizer';
14
+ import { ViteImageOptimizer } from 'vite-plugin-image-optimizer';
14
15
 
15
16
  export function getPluginsList() {
16
17
  const lifecycle = process.env.npm_lifecycle_event;
@@ -24,6 +25,10 @@ export function getPluginsList() {
24
25
  // 自定义主题
25
26
  // svg组件化支持
26
27
  svgLoader(),
28
+ ViteImageOptimizer({
29
+ png: { quality: 70 },
30
+ jpg: { quality: 70 }
31
+ }),
27
32
  // 打包分析
28
33
  lifecycle === 'report'
29
34
  ? visualizer({ open: true, brotliSize: true, filename: 'report.html' })
@@ -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-DzOzUkf6.js";
3
+ import { C as v } from "./index-ZdgOD7cF.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-DzOzUkf6.js";
3
+ import { C as u } from "./index-ZdgOD7cF.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-DzOzUkf6.js";
3
+ import { C as D } from "./index-ZdgOD7cF.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-BqccGW7v.js";
1
+ import { _ as f } from "./AuthorityInfo.vue_vue_type_style_index_0_lang-Bwsf6lMH.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as N, ref as m, reactive as B, onBeforeMount as M, resolveComponent as n, resolveDirective as A, createElementBlock as f, openBlock as p, createVNode as t, withCtx as h, withDirectives as D, createElementVNode as _ } from "vue";
2
- import { q as r } from "./index-DzOzUkf6.js";
2
+ import { q as r } from "./index-ZdgOD7cF.js";
3
3
  import { t as K } from "./await-to-js.es5-BtRbN2QH.js";
4
4
  const S = { class: "config" }, E = {
5
5
  "element-loading-text": "Loading...",
@@ -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-CaFKRwXu.js";
3
- import p from "./CompanyPanel-qV-_VtoL.js";
4
- import { _ as d } from "./index-DzOzUkf6.js";
2
+ import { _ as m } from "./ScrollPanel.vue_vue_type_style_index_0_lang-DlXUs0j9.js";
3
+ import p from "./CompanyPanel-BNb1rUhD.js";
4
+ import { _ as d } from "./index-ZdgOD7cF.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 m, 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 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";
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-DzOzUkf6.js";
7
+ import { q as J, _ as K } from "./index-ZdgOD7cF.js";
8
8
  const O = { class: "page-content" }, _ = "/uums/unit", Q = /* @__PURE__ */ V({
9
9
  __name: "CompanyPanel",
10
10
  setup(W) {
@@ -28,18 +28,18 @@ 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
- }, u = w("active"), $ = w("scrollPanelChange"), f = J();
31
+ }, m = w("active"), $ = w("scrollPanelChange"), f = J();
32
32
  B(
33
- () => u.value,
33
+ () => m.value,
34
34
  (t, a) => {
35
- e.record = u.value, t != null && t.id && (a != null && a.id) && t !== a && x("detail");
35
+ e.record = m.value, t != null && t.id && (a != null && a.id) && t !== a && x("detail");
36
36
  }
37
37
  );
38
38
  const S = () => {
39
39
  var t;
40
- e.dataStatus = "add", e.record = {}, e.record.parentId = (t = u.value) == null ? void 0 : t.id, e.isChecked = !1, e.dialogFormVisible = !0;
40
+ e.dataStatus = "add", e.record = {}, e.record.parentId = (t = m.value) == null ? void 0 : t.id, e.isChecked = !1, e.dialogFormVisible = !0;
41
41
  }, x = (t) => {
42
- e.dataStatus = t, e.record = z(u.value, !0), e.dialogFormVisible = !0;
42
+ e.dataStatus = t, e.record = z(m.value, !0), e.dialogFormVisible = !0;
43
43
  }, y = R("xForm", null), h = () => {
44
44
  y.value.validate(async (t) => {
45
45
  if (!t) {
@@ -60,7 +60,7 @@ const O = { class: "page-content" }, _ = "/uums/unit", Q = /* @__PURE__ */ V({
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"), c = i("el-row"), A = i("vxe-checkbox"), C = i("vxe-button"), T = i("el-card");
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");
64
64
  return l(), E("div", O, [
65
65
  s(I, {
66
66
  perfect: "",
@@ -88,7 +88,7 @@ const O = { class: "page-content" }, _ = "/uums/unit", Q = /* @__PURE__ */ V({
88
88
  ]),
89
89
  _: 1
90
90
  }),
91
- e.dialogFormVisible ? (l(), m(c, {
91
+ e.dialogFormVisible ? (l(), c(u, {
92
92
  key: 0,
93
93
  type: "flex",
94
94
  justify: "center",
@@ -105,7 +105,7 @@ const O = { class: "page-content" }, _ = "/uums/unit", Q = /* @__PURE__ */ V({
105
105
  a[4] || (a[4] = n("div", { class: "clearfix" }, [
106
106
  n("span", { class: "w-card-title" })
107
107
  ], -1)),
108
- s(c, null, {
108
+ s(u, null, {
109
109
  default: d(() => [
110
110
  s(P, {
111
111
  ref_key: "xForm",
@@ -139,12 +139,12 @@ const O = { class: "page-content" }, _ = "/uums/unit", Q = /* @__PURE__ */ V({
139
139
  ]),
140
140
  _: 1
141
141
  }),
142
- s(c, {
142
+ s(u, {
143
143
  type: "flex",
144
144
  justify: "center"
145
145
  }, {
146
146
  default: d(() => [
147
- e.dataStatus === "add" ? (l(), m(A, {
147
+ e.dataStatus === "add" ? (l(), c(A, {
148
148
  key: 0,
149
149
  modelValue: e.isChecked,
150
150
  "onUpdate:modelValue": a[3] || (a[3] = (p) => e.isChecked = p),
@@ -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(), m(C, {
158
+ e.dataStatus !== "detail" ? (l(), c(C, {
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(), m(C, {
164
+ e.dataStatus !== "detail" ? (l(), c(C, {
165
165
  key: 2,
166
166
  status: "warning",
167
167
  content: t.$t("message.btn.cancel"),
@@ -175,7 +175,7 @@ const O = { class: "page-content" }, _ = "/uums/unit", Q = /* @__PURE__ */ V({
175
175
  })
176
176
  ]),
177
177
  _: 1
178
- })) : (l(), m(c, {
178
+ })) : (l(), c(u, {
179
179
  key: 1,
180
180
  class: "w-noclick-wrapper"
181
181
  }, {
@@ -200,7 +200,7 @@ const O = { class: "page-content" }, _ = "/uums/unit", Q = /* @__PURE__ */ V({
200
200
  ]);
201
201
  };
202
202
  }
203
- }), se = /* @__PURE__ */ K(Q, [["__scopeId", "data-v-e3e008df"]]);
203
+ }), se = /* @__PURE__ */ K(Q, [["__scopeId", "data-v-9d7dfca5"]]);
204
204
  export {
205
205
  se as default
206
206
  };
@@ -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-CaFKRwXu.js";
3
- import _ from "./DepartmentPanel-Cw3OWxE7.js";
4
- import { _ as d } from "./index-DzOzUkf6.js";
2
+ import { _ as p } from "./ScrollPanel.vue_vue_type_style_index_0_lang-DlXUs0j9.js";
3
+ import _ from "./DepartmentPanel-D5VkqKeP.js";
4
+ import { _ as d } from "./index-ZdgOD7cF.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-DzOzUkf6.js";
8
+ import { e as Q, q as W, _ as Z } from "./index-ZdgOD7cF.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-DljbeFba.js";
1
+ import { _ as f } from "./DesignPanel.vue_vue_type_style_index_0_lang-BQF1uQ7w.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -3,8 +3,8 @@ import { VXETable as U } from "vxe-table";
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-DzOzUkf6.js";
7
- import vt from "./Preview-BlDMmpdR.js";
6
+ import { e as gt, q as yt } from "./index-ZdgOD7cF.js";
7
+ import vt from "./Preview-BaGmXH7r.js";
8
8
  const xt = {
9
9
  panels: [
10
10
  {
@@ -1,12 +1,12 @@
1
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 k } from "./childView.vue_vue_type_style_index_0_lang-Ckjmw6wJ.js";
3
- import { useRender as T } from "@utogether/utils";
2
+ import { _ as T } from "./childView.vue_vue_type_style_index_0_lang-CDtsalCm.js";
3
+ import { useRender as k } from "@utogether/utils";
4
4
  const E = {
5
5
  name: "DictView"
6
- }, I = /* @__PURE__ */ v({
6
+ }, x = /* @__PURE__ */ v({
7
7
  ...E,
8
8
  setup(N) {
9
- const l = n(null), a = [{
9
+ const o = n(null), a = [{
10
10
  field: "dictCode",
11
11
  title: "message.udp.dictCode"
12
12
  }, {
@@ -14,8 +14,9 @@ const E = {
14
14
  title: "message.udp.dictName"
15
15
  }, {
16
16
  field: "dictType",
17
- title: "message.udp.dictType"
18
- }], t = T(), o = [{
17
+ title: "message.udp.dictType",
18
+ code: "SU.DICT.TYPE"
19
+ }], t = k(), l = [{
19
20
  type: "checkbox",
20
21
  width: 40,
21
22
  align: "center"
@@ -64,24 +65,24 @@ const E = {
64
65
  d.value = !0, r.value = e, r.value.total = (i = e.children) == null ? void 0 : i.length;
65
66
  });
66
67
  }, f = () => {
67
- l.value.refreshData(), d.value = !1;
68
+ o.value.refreshData(), d.value = !1;
68
69
  }, p = {
69
70
  editActived({
70
71
  row: e
71
72
  }) {
72
- o[1].editRender.props.disabled = !!e.id;
73
+ l[1].editRender.props.disabled = !!e.id;
73
74
  }
74
75
  };
75
76
  return (e, i) => {
76
77
  const _ = s("ut-grid");
77
78
  return u(), h("div", null, [c(_, {
78
79
  ref_key: "xgrid",
79
- ref: l,
80
+ ref: o,
80
81
  items: a,
81
- columns: o,
82
+ columns: l,
82
83
  url: "/upfm/v1/lov",
83
84
  events: p
84
- }, null, 512), d.value ? (u(), C(k, {
85
+ }, null, 512), d.value ? (u(), C(T, {
85
86
  key: 0,
86
87
  show: d.value,
87
88
  record: r.value,
@@ -91,5 +92,5 @@ const E = {
91
92
  }
92
93
  });
93
94
  export {
94
- I as default
95
+ x as default
95
96
  };
@@ -0,0 +1,66 @@
1
+ import { defineComponent as u, ref as s, reactive as m, resolveComponent as f, createBlock as p, openBlock as g } from "vue";
2
+ import { t as _ } from "./await-to-js.es5-BtRbN2QH.js";
3
+ import { useRender as h } from "@utogether/utils";
4
+ import { q as z } from "./index-ZdgOD7cF.js";
5
+ const k = {
6
+ name: "InvOrganization"
7
+ }, R = /* @__PURE__ */ u({
8
+ ...k,
9
+ setup(C) {
10
+ const r = "/uums/cusOrganization", n = s(null), e = h(), i = [{
11
+ field: "organizationCode"
12
+ }, {
13
+ field: "organizationName"
14
+ }], d = [{
15
+ type: "checkbox",
16
+ width: 40,
17
+ align: "center"
18
+ }, {
19
+ field: "organizationCode",
20
+ width: 120,
21
+ required: !0,
22
+ editRender: e.renderInput()
23
+ }, {
24
+ field: "organizationName",
25
+ minWidth: 120,
26
+ required: !0,
27
+ editRender: e.renderInput()
28
+ }, {
29
+ field: "orgName",
30
+ minWidth: 170,
31
+ required: !0,
32
+ editRender: e.renderBU()
33
+ }, {
34
+ field: "orgCode",
35
+ width: 110
36
+ }, {
37
+ field: "enabled",
38
+ width: 80,
39
+ cellRender: e.renderEnabled(a)
40
+ }];
41
+ async function a(t) {
42
+ const [o] = await _(z().put(r, [t]));
43
+ !o && n.value.refreshData();
44
+ }
45
+ const c = m({
46
+ columns: d
47
+ });
48
+ return (t, o) => {
49
+ const l = f("ut-grid");
50
+ return g(), p(l, {
51
+ ref_key: "xgrid",
52
+ ref: n,
53
+ items: i,
54
+ "default-params": {
55
+ organizationId: "",
56
+ orgId: ""
57
+ },
58
+ columns: c.columns,
59
+ url: r
60
+ }, null, 8, ["columns"]);
61
+ };
62
+ }
63
+ });
64
+ export {
65
+ R as default
66
+ };
@@ -2,7 +2,7 @@ import { defineComponent as a, ref as m, resolveComponent as s, createBlock as u
2
2
  import { t as p } from "./await-to-js.es5-BtRbN2QH.js";
3
3
  import { clone as g } from "xe-utils";
4
4
  import { useRender as _ } from "@utogether/utils";
5
- import { q as h } from "./index-DzOzUkf6.js";
5
+ import { q as h } from "./index-ZdgOD7cF.js";
6
6
  const k = { name: "OrgUnit" }, q = /* @__PURE__ */ a({
7
7
  ...k,
8
8
  setup(R) {
@@ -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-DzOzUkf6.js";
2
+ import { _ as k } from "./index-ZdgOD7cF.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-DzOzUkf6.js";
2
+ import { _ as o } from "./index-ZdgOD7cF.js";
3
3
  const t = {};
4
4
  function c(n, _) {
5
5
  return r(), e("div");
@@ -2,8 +2,8 @@ import { defineComponent as P, ref as s, createVNode as r, Fragment as A, resolv
2
2
  import { useRender as S, successMessage as $ } from "@utogether/utils";
3
3
  import { useClipboard as M } from "@vueuse/core";
4
4
  import { t as V } from "./await-to-js.es5-BtRbN2QH.js";
5
- import { _ as B } from "./DesignPanel.vue_vue_type_style_index_0_lang-DljbeFba.js";
6
- import { q as U } from "./index-DzOzUkf6.js";
5
+ import { _ as B } from "./DesignPanel.vue_vue_type_style_index_0_lang-BQF1uQ7w.js";
6
+ import { q as U } from "./index-ZdgOD7cF.js";
7
7
  const f = "/urpt/v1/printTemplate", K = /* @__PURE__ */ P({
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-CLNODquq.js";
3
+ import { _ as g } from "./ReportQueryFrom.vue_vue_type_style_index_0_lang-CgGtcs5V.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-CLNODquq.js";
1
+ import { _ as f } from "./ReportQueryFrom.vue_vue_type_style_index_0_lang-CgGtcs5V.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-DzOzUkf6.js";
6
+ import { q as V } from "./index-ZdgOD7cF.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 O } 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-DzOzUkf6.js";
5
+ import { e as C, q as D } from "./index-ZdgOD7cF.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-CaFKRwXu.js";
3
- import { _ as p } from "./RolePanel.vue_vue_type_script_setup_true_lang-BrnRgHEk.js";
4
- import { _ as d } from "./index-DzOzUkf6.js";
2
+ import { _ as m } from "./ScrollPanel.vue_vue_type_style_index_0_lang-DlXUs0j9.js";
3
+ import { _ as p } from "./RolePanel.vue_vue_type_script_setup_true_lang-CleVvkcY.js";
4
+ import { _ as d } from "./index-ZdgOD7cF.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-CaFKRwXu.js";
3
- import { _ as p } from "./RolePanel.vue_vue_type_script_setup_true_lang-cmW7zBLu.js";
4
- import { _ as d } from "./index-DzOzUkf6.js";
2
+ import { _ as m } from "./ScrollPanel.vue_vue_type_style_index_0_lang-DlXUs0j9.js";
3
+ import { _ as p } from "./RolePanel.vue_vue_type_script_setup_true_lang-t6S_0zmJ.js";
4
+ import { _ as d } from "./index-ZdgOD7cF.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) {
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./RolePanel.vue_vue_type_script_setup_true_lang-BrnRgHEk.js";
1
+ import { _ as f } from "./RolePanel.vue_vue_type_script_setup_true_lang-t6S_0zmJ.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./RolePanel.vue_vue_type_script_setup_true_lang-cmW7zBLu.js";
1
+ import { _ as f } from "./RolePanel.vue_vue_type_script_setup_true_lang-CleVvkcY.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as N, reactive as S, inject as I, ref as l, watch as B, createVNode as s, Fragment as M, resolveComponent as r, createElementBlock as E, openBlock as d, createBlock as i, createCommentVNode as c } from "vue";
2
2
  import { useRender as $ } from "@utogether/utils";
3
- import { _ as q } from "./AuthorityInfo.vue_vue_type_style_index_0_lang-BqccGW7v.js";
4
- import { _ as O } from "./UserInfo.vue_vue_type_style_index_0_lang-8N7P4Hl7.js";
5
- import { q as P, e as R } from "./index-DzOzUkf6.js";
3
+ import { _ as q } from "./AuthorityInfo.vue_vue_type_style_index_0_lang-Bwsf6lMH.js";
4
+ import { _ as O } from "./UserInfo.vue_vue_type_style_index_0_lang-D_bpYDmI.js";
5
+ import { q as P, e as R } from "./index-ZdgOD7cF.js";
6
6
  const T = {
7
7
  class: "page-content"
8
8
  }, J = /* @__PURE__ */ N({
@@ -4,7 +4,7 @@ import { clone as U } from "xe-utils";
4
4
  import { VxeUI as j } from "vxe-pc-ui";
5
5
  import { t as _ } from "./await-to-js.es5-BtRbN2QH.js";
6
6
  import { successMessage as v } from "@utogether/utils";
7
- import { q as C } from "./index-DzOzUkf6.js";
7
+ import { q as C } from "./index-ZdgOD7cF.js";
8
8
  const q = {
9
9
  class: "page-content"
10
10
  }, d = "/uums/orgRole", W = /* @__PURE__ */ V({
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as N, ref as k, inject as p, watch as A, nextTick as L, resolveComponent as v, createElementBlock as D, openBlock as f, withModifiers as O, createElementVNode as a, createBlock as C, createCommentVNode as g, createVNode as y, toDisplayString as _, withCtx as S, normalizeClass as V } from "vue";
2
- import { q as j } from "./index-DzOzUkf6.js";
2
+ import { q as j } from "./index-ZdgOD7cF.js";
3
3
  const q = { class: "u-panel-header" }, M = { class: "u-panel-content system-scrollbar" }, K = /* @__PURE__ */ N({
4
4
  __name: "ScrollPanel",
5
5
  props: {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as l, ref as e, provide as t, createElementBlock as _, openBlock as i, createElementVNode as n, createVNode as a } from "vue";
2
- import { _ as m } from "./ScrollPanel.vue_vue_type_style_index_0_lang-CaFKRwXu.js";
3
- import { _ as d } from "./StaffPanel.vue_vue_type_script_setup_true_lang-BhiJ0Q-Q.js";
4
- import { _ as p } from "./index-DzOzUkf6.js";
2
+ import { _ as m } from "./ScrollPanel.vue_vue_type_style_index_0_lang-DlXUs0j9.js";
3
+ import { _ as d } from "./StaffPanel.vue_vue_type_script_setup_true_lang-DAgN7zN2.js";
4
+ import { _ as p } from "./index-ZdgOD7cF.js";
5
5
  const f = { class: "u-content-panel" }, u = { class: "u-left-panel" }, h = { class: "content" }, v = { name: "StaffPanel" }, C = /* @__PURE__ */ l({
6
6
  ...v,
7
7
  setup(N) {
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./StaffInfo.vue_vue_type_script_setup_true_lang-DDZ7ukd0.js";
1
+ import { _ as f } from "./StaffInfo.vue_vue_type_script_setup_true_lang-DQ4DL1KY.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as b, ref as u, onMounted as D, resolveComponent as d, createElementBlock as E, openBlock as k, createVNode as n, withCtx as f } from "vue";
2
2
  import { useRender as q } from "@utogether/utils";
3
- import { q as _ } from "./index-DzOzUkf6.js";
3
+ import { q as _ } from "./index-ZdgOD7cF.js";
4
4
  const F = { class: "config" }, x = /* @__PURE__ */ b({
5
5
  __name: "StaffInfo",
6
6
  props: {
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./StaffPanel.vue_vue_type_script_setup_true_lang-BhiJ0Q-Q.js";
1
+ import { _ as f } from "./StaffPanel.vue_vue_type_script_setup_true_lang-DAgN7zN2.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as b, ref as g, inject as w, reactive as x, watch as y, nextTick as E, resolveComponent as l, createElementBlock as N, openBlock as c, createVNode as d, createBlock as k, createCommentVNode as C, Fragment as S } from "vue";
2
2
  import { clone as D } from "xe-utils";
3
3
  import { warnMessage as M } from "@utogether/utils";
4
- import { _ as B } from "./StaffInfo.vue_vue_type_script_setup_true_lang-DDZ7ukd0.js";
5
- import { q as P } from "./index-DzOzUkf6.js";
4
+ import { _ as B } from "./StaffInfo.vue_vue_type_script_setup_true_lang-DQ4DL1KY.js";
5
+ import { q as P } from "./index-ZdgOD7cF.js";
6
6
  const A = {
7
7
  class: "page-content"
8
8
  }, s = "/uums/employee", j = /* @__PURE__ */ b({
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as t, ref as o, provide as s, createElementBlock as r, openBlock as c, createVNode as _ } from "vue";
2
- import { _ as n } from "./SysUserPanel.vue_vue_type_script_setup_true_lang-njefUln5.js";
3
- import { _ as a } from "./index-DzOzUkf6.js";
2
+ import { _ as n } from "./SysUserPanel.vue_vue_type_script_setup_true_lang-BW6PlGjM.js";
3
+ import { _ as a } from "./index-ZdgOD7cF.js";
4
4
  const p = { class: "u-content-panel1" }, i = /* @__PURE__ */ t({
5
5
  __name: "SysUser",
6
6
  setup(m) {
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./SysUserPanel.vue_vue_type_script_setup_true_lang-njefUln5.js";
1
+ import { _ as f } from "./SysUserPanel.vue_vue_type_script_setup_true_lang-BW6PlGjM.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -4,7 +4,7 @@ import { t as $ } from "./await-to-js.es5-BtRbN2QH.js";
4
4
  import { useRender as X, warnMessage as Z, errorMessage as ee } from "@utogether/utils";
5
5
  import { VxeUI as te } from "vxe-pc-ui";
6
6
  import { isEmpty as se } from "xe-utils";
7
- import { q as ae } from "./index-DzOzUkf6.js";
7
+ import { q as ae } from "./index-ZdgOD7cF.js";
8
8
  const re = {
9
9
  class: "page"
10
10
  }, u = "/uums/user", pe = /* @__PURE__ */ z({