@utogether/udp-core 1.0.1-beta.15 → 1.0.1-beta.17

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 (126) hide show
  1. package/build/plugins.ts +39 -39
  2. package/dist/{403-DpJevH-h.js → 403-C3cfjZIT.js} +1 -1
  3. package/dist/{404-BpqJK3YD.js → 404-Bg3j7QIo.js} +1 -1
  4. package/dist/{500-DyvRbMD_.js → 500-CMT7Zyy7.js} +1 -1
  5. package/dist/{AuthorityInfo-Cyu4XHXx.js → AuthorityInfo-B1mvqs4x.js} +1 -1
  6. package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-BxmnEEFq.js → AuthorityInfo.vue_vue_type_style_index_0_lang-DwoW7QWO.js} +3 -3
  7. package/dist/{Company-BLygcYrI.js → Company-qTguidK8.js} +3 -3
  8. package/dist/{CompanyPanel-D5Tgw6LF.js → CompanyPanel-BBC-o-k3.js} +17 -17
  9. package/dist/{Department-qI9OninZ.js → Department-C3mKZOnK.js} +3 -3
  10. package/dist/{DepartmentPanel-P-P8fPZQ.js → DepartmentPanel-CNdpOHBT.js} +25 -25
  11. package/dist/{DesignPanel-BxjD0AZi.js → DesignPanel-D9jrRCoG.js} +1 -1
  12. package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-DN_OKxCu.js → DesignPanel.vue_vue_type_style_index_0_lang-A-Aj1Hl0.js} +6 -6
  13. package/dist/{DictView-PWL_Vf0T.js → DictView-CgdVkSiP.js} +15 -16
  14. package/dist/{InvOrganization-JXBXyn3G.js → InvOrganization-RE7s3vBq.js} +1 -1
  15. package/dist/{Org-DcTJn6YQ.js → Org-wXDGvTrS.js} +3 -3
  16. package/dist/{Preview-IKvbHI8a.js → Preview-Pvt1__BV.js} +1 -1
  17. package/dist/{ReportDefine-_G7ts7Ch.js → ReportDefine-xEQsgFyv.js} +1 -1
  18. package/dist/{ReportDesign-7h5oFklh.js → ReportDesign-jOSuEFH9.js} +9 -9
  19. package/dist/{ReportQuery-dj0BQUyi.js → ReportQuery-DxEmmGiN.js} +1 -1
  20. package/dist/{ReportQueryFrom-6WaZPg9i.js → ReportQueryFrom-CFlxfS5M.js} +1 -1
  21. package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-ChhcBPqa.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-iHpiYz8f.js} +1 -1
  22. package/dist/{ReportTemplate-DIvJ3RrB.js → ReportTemplate-Dtz3aet7.js} +11 -11
  23. package/dist/{Role-ia_3qAZU.js → Role-B_NsHIyE.js} +3 -3
  24. package/dist/{RoleAssign-D0zVl4y3.js → RoleAssign-C9wm4zq4.js} +8 -8
  25. package/dist/{RolePanel-CQxOiAzj.js → RolePanel-BlHidBR0.js} +1 -1
  26. package/dist/{RolePanel-BiGGmP2w.js → RolePanel-DWM9mfNs.js} +1 -1
  27. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-BYDLRS_x.js → RolePanel.vue_vue_type_script_setup_true_lang-Cn4RRzXm.js} +1 -1
  28. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-Dwv5LFbf.js → RolePanel.vue_vue_type_script_setup_true_lang-DVQ9aqb1.js} +9 -9
  29. package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-gPP4duO8.js → ScrollPanel.vue_vue_type_style_index_0_lang-CCm-_i8O.js} +8 -8
  30. package/dist/{Staff-Bf_oUqF6.js → Staff-BfDc61QS.js} +3 -3
  31. package/dist/{StaffInfo-D5aisjx2.js → StaffInfo-BaJFo4mg.js} +1 -1
  32. package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-6PX7Bx6A.js → StaffInfo.vue_vue_type_script_setup_true_lang-Bwj4x1wu.js} +7 -7
  33. package/dist/{StaffPanel--zKzd4rt.js → StaffPanel-B6I2ZS6A.js} +1 -1
  34. package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-BWZSIFpq.js → StaffPanel.vue_vue_type_script_setup_true_lang-vbyS4w3V.js} +2 -2
  35. package/dist/{SysUser-BelbESLR.js → SysUser-B_r9LYc5.js} +2 -2
  36. package/dist/{SysUserPanel-BixKqQcA.js → SysUserPanel-C4ajcHPV.js} +1 -1
  37. package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-BhaWZEfo.js → SysUserPanel.vue_vue_type_script_setup_true_lang-8Q0VvC9B.js} +41 -37
  38. package/dist/{SystemMenu-D40tzcSj.js → SystemMenu-CyPG23uP.js} +10 -10
  39. package/dist/{UserInfo-DTyk071j.js → UserInfo-BkoGt4ib.js} +1 -1
  40. package/dist/{UserInfo.vue_vue_type_style_index_0_lang-p9MByikC.js → UserInfo.vue_vue_type_style_index_0_lang-DrzF1YYG.js} +10 -10
  41. package/dist/{childView-so5qSxr0.js → childView-9vEO8ymO.js} +1 -1
  42. package/dist/{childView-xL3iE1yN.js → childView-Dh0NyiQe.js} +1 -1
  43. package/dist/{childView.vue_vue_type_style_index_0_lang-CKcXpSqa.js → childView.vue_vue_type_style_index_0_lang-BOeoZuAK.js} +7 -7
  44. package/dist/{childView.vue_vue_type_style_index_0_lang-DK1ei5uM.js → childView.vue_vue_type_style_index_0_lang-CMOjfXBX.js} +1 -1
  45. package/dist/{code-rule-DC35y76w.js → code-rule-C7jI_1gJ.js} +6 -6
  46. package/dist/core.es.js +17 -12
  47. package/dist/{cron-task-BhjQ4S68.js → cron-task-Dg9DJXvv.js} +11 -11
  48. package/dist/{frameView-G_zhG9pf.js → frameView-CeR-_hjB.js} +1 -1
  49. package/dist/{index-C6ehxLLO.js → index-Bb7gIEvu.js} +739 -496
  50. package/dist/{layoutView-CO2U8qCQ.js → layoutView-wsLHrEeX.js} +1347 -1346
  51. package/dist/login-CluzzdqH.js +249 -0
  52. package/dist/{lov-view-Cr929NMD.js → lov-view-BvQCvwbW.js} +5 -5
  53. package/dist/{menuInfo-BWuROp7u.js → menuInfo-B8RLelIC.js} +1 -1
  54. package/dist/{menuInfo.vue_vue_type_style_index_0_lang-9nouHUjO.js → menuInfo.vue_vue_type_style_index_0_lang-DvkapEZr.js} +7 -7
  55. package/dist/{pda-app-CQP1sMAI.js → pda-app-D3LNmD9a.js} +19 -19
  56. package/dist/{resource-BDQLrMpK.js → resource-D8JA_03-.js} +7 -7
  57. package/dist/{su-welcome-CZysrZQ1.js → su-welcome-BjxeEKSo.js} +88 -88
  58. package/dist/{sys-config-BiGNMYSA.js → sys-config-sbeLk9bP.js} +6 -6
  59. package/dist/udp-core.css +1 -9
  60. package/dist/utogether-MlnyYtNS.js +4 -0
  61. package/index.ts +48 -40
  62. package/package.json +1 -1
  63. package/src/App.vue +65 -65
  64. package/src/components/SuCharts/src/UserInfo.vue +78 -78
  65. package/src/components/SuScrollTree/ScrollPanel.vue +170 -175
  66. package/src/components/udp/{grid.vue → grid/index.vue} +27 -24
  67. package/src/components/udp/index.ts +2 -9
  68. package/src/components/udp/utils.ts +60 -107
  69. package/src/layout/components/lay-navbar/index.vue +239 -239
  70. package/src/layout/components/lay-panel/index.vue +150 -150
  71. package/src/layout/components/lay-search/index.vue +25 -25
  72. package/src/layout/components/lay-select-org/index.vue +64 -64
  73. package/src/layout/components/lay-sidebar/horizontal.vue +190 -190
  74. package/src/layout/components/lay-sidebar/mixNav.vue +260 -260
  75. package/src/layout/components/lay-sidebar/sidebar-logo.vue +92 -92
  76. package/src/layout/components/lay-tag/index.vue +20 -48
  77. package/src/layout/hooks/useNav.ts +173 -173
  78. package/src/layout/hooks/useTag.ts +223 -233
  79. package/src/layout/types.ts +3 -2
  80. package/src/main.ts +117 -113
  81. package/src/plugins/i18n/en.ts +302 -302
  82. package/src/plugins/i18n/zh.ts +356 -354
  83. package/src/plugins/vxe-table/index.ts +116 -53
  84. package/src/plugins/vxe-table/render.tsx +956 -956
  85. package/src/router/index.ts +186 -177
  86. package/src/router/modules/remaining.ts +58 -58
  87. package/src/router/utils.ts +393 -377
  88. package/src/store/modules/app.ts +1 -3
  89. package/src/store/modules/multiTags.ts +110 -109
  90. package/src/store/modules/permission.ts +113 -100
  91. package/src/style/button.scss +85 -85
  92. package/src/style/login.css +1 -1
  93. package/src/style/vxetable.scss +25 -2
  94. package/src/utils/index.ts +3 -1
  95. package/src/views/organization/company/CompanyPanel.vue +259 -259
  96. package/src/views/organization/department/DepartmentPanel.vue +269 -283
  97. package/src/views/system/menu/SystemMenu.vue +183 -183
  98. package/src/views/system/menu/menuInfo.vue +363 -363
  99. package/src/views/system/role/UserInfo.vue +195 -195
  100. package/src/views/system/role-assign/RoleAssign.vue +57 -57
  101. package/src/views/system/role-assign/RolePanel.vue +139 -139
  102. package/src/views/system/sys/sys-config.vue +336 -336
  103. package/src/views/system/sysUser/SysUserPanel.vue +279 -278
  104. package/src/views/uapp/pda/pda-app.vue +208 -208
  105. package/src/views/udev/dict/DictView.vue +118 -118
  106. package/src/views/udev/dict/childView.vue +1 -1
  107. package/src/views/udev/lov/lov-view.vue +91 -91
  108. package/src/views/ulogin/login.vue +2 -2
  109. package/src/views/upms/interface/log-out.vue +101 -101
  110. package/src/views/urpt/design/DesignPanel.vue +507 -507
  111. package/types/global.d.ts +2 -8
  112. package/dist/login-DzyK2soP.js +0 -278
  113. package/dist/utogether-BRirriOz.js +0 -182
  114. package/src/components/udp/count-down.vue +0 -536
  115. package/src/components/udp/flip-down/FlipCard/flip-card.vue +0 -251
  116. package/src/components/udp/flip-down/FlipCard/interfaces.ts +0 -4
  117. package/src/components/udp/flip-down/FlipClock/flip-clock.vue +0 -113
  118. package/src/components/udp/form-upload.vue +0 -482
  119. package/src/components/udp/form.vue +0 -112
  120. package/src/components/udp/lov.vue +0 -388
  121. package/src/components/udp/modal-form.vue +0 -190
  122. package/src/components/udp/modal-grid.vue +0 -298
  123. package/src/components/udp/upload.vue +0 -423
  124. package/src/utils/udp/http/index.ts +0 -294
  125. package/src/utils/udp/http/types.d.ts +0 -49
  126. package/src/utils/udp/useRender.ts +0 -431
package/build/plugins.ts CHANGED
@@ -1,39 +1,39 @@
1
- /*
2
- * @Author: wei.li
3
- * @Date: 2022-05-26 10:25:57
4
- * @LastEditors: levi7754 levi7754@163.com
5
- * @LastEditTime: 2025-07-26 10:31:27
6
- * @Description: file content
7
- */
8
- import vue from '@vitejs/plugin-vue';
9
- import { viteBuildInfo } from './';
10
- import svgLoader from 'vite-svg-loader';
11
- import vueJsx from '@vitejs/plugin-vue-jsx';
12
- import tailwindcss from '@tailwindcss/vite';
13
- import { visualizer } from 'rollup-plugin-visualizer';
14
- import { ViteImageOptimizer } from 'vite-plugin-image-optimizer';
15
- import removeConsole from 'vite-plugin-remove-console';
16
-
17
- export function getPluginsList() {
18
- const lifecycle = process.env.npm_lifecycle_event;
19
- return [
20
- tailwindcss(),
21
- vue(),
22
- // jsx、tsx语法支持
23
- vueJsx(),
24
- // 线上环境删除console
25
- removeConsole(),
26
- viteBuildInfo(),
27
- // 自定义主题
28
- // svg组件化支持
29
- svgLoader(),
30
- ViteImageOptimizer({
31
- png: { quality: 70 },
32
- jpg: { quality: 70 }
33
- }),
34
- // 打包分析
35
- lifecycle === 'report'
36
- ? visualizer({ open: true, brotliSize: true, filename: 'report.html' })
37
- : (null as any)
38
- ];
39
- }
1
+ /*
2
+ * @Author: wei.li
3
+ * @Date: 2022-05-26 10:25:57
4
+ * @LastEditors: levi7754 levi7754@163.com
5
+ * @LastEditTime: 2025-07-26 10:31:27
6
+ * @Description: file content
7
+ */
8
+ import vue from '@vitejs/plugin-vue';
9
+ import { viteBuildInfo } from './';
10
+ import svgLoader from 'vite-svg-loader';
11
+ import vueJsx from '@vitejs/plugin-vue-jsx';
12
+ import tailwindcss from '@tailwindcss/vite';
13
+ import { visualizer } from 'rollup-plugin-visualizer';
14
+ import { ViteImageOptimizer } from 'vite-plugin-image-optimizer';
15
+ import removeConsole from 'vite-plugin-remove-console';
16
+
17
+ export function getPluginsList() {
18
+ const lifecycle = process.env.npm_lifecycle_event;
19
+ return [
20
+ tailwindcss(),
21
+ vue(),
22
+ // jsx、tsx语法支持
23
+ vueJsx(),
24
+ // 线上环境删除console
25
+ removeConsole(),
26
+ viteBuildInfo(),
27
+ // 自定义主题
28
+ // svg组件化支持
29
+ svgLoader(),
30
+ ViteImageOptimizer({
31
+ png: { quality: 70 },
32
+ jpg: { quality: 70 }
33
+ }),
34
+ // 打包分析
35
+ lifecycle === 'report'
36
+ ? visualizer({ open: true, brotliSize: true, filename: 'report.html' })
37
+ : (null as any)
38
+ ];
39
+ }
@@ -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-C6ehxLLO.js";
3
+ import { C as v } from "./index-Bb7gIEvu.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-C6ehxLLO.js";
3
+ import { C as u } from "./index-Bb7gIEvu.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-C6ehxLLO.js";
3
+ import { C as D } from "./index-Bb7gIEvu.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-BxmnEEFq.js";
1
+ import { _ as f } from "./AuthorityInfo.vue_vue_type_style_index_0_lang-DwoW7QWO.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-C6ehxLLO.js";
2
+ import { w as c } from "./index-Bb7gIEvu.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-gPP4duO8.js";
3
- import p from "./CompanyPanel-D5Tgw6LF.js";
4
- import { _ as d } from "./index-C6ehxLLO.js";
2
+ import { _ as m } from "./ScrollPanel.vue_vue_type_style_index_0_lang-CCm-_i8O.js";
3
+ import p from "./CompanyPanel-BBC-o-k3.js";
4
+ import { _ as d } from "./index-Bb7gIEvu.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-C6ehxLLO.js";
7
+ import { w as J, _ as K } from "./index-Bb7gIEvu.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) => {
@@ -40,29 +40,29 @@ const O = { class: "page-content" }, _ = "/uums/unit", Q = /* @__PURE__ */ V({
40
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
42
  e.dataStatus = t, e.record = z(m.value, !0), e.dialogFormVisible = !0;
43
- }, y = R("xForm", null), h = () => {
44
- y.value.validate(async (t) => {
43
+ }, b = R("xForm", null), h = () => {
44
+ b.value.validate(async (t) => {
45
45
  if (!t) {
46
46
  const { record: a, dataStatus: o } = e;
47
- o === "add" ? await f.post(_, a) : await f.put(_, a), b();
47
+ o === "add" ? await f.post(_, a) : await f.put(_, a), y();
48
48
  }
49
49
  });
50
50
  }, N = async () => {
51
51
  var o;
52
52
  const { record: t } = e;
53
53
  if ((o = t.children) != null && o.length) return G(r("message.deletePartment"));
54
- await U.modal.confirm(r("message.tip.del", { msg: "aaaaa" })) === "confirm" && (await f.delete(_, t), b());
55
- }, b = () => {
56
- $.value = !0, H(r("message.operateSuccess")), q();
54
+ await U.modal.confirm(r("message.tip.del", { msg: "aaaaa" })) === "confirm" && (await f.delete(_, t), y());
55
+ }, y = () => {
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,9 +107,9 @@ 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
- ref: y,
112
+ ref: b,
113
113
  data: e.record,
114
114
  rules: k,
115
115
  "label-width": "80px"
@@ -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"),
@@ -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-9d7dfca5"]]);
203
+ }), se = /* @__PURE__ */ K(Q, [["__scopeId", "data-v-bc1a230e"]]);
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-gPP4duO8.js";
3
- import _ from "./DepartmentPanel-P-P8fPZQ.js";
4
- import { _ as d } from "./index-C6ehxLLO.js";
2
+ import { _ as p } from "./ScrollPanel.vue_vue_type_style_index_0_lang-CCm-_i8O.js";
3
+ import _ from "./DepartmentPanel-CNdpOHBT.js";
4
+ import { _ as d } from "./index-Bb7gIEvu.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-C6ehxLLO.js";
8
+ import { i as Q, w as W, _ as Z } from "./index-Bb7gIEvu.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",
@@ -202,7 +202,7 @@ const ee = { class: "page-content" }, y = "/uums/department", te = /* @__PURE__
202
202
  s("ul", null, [
203
203
  s("li", { class: "w-department-line" }, [
204
204
  s("div", null, "● 点击新建,新建部门信息。"),
205
- s("div", { style: { margin: "0", "text-indent": "2em" } }, " 已点击树结构上的部门名称,默认创建为当前部门的下属部门 "),
205
+ s("div", { style: { margin: "0", "text-indent": "2em" } }, "已点击树结构上的部门名称,默认创建为当前部门的下属部门"),
206
206
  s("div", { style: { margin: "0", "text-indent": "2em" } }, "未点击树结构上的部门名称,则创建为一级部门")
207
207
  ]),
208
208
  s("li", { class: "w-department-line" }, "● 点击树结构上的部门名称,点击修改按钮,修改部门信息。"),
@@ -218,7 +218,7 @@ const ee = { class: "page-content" }, y = "/uums/department", te = /* @__PURE__
218
218
  ]);
219
219
  };
220
220
  }
221
- }), me = /* @__PURE__ */ Z(te, [["__scopeId", "data-v-c89aef1b"]]);
221
+ }), me = /* @__PURE__ */ Z(te, [["__scopeId", "data-v-162cb98f"]]);
222
222
  export {
223
223
  me as default
224
224
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./DesignPanel.vue_vue_type_style_index_0_lang-DN_OKxCu.js";
1
+ import { _ as f } from "./DesignPanel.vue_vue_type_style_index_0_lang-A-Aj1Hl0.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-C6ehxLLO.js";
7
- import vt from "./Preview-IKvbHI8a.js";
6
+ import { i as gt, w as yt } from "./index-Bb7gIEvu.js";
7
+ import vt from "./Preview-Pvt1__BV.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-CKcXpSqa.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-BOeoZuAK.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-C6ehxLLO.js";
4
+ import { w as h } from "./index-Bb7gIEvu.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-C6ehxLLO.js";
6
- const C = { name: "OrgUnit" }, N = /* @__PURE__ */ a({
5
+ import { w as h } from "./index-Bb7gIEvu.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-C6ehxLLO.js";
2
+ import { _ as k } from "./index-Bb7gIEvu.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-C6ehxLLO.js";
2
+ import { _ as o } from "./index-Bb7gIEvu.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-DN_OKxCu.js";
6
- import { q as U } from "./index-C6ehxLLO.js";
7
- const f = "/urpt/v1/printTemplate", K = /* @__PURE__ */ A({
5
+ import { _ as M } from "./DesignPanel.vue_vue_type_style_index_0_lang-A-Aj1Hl0.js";
6
+ import { w as U } from "./index-Bb7gIEvu.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,7 +118,7 @@ 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 = {
@@ -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-ChhcBPqa.js";
3
+ import { _ as g } from "./ReportQueryFrom.vue_vue_type_style_index_0_lang-iHpiYz8f.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-ChhcBPqa.js";
1
+ import { _ as f } from "./ReportQueryFrom.vue_vue_type_style_index_0_lang-iHpiYz8f.js";
2
2
  export {
3
3
  f as default
4
4
  };