@utogether/udp-core 1.0.4 → 2.0.0-beta.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.
- package/dist/{403-DASI6Pwz.js → 403-CxOqlq0f.js} +3 -3
- package/dist/403-WCboRvzZ-ZAPgYStl.js +65 -0
- package/dist/404-2V0Qi-d7-DkNwQggp.js +65 -0
- package/dist/{404-YhBA92cb.js → 404-xdB6lFeQ.js} +1 -1
- package/dist/500-BYfzvixf-CGpEieyQ.js +67 -0
- package/dist/{500-ywbFF5MX.js → 500-C94bRK2S.js} +2 -2
- package/dist/AuthorityInfo-DBovfUjB-DpQwT9Q5.js +4 -0
- package/dist/{AuthorityInfo-tCSX2Fh7.js → AuthorityInfo-Dy3b_nFN.js} +1 -1
- package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-Cwd6UT2i.js → AuthorityInfo.vue_vue_type_style_index_0_lang-Bh7IbcdY.js} +2 -2
- package/dist/AuthorityInfo.vue_vue_type_style_index_0_lang-D-l_Az3s-Cw7WmFxz.js +100 -0
- package/dist/AuthorityPanel-CRlAwbaI-G7pZXKdE.js +4 -0
- package/dist/{AuthorityPanel-BeBNiwqc.js → AuthorityPanel-CRlAwbaI.js} +1 -1
- package/dist/AuthorityPanel.vue_vue_type_style_index_0_lang-DxhZjp1S-CJvk3pW8.js +114 -0
- package/dist/{AuthorityPanel.vue_vue_type_style_index_0_lang-CIYmnP9-.js → AuthorityPanel.vue_vue_type_style_index_0_lang-DxhZjp1S.js} +31 -24
- package/dist/Company-B4vsXy2I-CkNCOqjJ.js +25 -0
- package/dist/{Company-l23MEzdM.js → Company-gKkfnhLt.js} +3 -3
- package/dist/{CompanyPanel-D_s0rh6h.js → CompanyPanel-BF5Pc35s.js} +7 -7
- package/dist/CompanyPanel-Czcx8Gyw-CvndXwB_.js +206 -0
- package/dist/DataSet-DT-rGICv-DaUfgbxk.js +147 -0
- package/dist/{Department-DSEvORLg.js → Department-D0I3QVZe.js} +3 -3
- package/dist/Department-D0dVUrGC-C6HJcYI1.js +25 -0
- package/dist/{DepartmentPanel-WN8nOgCV.js → DepartmentPanel-2LHODgc7.js} +22 -22
- package/dist/DepartmentPanel-e91Lxr1j-BS_A-ILd.js +254 -0
- package/dist/{DesignPanel-DirEGh9M.js → DesignPanel-CtF3cAAQ.js} +1 -1
- package/dist/DesignPanel-DdFl_ohi-uCwFxcl1.js +4 -0
- package/dist/DesignPanel.vue_vue_type_style_index_0_lang-BACPrfUI-cC7yL0uY.js +1013 -0
- package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-D02hXSrN.js → DesignPanel.vue_vue_type_style_index_0_lang-BCYgwoVt.js} +3 -3
- package/dist/DictView-BzQLOf_P-DDicwdmM.js +111 -0
- package/dist/{DictView-DiIQdiek.js → DictView-H3V5hxg3.js} +17 -16
- package/dist/{InvOrganization-b7v3g9EJ.js → InvOrganization-BiGLnbqe.js} +2 -2
- package/dist/InvOrganization-atbhw0CI-BABbVt9V.js +74 -0
- package/dist/Org-BW1YHG-Q-Cow7JWlD.js +39 -0
- package/dist/{Org-BORfx1PL.js → Org-DQTCQHNY.js} +2 -2
- package/dist/Preview-DJtVsoq1-CCGidQjJ.js +48 -0
- package/dist/{Preview-DkRn_TSc.js → Preview-DXaiis29.js} +1 -1
- package/dist/{ReportDefine-Cd0QeaWA.js → ReportDefine-BLh4CiER.js} +1 -1
- package/dist/ReportDefine-CNx_ob99-6NQAHK-Q.js +10 -0
- package/dist/ReportDesign-FbQ6yTJS-C1pPAUSp.js +165 -0
- package/dist/{ReportDesign-4qNqyeEW.js → ReportDesign-Ni1YxrLC.js} +7 -7
- package/dist/ReportQuery-C5gz8Lgd-Eu2cQmda.js +75 -0
- package/dist/{ReportQuery-BJfTFpec.js → ReportQuery-C8G88_qF.js} +1 -1
- package/dist/ReportQueryFrom-C7scua5v-uHXWq8Gy.js +4 -0
- package/dist/{ReportQueryFrom-CB7sExZx.js → ReportQueryFrom-CuZKPtB4.js} +1 -1
- package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-CqO_2Ier.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-BAn_siFW.js} +7 -7
- package/dist/ReportQueryFrom.vue_vue_type_style_index_0_lang-DCbz67Wa-vK6r2uCl.js +178 -0
- package/dist/ReportTemplate-BDANdIWv-D_IGjR1w.js +161 -0
- package/dist/{ReportTemplate-B69muSgT.js → ReportTemplate-DFnDXWmx.js} +8 -8
- package/dist/{Role-Bo4YrNDC.js → Role-BQ7hsfPn.js} +3 -3
- package/dist/Role-ByB0WbxW-5E8Mb148.js +25 -0
- package/dist/RoleAssign-DW6iC_0v-Bis61auk.js +26 -0
- package/dist/{RoleAssign-kOMYJ4s3.js → RoleAssign-UPCg2d4G.js} +3 -3
- package/dist/RolePanel-BM2MaQPU-CgcsbfaX.js +4 -0
- package/dist/{RolePanel-BSJmjyqc.js → RolePanel-C-mQ5XRq.js} +1 -1
- package/dist/RolePanel-ClQy8DBL-DARL4O-o.js +4 -0
- package/dist/{RolePanel-B1d4e6uk.js → RolePanel-CoSXOCZN.js} +1 -1
- package/dist/RolePanel.vue_vue_type_script_setup_true_lang-Bc_Ao_PU-DMmxr2iI.js +132 -0
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-DgQpfjaU.js → RolePanel.vue_vue_type_script_setup_true_lang-Bg-t2UhF.js} +7 -7
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-DCzX-ZP_.js → RolePanel.vue_vue_type_script_setup_true_lang-D-o7HYZ8.js} +8 -8
- package/dist/RolePanel.vue_vue_type_script_setup_true_lang-fthF1zkp-JsbQJoDy.js +154 -0
- package/dist/ScrollPanel.vue_vue_type_style_index_0_lang-ByWIwajm-BsBf2Vs3.js +100 -0
- package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-WNOYFxJ1.js → ScrollPanel.vue_vue_type_style_index_0_lang-CCsoxDfk.js} +1 -1
- package/dist/Staff-CuxzvhD9-D0KTcyRh.js +25 -0
- package/dist/{Staff-BFp3zNNR.js → Staff-D-CmvG1R.js} +3 -3
- package/dist/StaffInfo-CY7gUICu-EZUhUwIp.js +4 -0
- package/dist/{StaffInfo-DcU9_40C.js → StaffInfo-Idhvuc6e.js} +1 -1
- package/dist/StaffInfo.vue_vue_type_script_setup_true_lang-Dd8gtQz8-Dlkt-eCn.js +108 -0
- package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-CtfN2CAr.js → StaffInfo.vue_vue_type_script_setup_true_lang-MUGKjnHU.js} +1 -1
- package/dist/{StaffPanel-7exWkZd9.js → StaffPanel-CDDmAYE5.js} +1 -1
- package/dist/StaffPanel-CwqG0_xr-CrvzLJoc.js +4 -0
- package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-v5xOXKRS.js → StaffPanel.vue_vue_type_script_setup_true_lang-Bdilqbee.js} +42 -42
- package/dist/StaffPanel.vue_vue_type_script_setup_true_lang-DCdBy8Hu-BXrueqi0.js +143 -0
- package/dist/SysUser-9Q2UJWhi-DprWXFlR.js +15 -0
- package/dist/{SysUser-B3uB_cp2.js → SysUser-a-j5bppr.js} +2 -2
- package/dist/{SysUserPanel-B0CLp5AO.js → SysUserPanel-6V232wwB.js} +1 -1
- package/dist/SysUserPanel-bJy69O7x-BJtBgFEs.js +4 -0
- package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-Cwea_4dY.js → SysUserPanel.vue_vue_type_script_setup_true_lang-BOtHuMVy.js} +126 -111
- package/dist/SysUserPanel.vue_vue_type_script_setup_true_lang-DUPFqgz3-BSqRCMen.js +356 -0
- package/dist/{SystemMenu-a59l4hTk.js → SystemMenu-BnVeOSOQ.js} +50 -47
- package/dist/SystemMenu-DGOAolc1-CJSLHP8i.js +156 -0
- package/dist/UserInfo-CKoOHkAM-DDWp0I_U.js +4 -0
- package/dist/{UserInfo-D1IA2oLt.js → UserInfo-Cax9b2nw.js} +1 -1
- package/dist/UserInfo.vue_vue_type_style_index_0_lang-BaT53SSu-DsNaAomO.js +160 -0
- package/dist/{UserInfo.vue_vue_type_style_index_0_lang-DDVgYRD5.js → UserInfo.vue_vue_type_style_index_0_lang-D-cw11i9.js} +2 -2
- package/dist/await-to-js.es5-Bv3Eu4mi-UCggJjes.js +10 -0
- package/dist/await-to-js.es5-Bv3Eu4mi.js +10 -0
- package/dist/childView-0YZQ6GBn-CEqg7k5d.js +4 -0
- package/dist/{childView-6rCeLcsx.js → childView-DKG3eZo8.js} +1 -1
- package/dist/childView-DKkgi3yo-D47ft-vi.js +4 -0
- package/dist/{childView-JdrkroL5.js → childView-siumuBz0.js} +1 -1
- package/dist/childView.vue_vue_type_style_index_0_lang-ABMrGInv-ClOdE_sa.js +143 -0
- package/dist/{childView.vue_vue_type_style_index_0_lang-BfcnWnx9.js → childView.vue_vue_type_style_index_0_lang-CUfXDS1q.js} +28 -25
- package/dist/{childView.vue_vue_type_style_index_0_lang-B8x99f1B.js → childView.vue_vue_type_style_index_0_lang-CW3EbAmW.js} +8 -8
- package/dist/childView.vue_vue_type_style_index_0_lang-CaW106ve-CClTM8PK.js +180 -0
- package/dist/{code-rule-2lkPF547.js → code-rule-Dtoree6F.js} +2 -2
- package/dist/code-rule-wQyfgpNL-C4evD4Co.js +148 -0
- package/dist/core.es.js +10 -10
- package/dist/cron-task-C-kryDtd-C0NuGZCe.js +135 -0
- package/dist/{cron-task-DV1pGO1m.js → cron-task-GSRgA7S5.js} +2 -2
- package/dist/flow-task-B07st2aD-CgQvagSQ.js +10 -0
- package/dist/frameView-BOGA3ezf-QoSxzmSQ.js +44 -0
- package/dist/{frameView-C0bzSB8c.js → frameView-Cy6wxW0K.js} +1 -1
- package/dist/index-Dc7xWMiC.js +7265 -0
- package/dist/layout-home-3Dy4onl4.js +228 -0
- package/dist/layout-home-CYHksXN_-Basy-3IH.js +228 -0
- package/dist/layoutView-BaRvAbIa-xVgfqspc.js +3302 -0
- package/dist/{layoutView-CTV-E4Cj.js → layoutView-DMjNscJ-.js} +148 -149
- package/dist/log-in-Cx1dGik8-BVeEHeZ8.js +117 -0
- package/dist/{log-in-CoBP2x6u.js → log-in-VAG6Cvcx.js} +8 -8
- package/dist/log-out-COYdxrNC-ftopGZdE.js +130 -0
- package/dist/{log-out-KX8FiRVf.js → log-out-DZGaMCjC.js} +4 -4
- package/dist/{login-CtCoGWzD.js → login-CqVMdNHs.js} +126 -136
- package/dist/login-Dg9ofNS8-Bocp1XMA.js +241 -0
- package/dist/login-log-DJBGJVV0-AoOyj0jD.js +70 -0
- package/dist/lov-view-C0T5prk8-B2DBmn55.js +97 -0
- package/dist/{lov-view-Bm0JEzzg.js → lov-view-Cc68_28B.js} +7 -7
- package/dist/{menuInfo-D2qPoRwz.js → menuInfo-BIrIaJlH.js} +1 -1
- package/dist/menuInfo-BZJ_q7bz-Drho-_QC.js +4 -0
- package/dist/menuInfo.vue_vue_type_style_index_0_lang-BA8xjUo3-BCZ1wipf.js +363 -0
- package/dist/{menuInfo.vue_vue_type_style_index_0_lang-DoQjX9Ly.js → menuInfo.vue_vue_type_style_index_0_lang-DlE4w35X.js} +38 -36
- package/dist/{pda-app-SbcIclbH.js → pda-app-DnjphrRS.js} +9 -9
- package/dist/pda-app-m9hsppHo-B4xyja1o.js +710 -0
- package/dist/redirect-BqegffKC-CBCIuqmz.js +15 -0
- package/dist/resource-C6KEIXu--B_ddyecm.js +97 -0
- package/dist/{resource-Cdq1UKGI.js → resource-DISgPDM7.js} +4 -4
- package/dist/su-welcome-BjbuSrBZ.js +49424 -0
- package/dist/su-welcome-CYYy-dzr-D3RKPoB0.js +42089 -0
- package/dist/sys-config-DCjJGtht-DARDjlrt.js +370 -0
- package/dist/{sys-config-CCOf4xbj.js → sys-config-Yc9vh1t1.js} +13 -13
- package/dist/udp-core.css +1 -1
- package/dist/utogether-MlnyYtNS-CGgjFNPS.js +4 -0
- package/package.json +5 -2
- package/src/App.vue +37 -31
- package/src/components/udp/content/index.vue +88 -88
- package/src/components/udp/form-upload/form-upload.vue +492 -0
- package/src/components/udp/grid/index.vue +524 -524
- package/src/components/udp/index.ts +6 -5
- package/src/components/udp/ut-stamp-badge/index.vue +271 -271
- package/src/components/udp/utils.ts +408 -408
- package/src/layout/components/lay-content/index.vue +4 -11
- package/src/layout/components/lay-search/components/SearchModal.vue +181 -189
- package/src/layout/components/lay-setting/index.vue +503 -503
- package/src/layout/components/lay-sidebar/sidebar-logo.vue +101 -101
- package/src/layout/components/lay-tag/index.vue +598 -598
- package/src/layout/hooks/useNav.ts +176 -176
- package/src/layout/hooks/useTag.ts +227 -227
- package/src/layout/layoutView.vue +216 -215
- package/src/layout/types.ts +93 -93
- package/src/main.ts +111 -115
- package/src/plugins/i18n/zh.ts +17 -3
- package/src/plugins/vxe-table/index.ts +116 -116
- package/src/plugins/vxe-table/render.tsx +968 -950
- package/src/router/index.ts +187 -187
- package/src/router/modules/home.ts +32 -32
- package/src/router/utils.ts +420 -420
- package/src/store/modules/epTheme.ts +48 -48
- package/src/style/vxetable.scss +18 -2
- package/src/utils/dataFormat/index.ts +222 -222
- package/src/utils/lifecycle.ts +39 -39
- package/src/views/organization/department/DepartmentPanel.vue +303 -303
- package/src/views/organization/staff/StaffInfo.vue +127 -127
- package/src/views/organization/staff/StaffPanel.vue +3 -3
- package/src/views/system/layout/layout-home.vue +237 -0
- package/src/views/system/menu/AuthorityPanel.vue +10 -9
- package/src/views/system/menu/SystemMenu.vue +194 -185
- package/src/views/system/menu/menuInfo.vue +384 -384
- package/src/views/system/sysUser/SysUserPanel.vue +363 -347
- package/src/views/udev/coderule/code-rule.vue +132 -132
- package/src/views/udev/dict/DictView.vue +118 -118
- package/src/views/udev/dict/childView.vue +184 -183
- package/src/views/udev/lov/childView.vue +174 -174
- package/src/views/uhome/components/common-menu.vue +118 -0
- package/src/views/uhome/components/dynamic-component.vue +66 -0
- package/src/views/uhome/components/home-todo.vue +170 -0
- package/src/views/uhome/components/menu-favorite.vue +315 -315
- package/src/views/uhome/dynamic-card.vue +31 -0
- package/src/views/uhome/su-welcome.vue +48 -113
- package/src/views/ulogin/login.vue +336 -325
- package/src/views/upms/interface/log-in.vue +100 -100
- package/src/views/upms/interface/log-out.vue +104 -104
- package/src/views/upms/user/login-log.vue +54 -54
- package/types/global.d.ts +232 -231
- package/dist/await-to-js.es5-BtRbN2QH.js +0 -10
- package/dist/index-BbtbEMCH.js +0 -4649
- package/dist/su-welcome-BHDsjqqV.js +0 -524
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
import { defineComponent as E, ref as o, resolveComponent as r, createElementBlock as M, openBlock as m, createVNode as l, withCtx as T, createBlock as z, createCommentVNode as F, Fragment as O } from "vue";
|
|
2
|
+
import { useI18n as S } from "vue-i18n";
|
|
3
|
+
import { c as U } from "./await-to-js.es5-Bv3Eu4mi-UCggJjes.js";
|
|
4
|
+
import { VxeUI as W } from "vxe-pc-ui";
|
|
5
|
+
import { useRender as $, successMessage as f } from "@utogether/utils";
|
|
6
|
+
import { M as p, W as v } from "./su-welcome-BjbuSrBZ.js";
|
|
7
|
+
import { clone as G } from "xe-utils";
|
|
8
|
+
const H = {
|
|
9
|
+
class: "u-dict-config_wrapper"
|
|
10
|
+
}, g = "/upfm/v1/lov", ee = /* @__PURE__ */ E({
|
|
11
|
+
__name: "childView",
|
|
12
|
+
props: {
|
|
13
|
+
record: {
|
|
14
|
+
default: () => ({})
|
|
15
|
+
},
|
|
16
|
+
show: {
|
|
17
|
+
type: Boolean,
|
|
18
|
+
default: !1
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
emits: ["onClose"],
|
|
22
|
+
setup(h, {
|
|
23
|
+
emit: w
|
|
24
|
+
}) {
|
|
25
|
+
const C = h, I = $(), {
|
|
26
|
+
t: k
|
|
27
|
+
} = S(), d = o(!1), n = o(null), u = o(null), t = o({}), a = o("add"), N = window.innerHeight - 70, b = [{
|
|
28
|
+
field: "dictCode",
|
|
29
|
+
title: "message.udp.dictCode",
|
|
30
|
+
required: !0,
|
|
31
|
+
treeNode: !0
|
|
32
|
+
}, {
|
|
33
|
+
field: "dictName",
|
|
34
|
+
title: "message.udp.dictName",
|
|
35
|
+
required: !0
|
|
36
|
+
}, {
|
|
37
|
+
field: "dictDesc",
|
|
38
|
+
title: "message.remark"
|
|
39
|
+
}, {
|
|
40
|
+
field: "remarks",
|
|
41
|
+
title: "message.remark"
|
|
42
|
+
}, {
|
|
43
|
+
field: "enabled",
|
|
44
|
+
formatter: ["formatDict", "SU.ENABLE"]
|
|
45
|
+
}, {
|
|
46
|
+
field: "operate",
|
|
47
|
+
title: "message.operate",
|
|
48
|
+
width: 200,
|
|
49
|
+
fixed: "right",
|
|
50
|
+
slots: {
|
|
51
|
+
default: ({
|
|
52
|
+
row: e
|
|
53
|
+
}) => [l(O, null, [l(r("ut-button"), {
|
|
54
|
+
content: "add",
|
|
55
|
+
status: "warning",
|
|
56
|
+
auth: "edit",
|
|
57
|
+
icon: "ri-add-line",
|
|
58
|
+
onTap: () => V(e)
|
|
59
|
+
}, null), l(r("ut-button"), {
|
|
60
|
+
content: "edit",
|
|
61
|
+
status: "primary",
|
|
62
|
+
auth: "edit",
|
|
63
|
+
onTap: () => _(e)
|
|
64
|
+
}, null), l(r("ut-button"), {
|
|
65
|
+
content: "del",
|
|
66
|
+
status: "danger",
|
|
67
|
+
auth: "del",
|
|
68
|
+
onTap: () => B(e)
|
|
69
|
+
}, null)])]
|
|
70
|
+
}
|
|
71
|
+
}], y = [{
|
|
72
|
+
field: "dictCode",
|
|
73
|
+
title: "message.udp.dictCode",
|
|
74
|
+
required: !0
|
|
75
|
+
}, {
|
|
76
|
+
field: "dictName",
|
|
77
|
+
title: "message.udp.dictName",
|
|
78
|
+
required: !0
|
|
79
|
+
}, {
|
|
80
|
+
field: "dictDesc",
|
|
81
|
+
title: "message.remark"
|
|
82
|
+
}, {
|
|
83
|
+
field: "enabled",
|
|
84
|
+
itemRender: I.renderSwitch({
|
|
85
|
+
openValue: "1",
|
|
86
|
+
closeValue: "0",
|
|
87
|
+
defaultValue: "1"
|
|
88
|
+
})
|
|
89
|
+
}], x = () => {
|
|
90
|
+
d.value = !0, a.value = "add", t.value = {
|
|
91
|
+
enabled: "1",
|
|
92
|
+
parentId: C.record.id
|
|
93
|
+
};
|
|
94
|
+
}, V = (e) => {
|
|
95
|
+
d.value = !0, a.value = "add", t.value = {
|
|
96
|
+
enabled: "1",
|
|
97
|
+
parentId: e.id
|
|
98
|
+
};
|
|
99
|
+
}, B = async (e) => {
|
|
100
|
+
await W.modal.confirm(k("message.delRecord")) === "confirm" && (await v().delete(g, [e]), f(), n.value.refreshData());
|
|
101
|
+
}, _ = async (e) => {
|
|
102
|
+
d.value = !0, a.value = "edit", t.value = G(e, !0);
|
|
103
|
+
}, D = async () => {
|
|
104
|
+
const e = {
|
|
105
|
+
...t.value,
|
|
106
|
+
orgId: p().getOrgId,
|
|
107
|
+
organizationId: p().getOrganizationId
|
|
108
|
+
};
|
|
109
|
+
u.value.showLoading();
|
|
110
|
+
const i = a.value === "add" ? "post" : "put", [s] = await U(v()[i](g, [e]));
|
|
111
|
+
if (u.value.hiddenLoading(), !s) {
|
|
112
|
+
if (d.value = a.value !== "edit", a.value === "add") {
|
|
113
|
+
const c = t.value.parentId;
|
|
114
|
+
t.value = {
|
|
115
|
+
enabled: "1",
|
|
116
|
+
parentId: c
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
f(), n.value.refreshData();
|
|
120
|
+
}
|
|
121
|
+
}, q = (e) => {
|
|
122
|
+
e === "add" && x();
|
|
123
|
+
}, L = w;
|
|
124
|
+
function R() {
|
|
125
|
+
L("onClose");
|
|
126
|
+
}
|
|
127
|
+
return (e, i) => {
|
|
128
|
+
const s = r("ut-grid"), c = r("ut-modal-form"), A = r("vxe-drawer");
|
|
129
|
+
return m(), M("div", H, [l(A, {
|
|
130
|
+
"model-value": e.show,
|
|
131
|
+
title: e.$t("message.title.dictList", {
|
|
132
|
+
name: e.record.dictName
|
|
133
|
+
}),
|
|
134
|
+
position: "right",
|
|
135
|
+
"destroy-on-close": "",
|
|
136
|
+
width: "67%",
|
|
137
|
+
onClose: R
|
|
138
|
+
}, {
|
|
139
|
+
default: T(() => [l(s, {
|
|
140
|
+
ref_key: "xgrid",
|
|
141
|
+
ref: n,
|
|
142
|
+
columns: b,
|
|
143
|
+
height: N,
|
|
144
|
+
"default-params": {
|
|
145
|
+
parentId: e.record.id
|
|
146
|
+
},
|
|
147
|
+
buttons: [{
|
|
148
|
+
code: "del",
|
|
149
|
+
auth: "/"
|
|
150
|
+
}],
|
|
151
|
+
"tree-config": {
|
|
152
|
+
childrenField: "children",
|
|
153
|
+
expandAll: !0
|
|
154
|
+
},
|
|
155
|
+
url: "/upfm/v1/lov/children",
|
|
156
|
+
mode: "form",
|
|
157
|
+
onButtonClick: q
|
|
158
|
+
}, null, 8, ["default-params"]), d.value ? (m(), z(c, {
|
|
159
|
+
key: 0,
|
|
160
|
+
ref_key: "xmodal",
|
|
161
|
+
ref: u,
|
|
162
|
+
record: t.value,
|
|
163
|
+
items: y,
|
|
164
|
+
width: "400",
|
|
165
|
+
height: "280",
|
|
166
|
+
"data-status": a.value,
|
|
167
|
+
title: e.$t("message.title.dictInfo", {
|
|
168
|
+
name: e.record.dictName
|
|
169
|
+
}),
|
|
170
|
+
onClose: i[0] || (i[0] = (J) => d.value = !1),
|
|
171
|
+
onConfirm: D
|
|
172
|
+
}, null, 8, ["record", "data-status", "title"])) : F("", !0)]),
|
|
173
|
+
_: 1
|
|
174
|
+
}, 8, ["model-value", "title"])]);
|
|
175
|
+
};
|
|
176
|
+
}
|
|
177
|
+
});
|
|
178
|
+
export {
|
|
179
|
+
ee as e
|
|
180
|
+
};
|
|
@@ -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
|
-
import { t as x } from "./await-to-js.es5-
|
|
2
|
+
import { t as x } from "./await-to-js.es5-Bv3Eu4mi.js";
|
|
3
3
|
import { useRender as B } from "@utogether/utils";
|
|
4
|
-
import {
|
|
4
|
+
import { g as D } from "./index-Dc7xWMiC.js";
|
|
5
5
|
const I = {
|
|
6
6
|
name: "CodeRule"
|
|
7
7
|
}, M = /* @__PURE__ */ U({
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
import { defineComponent as C, ref as d, createVNode as c, resolveComponent as i, nextTick as y, createElementBlock as q, openBlock as p, createBlock as w, createCommentVNode as D } from "vue";
|
|
2
|
+
import { c as N } from "./await-to-js.es5-Bv3Eu4mi-UCggJjes.js";
|
|
3
|
+
import { useRender as B } from "@utogether/utils";
|
|
4
|
+
import { W as I } from "./su-welcome-BjbuSrBZ.js";
|
|
5
|
+
const S = {
|
|
6
|
+
name: "CodeRule"
|
|
7
|
+
}, M = /* @__PURE__ */ C({
|
|
8
|
+
...S,
|
|
9
|
+
setup(b) {
|
|
10
|
+
const e = B(), s = d(null), o = d(null), l = d(!1), f = d(!1), a = d({}), m = d(0), u = "/upfm/v1/codingRule", g = [{
|
|
11
|
+
field: "ruleCode",
|
|
12
|
+
title: "message.udp.ruleCode"
|
|
13
|
+
}, {
|
|
14
|
+
field: "ruleName",
|
|
15
|
+
title: "message.udp.ruleName"
|
|
16
|
+
}], v = [{
|
|
17
|
+
type: "checkbox",
|
|
18
|
+
width: 40,
|
|
19
|
+
align: "center"
|
|
20
|
+
}, {
|
|
21
|
+
field: "ruleCode",
|
|
22
|
+
title: "message.udp.ruleCode",
|
|
23
|
+
required: !0,
|
|
24
|
+
editRender: e.renderInput()
|
|
25
|
+
}, {
|
|
26
|
+
field: "ruleName",
|
|
27
|
+
title: "message.udp.ruleName",
|
|
28
|
+
required: !0,
|
|
29
|
+
editRender: e.renderInput()
|
|
30
|
+
}, {
|
|
31
|
+
field: "remark",
|
|
32
|
+
editRender: e.renderInput()
|
|
33
|
+
}, {
|
|
34
|
+
field: "haveBeenUsed",
|
|
35
|
+
title: "message.udp.haveBeenUsed",
|
|
36
|
+
formatter: ["formatDict", "SU.WHETHER"]
|
|
37
|
+
}, {
|
|
38
|
+
field: "enabled",
|
|
39
|
+
width: 80,
|
|
40
|
+
cellRender: e.renderEnabled(E)
|
|
41
|
+
}, {
|
|
42
|
+
field: "operate",
|
|
43
|
+
width: 80,
|
|
44
|
+
fixed: "right",
|
|
45
|
+
slots: {
|
|
46
|
+
default: ({
|
|
47
|
+
row: t
|
|
48
|
+
}) => {
|
|
49
|
+
const r = t.haveBeenUsed === "Y" ? "look" : "encode", n = t.haveBeenUsed === "Y" ? "info" : "primary";
|
|
50
|
+
return [c(i("ut-button"), {
|
|
51
|
+
content: r,
|
|
52
|
+
status: n,
|
|
53
|
+
onTap: () => h(t)
|
|
54
|
+
}, null)];
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}], R = [
|
|
58
|
+
{
|
|
59
|
+
type: "checkbox",
|
|
60
|
+
width: 40,
|
|
61
|
+
align: "center"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
field: "orderSeq",
|
|
65
|
+
title: "message.seqNo",
|
|
66
|
+
required: !0,
|
|
67
|
+
editRender: e.renderNumber()
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
field: "fieldType",
|
|
71
|
+
required: !0,
|
|
72
|
+
editRender: e.renderDict("SU.CODE.RULE.TYPE"),
|
|
73
|
+
formatter: ["formatDict", "SU.CODE.RULE.TYPE"]
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
field: "fieldValue",
|
|
77
|
+
title: "message.udp.fieldValue",
|
|
78
|
+
editRender: e.renderInput()
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
field: "dateMask",
|
|
82
|
+
title: "message.udp.dateMask",
|
|
83
|
+
editRender: e.renderDict("SU.DATE.MASK")
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
field: "resetFrequency",
|
|
87
|
+
title: "message.udp.resetFrequency",
|
|
88
|
+
editRender: e.renderDict("SU.RESET.FREQUENCY")
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
field: "seqLength",
|
|
92
|
+
title: "message.udp.seqLength",
|
|
93
|
+
editRender: e.renderInput()
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
field: "startValue",
|
|
97
|
+
title: "message.udp.startValue",
|
|
98
|
+
editRender: e.renderInput()
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
field: "currentValue",
|
|
102
|
+
title: "message.udp.currentValue"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
field: "remark",
|
|
106
|
+
editRender: e.renderInput()
|
|
107
|
+
}
|
|
108
|
+
// { field: 'enabled', width: 80, cellRender: renderHook.renderEnabled(handleClick) }
|
|
109
|
+
], h = async (t) => {
|
|
110
|
+
f.value = t.haveBeenUsed === "Y", a.value = {
|
|
111
|
+
codingRuleId: t.id
|
|
112
|
+
}, l.value = !0, await y(), o.value.reloadGrid(), m.value++;
|
|
113
|
+
}, k = (t) => t.haveBeenUsed !== "Y";
|
|
114
|
+
async function E({
|
|
115
|
+
row: t
|
|
116
|
+
}) {
|
|
117
|
+
const [r] = await N(I().put(u, [t]));
|
|
118
|
+
!r && s.value.refreshData();
|
|
119
|
+
}
|
|
120
|
+
return (t, r) => {
|
|
121
|
+
const n = i("ut-grid"), U = i("ut-modal-grid");
|
|
122
|
+
return p(), q("div", null, [c(n, {
|
|
123
|
+
ref_key: "xgrid",
|
|
124
|
+
ref: s,
|
|
125
|
+
items: g,
|
|
126
|
+
columns: v,
|
|
127
|
+
url: u,
|
|
128
|
+
"check-method": k
|
|
129
|
+
}, null, 512), l.value ? (p(), w(U, {
|
|
130
|
+
ref_key: "xmgrid",
|
|
131
|
+
ref: o,
|
|
132
|
+
key: m.value,
|
|
133
|
+
"default-value": a.value,
|
|
134
|
+
"default-params": a.value,
|
|
135
|
+
columns: R,
|
|
136
|
+
url: u + "Detail",
|
|
137
|
+
editable: !f.value,
|
|
138
|
+
"show-footer": !1,
|
|
139
|
+
width: "80%",
|
|
140
|
+
title: "编码段设置",
|
|
141
|
+
onClose: r[0] || (r[0] = (T) => l.value = !1)
|
|
142
|
+
}, null, 8, ["default-value", "default-params", "url", "editable"])) : D("", !0)]);
|
|
143
|
+
};
|
|
144
|
+
}
|
|
145
|
+
});
|
|
146
|
+
export {
|
|
147
|
+
M as default
|
|
148
|
+
};
|
package/dist/core.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { S as a, P as t, d as r, l as o, m as u, U as i, g as n, O as l, h as g, i as m, Q as f, T as h, R as S, t as c, f as R, e as d, x as y, C, u as P } from "./index-Dc7xWMiC.js";
|
|
2
2
|
export {
|
|
3
3
|
a as constantRoutes,
|
|
4
4
|
t as default,
|
|
@@ -9,14 +9,14 @@ export {
|
|
|
9
9
|
n as getServiceApi,
|
|
10
10
|
l as handleAliveRoute,
|
|
11
11
|
g as hasAuthority,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
m as initDict,
|
|
13
|
+
f as lifeCycleEvent,
|
|
14
|
+
h as remainingRouters,
|
|
15
15
|
S as routerBefore,
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
16
|
+
c as store,
|
|
17
|
+
R as useDataThemeChange,
|
|
18
|
+
d as useLayout,
|
|
19
|
+
y as useMultiTagsStore,
|
|
20
|
+
C as usePermissionStore,
|
|
21
|
+
P as useSystemStore
|
|
22
22
|
};
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import { defineComponent as T, ref as u, createVNode as r, resolveComponent as n, Fragment as v, createElementBlock as I, openBlock as f, createBlock as R, createCommentVNode as C } from "vue";
|
|
2
|
+
import { VXETable as x } from "vxe-table";
|
|
3
|
+
import { c as N } from "./await-to-js.es5-Bv3Eu4mi-UCggJjes.js";
|
|
4
|
+
import { W as y } from "./su-welcome-BjbuSrBZ.js";
|
|
5
|
+
import { useRender as D, successMessage as E } from "@utogether/utils";
|
|
6
|
+
const L = {
|
|
7
|
+
name: "CronTask"
|
|
8
|
+
}, _ = /* @__PURE__ */ T({
|
|
9
|
+
...L,
|
|
10
|
+
setup(q) {
|
|
11
|
+
const o = D(), d = u(null), l = u(!1), c = u({}), i = "/usch/v1/jobInfo", m = [{
|
|
12
|
+
field: "jobName"
|
|
13
|
+
}, {
|
|
14
|
+
field: "jobDescription"
|
|
15
|
+
}], p = [{
|
|
16
|
+
type: "checkbox",
|
|
17
|
+
width: 40,
|
|
18
|
+
align: "center"
|
|
19
|
+
}, {
|
|
20
|
+
field: "jobName",
|
|
21
|
+
width: 140,
|
|
22
|
+
required: !0,
|
|
23
|
+
editRender: o.renderInput()
|
|
24
|
+
}, {
|
|
25
|
+
field: "jobCron",
|
|
26
|
+
width: 140,
|
|
27
|
+
required: !0,
|
|
28
|
+
editRender: o.renderInput()
|
|
29
|
+
}, {
|
|
30
|
+
field: "jobHandler",
|
|
31
|
+
miwWidth: 200,
|
|
32
|
+
required: !0,
|
|
33
|
+
editRender: o.renderInput()
|
|
34
|
+
}, {
|
|
35
|
+
field: "jobParam",
|
|
36
|
+
width: 140,
|
|
37
|
+
editRender: o.renderInput()
|
|
38
|
+
}, {
|
|
39
|
+
field: "jobDescription",
|
|
40
|
+
width: 120,
|
|
41
|
+
editRender: o.renderInput()
|
|
42
|
+
}, {
|
|
43
|
+
field: "jobStatus",
|
|
44
|
+
width: 100
|
|
45
|
+
}, {
|
|
46
|
+
field: "operate",
|
|
47
|
+
width: 180,
|
|
48
|
+
fixed: "right",
|
|
49
|
+
slots: {
|
|
50
|
+
default: ({
|
|
51
|
+
row: e
|
|
52
|
+
}) => {
|
|
53
|
+
const t = e.jobStatus === "ACQUIRED" ? r(n("ut-button"), {
|
|
54
|
+
content: "suspendTask",
|
|
55
|
+
status: "warning",
|
|
56
|
+
icon: "ri-search-line-plus",
|
|
57
|
+
onTap: () => b(e)
|
|
58
|
+
}, null) : r(n("ut-button"), {
|
|
59
|
+
content: "resumeTask",
|
|
60
|
+
status: "success",
|
|
61
|
+
icon: "ri-search-line-plus",
|
|
62
|
+
onTap: () => h(e)
|
|
63
|
+
}, null);
|
|
64
|
+
return [r(v, null, [t, r(n("ut-button"), {
|
|
65
|
+
content: "stopTask",
|
|
66
|
+
status: "danger",
|
|
67
|
+
icon: "ri-close-line",
|
|
68
|
+
onTap: () => w(e)
|
|
69
|
+
}, null), r(n("ut-button"), {
|
|
70
|
+
content: "taskLog",
|
|
71
|
+
status: "info",
|
|
72
|
+
icon: "ri-file-line",
|
|
73
|
+
onTap: () => j(e)
|
|
74
|
+
}, null)])];
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}], b = (e) => {
|
|
78
|
+
a(i + "/pause", [e]);
|
|
79
|
+
}, h = (e) => {
|
|
80
|
+
a(i + "/resume", [e]);
|
|
81
|
+
}, w = (e) => {
|
|
82
|
+
a(i + "/terminate", [e]);
|
|
83
|
+
}, a = async (e, t) => {
|
|
84
|
+
if (await x.modal.confirm("您确定要继续吗?") === "confirm") {
|
|
85
|
+
const [s] = await N(y().post(e, t));
|
|
86
|
+
s || (E(), d.value.refreshData());
|
|
87
|
+
}
|
|
88
|
+
}, g = [
|
|
89
|
+
// { field: 'jobName', width: 140 },
|
|
90
|
+
{
|
|
91
|
+
field: "startTime",
|
|
92
|
+
width: 160
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
field: "endTime",
|
|
96
|
+
width: 160
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
field: "jobResult",
|
|
100
|
+
width: 120
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
field: "errorMessage"
|
|
104
|
+
}
|
|
105
|
+
], j = (e) => {
|
|
106
|
+
c.value = {
|
|
107
|
+
jobId: e.id
|
|
108
|
+
}, l.value = !0;
|
|
109
|
+
};
|
|
110
|
+
return (e, t) => {
|
|
111
|
+
const s = n("ut-grid"), k = n("ut-modal-grid");
|
|
112
|
+
return f(), I("div", null, [r(s, {
|
|
113
|
+
ref_key: "xgrid",
|
|
114
|
+
ref: d,
|
|
115
|
+
items: m,
|
|
116
|
+
columns: p,
|
|
117
|
+
url: i
|
|
118
|
+
}, null, 512), l.value ? (f(), R(k, {
|
|
119
|
+
key: 0,
|
|
120
|
+
ref: "xmgrid",
|
|
121
|
+
"default-params": c.value,
|
|
122
|
+
columns: g,
|
|
123
|
+
url: "/usch/v1/jobLog",
|
|
124
|
+
"show-footer": !1,
|
|
125
|
+
editable: !1,
|
|
126
|
+
width: "50%",
|
|
127
|
+
title: e.$t("message.title.cronLog"),
|
|
128
|
+
onClose: t[0] || (t[0] = (B) => l.value = !1)
|
|
129
|
+
}, null, 8, ["default-params", "title"])) : C("", !0)]);
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
});
|
|
133
|
+
export {
|
|
134
|
+
_ as default
|
|
135
|
+
};
|
|
@@ -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
|
-
import { t as x } from "./await-to-js.es5-
|
|
4
|
-
import { y } from "./index-
|
|
3
|
+
import { t as x } from "./await-to-js.es5-Bv3Eu4mi.js";
|
|
4
|
+
import { g as y } from "./index-Dc7xWMiC.js";
|
|
5
5
|
import { useRender as S, successMessage as D } from "@utogether/utils";
|
|
6
6
|
const E = {
|
|
7
7
|
name: "CronTask"
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { defineComponent as e, createElementBlock as o, openBlock as d } from "vue";
|
|
2
|
+
const n = { name: "FlowTask" }, r = /* @__PURE__ */ e({
|
|
3
|
+
...n,
|
|
4
|
+
setup(s) {
|
|
5
|
+
return (a, t) => (d(), o("div", null, " dhasdhkasd kasdAsdasjldj打死了电话卡手机号多久啊是的 "));
|
|
6
|
+
}
|
|
7
|
+
});
|
|
8
|
+
export {
|
|
9
|
+
r as default
|
|
10
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { defineComponent as v, ref as r, unref as a, onMounted as d, resolveDirective as p, withDirectives as _, createElementBlock as k, openBlock as E, createElementVNode as h, nextTick as w } from "vue";
|
|
2
|
+
import { useRoute as B } from "vue-router";
|
|
3
|
+
import { t as S } from "./su-welcome-BjbuSrBZ.js";
|
|
4
|
+
const V = { class: "frame" }, x = ["src"], D = /* @__PURE__ */ v({
|
|
5
|
+
__name: "frameView",
|
|
6
|
+
setup(I) {
|
|
7
|
+
var o, c;
|
|
8
|
+
const t = r(!1), l = B(), f = r(""), s = r(null);
|
|
9
|
+
(o = a(l.meta)) != null && o.frameSrc && (f.value = (c = a(l.meta)) == null ? void 0 : c.frameSrc);
|
|
10
|
+
function u() {
|
|
11
|
+
t.value = !1;
|
|
12
|
+
}
|
|
13
|
+
function i() {
|
|
14
|
+
w(() => {
|
|
15
|
+
const e = a(s);
|
|
16
|
+
if (!e) return;
|
|
17
|
+
const n = e;
|
|
18
|
+
n.attachEvent ? n.attachEvent("onload", () => {
|
|
19
|
+
u();
|
|
20
|
+
}) : e.onload = () => {
|
|
21
|
+
u();
|
|
22
|
+
};
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
return d(() => {
|
|
26
|
+
t.value = !0, i();
|
|
27
|
+
}), (e, n) => {
|
|
28
|
+
const m = p("spinning");
|
|
29
|
+
return _((E(), k("div", V, [
|
|
30
|
+
h("iframe", {
|
|
31
|
+
ref_key: "frameRef",
|
|
32
|
+
ref: s,
|
|
33
|
+
src: f.value,
|
|
34
|
+
class: "frame-iframe"
|
|
35
|
+
}, null, 8, x)
|
|
36
|
+
])), [
|
|
37
|
+
[m, t.value]
|
|
38
|
+
]);
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
}), C = /* @__PURE__ */ S(D, [["__scopeId", "data-v-c2f5c865"]]);
|
|
42
|
+
export {
|
|
43
|
+
C as default
|
|
44
|
+
};
|
|
@@ -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-Dc7xWMiC.js";
|
|
4
4
|
const w = { class: "frame" }, S = ["src"], V = /* @__PURE__ */ _({
|
|
5
5
|
__name: "frameView",
|
|
6
6
|
setup(B) {
|