@utogether/udp-core 2.0.0-beta.27 → 2.0.0-beta.28

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 (100) hide show
  1. package/dist/{403-gdcH0-Bo.js → 403-CyoOD-Ik.js} +1 -1
  2. package/dist/{404-Se2SF97M.js → 404-Ch_OHTw0.js} +1 -1
  3. package/dist/{500-B6j9AqLo.js → 500-Cf9am7HK.js} +1 -1
  4. package/dist/{AuthorityInfo-CQ8ydZvr.js → AuthorityInfo-BJ427cqG.js} +1 -1
  5. package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-C4NRvS8p.js → AuthorityInfo.vue_vue_type_style_index_0_lang-D9y7AwbB.js} +11 -12
  6. package/dist/{Company-BzSVBSC4.js → Company-qo-lKPkv.js} +3 -3
  7. package/dist/{CompanyPanel-DBjZB4aJ.js → CompanyPanel-DkKWAKvY.js} +7 -7
  8. package/dist/{Department-BkgseHo8.js → Department-CHUQByKX.js} +3 -3
  9. package/dist/{DepartmentPanel-Sen93_2M.js → DepartmentPanel-C742dfOO.js} +27 -28
  10. package/dist/{DesignPanel-pqDcwaFC.js → DesignPanel-D9oE5R7m.js} +1 -1
  11. package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-BjtYyEw7.js → DesignPanel.vue_vue_type_style_index_0_lang-hYldVEbo.js} +192 -108
  12. package/dist/{DictView-CJLG4LlE.js → DictView-CrFXprP9.js} +1 -1
  13. package/dist/{InvOrganization-D0Jq1IAa.js → InvOrganization-Cz8SzIgs.js} +6 -7
  14. package/dist/{Org-CO_1WT39.js → Org-Bzt6yKox.js} +9 -10
  15. package/dist/{Preview-DLI4Bwel.js → Preview-jonigfMQ.js} +1 -1
  16. package/dist/{ReportDefine-Cw46OnJ_.js → ReportDefine-BpiM5Ovq.js} +1 -1
  17. package/dist/{ReportDesign-D4sHTXT7.js → ReportDesign-fp09cXJ7.js} +24 -25
  18. package/dist/{ReportQuery-DtOCvQSN.js → ReportQuery-52ZP1PYP.js} +1 -1
  19. package/dist/{ReportQueryFrom-QjL-ETPq.js → ReportQueryFrom-DSYavJb1.js} +1 -1
  20. package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-Dj9ne87n.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-DBGYEp0u.js} +4 -4
  21. package/dist/{ReportTemplate-BxAgc_Aj.js → ReportTemplate-CA_UW0eD.js} +3 -3
  22. package/dist/{Role-Df77BBD-.js → Role-DqOt8Bk0.js} +3 -3
  23. package/dist/{RoleAssign-BrunouML.js → RoleAssign-BdxhefhQ.js} +3 -3
  24. package/dist/{RolePanel-HLA7XBlN.js → RolePanel-2gZ3H0ET.js} +1 -1
  25. package/dist/{RolePanel-DSVwqhiD.js → RolePanel-BsNd0svJ.js} +1 -1
  26. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-CN0rUxKz.js → RolePanel.vue_vue_type_script_setup_true_lang-DLOwgF99.js} +9 -9
  27. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-CKlbqRa5.js → RolePanel.vue_vue_type_script_setup_true_lang-DmzD9kab.js} +26 -27
  28. package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-D_FeSXKv.js → ScrollPanel.vue_vue_type_style_index_0_lang-B9ptUMeI.js} +7 -7
  29. package/dist/{Staff-BeL1xcRf.js → Staff-D3L8fEoY.js} +3 -3
  30. package/dist/{StaffInfo-CIfnltyX.js → StaffInfo-DYRw6ZYJ.js} +1 -1
  31. package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-DbLFwWfG.js → StaffInfo.vue_vue_type_script_setup_true_lang-xqEOQnMs.js} +1 -1
  32. package/dist/{StaffPanel-BV2CHWac.js → StaffPanel-DkrNH6Px.js} +1 -1
  33. package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-CvT-Vp2G.js → StaffPanel.vue_vue_type_script_setup_true_lang-BPBMnliy.js} +8 -9
  34. package/dist/{SysUser-DPfNvthk.js → SysUser-Bl1-cIpJ.js} +2 -2
  35. package/dist/{SysUserPanel-CoLKYlQE.js → SysUserPanel-yxNLaBwt.js} +1 -1
  36. package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-lcO3Cjbq.js → SysUserPanel.vue_vue_type_script_setup_true_lang-BDcsgSl5.js} +11 -12
  37. package/dist/{SystemMenu-sdj1dRDA.js → SystemMenu-C4_Arn12.js} +9 -10
  38. package/dist/{UserInfo-CTX4hhFl.js → UserInfo-QcNwJCUR.js} +1 -1
  39. package/dist/{UserInfo.vue_vue_type_style_index_0_lang-ClhCd_8z.js → UserInfo.vue_vue_type_style_index_0_lang-DLIeUphX.js} +5 -6
  40. package/dist/{childView-BDmWwJO5.js → childView-B23DEO2u.js} +1 -1
  41. package/dist/{childView-Dx3ACtHa.js → childView-saDZQv9x.js} +1 -1
  42. package/dist/{childView.vue_vue_type_style_index_0_lang-CfKq_0FN.js → childView.vue_vue_type_style_index_0_lang-RsKR6CAC.js} +14 -15
  43. package/dist/{childView.vue_vue_type_style_index_0_lang-DxZNtkhd.js → childView.vue_vue_type_style_index_0_lang-ZFEfavUY.js} +11 -12
  44. package/dist/{code-rule-cvN4gYC_.js → code-rule-2_Ihx_by.js} +12 -13
  45. package/dist/core.es.js +21 -19
  46. package/dist/{cron-task-B0TkxFdp.js → cron-task-BFOPJQIk.js} +3 -4
  47. package/dist/{frameView-5cy5BSgS.js → frameView-f7Ya0Knj.js} +1 -1
  48. package/dist/img/minicolors.png +0 -0
  49. package/dist/{index-C5WRTwvI.js → index-BpdTDaTk.js} +811 -604
  50. package/dist/{layout-home-DrARg-3o.js → layout-home-v3DPJ7rB.js} +12 -13
  51. package/dist/{layoutView-25v_ngk5.js → layoutView-DZHoQDH1.js} +186 -187
  52. package/dist/{log-in-Bmz5Uhbt.js → log-in-BPAMJTwH.js} +4 -5
  53. package/dist/{log-out-B-8m3oNj.js → log-out-DZACF0jg.js} +8 -9
  54. package/dist/{login-Cmp2RvvW.js → login-B8cwozax.js} +22 -23
  55. package/dist/{lov-view-BATtzw2X.js → lov-view-Ba7Y7xy0.js} +4 -5
  56. package/dist/{menuInfo-BIvrE7nm.js → menuInfo-BpRKFYK8.js} +1 -1
  57. package/dist/{menuInfo.vue_vue_type_style_index_0_lang-B6USomit.js → menuInfo.vue_vue_type_style_index_0_lang-DJ5sUC6m.js} +17 -18
  58. package/dist/{pda-app-CzHVyeEa.js → pda-app-C0jJecrL.js} +7 -8
  59. package/dist/{resource-Y5lGB38n.js → resource-BG22Cw4P.js} +4 -4
  60. package/dist/su-welcome-DaxhbrC6.js +879 -0
  61. package/dist/{sys-config-CqO03LeC.js → sys-config-CG2fMtak.js} +22 -23
  62. package/dist/udp-core.css +1 -1
  63. package/dist/{useNav-C-rCgubt.js → useNav-_u2UAQWk.js} +24 -24
  64. package/index.ts +54 -51
  65. package/package.json +21 -21
  66. package/src/api/http.ts +10 -4
  67. package/src/api/index.ts +51 -51
  68. package/src/api/user.ts +64 -64
  69. package/src/components/udp/content/index.vue +93 -93
  70. package/src/components/udp/form-upload/form-upload.vue +496 -496
  71. package/src/components/udp/grid/index.vue +643 -544
  72. package/src/components/udp/index.ts +2 -1
  73. package/src/components/udp/modal-form/index.vue +326 -0
  74. package/src/components/udp/utils.ts +420 -420
  75. package/src/layout/components/lay-navbar/index.vue +240 -240
  76. package/src/layout/components/lay-search/components/SearchModal.vue +185 -185
  77. package/src/layout/components/lay-sidebar/mixNav.vue +261 -261
  78. package/src/layout/components/lay-sidebar/sidebarItem.vue +199 -195
  79. package/src/layout/components/lay-sidebar/vertical.vue +92 -92
  80. package/src/layout/layoutView.vue +1 -0
  81. package/src/main.ts +111 -111
  82. package/src/plugins/i18n/zh.ts +5 -1
  83. package/src/plugins/vxe-table/index.ts +116 -116
  84. package/src/router/index.ts +158 -156
  85. package/src/router/utils.ts +434 -430
  86. package/src/store/modules/permission.ts +1 -1
  87. package/src/store/modules/system.ts +193 -193
  88. package/src/style/print-lock.css +380 -375
  89. package/src/style/suprint.css +990 -985
  90. package/src/utils/authority/index.ts +46 -46
  91. package/src/utils/dataFormat/index.ts +309 -222
  92. package/src/utils/udp/http/index.ts +19 -11
  93. package/src/views/uhome/components/home-todo.vue +15 -3
  94. package/src/views/uhome/dynamic-card.vue +31 -31
  95. package/src/views/uhome/su-welcome.vue +310 -310
  96. package/src/views/ulogin/login.vue +292 -292
  97. package/src/views/urpt/design/DesignPanel.vue +538 -507
  98. package/src/views/urpt/design/print-data.ts +39 -59
  99. package/dist/await-to-js.es5-Bv3Eu4mi.js +0 -10
  100. package/dist/su-welcome-CXA6OzBw.js +0 -878
@@ -1,17 +1,16 @@
1
1
  import { defineComponent as k, reactive as S, ref as D, createVNode as r, resolveComponent as s, Fragment as h, openBlock as A, createElementBlock as E } from "vue";
2
2
  import { useI18n as I } from "vue-i18n";
3
- import { _ as N } from "./menuInfo.vue_vue_type_style_index_0_lang-B6USomit.js";
3
+ import { _ as N } from "./menuInfo.vue_vue_type_style_index_0_lang-DJ5sUC6m.js";
4
4
  import { _ as P } from "./AuthorityPanel.vue_vue_type_style_index_0_lang-nsfhDlvV.js";
5
5
  import { clone as f } from "xe-utils";
6
- import { t as R } from "./await-to-js.es5-Bv3Eu4mi.js";
7
- import { VxeUI as M } from "vxe-pc-ui";
8
- import { useRender as U } from "@utogether/utils";
9
- import { n as W } from "./index-C5WRTwvI.js";
6
+ import { j as R, i as M } from "./index-BpdTDaTk.js";
7
+ import { VxeUI as U } from "vxe-pc-ui";
8
+ import { useRender as W } from "@utogether/utils";
10
9
  const B = {
11
10
  class: "page-content"
12
11
  }, L = {
13
12
  name: "SystemMenu"
14
- }, G = /* @__PURE__ */ k({
13
+ }, q = /* @__PURE__ */ k({
15
14
  ...L,
16
15
  setup(z) {
17
16
  const e = S({
@@ -27,7 +26,7 @@ const B = {
27
26
  }
28
27
  }), {
29
28
  t: g
30
- } = I(), C = U(), i = W(), n = D(null), d = "/uums/menu";
29
+ } = I(), C = W(), i = R(), n = D(null), d = "/uums/menu";
31
30
  let l;
32
31
  const y = [{
33
32
  type: "checkbox",
@@ -108,9 +107,9 @@ const B = {
108
107
  await i.put(d, [t]), n.value.refreshData();
109
108
  }
110
109
  const x = async () => {
111
- const t = await M.modal.confirm(g("message.delRecord")), o = n.value.getInstance().getCheckboxRecords();
110
+ const t = await U.modal.confirm(g("message.delRecord")), o = n.value.getInstance().getCheckboxRecords();
112
111
  if (t === "confirm") {
113
- const [a, m] = await R(i.delete(d, o));
112
+ const [a, m] = await M(i.delete(d, o));
114
113
  if (a) return;
115
114
  const p = n.value.getInstance().getTreeParentRow(o[0]);
116
115
  p ? n.value.getInstance().reloadTreeExpand(p) : n.value.refreshData();
@@ -152,5 +151,5 @@ const B = {
152
151
  }
153
152
  });
154
153
  export {
155
- G as default
154
+ q as default
156
155
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./UserInfo.vue_vue_type_style_index_0_lang-ClhCd_8z.js";
1
+ import { _ as f } from "./UserInfo.vue_vue_type_style_index_0_lang-DLIeUphX.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,7 +1,6 @@
1
1
  import { defineComponent as k, ref as d, reactive as R, onBeforeMount as B, resolveComponent as u, openBlock as c, createElementBlock as U, createVNode as f, withCtx as $, mergeProps as j, toHandlers as A, createBlock as E, createCommentVNode as P } from "vue";
2
- import { t as S } from "./await-to-js.es5-Bv3Eu4mi.js";
3
- import { n as V } from "./index-C5WRTwvI.js";
4
- const q = { class: "u-dict-config_wrapper" }, D = /* @__PURE__ */ k({
2
+ import { j as S, i as V } from "./index-BpdTDaTk.js";
3
+ const q = { class: "u-dict-config_wrapper" }, O = /* @__PURE__ */ k({
5
4
  __name: "UserInfo",
6
5
  props: {
7
6
  record: { default: () => ({}) },
@@ -10,7 +9,7 @@ const q = { class: "u-dict-config_wrapper" }, D = /* @__PURE__ */ k({
10
9
  },
11
10
  emits: ["onClose"],
12
11
  setup(o, { emit: p }) {
13
- const a = o, g = d(!1), r = d(!1), n = V(), h = p, b = [
12
+ const a = o, g = d(!1), r = d(!1), n = S(), h = p, b = [
14
13
  {
15
14
  field: "userName",
16
15
  title: "message.udp.userCode",
@@ -110,7 +109,7 @@ const q = { class: "u-dict-config_wrapper" }, D = /* @__PURE__ */ k({
110
109
  }, _ = async (e) => {
111
110
  const s = { userIds: "", roleId: a.record.id };
112
111
  s.userIds = e.map((i) => i.id).join(","), l.loading = !0;
113
- const [t] = await S(n.post("/uums/role/addUserRole", s));
112
+ const [t] = await V(n.post("/uums/role/addUserRole", s));
114
113
  l.loading = !1, t || (m.value.commitProxy("query"), r.value = !1);
115
114
  };
116
115
  function x() {
@@ -156,5 +155,5 @@ const q = { class: "u-dict-config_wrapper" }, D = /* @__PURE__ */ k({
156
155
  }
157
156
  });
158
157
  export {
159
- D as _
158
+ O as _
160
159
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./childView.vue_vue_type_style_index_0_lang-CfKq_0FN.js";
1
+ import { _ as f } from "./childView.vue_vue_type_style_index_0_lang-ZFEfavUY.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-DxZNtkhd.js";
1
+ import { _ as f } from "./childView.vue_vue_type_style_index_0_lang-RsKR6CAC.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,13 +1,12 @@
1
1
  import { defineComponent as S, ref as i, resolveComponent as a, openBlock as f, createElementBlock as E, createVNode as n, withCtx as T, createBlock as H, createCommentVNode as U, Fragment as $ } from "vue";
2
2
  import { useI18n as z } from "vue-i18n";
3
- import { t as F } from "./await-to-js.es5-Bv3Eu4mi.js";
3
+ import { j as p, h as g, i as F } from "./index-BpdTDaTk.js";
4
4
  import { VxeUI as M } from "vxe-pc-ui";
5
- import { useRender as O, successMessage as p } from "@utogether/utils";
6
- import { n as g, X as h } from "./index-C5WRTwvI.js";
7
- import { clone as X } from "xe-utils";
8
- const j = {
5
+ import { useRender as O, successMessage as h } from "@utogether/utils";
6
+ import { clone as j } from "xe-utils";
7
+ const G = {
9
8
  class: "u-dict-config_wrapper"
10
- }, v = "/upfm/v1/lov", ee = /* @__PURE__ */ S({
9
+ }, v = "/upfm/v1/lov", Z = /* @__PURE__ */ S({
11
10
  __name: "childView",
12
11
  props: {
13
12
  record: {
@@ -100,17 +99,17 @@ const j = {
100
99
  parentId: e.id
101
100
  };
102
101
  }, D = async (e) => {
103
- await M.modal.confirm(y("message.delRecord")) === "confirm" && (await g().delete(v, [e]), p(), s.value.refreshData());
102
+ await M.modal.confirm(y("message.delRecord")) === "confirm" && (await p().delete(v, [e]), h(), s.value.refreshData());
104
103
  }, B = async (e) => {
105
- o.value = !0, d.value = "edit", t.value = X(e, !0);
104
+ o.value = !0, d.value = "edit", t.value = j(e, !0);
106
105
  }, V = async () => {
107
106
  const e = {
108
107
  ...t.value,
109
- orgId: h().getOrgId,
110
- organizationId: h().getOrganizationId
108
+ orgId: g().getOrgId,
109
+ organizationId: g().getOrganizationId
111
110
  };
112
111
  u.value.showLoading();
113
- const r = d.value === "add" ? "post" : "put", [c] = await F(g()[r](v, [e]));
112
+ const r = d.value === "add" ? "post" : "put", [c] = await F(p()[r](v, [e]));
114
113
  if (u.value.hiddenLoading(), !c) {
115
114
  if (o.value = d.value !== "edit", d.value === "add") {
116
115
  const m = t.value.parentId;
@@ -119,7 +118,7 @@ const j = {
119
118
  parentId: m
120
119
  };
121
120
  }
122
- p(), s.value.refreshData();
121
+ h(), s.value.refreshData();
123
122
  }
124
123
  }, q = (e) => {
125
124
  e === "add" && x();
@@ -129,7 +128,7 @@ const j = {
129
128
  }
130
129
  return (e, r) => {
131
130
  const c = a("ut-grid"), m = a("ut-modal-form"), R = a("vxe-drawer");
132
- return f(), E("div", j, [n(R, {
131
+ return f(), E("div", G, [n(R, {
133
132
  "model-value": l.show,
134
133
  title: e.$t("message.title.dictList", {
135
134
  name: l.record.dictName
@@ -170,7 +169,7 @@ const j = {
170
169
  title: e.$t("message.title.dictInfo", {
171
170
  name: l.record.dictName
172
171
  }),
173
- onClose: r[0] || (r[0] = (G) => o.value = !1),
172
+ onClose: r[0] || (r[0] = (J) => o.value = !1),
174
173
  onConfirm: V
175
174
  }, null, 8, ["record", "data-status", "title"])) : U("", !0)]),
176
175
  _: 1
@@ -179,5 +178,5 @@ const j = {
179
178
  }
180
179
  });
181
180
  export {
182
- ee as _
181
+ Z as _
183
182
  };
@@ -1,7 +1,6 @@
1
- import { defineComponent as L, ref as c, resolveComponent as o, resolveDirective as V, openBlock as R, createElementBlock as g, createVNode as d, withCtx as u, withDirectives as F } from "vue";
2
- import { t as f } from "./await-to-js.es5-Bv3Eu4mi.js";
3
- import { useRender as W } from "@utogether/utils";
4
- import { X as P, n as m } from "./index-C5WRTwvI.js";
1
+ import { defineComponent as L, ref as c, resolveComponent as d, resolveDirective as V, openBlock as R, createElementBlock as g, createVNode as o, withCtx as u, withDirectives as F } from "vue";
2
+ import { h as W, i as f, j as m } from "./index-BpdTDaTk.js";
3
+ import { useRender as P } from "@utogether/utils";
5
4
  const $ = { class: "ut-loview-wrapper" }, B = "/upfm/v1/lovViewHeader", p = "/upfm/v1/lovViewLine", z = /* @__PURE__ */ L({
6
5
  __name: "childView",
7
6
  props: {
@@ -10,7 +9,7 @@ const $ = { class: "ut-loview-wrapper" }, B = "/upfm/v1/lovViewHeader", p = "/up
10
9
  },
11
10
  emits: ["onClose"],
12
11
  setup(i, { emit: _ }) {
13
- const a = i, t = W(), v = P().dicts, s = c(!1), C = { value: "dictCode", label: "dictName" }, h = c(null), T = [
12
+ const a = i, t = P(), v = W().dicts, s = c(!1), C = { value: "dictCode", label: "dictName" }, h = c(null), T = [
14
13
  { field: "lovCode", disabled: !0 },
15
14
  { field: "lovName", required: !0 },
16
15
  { field: "valueField", required: !0 },
@@ -83,9 +82,9 @@ const $ = { class: "ut-loview-wrapper" }, B = "/upfm/v1/lovViewHeader", p = "/up
83
82
  b("onClose");
84
83
  }
85
84
  return (e, l) => {
86
- const r = o("ut-button"), D = o("ut-form"), N = o("ut-divider"), U = o("ut-grid"), k = o("ut-content"), x = o("vxe-drawer"), I = V("spinning");
85
+ const r = d("ut-button"), D = d("ut-form"), N = d("ut-divider"), U = d("ut-grid"), k = d("ut-content"), x = d("vxe-drawer"), I = V("spinning");
87
86
  return R(), g("div", $, [
88
- d(x, {
87
+ o(x, {
89
88
  "model-value": i.show,
90
89
  position: "right",
91
90
  "show-header": !1,
@@ -93,29 +92,29 @@ const $ = { class: "ut-loview-wrapper" }, B = "/upfm/v1/lovViewHeader", p = "/up
93
92
  }, {
94
93
  default: u(() => [
95
94
  F((R(), g("div", null, [
96
- d(k, {
95
+ o(k, {
97
96
  title: e.$t("message.title.lovView"),
98
97
  onClose: H
99
98
  }, {
100
99
  header: u(() => [
101
- d(r, {
100
+ o(r, {
102
101
  icon: "ri-save-3-fill",
103
102
  content: "save",
104
103
  onTap: l[0] || (l[0] = (Y) => y())
105
104
  })
106
105
  ]),
107
106
  body: u(() => [
108
- d(D, {
107
+ o(D, {
109
108
  ref_key: "formRef",
110
109
  ref: h,
111
110
  record: i.record,
112
111
  items: T,
113
112
  "data-status": "update"
114
113
  }, null, 8, ["record"]),
115
- d(N, {
114
+ o(N, {
116
115
  title: e.$t("message.title.lovColConfig")
117
116
  }, null, 8, ["title"]),
118
- d(U, {
117
+ o(U, {
119
118
  ref_key: "xgrid",
120
119
  ref: w,
121
120
  columns: n,
@@ -1,13 +1,12 @@
1
1
  import { defineComponent as U, ref as d, createVNode as f, resolveComponent as i, nextTick as C, openBlock as p, createElementBlock as y, createBlock as b, createCommentVNode as q } from "vue";
2
- import { t as x } from "./await-to-js.es5-Bv3Eu4mi.js";
3
- import { useRender as B } from "@utogether/utils";
4
- import { n as D } from "./index-C5WRTwvI.js";
2
+ import { i as x, j as B } from "./index-BpdTDaTk.js";
3
+ import { useRender as D } from "@utogether/utils";
5
4
  const I = {
6
5
  name: "CodeRule"
7
- }, M = /* @__PURE__ */ U({
6
+ }, w = /* @__PURE__ */ U({
8
7
  ...I,
9
8
  setup(N) {
10
- const e = B(), s = d(null), o = d(null), n = d(!1), c = d(!1), l = d({}), m = d(0), a = "/upfm/v1/codingRule", g = [{
9
+ const e = D(), s = d(null), o = d(null), l = d(!1), c = d(!1), n = d({}), m = d(0), a = "/upfm/v1/codingRule", g = [{
11
10
  field: "ruleCode",
12
11
  title: "message.udp.ruleCode"
13
12
  }, {
@@ -107,14 +106,14 @@ const I = {
107
106
  }
108
107
  // { field: 'enabled', width: 80, cellRender: renderHook.renderEnabled(handleClick) }
109
108
  ], R = async (t) => {
110
- c.value = t.haveBeenUsed === "Y", l.value = {
109
+ c.value = t.haveBeenUsed === "Y", n.value = {
111
110
  codingRuleId: t.id
112
- }, n.value = !0, await C(), o.value.reloadGrid(), m.value++;
111
+ }, l.value = !0, await C(), o.value.reloadGrid(), m.value++;
113
112
  }, k = (t) => t.haveBeenUsed !== "Y";
114
113
  async function _({
115
114
  row: t
116
115
  }) {
117
- const [r] = await x(D().put(a, [t]));
116
+ const [r] = await x(B().put(a, [t]));
118
117
  !r && s.value.refreshData();
119
118
  }
120
119
  return (t, r) => {
@@ -126,23 +125,23 @@ const I = {
126
125
  columns: h,
127
126
  url: a,
128
127
  "check-method": k
129
- }, null, 512), n.value ? (p(), b(E, {
128
+ }, null, 512), l.value ? (p(), b(E, {
130
129
  ref_key: "xmgrid",
131
130
  ref: o,
132
131
  key: m.value,
133
- "default-value": l.value,
134
- "default-params": l.value,
132
+ "default-value": n.value,
133
+ "default-params": n.value,
135
134
  columns: v,
136
135
  url: a + "Detail",
137
136
  editable: !c.value,
138
137
  "show-footer": !1,
139
138
  width: "80%",
140
139
  title: "编码段设置",
141
- onClose: r[0] || (r[0] = (S) => n.value = !1)
140
+ onClose: r[0] || (r[0] = (S) => l.value = !1)
142
141
  }, null, 8, ["default-value", "default-params", "url", "editable"])) : q("", !0)]);
143
142
  };
144
143
  }
145
144
  });
146
145
  export {
147
- M as default
146
+ w as default
148
147
  };
package/dist/core.es.js CHANGED
@@ -1,24 +1,26 @@
1
- import { c as a, r as t, d as r, h as o, l as u, m as i, n, p as l, q as g, s as m, t as c, A as h, H as S, N as f, O as y, S as d, U as A, V as R, W as p, X as v, Y as C } from "./index-C5WRTwvI.js";
1
+ import { Q as a, R as t, M as o, S as r, T as i, U as u, V as n, W as g, j as l, o as m, w as c, X as h, Y as S, Z as f, $ as p, a0 as y, s as R, p as T, v, c as M, e as P, h as d, N as w } from "./index-BpdTDaTk.js";
2
2
  export {
3
3
  a as constantRoutes,
4
4
  t as default,
5
- r as delCurrentRoute,
6
- o as getBrower,
5
+ o as delCurrentRoute,
6
+ r as getBrower,
7
+ i as getDesignTemplate,
7
8
  u as getPlatform,
8
- i as getProcessMenu,
9
- n as getServiceApi,
10
- l as handleAliveRoute,
11
- g as hasAuthority,
12
- m as initDict,
13
- c as isViewonly,
14
- h as lifeCycleEvent,
15
- S as remainingRouters,
16
- f as routerBefore,
17
- y as store,
18
- d as useDataThemeChange,
19
- A as useLayout,
20
- R as useMultiTagsStore,
21
- p as usePermissionStore,
22
- v as useSystemStore,
23
- C as userMonitor
9
+ n as getPrintTemp,
10
+ g as getProcessMenu,
11
+ l as getServiceApi,
12
+ m as handleAliveRoute,
13
+ c as hasAuthority,
14
+ h as initDict,
15
+ S as isViewonly,
16
+ f as lifeCycleEvent,
17
+ p as remainingRouters,
18
+ y as routerBefore,
19
+ R as store,
20
+ T as useDataThemeChange,
21
+ v as useLayout,
22
+ M as useMultiTagsStore,
23
+ P as usePermissionStore,
24
+ d as useSystemStore,
25
+ w as userMonitor
24
26
  };
@@ -1,11 +1,10 @@
1
1
  import { defineComponent as k, ref as d, createVNode as n, resolveComponent as o, Fragment as v, openBlock as f, createElementBlock as T, createBlock as I, createCommentVNode as R } from "vue";
2
2
  import { VXETable as C } from "vxe-table";
3
- import { t as x } from "./await-to-js.es5-Bv3Eu4mi.js";
4
- import { n as y } from "./index-C5WRTwvI.js";
3
+ import { i as x, j as y } from "./index-BpdTDaTk.js";
5
4
  import { useRender as S, successMessage as D } from "@utogether/utils";
6
5
  const E = {
7
6
  name: "CronTask"
8
- }, H = /* @__PURE__ */ k({
7
+ }, A = /* @__PURE__ */ k({
9
8
  ...E,
10
9
  setup(L) {
11
10
  const r = S(), u = d(null), i = d(!1), c = d({}), s = "/usch/v1/jobInfo", p = [{
@@ -131,5 +130,5 @@ const E = {
131
130
  }
132
131
  });
133
132
  export {
134
- H as default
133
+ A as default
135
134
  };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as l, ref as r, unref as a, onMounted as u, resolveDirective as _, withDirectives as d, openBlock as p, createElementBlock as v, createElementVNode as h, nextTick as g } from "vue";
2
2
  import { useRoute as k } from "vue-router";
3
- import { _ as x } from "./index-C5WRTwvI.js";
3
+ import { _ as x } from "./index-BpdTDaTk.js";
4
4
  const E = { class: "frame" }, R = ["src"], w = /* @__PURE__ */ l({
5
5
  __name: "frameView",
6
6
  setup(S) {
Binary file