@utogether/udp-core 1.0.2 → 1.0.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 (72) hide show
  1. package/dist/{403-B1rIjAAu.js → 403-D6H3sArg.js} +1 -1
  2. package/dist/{404-mBqc2y4t.js → 404-DTyfysQ2.js} +1 -1
  3. package/dist/{500-BoI45Zdh.js → 500-DKaVDaBm.js} +1 -1
  4. package/dist/{AuthorityInfo-B08NBIIn.js → AuthorityInfo-DQULR69Y.js} +1 -1
  5. package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-BLP1SaiH.js → AuthorityInfo.vue_vue_type_style_index_0_lang-CzAnoTnO.js} +1 -1
  6. package/dist/{Company-JGGyWEWH.js → Company-BWFrR-Cq.js} +3 -3
  7. package/dist/{CompanyPanel-BQ_cCmDx.js → CompanyPanel-Dh814lsw.js} +1 -1
  8. package/dist/{Department-z2iO6hwM.js → Department-DagPxerl.js} +3 -3
  9. package/dist/{DepartmentPanel-BtQe7zwU.js → DepartmentPanel-BVy2YGED.js} +1 -1
  10. package/dist/{DesignPanel-7mhtVWas.js → DesignPanel-DKfjfj2S.js} +1 -1
  11. package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-4EsHemj_.js → DesignPanel.vue_vue_type_style_index_0_lang-D-a8W08Y.js} +2 -2
  12. package/dist/{DictView-CjchV2Yk.js → DictView-CE5nEiKu.js} +10 -9
  13. package/dist/{InvOrganization-Pn1O_XP0.js → InvOrganization-CZk_EbFZ.js} +1 -1
  14. package/dist/{Org-BqytV_vi.js → Org-BO8jfnqN.js} +1 -1
  15. package/dist/{Preview-CLpUUMay.js → Preview-DYJaP96f.js} +1 -1
  16. package/dist/{ReportDefine-Cz1KtEUF.js → ReportDefine-DZXbs7iX.js} +1 -1
  17. package/dist/{ReportDesign-BaORYud4.js → ReportDesign-CSdqOQ1D.js} +2 -2
  18. package/dist/{ReportQuery-CPCPXiXz.js → ReportQuery-_Vdt3CnA.js} +1 -1
  19. package/dist/{ReportQueryFrom-C_AcrfkJ.js → ReportQueryFrom-BWKddh9p.js} +1 -1
  20. package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-Bm67ejay.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-DbdGwioi.js} +1 -1
  21. package/dist/{ReportTemplate-CFiNMz79.js → ReportTemplate-DS-DGao8.js} +1 -1
  22. package/dist/{Role-B-XDoJd5.js → Role-BM0kEu7y.js} +3 -3
  23. package/dist/{RoleAssign-BolW8YVs.js → RoleAssign-Cp05HUWn.js} +3 -3
  24. package/dist/{RolePanel-HilSuYns.js → RolePanel-DeuHpCdK.js} +1 -1
  25. package/dist/{RolePanel-2kfs5tw9.js → RolePanel-hXeshcCZ.js} +1 -1
  26. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-DPzgfAyV.js → RolePanel.vue_vue_type_script_setup_true_lang-Bf0pSCTN.js} +3 -3
  27. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-CE4gApUY.js → RolePanel.vue_vue_type_script_setup_true_lang-CNyWCIJm.js} +1 -1
  28. package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-CCTH4RkH.js → ScrollPanel.vue_vue_type_style_index_0_lang-BiKe39xG.js} +1 -1
  29. package/dist/{Staff-BTk3whFC.js → Staff-DLltLFMl.js} +3 -3
  30. package/dist/{StaffInfo-d3AuSzlA.js → StaffInfo-pfELaI_i.js} +1 -1
  31. package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-eOL4VlfE.js → StaffInfo.vue_vue_type_script_setup_true_lang-BKKdNggm.js} +1 -1
  32. package/dist/{StaffPanel-DV-D4jjz.js → StaffPanel-D3Pk28JN.js} +1 -1
  33. package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-4sFq3CEo.js → StaffPanel.vue_vue_type_script_setup_true_lang-D9HLeyKe.js} +47 -39
  34. package/dist/{SysUser-BnjYytws.js → SysUser-BOh7ejz3.js} +2 -2
  35. package/dist/{SysUserPanel-CBoyD-Qi.js → SysUserPanel-RElVo0BV.js} +1 -1
  36. package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-PrTlTZR-.js → SysUserPanel.vue_vue_type_script_setup_true_lang-DoW0v5y9.js} +1 -1
  37. package/dist/{SystemMenu-kYB_ZaUt.js → SystemMenu-DZneBqKO.js} +28 -28
  38. package/dist/{UserInfo-4dx97VBL.js → UserInfo-D9qo_f_9.js} +1 -1
  39. package/dist/{UserInfo.vue_vue_type_style_index_0_lang-BpbC_ZDm.js → UserInfo.vue_vue_type_style_index_0_lang-CY4dtMnZ.js} +1 -1
  40. package/dist/{childView-CHPNfTEb.js → childView-CmlGxD9G.js} +1 -1
  41. package/dist/{childView-CKA_JgVZ.js → childView-DStrPumM.js} +1 -1
  42. package/dist/{childView.vue_vue_type_style_index_0_lang-Bym2fQRd.js → childView.vue_vue_type_style_index_0_lang-B9k694be.js} +19 -20
  43. package/dist/{childView.vue_vue_type_style_index_0_lang-W7bCtXeu.js → childView.vue_vue_type_style_index_0_lang-Dtv1rrdP.js} +31 -31
  44. package/dist/{code-rule-CbxuZg0-.js → code-rule-CxzgQDH_.js} +1 -1
  45. package/dist/core.es.js +1 -1
  46. package/dist/{cron-task-nTOpqQYf.js → cron-task-kbyRTz97.js} +1 -1
  47. package/dist/{frameView-Z1tPUyCh.js → frameView-BawZlIge.js} +1 -1
  48. package/dist/index-nkstuOxE.js +5533 -0
  49. package/dist/{layoutView--MGA9zUB.js → layoutView-DVGqPJmA.js} +1 -1
  50. package/dist/{log-in-CSYJDA6m.js → log-in-j2PZGLQH.js} +1 -1
  51. package/dist/{log-out-DiwGCg7p.js → log-out-DIJU-Vpf.js} +1 -1
  52. package/dist/{login-C6Y0ajDp.js → login-DvmHMcgD.js} +1 -1
  53. package/dist/{login-log-C0V-_l3F.js → login-log-DJBGJVV0.js} +4 -4
  54. package/dist/{lov-view-Cmv7wZZ9.js → lov-view-C-dIDLh8.js} +2 -2
  55. package/dist/{menuInfo-UeutJpOa.js → menuInfo-D0mcKmrT.js} +1 -1
  56. package/dist/{menuInfo.vue_vue_type_style_index_0_lang-CWX4Mu67.js → menuInfo.vue_vue_type_style_index_0_lang-CbwS7aGl.js} +1 -1
  57. package/dist/{pda-app-B6w99SJo.js → pda-app-BjvyTDkw.js} +1 -1
  58. package/dist/{resource-BybJvUv0.js → resource-BknIxaTQ.js} +1 -1
  59. package/dist/{su-welcome-C1bmxHoY.js → su-welcome-CwtvamZC.js} +20 -20
  60. package/dist/{sys-config-BnmIDnCj.js → sys-config-CCKhGcCL.js} +1 -1
  61. package/package.json +1 -1
  62. package/src/plugins/vxe-table/index.ts +116 -116
  63. package/src/plugins/vxe-table/render.tsx +950 -945
  64. package/src/utils/dataFormat/index.ts +17 -18
  65. package/src/views/organization/staff/StaffPanel.vue +12 -3
  66. package/src/views/system/menu/SystemMenu.vue +185 -185
  67. package/src/views/udev/dict/DictView.vue +2 -2
  68. package/src/views/udev/dict/childView.vue +6 -6
  69. package/src/views/udev/lov/childView.vue +174 -174
  70. package/src/views/uhome/components/menu-favorite.vue +3 -2
  71. package/src/views/upms/user/login-log.vue +5 -5
  72. package/dist/index-C3q8HoJM.js +0 -4650
@@ -1,19 +1,19 @@
1
- import { defineComponent as k, reactive as S, ref as v, createVNode as n, resolveComponent as i, Fragment as m, createElementBlock as A, openBlock as D } from "vue";
1
+ import { defineComponent as k, reactive as S, ref as v, createVNode as o, resolveComponent as s, Fragment as m, createElementBlock as A, openBlock as D } from "vue";
2
2
  import { useI18n as E } from "vue-i18n";
3
- import { _ as N } from "./menuInfo.vue_vue_type_style_index_0_lang-CWX4Mu67.js";
3
+ import { _ as N } from "./menuInfo.vue_vue_type_style_index_0_lang-CbwS7aGl.js";
4
4
  import { _ as I } from "./AuthorityPanel.vue_vue_type_style_index_0_lang-CIYmnP9-.js";
5
5
  import { clone as p } from "xe-utils";
6
6
  import { t as M } from "./await-to-js.es5-BtRbN2QH.js";
7
7
  import { VxeUI as P } from "vxe-pc-ui";
8
8
  import { useRender as R } from "@utogether/utils";
9
- import { y as U } from "./index-C3q8HoJM.js";
10
- const B = {
9
+ import { y as U } from "./index-nkstuOxE.js";
10
+ const W = {
11
11
  class: "page-content"
12
- }, L = {
12
+ }, B = {
13
13
  name: "SystemMenu"
14
14
  }, q = /* @__PURE__ */ k({
15
- ...L,
16
- setup(z) {
15
+ ...B,
16
+ setup(L) {
17
17
  const t = S({
18
18
  record: {},
19
19
  dataList: [],
@@ -27,7 +27,7 @@ const B = {
27
27
  }
28
28
  }), {
29
29
  t: h
30
- } = E(), f = R(), d = U(), r = v(null), s = "/uums/menu";
30
+ } = E(), f = R(), d = U(), i = v(null), r = "/uums/menu";
31
31
  let l;
32
32
  const y = [{
33
33
  type: "checkbox",
@@ -35,17 +35,17 @@ const B = {
35
35
  align: "center"
36
36
  }, {
37
37
  field: "menuName",
38
- width: 180,
38
+ minWidth: 220,
39
39
  treeNode: !0
40
40
  }, {
41
41
  field: "menuNameEn",
42
- width: 140
42
+ minWidth: 180
43
43
  }, {
44
44
  field: "sort",
45
45
  width: 70
46
46
  }, {
47
47
  field: "menuCode",
48
- width: 140
48
+ minWidth: 220
49
49
  }, {
50
50
  field: "permissionCode",
51
51
  minWidth: 180
@@ -66,17 +66,17 @@ const B = {
66
66
  default: ({
67
67
  row: e
68
68
  }) => {
69
- const o = e.menuType, a = n(i("ut-button"), {
69
+ const n = e.menuType, a = o(s("ut-button"), {
70
70
  status: "u-cyan",
71
71
  icon: "ri-add-fill",
72
72
  content: "add",
73
73
  onTap: () => u(e)
74
- }, null), x = n(i("ut-button"), {
74
+ }, null), x = o(s("ut-button"), {
75
75
  icon: "ri-lock-fill",
76
76
  content: "auth",
77
77
  onTap: () => b(e)
78
78
  }, null);
79
- return [n(m, null, [o ? null : n(m, null, [n(i("ut-button"), {
79
+ return [o(m, null, [n ? null : o(m, null, [o(s("ut-button"), {
80
80
  status: "success",
81
81
  icon: "ri-edit-box-line",
82
82
  content: "edit",
@@ -91,11 +91,11 @@ const B = {
91
91
  }, g = async ({
92
92
  row: e
93
93
  }) => {
94
- const o = await d.get(s, {
94
+ const n = await d.get(r, {
95
95
  parentId: e.id
96
96
  });
97
97
  return new Promise((a) => {
98
- a(o.list);
98
+ a(n.list);
99
99
  });
100
100
  }, u = (e) => {
101
101
  t.showDrawer = !0, t.dataStatus = "add", t.record.dispalyCode = e == null ? void 0 : e.permissionCode, t.record.permissionCode = e == null ? void 0 : e.permissionCode, t.record.menuType = "0", t.record.showLink = "Y", t.record.isApprovalPage = "N", t.record.menuCategory = e ? "" : "0", t.record.parentId = e == null ? void 0 : e.id, t.record.hasChildren = e == null ? void 0 : e.hasChildren, t.record.children = t.record.children || [], l = e;
@@ -105,23 +105,23 @@ const B = {
105
105
  async function _({
106
106
  row: e
107
107
  }) {
108
- await d.put(s, [e]), r.value.refreshData();
108
+ await d.put(r, [e]), i.value.refreshData();
109
109
  }
110
110
  const T = async () => {
111
- const e = await P.modal.confirm(h("message.delRecord")), o = r.value.getInstance().getCheckboxRecords();
111
+ const e = await P.modal.confirm(h("message.delRecord")), n = i.value.getInstance().getCheckboxRecords();
112
112
  if (e === "confirm") {
113
- const [a] = await M(d.delete(s, o));
113
+ const [a] = await M(d.delete(r, n));
114
114
  }
115
115
  }, b = (e) => {
116
116
  t.showAuthority = !0, t.dataStatus = "update", t.record = p(e, !0), t.record.menuType = t.record.menuType.toString(), t.record.dispalyCode = e.permissionCode;
117
- }, c = (e, o) => {
118
- e === "submit" && (l || o) && r.value.getInstance().reloadTreeExpand(l || o), t.record = {}, t.showDrawer = !1, t.showAuthority = !1;
117
+ }, c = (e, n) => {
118
+ e === "submit" && (l || n) && i.value.getInstance().reloadTreeExpand(l || n), t.record = {}, t.showDrawer = !1, t.showAuthority = !1;
119
119
  };
120
- return (e, o) => {
121
- const a = i("ut-grid");
122
- return D(), A("div", B, [n(a, {
120
+ return (e, n) => {
121
+ const a = s("ut-grid");
122
+ return D(), A("div", W, [o(a, {
123
123
  ref_key: "xgrid",
124
- ref: r,
124
+ ref: i,
125
125
  "tree-config": {
126
126
  childrenField: "children",
127
127
  lazy: !0,
@@ -131,16 +131,16 @@ const B = {
131
131
  iconClose: "ri-add-box-line ri-lg"
132
132
  },
133
133
  columns: y,
134
- url: s,
134
+ url: r,
135
135
  stripe: !1,
136
136
  mode: "form",
137
137
  onToolbarButtonClick: C
138
- }, null, 8, ["tree-config"]), n(N, {
138
+ }, null, 8, ["tree-config"]), o(N, {
139
139
  show: t.showDrawer,
140
140
  record: t.record,
141
141
  "data-status": t.dataStatus,
142
142
  onClose: c
143
- }, null, 8, ["show", "record", "data-status"]), n(I, {
143
+ }, null, 8, ["show", "record", "data-status"]), o(I, {
144
144
  show: t.showAuthority,
145
145
  record: t.record,
146
146
  onClose: c
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./UserInfo.vue_vue_type_style_index_0_lang-BpbC_ZDm.js";
1
+ import { _ as f } from "./UserInfo.vue_vue_type_style_index_0_lang-CY4dtMnZ.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as R, ref as i, reactive as x, onBeforeMount as B, resolveComponent as d, createElementBlock as U, openBlock as m, createVNode as c, withCtx as $, createBlock as j, createCommentVNode as A, mergeProps as E, toHandlers as P } from "vue";
2
2
  import { t as S } from "./await-to-js.es5-BtRbN2QH.js";
3
- import { y as V } from "./index-C3q8HoJM.js";
3
+ import { y as V } from "./index-nkstuOxE.js";
4
4
  const q = { class: "u-dict-config_wrapper" }, D = /* @__PURE__ */ R({
5
5
  __name: "UserInfo",
6
6
  props: {
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./childView.vue_vue_type_style_index_0_lang-W7bCtXeu.js";
1
+ import { _ as f } from "./childView.vue_vue_type_style_index_0_lang-Dtv1rrdP.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./childView.vue_vue_type_style_index_0_lang-Bym2fQRd.js";
1
+ import { _ as f } from "./childView.vue_vue_type_style_index_0_lang-B9k694be.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,8 +1,8 @@
1
- import { defineComponent as V, ref as a, resolveComponent as o, resolveDirective as F, createElementBlock as h, openBlock as _, createVNode as d, withCtx as c, withDirectives as W } from "vue";
1
+ import { defineComponent as V, ref as a, resolveComponent as o, resolveDirective as F, createElementBlock as w, openBlock as _, createVNode as d, withCtx as c, withDirectives as W } from "vue";
2
2
  import { t as u } from "./await-to-js.es5-BtRbN2QH.js";
3
3
  import { useRender as P } from "@utogether/utils";
4
- import { i as $, y as f } from "./index-C3q8HoJM.js";
5
- const B = { class: "ut-loview-wrapper" }, Y = "/upfm/v1/lovViewHeader", m = "/upfm/v1/lovViewLine", G = /* @__PURE__ */ V({
4
+ import { i as $, y as f } from "./index-nkstuOxE.js";
5
+ const x = { class: "ut-loview-wrapper" }, B = "/upfm/v1/lovViewHeader", p = "/upfm/v1/lovViewLine", G = /* @__PURE__ */ V({
6
6
  __name: "childView",
7
7
  props: {
8
8
  record: { default: () => ({}) },
@@ -10,7 +10,7 @@ const B = { class: "ut-loview-wrapper" }, Y = "/upfm/v1/lovViewHeader", m = "/up
10
10
  },
11
11
  emits: ["onClose"],
12
12
  setup(R, { emit: g }) {
13
- const l = R, t = P(), p = $().dicts, s = a(!1), C = { value: "dictCode", label: "dictName" }, v = a(null), T = [
13
+ const l = R, t = P(), m = $().dicts, s = a(!1), C = { value: "dictCode", label: "dictName" }, v = a(null), T = [
14
14
  { field: "lovCode", disabled: !0 },
15
15
  { field: "lovName", required: !0 },
16
16
  { field: "valueField", required: !0 },
@@ -41,8 +41,8 @@ const B = { class: "ut-loview-wrapper" }, Y = "/upfm/v1/lovViewHeader", m = "/up
41
41
  field: "dictCode",
42
42
  title: "message.dictName",
43
43
  width: 120,
44
- editRender: t.renderSelectLocal({ options: p, optionProps: C }),
45
- formatter: ["formatSelectLocal", [p, "dictCode", "dictName"]]
44
+ editRender: t.renderSelectLocal({ options: m, optionProps: C }),
45
+ formatter: ["formatSelectLocal", [m, "dictCode", "dictName"]]
46
46
  },
47
47
  {
48
48
  field: "isSearch",
@@ -58,7 +58,7 @@ const B = { class: "ut-loview-wrapper" }, Y = "/upfm/v1/lovViewHeader", m = "/up
58
58
  editRender: t.renderDict("SU.WHETHER"),
59
59
  formatter: ["formatDict", "SU.WHETHER"]
60
60
  }
61
- ], w = a(null), q = window.innerHeight - 300, y = {
61
+ ], h = a(null), q = window.innerHeight - 195, y = {
62
62
  editActived({ row: e }) {
63
63
  i[6].editRender.props.disabled = e.fieldType !== "dictCode";
64
64
  }
@@ -70,10 +70,10 @@ const B = { class: "ut-loview-wrapper" }, Y = "/upfm/v1/lovViewHeader", m = "/up
70
70
  v.value.validateForm(async (e) => {
71
71
  if (!e) {
72
72
  s.value = !0;
73
- const [n] = await u(f().put(Y, [l.record]));
73
+ const [n] = await u(f().put(B, [l.record]));
74
74
  if (!n) {
75
- const r = w.value.getInstance().getRecordset();
76
- r.insertRecords.length && await u(f().post(m, r.insertRecords)), r.updateRecords.length && await u(f().put(m, r.updateRecords));
75
+ const r = h.value.getInstance().getRecordset();
76
+ r.insertRecords.length && await u(f().post(p, r.insertRecords)), r.updateRecords.length && await u(f().put(p, r.updateRecords));
77
77
  }
78
78
  s.value = !1;
79
79
  }
@@ -83,17 +83,16 @@ const B = { class: "ut-loview-wrapper" }, Y = "/upfm/v1/lovViewHeader", m = "/up
83
83
  b("onClose");
84
84
  }
85
85
  return (e, n) => {
86
- const r = o("ut-button"), D = o("ut-form"), N = o("ut-divider"), U = o("ut-grid"), k = o("ut-content"), I = o("el-drawer"), L = F("spinning");
87
- return _(), h("div", B, [
86
+ const r = o("ut-button"), D = o("ut-form"), N = o("ut-divider"), U = o("ut-grid"), k = o("ut-content"), I = o("vxe-drawer"), L = F("spinning");
87
+ return _(), w("div", x, [
88
88
  d(I, {
89
89
  "model-value": e.show,
90
- "with-header": !1,
91
- "show-close": !1,
92
- "close-on-click-modal": !1,
93
- size: "90%"
90
+ position: "right",
91
+ "show-header": !1,
92
+ width: "90%"
94
93
  }, {
95
94
  default: c(() => [
96
- W((_(), h("div", null, [
95
+ W((_(), w("div", null, [
97
96
  d(k, {
98
97
  title: e.$t("message.title.lovView"),
99
98
  onClose: H
@@ -102,7 +101,7 @@ const B = { class: "ut-loview-wrapper" }, Y = "/upfm/v1/lovViewHeader", m = "/up
102
101
  d(r, {
103
102
  icon: "ri-save-3-fill",
104
103
  content: "save",
105
- onTap: n[0] || (n[0] = (A) => S())
104
+ onTap: n[0] || (n[0] = (Y) => S())
106
105
  })
107
106
  ]),
108
107
  body: c(() => [
@@ -118,9 +117,9 @@ const B = { class: "ut-loview-wrapper" }, Y = "/upfm/v1/lovViewHeader", m = "/up
118
117
  }, null, 8, ["title"]),
119
118
  d(U, {
120
119
  ref_key: "xgrid",
121
- ref: w,
120
+ ref: h,
122
121
  columns: i,
123
- url: m,
122
+ url: p,
124
123
  "default-value": { headerId: e.record.id },
125
124
  "default-params": { headerId: e.record.id },
126
125
  height: q,
@@ -1,13 +1,13 @@
1
- import { defineComponent as x, ref as l, resolveComponent as a, createElementBlock as E, openBlock as m, createVNode as n, withCtx as T, createBlock as z, createCommentVNode as H, Fragment as U } from "vue";
2
- import { useI18n as $ } from "vue-i18n";
1
+ import { defineComponent as S, ref as l, resolveComponent as a, createElementBlock as E, openBlock as m, createVNode as n, withCtx as T, createBlock as H, createCommentVNode as U, Fragment as $ } from "vue";
2
+ import { useI18n as z } from "vue-i18n";
3
3
  import { t as F } from "./await-to-js.es5-BtRbN2QH.js";
4
4
  import { VxeUI as M } from "vxe-pc-ui";
5
5
  import { useRender as O, successMessage as f } from "@utogether/utils";
6
- import { y as p, i as g } from "./index-C3q8HoJM.js";
6
+ import { y as p, i as h } from "./index-nkstuOxE.js";
7
7
  import { clone as j } from "xe-utils";
8
8
  const G = {
9
9
  class: "u-dict-config_wrapper"
10
- }, h = "/upfm/v1/lov", ee = /* @__PURE__ */ x({
10
+ }, v = "/upfm/v1/lov", ee = /* @__PURE__ */ S({
11
11
  __name: "childView",
12
12
  props: {
13
13
  record: {
@@ -19,12 +19,12 @@ const G = {
19
19
  }
20
20
  },
21
21
  emits: ["onClose"],
22
- setup(v, {
22
+ setup(g, {
23
23
  emit: C
24
24
  }) {
25
- const w = v, y = O(), {
25
+ const w = g, y = O(), {
26
26
  t: _
27
- } = $(), d = l(!1), i = l(null), s = l(null), t = l({}), o = l("add"), I = window.innerHeight - 70, b = [{
27
+ } = z(), d = l(!1), i = l(null), s = l(null), t = l({}), o = l("add"), I = window.innerHeight - 70, k = [{
28
28
  field: "dictCode",
29
29
  title: "message.udp.dictCode",
30
30
  required: !0,
@@ -47,7 +47,7 @@ const G = {
47
47
  slots: {
48
48
  default: ({
49
49
  row: e
50
- }) => [n(U, null, [n(a("ut-button"), {
50
+ }) => [n($, null, [n(a("ut-button"), {
51
51
  content: "add",
52
52
  status: "warning",
53
53
  auth: "edit",
@@ -57,7 +57,7 @@ const G = {
57
57
  content: "edit",
58
58
  status: "primary",
59
59
  auth: "edit",
60
- onTap: () => D(e)
60
+ onTap: () => x(e)
61
61
  }, null), n(a("ut-button"), {
62
62
  content: "del",
63
63
  status: "danger",
@@ -65,7 +65,7 @@ const G = {
65
65
  onTap: () => V(e)
66
66
  }, null)])]
67
67
  }
68
- }], k = [{
68
+ }], b = [{
69
69
  field: "dictCode",
70
70
  title: "message.udp.dictCode",
71
71
  required: !0
@@ -94,17 +94,17 @@ const G = {
94
94
  parentId: e.id
95
95
  };
96
96
  }, V = async (e) => {
97
- await M.modal.confirm(_("message.delRecord")) === "confirm" && (await p().delete(h, [e]), f(), i.value.refreshData());
98
- }, D = async (e) => {
97
+ await M.modal.confirm(_("message.delRecord")) === "confirm" && (await p().delete(v, [e]), f(), i.value.refreshData());
98
+ }, x = async (e) => {
99
99
  d.value = !0, o.value = "edit", t.value = j(e, !0);
100
- }, q = async () => {
100
+ }, D = async () => {
101
101
  const e = {
102
102
  ...t.value,
103
- orgId: g().getOrgId,
104
- organizationId: g().getOrganizationId
103
+ orgId: h().getOrgId,
104
+ organizationId: h().getOrganizationId
105
105
  };
106
106
  s.value.showLoading();
107
- const r = o.value === "add" ? "post" : "put", [u] = await F(p()[r](h, [e]));
107
+ const r = o.value === "add" ? "post" : "put", [u] = await F(p()[r](v, [e]));
108
108
  if (s.value.hiddenLoading(), !u) {
109
109
  if (d.value = o.value !== "edit", o.value === "add") {
110
110
  const c = t.value.parentId;
@@ -115,28 +115,28 @@ const G = {
115
115
  }
116
116
  f(), i.value.refreshData();
117
117
  }
118
- }, A = (e) => {
118
+ }, q = (e) => {
119
119
  e === "add" && N();
120
- }, L = C;
121
- function R() {
122
- L("onClose");
120
+ }, A = C;
121
+ function L() {
122
+ A("onClose");
123
123
  }
124
124
  return (e, r) => {
125
- const u = a("ut-grid"), c = a("ut-modal-form"), S = a("el-drawer");
126
- return m(), E("div", G, [n(S, {
125
+ const u = a("ut-grid"), c = a("ut-modal-form"), R = a("vxe-drawer");
126
+ return m(), E("div", G, [n(R, {
127
127
  "model-value": e.show,
128
- "before-close": R,
129
128
  title: e.$t("message.title.dictList", {
130
129
  name: e.record.dictName
131
130
  }),
132
- direction: "rtl",
131
+ position: "right",
133
132
  "destroy-on-close": "",
134
- size: "76%"
133
+ width: "67%",
134
+ onClose: L
135
135
  }, {
136
136
  default: T(() => [n(u, {
137
137
  ref_key: "xgrid",
138
138
  ref: i,
139
- columns: b,
139
+ columns: k,
140
140
  height: I,
141
141
  "default-params": {
142
142
  parentId: e.record.id
@@ -151,13 +151,13 @@ const G = {
151
151
  },
152
152
  url: "/upfm/v1/lov/children",
153
153
  mode: "form",
154
- onButtonClick: A
155
- }, null, 8, ["default-params"]), d.value ? (m(), z(c, {
154
+ onButtonClick: q
155
+ }, null, 8, ["default-params"]), d.value ? (m(), H(c, {
156
156
  key: 0,
157
157
  ref_key: "xmodal",
158
158
  ref: s,
159
159
  record: t.value,
160
- items: k,
160
+ items: b,
161
161
  width: "400",
162
162
  height: "280",
163
163
  "data-status": o.value,
@@ -165,8 +165,8 @@ const G = {
165
165
  name: e.record.dictName
166
166
  }),
167
167
  onClose: r[0] || (r[0] = (J) => d.value = !1),
168
- onConfirm: q
169
- }, null, 8, ["record", "data-status", "title"])) : H("", !0)]),
168
+ onConfirm: D
169
+ }, null, 8, ["record", "data-status", "title"])) : U("", !0)]),
170
170
  _: 1
171
171
  }, 8, ["model-value", "title"])]);
172
172
  };
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as U, ref as d, createVNode as f, resolveComponent as i, nextTick as C, createElementBlock as y, openBlock as p, createBlock as b, createCommentVNode as q } from "vue";
2
2
  import { t as x } from "./await-to-js.es5-BtRbN2QH.js";
3
3
  import { useRender as B } from "@utogether/utils";
4
- import { y as D } from "./index-C3q8HoJM.js";
4
+ import { y as D } from "./index-nkstuOxE.js";
5
5
  const I = {
6
6
  name: "CodeRule"
7
7
  }, M = /* @__PURE__ */ U({
package/dist/core.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { R as a, O as t, H as r, K as o, L as u, T as i, y as n, B as l, E as g, J as c, P as h, S as m, Q as S, s as f, C as y, D as R, c as C, h as P, i as d } from "./index-C3q8HoJM.js";
1
+ import { R as a, O as t, H as r, K as o, L as u, T as i, y as n, B as l, E as g, J as c, P as h, S as m, Q as S, s as f, C as y, D as R, c as C, h as P, i as d } from "./index-nkstuOxE.js";
2
2
  export {
3
3
  a as constantRoutes,
4
4
  t as default,
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as k, ref as d, createVNode as n, resolveComponent as o, Fragment as v, createElementBlock as T, openBlock as f, createBlock as I, createCommentVNode as R } from "vue";
2
2
  import { VXETable as C } from "vxe-table";
3
3
  import { t as x } from "./await-to-js.es5-BtRbN2QH.js";
4
- import { y } from "./index-C3q8HoJM.js";
4
+ import { y } from "./index-nkstuOxE.js";
5
5
  import { useRender as S, successMessage as D } from "@utogether/utils";
6
6
  const E = {
7
7
  name: "CronTask"
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as _, ref as r, unref as a, onMounted as d, resolveDirective as p, withDirectives as v, createElementBlock as h, openBlock as g, createElementVNode as k, nextTick as x } from "vue";
2
2
  import { useRoute as E } from "vue-router";
3
- import { _ as R } from "./index-C3q8HoJM.js";
3
+ import { _ as R } from "./index-nkstuOxE.js";
4
4
  const w = { class: "frame" }, S = ["src"], V = /* @__PURE__ */ _({
5
5
  __name: "frameView",
6
6
  setup(B) {