@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.
- package/dist/{403-gdcH0-Bo.js → 403-CyoOD-Ik.js} +1 -1
- package/dist/{404-Se2SF97M.js → 404-Ch_OHTw0.js} +1 -1
- package/dist/{500-B6j9AqLo.js → 500-Cf9am7HK.js} +1 -1
- package/dist/{AuthorityInfo-CQ8ydZvr.js → AuthorityInfo-BJ427cqG.js} +1 -1
- package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-C4NRvS8p.js → AuthorityInfo.vue_vue_type_style_index_0_lang-D9y7AwbB.js} +11 -12
- package/dist/{Company-BzSVBSC4.js → Company-qo-lKPkv.js} +3 -3
- package/dist/{CompanyPanel-DBjZB4aJ.js → CompanyPanel-DkKWAKvY.js} +7 -7
- package/dist/{Department-BkgseHo8.js → Department-CHUQByKX.js} +3 -3
- package/dist/{DepartmentPanel-Sen93_2M.js → DepartmentPanel-C742dfOO.js} +27 -28
- package/dist/{DesignPanel-pqDcwaFC.js → DesignPanel-D9oE5R7m.js} +1 -1
- package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-BjtYyEw7.js → DesignPanel.vue_vue_type_style_index_0_lang-hYldVEbo.js} +192 -108
- package/dist/{DictView-CJLG4LlE.js → DictView-CrFXprP9.js} +1 -1
- package/dist/{InvOrganization-D0Jq1IAa.js → InvOrganization-Cz8SzIgs.js} +6 -7
- package/dist/{Org-CO_1WT39.js → Org-Bzt6yKox.js} +9 -10
- package/dist/{Preview-DLI4Bwel.js → Preview-jonigfMQ.js} +1 -1
- package/dist/{ReportDefine-Cw46OnJ_.js → ReportDefine-BpiM5Ovq.js} +1 -1
- package/dist/{ReportDesign-D4sHTXT7.js → ReportDesign-fp09cXJ7.js} +24 -25
- package/dist/{ReportQuery-DtOCvQSN.js → ReportQuery-52ZP1PYP.js} +1 -1
- package/dist/{ReportQueryFrom-QjL-ETPq.js → ReportQueryFrom-DSYavJb1.js} +1 -1
- package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-Dj9ne87n.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-DBGYEp0u.js} +4 -4
- package/dist/{ReportTemplate-BxAgc_Aj.js → ReportTemplate-CA_UW0eD.js} +3 -3
- package/dist/{Role-Df77BBD-.js → Role-DqOt8Bk0.js} +3 -3
- package/dist/{RoleAssign-BrunouML.js → RoleAssign-BdxhefhQ.js} +3 -3
- package/dist/{RolePanel-HLA7XBlN.js → RolePanel-2gZ3H0ET.js} +1 -1
- package/dist/{RolePanel-DSVwqhiD.js → RolePanel-BsNd0svJ.js} +1 -1
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-CN0rUxKz.js → RolePanel.vue_vue_type_script_setup_true_lang-DLOwgF99.js} +9 -9
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-CKlbqRa5.js → RolePanel.vue_vue_type_script_setup_true_lang-DmzD9kab.js} +26 -27
- 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
- package/dist/{Staff-BeL1xcRf.js → Staff-D3L8fEoY.js} +3 -3
- package/dist/{StaffInfo-CIfnltyX.js → StaffInfo-DYRw6ZYJ.js} +1 -1
- package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-DbLFwWfG.js → StaffInfo.vue_vue_type_script_setup_true_lang-xqEOQnMs.js} +1 -1
- package/dist/{StaffPanel-BV2CHWac.js → StaffPanel-DkrNH6Px.js} +1 -1
- 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
- package/dist/{SysUser-DPfNvthk.js → SysUser-Bl1-cIpJ.js} +2 -2
- package/dist/{SysUserPanel-CoLKYlQE.js → SysUserPanel-yxNLaBwt.js} +1 -1
- package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-lcO3Cjbq.js → SysUserPanel.vue_vue_type_script_setup_true_lang-BDcsgSl5.js} +11 -12
- package/dist/{SystemMenu-sdj1dRDA.js → SystemMenu-C4_Arn12.js} +9 -10
- package/dist/{UserInfo-CTX4hhFl.js → UserInfo-QcNwJCUR.js} +1 -1
- 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
- package/dist/{childView-BDmWwJO5.js → childView-B23DEO2u.js} +1 -1
- package/dist/{childView-Dx3ACtHa.js → childView-saDZQv9x.js} +1 -1
- 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
- package/dist/{childView.vue_vue_type_style_index_0_lang-DxZNtkhd.js → childView.vue_vue_type_style_index_0_lang-ZFEfavUY.js} +11 -12
- package/dist/{code-rule-cvN4gYC_.js → code-rule-2_Ihx_by.js} +12 -13
- package/dist/core.es.js +21 -19
- package/dist/{cron-task-B0TkxFdp.js → cron-task-BFOPJQIk.js} +3 -4
- package/dist/{frameView-5cy5BSgS.js → frameView-f7Ya0Knj.js} +1 -1
- package/dist/img/minicolors.png +0 -0
- package/dist/{index-C5WRTwvI.js → index-BpdTDaTk.js} +811 -604
- package/dist/{layout-home-DrARg-3o.js → layout-home-v3DPJ7rB.js} +12 -13
- package/dist/{layoutView-25v_ngk5.js → layoutView-DZHoQDH1.js} +186 -187
- package/dist/{log-in-Bmz5Uhbt.js → log-in-BPAMJTwH.js} +4 -5
- package/dist/{log-out-B-8m3oNj.js → log-out-DZACF0jg.js} +8 -9
- package/dist/{login-Cmp2RvvW.js → login-B8cwozax.js} +22 -23
- package/dist/{lov-view-BATtzw2X.js → lov-view-Ba7Y7xy0.js} +4 -5
- package/dist/{menuInfo-BIvrE7nm.js → menuInfo-BpRKFYK8.js} +1 -1
- package/dist/{menuInfo.vue_vue_type_style_index_0_lang-B6USomit.js → menuInfo.vue_vue_type_style_index_0_lang-DJ5sUC6m.js} +17 -18
- package/dist/{pda-app-CzHVyeEa.js → pda-app-C0jJecrL.js} +7 -8
- package/dist/{resource-Y5lGB38n.js → resource-BG22Cw4P.js} +4 -4
- package/dist/su-welcome-DaxhbrC6.js +879 -0
- package/dist/{sys-config-CqO03LeC.js → sys-config-CG2fMtak.js} +22 -23
- package/dist/udp-core.css +1 -1
- package/dist/{useNav-C-rCgubt.js → useNav-_u2UAQWk.js} +24 -24
- package/index.ts +54 -51
- package/package.json +21 -21
- package/src/api/http.ts +10 -4
- package/src/api/index.ts +51 -51
- package/src/api/user.ts +64 -64
- package/src/components/udp/content/index.vue +93 -93
- package/src/components/udp/form-upload/form-upload.vue +496 -496
- package/src/components/udp/grid/index.vue +643 -544
- package/src/components/udp/index.ts +2 -1
- package/src/components/udp/modal-form/index.vue +326 -0
- package/src/components/udp/utils.ts +420 -420
- package/src/layout/components/lay-navbar/index.vue +240 -240
- package/src/layout/components/lay-search/components/SearchModal.vue +185 -185
- package/src/layout/components/lay-sidebar/mixNav.vue +261 -261
- package/src/layout/components/lay-sidebar/sidebarItem.vue +199 -195
- package/src/layout/components/lay-sidebar/vertical.vue +92 -92
- package/src/layout/layoutView.vue +1 -0
- package/src/main.ts +111 -111
- package/src/plugins/i18n/zh.ts +5 -1
- package/src/plugins/vxe-table/index.ts +116 -116
- package/src/router/index.ts +158 -156
- package/src/router/utils.ts +434 -430
- package/src/store/modules/permission.ts +1 -1
- package/src/store/modules/system.ts +193 -193
- package/src/style/print-lock.css +380 -375
- package/src/style/suprint.css +990 -985
- package/src/utils/authority/index.ts +46 -46
- package/src/utils/dataFormat/index.ts +309 -222
- package/src/utils/udp/http/index.ts +19 -11
- package/src/views/uhome/components/home-todo.vue +15 -3
- package/src/views/uhome/dynamic-card.vue +31 -31
- package/src/views/uhome/su-welcome.vue +310 -310
- package/src/views/ulogin/login.vue +292 -292
- package/src/views/urpt/design/DesignPanel.vue +538 -507
- package/src/views/urpt/design/print-data.ts +39 -59
- package/dist/await-to-js.es5-Bv3Eu4mi.js +0 -10
- 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-
|
|
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 {
|
|
7
|
-
import { VxeUI as
|
|
8
|
-
import { useRender as
|
|
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
|
-
},
|
|
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 =
|
|
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
|
|
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
|
|
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
|
-
|
|
154
|
+
q as default
|
|
156
155
|
};
|
|
@@ -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 {
|
|
3
|
-
|
|
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 =
|
|
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
|
|
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
|
-
|
|
158
|
+
O as _
|
|
160
159
|
};
|
|
@@ -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 {
|
|
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
|
|
6
|
-
import {
|
|
7
|
-
|
|
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",
|
|
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
|
|
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 =
|
|
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:
|
|
110
|
-
organizationId:
|
|
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(
|
|
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
|
-
|
|
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",
|
|
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] = (
|
|
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
|
-
|
|
181
|
+
Z as _
|
|
183
182
|
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { defineComponent as L, ref as c, resolveComponent as
|
|
2
|
-
import {
|
|
3
|
-
import { useRender as
|
|
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 =
|
|
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 =
|
|
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
|
-
|
|
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
|
-
|
|
95
|
+
o(k, {
|
|
97
96
|
title: e.$t("message.title.lovView"),
|
|
98
97
|
onClose: H
|
|
99
98
|
}, {
|
|
100
99
|
header: u(() => [
|
|
101
|
-
|
|
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
|
-
|
|
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
|
-
|
|
114
|
+
o(N, {
|
|
116
115
|
title: e.$t("message.title.lovColConfig")
|
|
117
116
|
}, null, 8, ["title"]),
|
|
118
|
-
|
|
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 {
|
|
3
|
-
import { useRender as
|
|
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
|
-
},
|
|
6
|
+
}, w = /* @__PURE__ */ U({
|
|
8
7
|
...I,
|
|
9
8
|
setup(N) {
|
|
10
|
-
const e =
|
|
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",
|
|
109
|
+
c.value = t.haveBeenUsed === "Y", n.value = {
|
|
111
110
|
codingRuleId: t.id
|
|
112
|
-
},
|
|
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(
|
|
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),
|
|
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":
|
|
134
|
-
"default-params":
|
|
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) =>
|
|
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
|
-
|
|
146
|
+
w as default
|
|
148
147
|
};
|
package/dist/core.es.js
CHANGED
|
@@ -1,24 +1,26 @@
|
|
|
1
|
-
import {
|
|
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
|
-
|
|
6
|
-
|
|
5
|
+
o as delCurrentRoute,
|
|
6
|
+
r as getBrower,
|
|
7
|
+
i as getDesignTemplate,
|
|
7
8
|
u as getPlatform,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
l as
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
y as
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
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 {
|
|
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
|
-
},
|
|
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
|
-
|
|
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-
|
|
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) {
|
package/dist/img/minicolors.png
CHANGED
|
Binary file
|