@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.
- package/build/plugins.ts +39 -39
- package/dist/{403-DpJevH-h.js → 403-C3cfjZIT.js} +1 -1
- package/dist/{404-BpqJK3YD.js → 404-Bg3j7QIo.js} +1 -1
- package/dist/{500-DyvRbMD_.js → 500-CMT7Zyy7.js} +1 -1
- package/dist/{AuthorityInfo-Cyu4XHXx.js → AuthorityInfo-B1mvqs4x.js} +1 -1
- package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-BxmnEEFq.js → AuthorityInfo.vue_vue_type_style_index_0_lang-DwoW7QWO.js} +3 -3
- package/dist/{Company-BLygcYrI.js → Company-qTguidK8.js} +3 -3
- package/dist/{CompanyPanel-D5Tgw6LF.js → CompanyPanel-BBC-o-k3.js} +17 -17
- package/dist/{Department-qI9OninZ.js → Department-C3mKZOnK.js} +3 -3
- package/dist/{DepartmentPanel-P-P8fPZQ.js → DepartmentPanel-CNdpOHBT.js} +25 -25
- package/dist/{DesignPanel-BxjD0AZi.js → DesignPanel-D9jrRCoG.js} +1 -1
- 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
- package/dist/{DictView-PWL_Vf0T.js → DictView-CgdVkSiP.js} +15 -16
- package/dist/{InvOrganization-JXBXyn3G.js → InvOrganization-RE7s3vBq.js} +1 -1
- package/dist/{Org-DcTJn6YQ.js → Org-wXDGvTrS.js} +3 -3
- package/dist/{Preview-IKvbHI8a.js → Preview-Pvt1__BV.js} +1 -1
- package/dist/{ReportDefine-_G7ts7Ch.js → ReportDefine-xEQsgFyv.js} +1 -1
- package/dist/{ReportDesign-7h5oFklh.js → ReportDesign-jOSuEFH9.js} +9 -9
- package/dist/{ReportQuery-dj0BQUyi.js → ReportQuery-DxEmmGiN.js} +1 -1
- package/dist/{ReportQueryFrom-6WaZPg9i.js → ReportQueryFrom-CFlxfS5M.js} +1 -1
- package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-ChhcBPqa.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-iHpiYz8f.js} +1 -1
- package/dist/{ReportTemplate-DIvJ3RrB.js → ReportTemplate-Dtz3aet7.js} +11 -11
- package/dist/{Role-ia_3qAZU.js → Role-B_NsHIyE.js} +3 -3
- package/dist/{RoleAssign-D0zVl4y3.js → RoleAssign-C9wm4zq4.js} +8 -8
- package/dist/{RolePanel-CQxOiAzj.js → RolePanel-BlHidBR0.js} +1 -1
- package/dist/{RolePanel-BiGGmP2w.js → RolePanel-DWM9mfNs.js} +1 -1
- 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
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-Dwv5LFbf.js → RolePanel.vue_vue_type_script_setup_true_lang-DVQ9aqb1.js} +9 -9
- 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
- package/dist/{Staff-Bf_oUqF6.js → Staff-BfDc61QS.js} +3 -3
- package/dist/{StaffInfo-D5aisjx2.js → StaffInfo-BaJFo4mg.js} +1 -1
- package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-6PX7Bx6A.js → StaffInfo.vue_vue_type_script_setup_true_lang-Bwj4x1wu.js} +7 -7
- package/dist/{StaffPanel--zKzd4rt.js → StaffPanel-B6I2ZS6A.js} +1 -1
- package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-BWZSIFpq.js → StaffPanel.vue_vue_type_script_setup_true_lang-vbyS4w3V.js} +2 -2
- package/dist/{SysUser-BelbESLR.js → SysUser-B_r9LYc5.js} +2 -2
- package/dist/{SysUserPanel-BixKqQcA.js → SysUserPanel-C4ajcHPV.js} +1 -1
- package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-BhaWZEfo.js → SysUserPanel.vue_vue_type_script_setup_true_lang-8Q0VvC9B.js} +41 -37
- package/dist/{SystemMenu-D40tzcSj.js → SystemMenu-CyPG23uP.js} +10 -10
- package/dist/{UserInfo-DTyk071j.js → UserInfo-BkoGt4ib.js} +1 -1
- package/dist/{UserInfo.vue_vue_type_style_index_0_lang-p9MByikC.js → UserInfo.vue_vue_type_style_index_0_lang-DrzF1YYG.js} +10 -10
- package/dist/{childView-so5qSxr0.js → childView-9vEO8ymO.js} +1 -1
- package/dist/{childView-xL3iE1yN.js → childView-Dh0NyiQe.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-CKcXpSqa.js → childView.vue_vue_type_style_index_0_lang-BOeoZuAK.js} +7 -7
- package/dist/{childView.vue_vue_type_style_index_0_lang-DK1ei5uM.js → childView.vue_vue_type_style_index_0_lang-CMOjfXBX.js} +1 -1
- package/dist/{code-rule-DC35y76w.js → code-rule-C7jI_1gJ.js} +6 -6
- package/dist/core.es.js +17 -12
- package/dist/{cron-task-BhjQ4S68.js → cron-task-Dg9DJXvv.js} +11 -11
- package/dist/{frameView-G_zhG9pf.js → frameView-CeR-_hjB.js} +1 -1
- package/dist/{index-C6ehxLLO.js → index-Bb7gIEvu.js} +739 -496
- package/dist/{layoutView-CO2U8qCQ.js → layoutView-wsLHrEeX.js} +1347 -1346
- package/dist/login-CluzzdqH.js +249 -0
- package/dist/{lov-view-Cr929NMD.js → lov-view-BvQCvwbW.js} +5 -5
- package/dist/{menuInfo-BWuROp7u.js → menuInfo-B8RLelIC.js} +1 -1
- package/dist/{menuInfo.vue_vue_type_style_index_0_lang-9nouHUjO.js → menuInfo.vue_vue_type_style_index_0_lang-DvkapEZr.js} +7 -7
- package/dist/{pda-app-CQP1sMAI.js → pda-app-D3LNmD9a.js} +19 -19
- package/dist/{resource-BDQLrMpK.js → resource-D8JA_03-.js} +7 -7
- package/dist/{su-welcome-CZysrZQ1.js → su-welcome-BjxeEKSo.js} +88 -88
- package/dist/{sys-config-BiGNMYSA.js → sys-config-sbeLk9bP.js} +6 -6
- package/dist/udp-core.css +1 -9
- package/dist/utogether-MlnyYtNS.js +4 -0
- package/index.ts +48 -40
- package/package.json +1 -1
- package/src/App.vue +65 -65
- package/src/components/SuCharts/src/UserInfo.vue +78 -78
- package/src/components/SuScrollTree/ScrollPanel.vue +170 -175
- package/src/components/udp/{grid.vue → grid/index.vue} +27 -24
- package/src/components/udp/index.ts +2 -9
- package/src/components/udp/utils.ts +60 -107
- package/src/layout/components/lay-navbar/index.vue +239 -239
- package/src/layout/components/lay-panel/index.vue +150 -150
- package/src/layout/components/lay-search/index.vue +25 -25
- package/src/layout/components/lay-select-org/index.vue +64 -64
- package/src/layout/components/lay-sidebar/horizontal.vue +190 -190
- package/src/layout/components/lay-sidebar/mixNav.vue +260 -260
- package/src/layout/components/lay-sidebar/sidebar-logo.vue +92 -92
- package/src/layout/components/lay-tag/index.vue +20 -48
- package/src/layout/hooks/useNav.ts +173 -173
- package/src/layout/hooks/useTag.ts +223 -233
- package/src/layout/types.ts +3 -2
- package/src/main.ts +117 -113
- package/src/plugins/i18n/en.ts +302 -302
- package/src/plugins/i18n/zh.ts +356 -354
- package/src/plugins/vxe-table/index.ts +116 -53
- package/src/plugins/vxe-table/render.tsx +956 -956
- package/src/router/index.ts +186 -177
- package/src/router/modules/remaining.ts +58 -58
- package/src/router/utils.ts +393 -377
- package/src/store/modules/app.ts +1 -3
- package/src/store/modules/multiTags.ts +110 -109
- package/src/store/modules/permission.ts +113 -100
- package/src/style/button.scss +85 -85
- package/src/style/login.css +1 -1
- package/src/style/vxetable.scss +25 -2
- package/src/utils/index.ts +3 -1
- package/src/views/organization/company/CompanyPanel.vue +259 -259
- package/src/views/organization/department/DepartmentPanel.vue +269 -283
- package/src/views/system/menu/SystemMenu.vue +183 -183
- package/src/views/system/menu/menuInfo.vue +363 -363
- package/src/views/system/role/UserInfo.vue +195 -195
- package/src/views/system/role-assign/RoleAssign.vue +57 -57
- package/src/views/system/role-assign/RolePanel.vue +139 -139
- package/src/views/system/sys/sys-config.vue +336 -336
- package/src/views/system/sysUser/SysUserPanel.vue +279 -278
- package/src/views/uapp/pda/pda-app.vue +208 -208
- package/src/views/udev/dict/DictView.vue +118 -118
- package/src/views/udev/dict/childView.vue +1 -1
- package/src/views/udev/lov/lov-view.vue +91 -91
- package/src/views/ulogin/login.vue +2 -2
- package/src/views/upms/interface/log-out.vue +101 -101
- package/src/views/urpt/design/DesignPanel.vue +507 -507
- package/types/global.d.ts +2 -8
- package/dist/login-DzyK2soP.js +0 -278
- package/dist/utogether-BRirriOz.js +0 -182
- package/src/components/udp/count-down.vue +0 -536
- package/src/components/udp/flip-down/FlipCard/flip-card.vue +0 -251
- package/src/components/udp/flip-down/FlipCard/interfaces.ts +0 -4
- package/src/components/udp/flip-down/FlipClock/flip-clock.vue +0 -113
- package/src/components/udp/form-upload.vue +0 -482
- package/src/components/udp/form.vue +0 -112
- package/src/components/udp/lov.vue +0 -388
- package/src/components/udp/modal-form.vue +0 -190
- package/src/components/udp/modal-grid.vue +0 -298
- package/src/components/udp/upload.vue +0 -423
- package/src/utils/udp/http/index.ts +0 -294
- package/src/utils/udp/http/types.d.ts +0 -49
- package/src/utils/udp/useRender.ts +0 -431
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { defineComponent as S, reactive as k, ref as v, createVNode as o, resolveComponent as r, Fragment as m, createElementBlock as D, openBlock as A } from "vue";
|
|
2
2
|
import { useI18n as E } from "vue-i18n";
|
|
3
|
-
import { _ as I } from "./menuInfo.vue_vue_type_style_index_0_lang-
|
|
3
|
+
import { _ as I } from "./menuInfo.vue_vue_type_style_index_0_lang-DvkapEZr.js";
|
|
4
4
|
import { _ as N } 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 R } from "vxe-pc-ui";
|
|
8
8
|
import { useRender as U } from "@utogether/utils";
|
|
9
|
-
import {
|
|
9
|
+
import { w as B } from "./index-Bb7gIEvu.js";
|
|
10
10
|
const P = {
|
|
11
11
|
class: "page-content"
|
|
12
12
|
}, z = {
|
|
13
13
|
name: "SystemMenu"
|
|
14
|
-
},
|
|
14
|
+
}, q = /* @__PURE__ */ S({
|
|
15
15
|
...z,
|
|
16
16
|
setup(F) {
|
|
17
17
|
const t = k({
|
|
@@ -80,15 +80,15 @@ const P = {
|
|
|
80
80
|
status: "success",
|
|
81
81
|
icon: "ri-edit-box-line",
|
|
82
82
|
content: "edit",
|
|
83
|
-
onTap: () =>
|
|
83
|
+
onTap: () => g(e)
|
|
84
84
|
}, null), ["0", "5"].includes(e.menuCategory) ? a : x])])];
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
|
-
}],
|
|
87
|
+
}], w = ({
|
|
88
88
|
code: e
|
|
89
89
|
}) => {
|
|
90
90
|
e === "add" && u(), e === "del" && T();
|
|
91
|
-
},
|
|
91
|
+
}, y = async ({
|
|
92
92
|
row: e
|
|
93
93
|
}) => {
|
|
94
94
|
const n = await d.get(i, {
|
|
@@ -99,7 +99,7 @@ const P = {
|
|
|
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.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;
|
|
102
|
-
},
|
|
102
|
+
}, g = (e) => {
|
|
103
103
|
t.showDrawer = !0, t.dataStatus = "update", t.record = p(e, !0), t.record.menuType = t.record.menuType.toString(), t.record.dispalyCode = e.permissionCode;
|
|
104
104
|
};
|
|
105
105
|
async function _({
|
|
@@ -126,7 +126,7 @@ const P = {
|
|
|
126
126
|
childrenField: "children",
|
|
127
127
|
lazy: !0,
|
|
128
128
|
hasChild: "hasChildren",
|
|
129
|
-
loadMethod:
|
|
129
|
+
loadMethod: y,
|
|
130
130
|
iconOpen: "ri-checkbox-indeterminate-line ri-lg",
|
|
131
131
|
iconClose: "ri-add-box-line ri-lg"
|
|
132
132
|
},
|
|
@@ -134,7 +134,7 @@ const P = {
|
|
|
134
134
|
url: i,
|
|
135
135
|
stripe: !1,
|
|
136
136
|
mode: "form",
|
|
137
|
-
onToolbarButtonClick:
|
|
137
|
+
onToolbarButtonClick: w
|
|
138
138
|
}, null, 8, ["tree-config"]), o(I, {
|
|
139
139
|
show: t.showDrawer,
|
|
140
140
|
record: t.record,
|
|
@@ -149,5 +149,5 @@ const P = {
|
|
|
149
149
|
}
|
|
150
150
|
});
|
|
151
151
|
export {
|
|
152
|
-
|
|
152
|
+
q as default
|
|
153
153
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
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
|
|
2
|
-
import { t as
|
|
3
|
-
import {
|
|
4
|
-
const
|
|
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
|
+
import { t as S } from "./await-to-js.es5-BtRbN2QH.js";
|
|
3
|
+
import { w as V } from "./index-Bb7gIEvu.js";
|
|
4
|
+
const q = { class: "u-dict-config_wrapper" }, D = /* @__PURE__ */ R({
|
|
5
5
|
__name: "UserInfo",
|
|
6
6
|
props: {
|
|
7
7
|
record: { default: () => ({}) },
|
|
@@ -10,7 +10,7 @@ const V = { class: "u-dict-config_wrapper" }, D = /* @__PURE__ */ R({
|
|
|
10
10
|
},
|
|
11
11
|
emits: ["onClose"],
|
|
12
12
|
setup(p, { emit: f }) {
|
|
13
|
-
const r = p, g = i(!1), o = i(!1), a =
|
|
13
|
+
const r = p, g = i(!1), o = i(!1), a = V(), h = f, b = [
|
|
14
14
|
{
|
|
15
15
|
field: "userName",
|
|
16
16
|
title: "message.udp.userCode",
|
|
@@ -110,7 +110,7 @@ const V = { class: "u-dict-config_wrapper" }, D = /* @__PURE__ */ R({
|
|
|
110
110
|
}, N = async (e) => {
|
|
111
111
|
const s = { userIds: "", roleId: r.record.id };
|
|
112
112
|
s.userIds = e.map((l) => l.id).join(","), n.loading = !0;
|
|
113
|
-
const [t] = await
|
|
113
|
+
const [t] = await S(a.post("/uums/role/addUserRole", s));
|
|
114
114
|
n.loading = !1, t || (u.value.commitProxy("query"), o.value = !1);
|
|
115
115
|
};
|
|
116
116
|
function I() {
|
|
@@ -120,7 +120,7 @@ const V = { class: "u-dict-config_wrapper" }, D = /* @__PURE__ */ R({
|
|
|
120
120
|
g.value = !0;
|
|
121
121
|
}), (e, s) => {
|
|
122
122
|
const t = d("vxe-grid"), l = d("ut-modal-grid"), k = d("el-drawer");
|
|
123
|
-
return m(), U("div",
|
|
123
|
+
return m(), U("div", q, [
|
|
124
124
|
c(k, {
|
|
125
125
|
"model-value": e.show,
|
|
126
126
|
title: e.$t("message.title.authUser", { role: e.record.roleName }),
|
|
@@ -130,10 +130,10 @@ const V = { class: "u-dict-config_wrapper" }, D = /* @__PURE__ */ R({
|
|
|
130
130
|
size: "80%"
|
|
131
131
|
}, {
|
|
132
132
|
default: $(() => [
|
|
133
|
-
c(t,
|
|
133
|
+
c(t, E({
|
|
134
134
|
ref_key: "xgrid",
|
|
135
135
|
ref: u
|
|
136
|
-
}, n,
|
|
136
|
+
}, n, P(_)), null, 16),
|
|
137
137
|
o.value ? (m(), j(l, {
|
|
138
138
|
key: 0,
|
|
139
139
|
url: "/uums/user/listUserToRole",
|
|
@@ -147,7 +147,7 @@ const V = { class: "u-dict-config_wrapper" }, D = /* @__PURE__ */ R({
|
|
|
147
147
|
height: "75%",
|
|
148
148
|
onClose: s[0] || (s[0] = (z) => o.value = !1),
|
|
149
149
|
onConfirm: N
|
|
150
|
-
}, null, 8, ["default-params", "title"])) :
|
|
150
|
+
}, null, 8, ["default-params", "title"])) : A("", !0)
|
|
151
151
|
]),
|
|
152
152
|
_: 1
|
|
153
153
|
}, 8, ["model-value", "title"])
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as U, ref as u, onMounted as F, resolveComponent as n, createElementBlock as j, openBlock as
|
|
1
|
+
import { defineComponent as U, ref as u, onMounted as F, resolveComponent as n, createElementBlock as j, openBlock as w, createVNode as t, withCtx as d, createElementVNode as N, createBlock as G, createCommentVNode as K, createTextVNode as P, toDisplayString as $ } from "vue";
|
|
2
2
|
import { useI18n as Q } from "vue-i18n";
|
|
3
3
|
import { t as I } from "./await-to-js.es5-BtRbN2QH.js";
|
|
4
4
|
import { VxeUI as W } from "vxe-pc-ui";
|
|
5
5
|
import { useRender as X, successMessage as k } from "@utogether/utils";
|
|
6
|
-
import {
|
|
6
|
+
import { w as b, i as S } from "./index-Bb7gIEvu.js";
|
|
7
7
|
const Y = { class: "u-dict-config_wrapper" }, Z = { style: { margin: "10px" } }, _ = "/upfm/v1/lov", de = /* @__PURE__ */ U({
|
|
8
8
|
__name: "childView",
|
|
9
9
|
props: {
|
|
@@ -37,7 +37,7 @@ const Y = { class: "u-dict-config_wrapper" }, Z = { style: { margin: "10px" } },
|
|
|
37
37
|
enabled: "1"
|
|
38
38
|
}, p.value = JSON.parse(JSON.stringify(e));
|
|
39
39
|
}, B = async (e) => {
|
|
40
|
-
await W.modal.confirm(q("message.
|
|
40
|
+
await W.modal.confirm(q("message.delRecord")) === "confirm" && (await b().delete(_, [e]), k(), f());
|
|
41
41
|
}, J = async (e) => {
|
|
42
42
|
s.value = !0, i.value = "edit", p.value = v.record, a.value = JSON.parse(JSON.stringify(e));
|
|
43
43
|
}, z = async () => {
|
|
@@ -66,7 +66,7 @@ const Y = { class: "u-dict-config_wrapper" }, Z = { style: { margin: "10px" } },
|
|
|
66
66
|
f();
|
|
67
67
|
}), (e, o) => {
|
|
68
68
|
const r = n("vxe-button"), y = n("vxe-toolbar"), c = n("vxe-table-column"), g = n("ut-button"), M = n("vxe-table"), H = n("ut-modal-form"), L = n("el-drawer");
|
|
69
|
-
return
|
|
69
|
+
return w(), j("div", Y, [
|
|
70
70
|
t(L, {
|
|
71
71
|
"model-value": e.show,
|
|
72
72
|
"before-close": E,
|
|
@@ -76,7 +76,7 @@ const Y = { class: "u-dict-config_wrapper" }, Z = { style: { margin: "10px" } },
|
|
|
76
76
|
size: "76%"
|
|
77
77
|
}, {
|
|
78
78
|
default: d(() => [
|
|
79
|
-
|
|
79
|
+
N("div", Z, [
|
|
80
80
|
t(y, null, {
|
|
81
81
|
buttons: d(() => [
|
|
82
82
|
t(r, {
|
|
@@ -130,7 +130,7 @@ const Y = { class: "u-dict-config_wrapper" }, Z = { style: { margin: "10px" } },
|
|
|
130
130
|
width: "100"
|
|
131
131
|
}, {
|
|
132
132
|
default: d(({ row: l }) => [
|
|
133
|
-
|
|
133
|
+
N("span", null, $(l.enabled === "1" ? e.$t("message.enabled") : e.$t("message.disabled")), 1)
|
|
134
134
|
]),
|
|
135
135
|
_: 1
|
|
136
136
|
}, 8, ["title"]),
|
|
@@ -163,7 +163,7 @@ const Y = { class: "u-dict-config_wrapper" }, Z = { style: { margin: "10px" } },
|
|
|
163
163
|
_: 1
|
|
164
164
|
}, 8, ["data", "loading"])
|
|
165
165
|
]),
|
|
166
|
-
s.value ? (
|
|
166
|
+
s.value ? (w(), G(H, {
|
|
167
167
|
key: 0,
|
|
168
168
|
ref: "xmodal",
|
|
169
169
|
record: a.value,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
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";
|
|
2
2
|
import { t as u } from "./await-to-js.es5-BtRbN2QH.js";
|
|
3
3
|
import { useRender as P } from "@utogether/utils";
|
|
4
|
-
import {
|
|
4
|
+
import { i as $, w as f } from "./index-Bb7gIEvu.js";
|
|
5
5
|
const B = { class: "ut-loview-wrapper" }, Y = "/upfm/v1/lovViewHeader", m = "/upfm/v1/lovViewLine", G = /* @__PURE__ */ V({
|
|
6
6
|
__name: "childView",
|
|
7
7
|
props: {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as _, ref as d, createVNode as m, resolveComponent as i, createElementBlock as k, openBlock as c, createBlock as C, createCommentVNode as E } from "vue";
|
|
2
2
|
import { t as U } from "./await-to-js.es5-BtRbN2QH.js";
|
|
3
|
-
import { useRender as
|
|
4
|
-
import {
|
|
5
|
-
const
|
|
3
|
+
import { useRender as x } from "@utogether/utils";
|
|
4
|
+
import { w as b } from "./index-Bb7gIEvu.js";
|
|
5
|
+
const q = {
|
|
6
6
|
name: "CodeRule"
|
|
7
7
|
}, V = /* @__PURE__ */ _({
|
|
8
|
-
...
|
|
8
|
+
...q,
|
|
9
9
|
setup(y) {
|
|
10
|
-
const e =
|
|
10
|
+
const e = x(), s = d(null), l = d(!1), o = d(!1), n = d({}), u = "/upfm/v1/codingRule", f = [{
|
|
11
11
|
field: "ruleCode",
|
|
12
12
|
title: "message.udp.ruleCode"
|
|
13
13
|
}, {
|
|
@@ -114,7 +114,7 @@ const b = {
|
|
|
114
114
|
async function h({
|
|
115
115
|
row: t
|
|
116
116
|
}) {
|
|
117
|
-
const [r] = await U(
|
|
117
|
+
const [r] = await U(b().put(u, t));
|
|
118
118
|
!r && s.value.refreshData();
|
|
119
119
|
}
|
|
120
120
|
return (t, r) => {
|
package/dist/core.es.js
CHANGED
|
@@ -1,16 +1,21 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { N as a, J as t, C as r, E as o, G as u, w as i, y as n, K as l, D as g, L as h, O as m, M as c, s as f, z as y, A as S, c as A, h as C, i as R } from "./index-Bb7gIEvu.js";
|
|
2
2
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
a as constantRoutes,
|
|
4
|
+
t as default,
|
|
5
5
|
r as delCurrentRoute,
|
|
6
|
-
o as
|
|
7
|
-
u as
|
|
8
|
-
i as
|
|
9
|
-
n as
|
|
10
|
-
l as
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
6
|
+
o as getBrower,
|
|
7
|
+
u as getPlatform,
|
|
8
|
+
i as getServiceApi,
|
|
9
|
+
n as handleAliveRoute,
|
|
10
|
+
l as hasAuthority,
|
|
11
|
+
g as initDict,
|
|
12
|
+
h as lifeCycleEvent,
|
|
13
|
+
m as remainingRouters,
|
|
14
|
+
c as routerBefore,
|
|
15
|
+
f as store,
|
|
16
|
+
y as useDataThemeChange,
|
|
17
|
+
S as useLayout,
|
|
18
|
+
A as useMultiTagsStore,
|
|
19
|
+
C as usePermissionStore,
|
|
15
20
|
R as useSystemStore
|
|
16
21
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
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 {
|
|
5
|
-
import { useRender as S, successMessage as
|
|
6
|
-
const
|
|
4
|
+
import { w as y } from "./index-Bb7gIEvu.js";
|
|
5
|
+
import { useRender as S, successMessage as D } from "@utogether/utils";
|
|
6
|
+
const E = {
|
|
7
7
|
name: "CronTask"
|
|
8
8
|
}, H = /* @__PURE__ */ k({
|
|
9
|
-
...
|
|
10
|
-
setup(
|
|
9
|
+
...E,
|
|
10
|
+
setup(L) {
|
|
11
11
|
const r = S(), u = d(null), i = d(!1), c = d({}), s = "/usch/v1/jobInfo", p = [{
|
|
12
12
|
field: "jobName"
|
|
13
13
|
}, {
|
|
@@ -70,7 +70,7 @@ const D = {
|
|
|
70
70
|
content: "taskLog",
|
|
71
71
|
status: "info",
|
|
72
72
|
icon: "ri-file-line",
|
|
73
|
-
onTap: () =>
|
|
73
|
+
onTap: () => j(e)
|
|
74
74
|
}, null)])];
|
|
75
75
|
}
|
|
76
76
|
}
|
|
@@ -83,9 +83,9 @@ const D = {
|
|
|
83
83
|
}, l = async (e, t) => {
|
|
84
84
|
if (await C.modal.confirm("您确定要继续吗?") === "confirm") {
|
|
85
85
|
const [a] = await x(y().post(e, t));
|
|
86
|
-
a || (
|
|
86
|
+
a || (D(), u.value.refreshData());
|
|
87
87
|
}
|
|
88
|
-
},
|
|
88
|
+
}, w = [
|
|
89
89
|
// { field: 'jobName', width: 140 },
|
|
90
90
|
{
|
|
91
91
|
field: "startTime",
|
|
@@ -102,7 +102,7 @@ const D = {
|
|
|
102
102
|
{
|
|
103
103
|
field: "errorMessage"
|
|
104
104
|
}
|
|
105
|
-
],
|
|
105
|
+
], j = (e) => {
|
|
106
106
|
c.value = {
|
|
107
107
|
jobId: e.id
|
|
108
108
|
}, i.value = !0;
|
|
@@ -119,13 +119,13 @@ const D = {
|
|
|
119
119
|
key: 0,
|
|
120
120
|
ref: "xmgrid",
|
|
121
121
|
"default-params": c.value,
|
|
122
|
-
columns:
|
|
122
|
+
columns: w,
|
|
123
123
|
url: "/usch/v1/jobLog",
|
|
124
124
|
"show-footer": !1,
|
|
125
125
|
editable: !1,
|
|
126
126
|
width: "50%",
|
|
127
127
|
title: e.$t("message.title.cronLog"),
|
|
128
|
-
onClose: t[0] || (t[0] = (
|
|
128
|
+
onClose: t[0] || (t[0] = (N) => i.value = !1)
|
|
129
129
|
}, null, 8, ["default-params", "title"])) : R("", !0)]);
|
|
130
130
|
};
|
|
131
131
|
}
|
|
@@ -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-
|
|
3
|
+
import { _ as R } from "./index-Bb7gIEvu.js";
|
|
4
4
|
const w = { class: "frame" }, S = ["src"], V = /* @__PURE__ */ _({
|
|
5
5
|
__name: "frameView",
|
|
6
6
|
setup(B) {
|