@utogether/udp-core 1.0.0 → 1.0.1-beta.10
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 -26
- package/dist/{403-B1R-4vXw.js → 403-Ctxjn4q8.js} +9 -8
- package/dist/{404-fXPl8csw.js → 404-W5yzyiZ9.js} +15 -14
- package/dist/{500-eI5842YB.js → 500-DXuGEOm4.js} +11 -10
- package/dist/{AuthorityInfo-CfVH6PaB.js → AuthorityInfo-C2tflCt8.js} +1 -1
- package/dist/AuthorityInfo.vue_vue_type_style_index_0_lang-SVgy3HX7.js +100 -0
- package/dist/{AuthorityPanel-BaLMwMgW.js → AuthorityPanel-BeBNiwqc.js} +1 -1
- package/dist/{AuthorityPanel.vue_vue_type_style_index_0_lang-C_bkqLD9.js → AuthorityPanel.vue_vue_type_style_index_0_lang-CIYmnP9-.js} +6 -6
- package/dist/{Company-CYC9Avfz.js → Company-PLez5GoH.js} +3 -3
- package/dist/{CompanyPanel-B4MzoqN_.js → CompanyPanel-CIGaQooL.js} +20 -20
- package/dist/{Department-B4BNSiYx.js → Department-B9wLsXFm.js} +3 -3
- package/dist/{DepartmentPanel-zJO89L2O.js → DepartmentPanel-DSM4lTaz.js} +23 -23
- package/dist/{DesignPanel-S8P0J97f.js → DesignPanel-B6a9wW_A.js} +1 -1
- package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-DW-_Vqrr.js → DesignPanel.vue_vue_type_style_index_0_lang-DtHfoDQk.js} +28 -30
- package/dist/DictView-DhFbQxdJ.js +110 -0
- package/dist/{InvOrganization-MuM2jtsG.js → InvOrganization-D90AbR3b.js} +2 -2
- package/dist/Org-DxBkYabD.js +39 -0
- package/dist/{Preview-CRyiwUIR.js → Preview-BFtRpBxw.js} +1 -1
- package/dist/{ReportDefine-WZYIx8Sm.js → ReportDefine-BIa2QryC.js} +1 -1
- package/dist/{ReportDesign-D-7GKgpb.js → ReportDesign-CnyjI-WD.js} +44 -44
- package/dist/{ReportQuery-BIIJny6w.js → ReportQuery-BiK7yEhV.js} +5 -5
- package/dist/{ReportQueryFrom-OoUl7N2O.js → ReportQueryFrom-C2rqdFTm.js} +1 -1
- package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-B878fgj8.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-Ba9HLnXQ.js} +6 -5
- package/dist/{ReportTemplate-Cfeq9US-.js → ReportTemplate-DdkLscP3.js} +30 -30
- package/dist/{Role-BwTV2QMH.js → Role-BrsxgK8D.js} +6 -6
- package/dist/{RoleAssign-De1JjOun.js → RoleAssign-DiqwJqDa.js} +8 -8
- package/dist/{RolePanel-pUBXsqCM.js → RolePanel-BDusGyo7.js} +1 -1
- package/dist/{RolePanel-E3RcdByM.js → RolePanel-Dqx5dI3f.js} +1 -1
- package/dist/RolePanel.vue_vue_type_script_setup_true_lang-2Z1q_5uW.js +132 -0
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-B2pQwHb0.js → RolePanel.vue_vue_type_script_setup_true_lang-B5lUnaMI.js} +40 -34
- package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-vMR1fBi0.js → ScrollPanel.vue_vue_type_style_index_0_lang-vSP23fEq.js} +23 -23
- package/dist/{Staff-Czm7A8vI.js → Staff-Cwi9LQiZ.js} +3 -3
- package/dist/StaffInfo-XjVtyaMv.js +4 -0
- package/dist/{StaffInfo.vue_vue_type_style_index_0_lang-DMTL7KCh.js → StaffInfo.vue_vue_type_script_setup_true_lang-wSrAuyet.js} +16 -16
- package/dist/{StaffPanel-CHk60LEz.js → StaffPanel-C-wYcFdv.js} +1 -1
- package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-iPKLb5wG.js → StaffPanel.vue_vue_type_script_setup_true_lang-DZNArmnC.js} +46 -49
- package/dist/{SysUser-BGwbttRn.js → SysUser-O4tvr-Ur.js} +2 -2
- package/dist/{SysUserPanel-BCbKoLKt.js → SysUserPanel-B853docZ.js} +1 -1
- package/dist/SysUserPanel.vue_vue_type_script_setup_true_lang-DhiYYC97.js +294 -0
- package/dist/{SystemMenu-BkqZSDKl.js → SystemMenu-CXR6mrXr.js} +52 -50
- package/dist/{UserInfo-BsyAcT2d.js → UserInfo-BkP8pE2a.js} +1 -1
- package/dist/{UserInfo.vue_vue_type_style_index_0_lang-D0-KDxAh.js → UserInfo.vue_vue_type_style_index_0_lang-D4r_umjV.js} +38 -36
- package/dist/{childView-CyuLTUqC.js → childView-D0HwbgDT.js} +1 -1
- package/dist/{childView-CF83nhxb.js → childView-TRqUkSDC.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-CNSgGda3.js → childView.vue_vue_type_style_index_0_lang-BzISq0Jf.js} +43 -43
- package/dist/{childView.vue_vue_type_style_index_0_lang-Cch4lE-i.js → childView.vue_vue_type_style_index_0_lang-DQRgNsJY.js} +1 -1
- package/dist/{code-rule-Bz-gnktN.js → code-rule-BV7PQWhK.js} +13 -14
- package/dist/core.es.js +13 -10
- package/dist/{cron-task-CIifSUdW.js → cron-task-9ZS9bi7K.js} +11 -11
- package/dist/{frameView-_d2mqjjQ.js → frameView-DE83AN50.js} +15 -14
- package/dist/img/l_img.svg +1 -1
- package/dist/img/minicolors.png +0 -0
- package/dist/img/v_img.svg +1 -1
- package/dist/index-DVARtten.js +2623 -0
- package/dist/{layoutView-DLKVepB8.js → layoutView-D1U-c4By.js} +730 -724
- package/dist/{login-log-CvVnyGi3.js → login-log-kqKzKTto.js} +1 -1
- package/dist/{login-LREiDfFU.js → login-sPCEiTGT.js} +107 -113
- package/dist/{lov-view-DDrIVILB.js → lov-view-76NcYTYl.js} +5 -5
- package/dist/{menuInfo-B1FUV-Sk.js → menuInfo-CxjfjFpm.js} +1 -1
- package/dist/{menuInfo.vue_vue_type_style_index_0_lang-Cnk3vdtD.js → menuInfo.vue_vue_type_style_index_0_lang-C2qahH3r.js} +98 -95
- package/dist/pda-app-BUH16bLj.js +710 -0
- package/dist/redirect-BqegffKC.js +15 -0
- package/dist/{resource-BCwx9fEv.js → resource-CCuHzoA6.js} +18 -18
- package/dist/{su-welcome-189A7N4r.js → su-welcome-mRArONsd.js} +133 -133
- package/dist/{sys-config-BZ3sejow.js → sys-config-Cvt05yF6.js} +21 -21
- package/dist/udp-core.css +2 -2
- package/dist/{utogether-r08LNiIZ.js → utogether-Dm_VBQHR.js} +6 -6
- package/index.ts +40 -36
- package/package.json +4 -2
- package/src/App.vue +65 -70
- package/src/api/index.ts +1 -1
- package/src/components/SuCharts/src/UserInfo.vue +78 -78
- package/src/components/SuScrollTree/ScrollPanel.vue +3 -3
- package/src/components/udp/count-down.vue +536 -0
- package/src/components/udp/flip-down/FlipCard/flip-card.vue +251 -0
- package/src/components/udp/flip-down/FlipCard/interfaces.ts +4 -0
- package/src/components/udp/flip-down/FlipClock/flip-clock.vue +113 -0
- package/src/components/udp/form-upload.vue +482 -0
- package/src/components/udp/form.vue +112 -0
- package/src/components/udp/grid.vue +495 -0
- package/src/components/udp/index.ts +10 -0
- package/src/components/udp/lov.vue +388 -0
- package/src/components/udp/modal-form.vue +189 -0
- package/src/components/udp/modal-grid.vue +288 -0
- package/src/components/udp/upload.vue +423 -0
- package/src/components/udp/utils.ts +447 -0
- package/src/directives/permission/index.ts +1 -1
- package/src/layout/components/lay-navbar/index.vue +1 -1
- 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-sidebar/breadCrumb.vue +1 -1
- package/src/layout/components/lay-tag/index.vue +625 -625
- package/src/layout/layoutView.vue +215 -215
- package/src/main.ts +25 -14
- package/src/plugins/i18n/en.ts +302 -289
- package/src/plugins/i18n/zh.ts +348 -337
- package/src/plugins/vxe-table/index.ts +53 -46
- package/src/plugins/vxe-table/render.tsx +956 -397
- package/src/router/index.ts +187 -183
- package/src/router/modules/remaining.ts +58 -83
- package/src/style/button.scss +85 -78
- package/src/style/tailwind.css +1 -68
- package/src/style/vxetable.scss +44 -11
- package/src/utils/authority/index.ts +1 -1
- package/src/utils/{http → udp/http}/index.ts +8 -24
- package/src/utils/{http → udp/http}/types.d.ts +8 -5
- package/src/utils/udp/useRender.ts +431 -0
- package/src/views/login/login-view.vue +2 -2
- package/src/views/organization/company/CompanyPanel.vue +259 -259
- package/src/views/organization/inv-org/InvOrganization.vue +1 -1
- package/src/views/organization/org/Org.vue +9 -5
- package/src/views/organization/staff/StaffInfo.vue +0 -30
- package/src/views/organization/staff/StaffPanel.vue +4 -3
- package/src/views/system/menu/AuthorityPanel.vue +2 -2
- package/src/views/system/menu/SystemMenu.vue +183 -191
- package/src/views/system/menu/menuInfo.vue +363 -368
- package/src/views/system/role/AuthorityInfo.vue +19 -33
- package/src/views/system/role/Role.vue +1 -5
- package/src/views/system/role/RolePanel.vue +11 -2
- package/src/views/system/role/UserInfo.vue +195 -193
- package/src/views/system/role-assign/RoleAssign.vue +57 -57
- package/src/views/system/role-assign/RolePanel.vue +139 -136
- package/src/views/system/sys/sys-config.vue +1 -1
- package/src/views/system/sysUser/SysUserPanel.vue +278 -278
- package/src/views/uapp/pda/pda-app.vue +208 -176
- package/src/views/udev/dict/DictView.vue +118 -106
- package/src/views/udev/dict/childView.vue +7 -7
- package/src/views/udev/lov/lov-view.vue +91 -91
- package/src/views/ufile/aggregation/File.vue +5 -5
- package/src/views/ufile/file/water-mark.vue +14 -14
- package/src/views/uhome/components/menu-favorite.vue +1 -1
- package/src/views/uhome/su-welcome.vue +4 -4
- package/src/views/ulogin/login.vue +15 -10
- package/src/views/upms/user/login-log.vue +1 -1
- package/src/views/urpt/design/DesignPanel.vue +507 -526
- package/src/views/urpt/design/ReportDesign.vue +15 -19
- package/src/views/urpt/static-resource/resource.vue +3 -3
- package/src/views/urpt/template/ReportTemplate.vue +7 -7
- package/types/global.d.ts +2 -2
- package/vite.config.ts +13 -2
- package/dist/AuthorityInfo.vue_vue_type_style_index_0_lang-DbK-f8jH.js +0 -102
- package/dist/DictView-bIS5-rK-.js +0 -95
- package/dist/Org-kXHSjsgJ.js +0 -35
- package/dist/RolePanel.vue_vue_type_script_setup_true_lang-CTIad9_Q.js +0 -126
- package/dist/StaffInfo-DJzvBuxy.js +0 -4
- package/dist/SysUserPanel.vue_vue_type_script_setup_true_lang-0QUjnhjF.js +0 -289
- package/dist/core.umd.js +0 -173
- package/dist/index-BKIw8tSn.js +0 -9195
- package/dist/pda-app-CRhVGijN.js +0 -2209
- package/dist/redirect-DiaNDu8F.js +0 -15
- package/src/assets/images/empty.png +0 -0
- package/src/assets/images/logo.png +0 -0
- package/src/components/ReCountTo/README.md +0 -2
- package/src/components/ReCountTo/index.ts +0 -18
- package/src/components/ReCountTo/src/normal/index.tsx +0 -165
- package/src/components/ReCountTo/src/normal/props.ts +0 -37
- package/src/components/ReCountTo/src/rebound/index.tsx +0 -67
- package/src/components/ReCountTo/src/rebound/props.ts +0 -14
- package/src/components/ReCountTo/src/rebound/rebound.css +0 -77
- package/src/components/ReCropper/index.ts +0 -14
- package/src/components/ReCropper/src/index.tsx +0 -141
- package/src/components/ReFlicker/index.css +0 -39
- package/src/components/ReFlicker/index.ts +0 -50
- package/src/components/ReFlop/index.ts +0 -14
- package/src/components/ReFlop/src/Filpper.tsx +0 -99
- package/src/components/ReFlop/src/filpper.css +0 -184
- package/src/components/ReFlop/src/index.vue +0 -126
- package/src/components/ReFlowChart/index.ts +0 -24
- package/src/components/ReFlowChart/src/Control.vue +0 -139
- package/src/components/ReFlowChart/src/DataDialog.vue +0 -12
- package/src/components/ReFlowChart/src/NodePanel.vue +0 -151
- package/src/components/ReFlowChart/src/adpterForTurbo.ts +0 -160
- package/src/components/ReFlowChart/src/assets/iconfont/iconfont.css +0 -49
- package/src/components/ReFlowChart/src/assets/iconfont/iconfont.eot +0 -0
- package/src/components/ReFlowChart/src/assets/iconfont/iconfont.js +0 -61
- package/src/components/ReFlowChart/src/assets/iconfont/iconfont.json +0 -58
- package/src/components/ReFlowChart/src/assets/iconfont/iconfont.svg +0 -47
- package/src/components/ReFlowChart/src/assets/iconfont/iconfont.ttf +0 -0
- package/src/components/ReFlowChart/src/assets/iconfont/iconfont.woff +0 -0
- package/src/components/ReFlowChart/src/assets/iconfont/iconfont.woff2 +0 -0
- package/src/components/ReFlowChart/src/config.ts +0 -62
- package/src/components/ReSplitPane/index.css +0 -49
- package/src/components/ReSplitPane/index.tsx +0 -119
- package/src/components/ReSplitPane/resizer.css +0 -45
- package/src/components/ReSplitPane/resizer.tsx +0 -30
- package/src/components/SuCommon/card/components/Card.vue +0 -148
- package/src/components/SuCommon/card/components/DialogForm.vue +0 -127
- package/src/components/SuCommon/card/index.vue +0 -142
- package/src/components/SuCommon/icon-select/index.vue +0 -241
- package/src/components/SuCommon/table/index.vue +0 -208
- package/src/components/SuCommon/utils/index.ts +0 -103
- package/src/components/SuCommon/utils/slot.tsx +0 -50
- package/src/views/components/contextmenu/basic.vue +0 -74
- package/src/views/components/contextmenu/context-menu.vue +0 -40
- package/src/views/components/contextmenu/menuDynamic.vue +0 -99
- package/src/views/components/contextmenu/menuGroup.vue +0 -71
- package/src/views/components/count-to/index.vue +0 -43
- package/src/views/components/cropping/index.vue +0 -59
- package/src/views/components/cropping/picture.jpeg +0 -0
- package/src/views/components/split-pane/index.vue +0 -82
- package/src/views/components/video/index.vue +0 -57
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as U, ref as
|
|
1
|
+
import { defineComponent as U, ref as u, onMounted as F, resolveComponent as n, createElementBlock as j, openBlock as N, createVNode as t, withCtx as d, createElementVNode as w, 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 {
|
|
7
|
-
const Y = { class: "u-dict-config_wrapper" }, Z = { style: { margin: "10px" } },
|
|
6
|
+
import { q as b, e as S } from "./index-DVARtten.js";
|
|
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: {
|
|
10
10
|
record: { default: () => ({}) },
|
|
@@ -12,7 +12,7 @@ const Y = { class: "u-dict-config_wrapper" }, Z = { style: { margin: "10px" } },
|
|
|
12
12
|
},
|
|
13
13
|
emits: ["onClose"],
|
|
14
14
|
setup(V, { emit: D }) {
|
|
15
|
-
const v = V, T = X(), { t: q } = Q(),
|
|
15
|
+
const v = V, T = X(), { t: q } = Q(), h = u([]), m = u(!1), s = u(!1), a = u({}), p = u({}), i = u("add"), O = [
|
|
16
16
|
{ field: "dictCode", title: "message.udp.dictCode", required: !0 },
|
|
17
17
|
{ field: "dictName", title: "message.udp.dictName", required: !0 },
|
|
18
18
|
{ field: "dictDesc", title: "message.remark" },
|
|
@@ -23,23 +23,23 @@ const Y = { class: "u-dict-config_wrapper" }, Z = { style: { margin: "10px" } },
|
|
|
23
23
|
// formatter: ['formatDict', 'SU.ENABLE']
|
|
24
24
|
}
|
|
25
25
|
], R = () => {
|
|
26
|
-
|
|
26
|
+
s.value = !0, i.value = "add", a.value = {
|
|
27
27
|
dictCode: "",
|
|
28
28
|
dictName: "",
|
|
29
29
|
dictDesc: "",
|
|
30
30
|
enabled: "1"
|
|
31
31
|
}, p.value = v.record;
|
|
32
32
|
}, x = (e) => {
|
|
33
|
-
|
|
33
|
+
s.value = !0, i.value = "child", a.value = {
|
|
34
34
|
dictCode: "",
|
|
35
35
|
dictName: "",
|
|
36
36
|
dictDesc: "",
|
|
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.deleteRecord")) === "confirm" && (await
|
|
40
|
+
await W.modal.confirm(q("message.deleteRecord")) === "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 () => {
|
|
44
44
|
const e = {
|
|
45
45
|
...a.value,
|
|
@@ -48,16 +48,16 @@ const Y = { class: "u-dict-config_wrapper" }, Z = { style: { margin: "10px" } },
|
|
|
48
48
|
parentId: a.value.parentId || p.value.id
|
|
49
49
|
};
|
|
50
50
|
let o = "post";
|
|
51
|
-
["add", "child"].includes(
|
|
52
|
-
const [
|
|
53
|
-
|
|
51
|
+
["add", "child"].includes(i.value) ? o = "post" : o = "put", m.value = !0;
|
|
52
|
+
const [r, y] = await I(b()[o](_, [e]));
|
|
53
|
+
m.value = !1, r || (i.value === "edit" ? s.value = !1 : a.value = { enabled: "1" }, k(), f());
|
|
54
54
|
}, f = async () => {
|
|
55
55
|
const e = {
|
|
56
56
|
parentId: v.record.id
|
|
57
57
|
};
|
|
58
|
-
|
|
59
|
-
const [o,
|
|
60
|
-
|
|
58
|
+
m.value = !0;
|
|
59
|
+
const [o, r] = await I(b().get(_ + "/children", e));
|
|
60
|
+
m.value = !1, o || (h.value = r.list);
|
|
61
61
|
}, A = D;
|
|
62
62
|
function E() {
|
|
63
63
|
A("onClose");
|
|
@@ -65,8 +65,8 @@ const Y = { class: "u-dict-config_wrapper" }, Z = { style: { margin: "10px" } },
|
|
|
65
65
|
return F(() => {
|
|
66
66
|
f();
|
|
67
67
|
}), (e, o) => {
|
|
68
|
-
const
|
|
69
|
-
return
|
|
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 N(), j("div", Y, [
|
|
70
70
|
t(L, {
|
|
71
71
|
"model-value": e.show,
|
|
72
72
|
"before-close": E,
|
|
@@ -75,23 +75,23 @@ const Y = { class: "u-dict-config_wrapper" }, Z = { style: { margin: "10px" } },
|
|
|
75
75
|
"destroy-on-close": "",
|
|
76
76
|
size: "76%"
|
|
77
77
|
}, {
|
|
78
|
-
default:
|
|
79
|
-
|
|
80
|
-
t(
|
|
81
|
-
buttons:
|
|
82
|
-
t(
|
|
78
|
+
default: d(() => [
|
|
79
|
+
w("div", Z, [
|
|
80
|
+
t(y, null, {
|
|
81
|
+
buttons: d(() => [
|
|
82
|
+
t(r, {
|
|
83
83
|
status: "primary",
|
|
84
84
|
icon: "vxe-icon-add",
|
|
85
85
|
onClick: R
|
|
86
86
|
}, {
|
|
87
|
-
default:
|
|
87
|
+
default: d(() => [
|
|
88
88
|
P($(e.$t("message.btn.add")), 1)
|
|
89
89
|
]),
|
|
90
90
|
_: 1
|
|
91
91
|
})
|
|
92
92
|
]),
|
|
93
|
-
tools:
|
|
94
|
-
t(
|
|
93
|
+
tools: d(() => [
|
|
94
|
+
t(r, {
|
|
95
95
|
icon: "vxe-icon-refresh",
|
|
96
96
|
onClick: f
|
|
97
97
|
})
|
|
@@ -101,56 +101,56 @@ const Y = { class: "u-dict-config_wrapper" }, Z = { style: { margin: "10px" } },
|
|
|
101
101
|
t(M, {
|
|
102
102
|
border: "",
|
|
103
103
|
"row-id": "id",
|
|
104
|
-
data:
|
|
105
|
-
loading:
|
|
104
|
+
data: h.value,
|
|
105
|
+
loading: m.value,
|
|
106
106
|
"tree-config": { childrenField: "children", expandAll: !0 }
|
|
107
107
|
}, {
|
|
108
|
-
default:
|
|
109
|
-
t(
|
|
108
|
+
default: d(() => [
|
|
109
|
+
t(c, {
|
|
110
110
|
type: "seq",
|
|
111
111
|
width: "130",
|
|
112
112
|
title: e.$t("message.seqNo"),
|
|
113
113
|
"tree-node": ""
|
|
114
114
|
}, null, 8, ["title"]),
|
|
115
|
-
t(
|
|
115
|
+
t(c, {
|
|
116
116
|
field: "dictCode",
|
|
117
117
|
title: e.$t("message.udp.dictCode")
|
|
118
118
|
}, null, 8, ["title"]),
|
|
119
|
-
t(
|
|
119
|
+
t(c, {
|
|
120
120
|
field: "dictName",
|
|
121
121
|
title: e.$t("message.udp.dictName")
|
|
122
122
|
}, null, 8, ["title"]),
|
|
123
|
-
t(
|
|
123
|
+
t(c, {
|
|
124
124
|
field: "dictDesc",
|
|
125
125
|
title: e.$t("message.remark")
|
|
126
126
|
}, null, 8, ["title"]),
|
|
127
|
-
t(
|
|
127
|
+
t(c, {
|
|
128
128
|
field: "enabled",
|
|
129
129
|
title: e.$t("message.enabled"),
|
|
130
130
|
width: "100"
|
|
131
131
|
}, {
|
|
132
|
-
default:
|
|
133
|
-
|
|
132
|
+
default: d(({ row: l }) => [
|
|
133
|
+
w("span", null, $(l.enabled === "1" ? e.$t("message.enabled") : e.$t("message.disabled")), 1)
|
|
134
134
|
]),
|
|
135
135
|
_: 1
|
|
136
136
|
}, 8, ["title"]),
|
|
137
|
-
t(
|
|
137
|
+
t(c, {
|
|
138
138
|
field: "",
|
|
139
139
|
title: e.$t("message.operate"),
|
|
140
140
|
width: "200"
|
|
141
141
|
}, {
|
|
142
|
-
default:
|
|
143
|
-
t(
|
|
142
|
+
default: d(({ row: l }) => [
|
|
143
|
+
t(g, {
|
|
144
144
|
status: "primary",
|
|
145
145
|
content: "edit",
|
|
146
146
|
onTap: (C) => J(l)
|
|
147
147
|
}, null, 8, ["onTap"]),
|
|
148
|
-
t(
|
|
148
|
+
t(g, {
|
|
149
149
|
status: "warning",
|
|
150
150
|
content: "delete",
|
|
151
151
|
onTap: (C) => B(l)
|
|
152
152
|
}, null, 8, ["onTap"]),
|
|
153
|
-
t(
|
|
153
|
+
t(g, {
|
|
154
154
|
status: "success",
|
|
155
155
|
content: "add",
|
|
156
156
|
disabled: l.enabled !== "1",
|
|
@@ -163,16 +163,16 @@ const Y = { class: "u-dict-config_wrapper" }, Z = { style: { margin: "10px" } },
|
|
|
163
163
|
_: 1
|
|
164
164
|
}, 8, ["data", "loading"])
|
|
165
165
|
]),
|
|
166
|
-
|
|
166
|
+
s.value ? (N(), G(H, {
|
|
167
167
|
key: 0,
|
|
168
168
|
ref: "xmodal",
|
|
169
169
|
record: a.value,
|
|
170
170
|
items: O,
|
|
171
171
|
width: "400",
|
|
172
172
|
height: "280",
|
|
173
|
-
"data-status":
|
|
173
|
+
"data-status": i.value,
|
|
174
174
|
title: e.$t("message.title.dictInfo", { name: e.record.dictName }),
|
|
175
|
-
onClose: o[0] || (o[0] = (l) =>
|
|
175
|
+
onClose: o[0] || (o[0] = (l) => s.value = !1),
|
|
176
176
|
onConfirm: z
|
|
177
177
|
}, null, 8, ["record", "data-status", "title"])) : K("", !0)
|
|
178
178
|
]),
|
|
@@ -183,5 +183,5 @@ const Y = { class: "u-dict-config_wrapper" }, Z = { style: { margin: "10px" } },
|
|
|
183
183
|
}
|
|
184
184
|
});
|
|
185
185
|
export {
|
|
186
|
-
|
|
186
|
+
de as _
|
|
187
187
|
};
|
|
@@ -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 { e as $, q as f } from "./index-DVARtten.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
|
-
import { defineComponent as _, ref as d, createVNode as
|
|
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 q } from "@utogether/utils";
|
|
4
|
+
import { q as x } from "./index-DVARtten.js";
|
|
5
|
+
const b = {
|
|
6
6
|
name: "CodeRule"
|
|
7
7
|
}, V = /* @__PURE__ */ _({
|
|
8
|
-
...
|
|
8
|
+
...b,
|
|
9
9
|
setup(y) {
|
|
10
|
-
const e =
|
|
10
|
+
const e = q(), 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
|
}, {
|
|
@@ -47,7 +47,7 @@ const q = {
|
|
|
47
47
|
row: t
|
|
48
48
|
}) => {
|
|
49
49
|
const r = t.haveBeenUsed === "Y" ? "look" : "encode", a = t.haveBeenUsed === "Y" ? "info" : "primary";
|
|
50
|
-
return [
|
|
50
|
+
return [m(i("ut-button"), {
|
|
51
51
|
content: r,
|
|
52
52
|
status: a,
|
|
53
53
|
onTap: () => v(t)
|
|
@@ -114,19 +114,18 @@ const q = {
|
|
|
114
114
|
async function h({
|
|
115
115
|
row: t
|
|
116
116
|
}) {
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
!r && i.value.refreshData();
|
|
117
|
+
const [r] = await U(x().put(u, t));
|
|
118
|
+
!r && s.value.refreshData();
|
|
120
119
|
}
|
|
121
120
|
return (t, r) => {
|
|
122
|
-
const a =
|
|
123
|
-
return
|
|
121
|
+
const a = i("ut-grid"), R = i("ut-modal-grid");
|
|
122
|
+
return c(), k("div", null, [m(a, {
|
|
124
123
|
ref_key: "xgrid",
|
|
125
|
-
ref:
|
|
124
|
+
ref: s,
|
|
126
125
|
items: f,
|
|
127
126
|
columns: p,
|
|
128
127
|
url: u
|
|
129
|
-
}, null, 512), l.value ? (
|
|
128
|
+
}, null, 512), l.value ? (c(), C(R, {
|
|
130
129
|
key: 0,
|
|
131
130
|
ref: "xmgrid",
|
|
132
131
|
"default-value": n.value,
|
package/dist/core.es.js
CHANGED
|
@@ -1,13 +1,16 @@
|
|
|
1
|
-
import { L as t,
|
|
1
|
+
import { L as t, G as a, C as r, q as o, w as u, H as i, J as n, M as l, K as S, s as d, u as f, d as m, e as R } from "./index-DVARtten.js";
|
|
2
2
|
export {
|
|
3
|
-
t as
|
|
4
|
-
a as
|
|
5
|
-
r as
|
|
6
|
-
o as
|
|
3
|
+
t as constantRoutes,
|
|
4
|
+
a as default,
|
|
5
|
+
r as delCurrentRoute,
|
|
6
|
+
o as getServiceApi,
|
|
7
|
+
u as handleAliveRoute,
|
|
7
8
|
i as hasAuthority,
|
|
8
|
-
|
|
9
|
-
l as
|
|
10
|
-
S as
|
|
11
|
-
d as
|
|
12
|
-
|
|
9
|
+
n as lifeCycleEvent,
|
|
10
|
+
l as remainingRouters,
|
|
11
|
+
S as routerBefore,
|
|
12
|
+
d as store,
|
|
13
|
+
f as useMultiTagsStore,
|
|
14
|
+
m as usePermissionStore,
|
|
15
|
+
R as useSystemStore
|
|
13
16
|
};
|
|
@@ -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 { q as y } from "./index-DVARtten.js";
|
|
5
|
+
import { useRender as S, successMessage as q } from "@utogether/utils";
|
|
6
|
+
const D = {
|
|
7
7
|
name: "CronTask"
|
|
8
8
|
}, H = /* @__PURE__ */ k({
|
|
9
|
-
...
|
|
10
|
-
setup(
|
|
9
|
+
...D,
|
|
10
|
+
setup(E) {
|
|
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 E = {
|
|
|
70
70
|
content: "taskLog",
|
|
71
71
|
status: "info",
|
|
72
72
|
icon: "ri-file-line",
|
|
73
|
-
onTap: () =>
|
|
73
|
+
onTap: () => w(e)
|
|
74
74
|
}, null)])];
|
|
75
75
|
}
|
|
76
76
|
}
|
|
@@ -83,9 +83,9 @@ const E = {
|
|
|
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 || (q(), u.value.refreshData());
|
|
87
87
|
}
|
|
88
|
-
},
|
|
88
|
+
}, j = [
|
|
89
89
|
// { field: 'jobName', width: 140 },
|
|
90
90
|
{
|
|
91
91
|
field: "startTime",
|
|
@@ -102,7 +102,7 @@ const E = {
|
|
|
102
102
|
{
|
|
103
103
|
field: "errorMessage"
|
|
104
104
|
}
|
|
105
|
-
],
|
|
105
|
+
], w = (e) => {
|
|
106
106
|
c.value = {
|
|
107
107
|
jobId: e.id
|
|
108
108
|
}, i.value = !0;
|
|
@@ -119,13 +119,13 @@ const E = {
|
|
|
119
119
|
key: 0,
|
|
120
120
|
ref: "xmgrid",
|
|
121
121
|
"default-params": c.value,
|
|
122
|
-
columns:
|
|
122
|
+
columns: j,
|
|
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] = (L) => i.value = !1)
|
|
129
129
|
}, null, 8, ["default-params", "title"])) : R("", !0)]);
|
|
130
130
|
};
|
|
131
131
|
}
|
|
@@ -1,34 +1,35 @@
|
|
|
1
|
-
import { defineComponent as _, ref as r, unref as a, onMounted as d, resolveDirective as
|
|
2
|
-
import {
|
|
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
|
+
import { useRoute as E } from "vue-router";
|
|
3
|
+
import { _ as R } from "./index-DVARtten.js";
|
|
3
4
|
const w = { class: "frame" }, S = ["src"], V = /* @__PURE__ */ _({
|
|
4
5
|
__name: "frameView",
|
|
5
6
|
setup(B) {
|
|
6
|
-
var
|
|
7
|
-
const t = r(!1), o = E(), c = r(""),
|
|
8
|
-
(
|
|
9
|
-
function
|
|
7
|
+
var s, m;
|
|
8
|
+
const t = r(!1), o = E(), c = r(""), i = r(null);
|
|
9
|
+
(s = a(o.meta)) != null && s.frameSrc && (c.value = (m = a(o.meta)) == null ? void 0 : m.frameSrc);
|
|
10
|
+
function f() {
|
|
10
11
|
t.value = !1;
|
|
11
12
|
}
|
|
12
13
|
function l() {
|
|
13
14
|
x(() => {
|
|
14
|
-
const e = a(
|
|
15
|
+
const e = a(i);
|
|
15
16
|
if (!e) return;
|
|
16
17
|
const n = e;
|
|
17
18
|
n.attachEvent ? n.attachEvent("onload", () => {
|
|
18
|
-
|
|
19
|
+
f();
|
|
19
20
|
}) : e.onload = () => {
|
|
20
|
-
|
|
21
|
+
f();
|
|
21
22
|
};
|
|
22
23
|
});
|
|
23
24
|
}
|
|
24
25
|
return d(() => {
|
|
25
26
|
t.value = !0, l();
|
|
26
27
|
}), (e, n) => {
|
|
27
|
-
const u =
|
|
28
|
-
return
|
|
28
|
+
const u = p("spinning");
|
|
29
|
+
return v((g(), h("div", w, [
|
|
29
30
|
k("iframe", {
|
|
30
31
|
ref_key: "frameRef",
|
|
31
|
-
ref:
|
|
32
|
+
ref: i,
|
|
32
33
|
src: c.value,
|
|
33
34
|
class: "frame-iframe"
|
|
34
35
|
}, null, 8, S)
|
|
@@ -37,7 +38,7 @@ const w = { class: "frame" }, S = ["src"], V = /* @__PURE__ */ _({
|
|
|
37
38
|
]);
|
|
38
39
|
};
|
|
39
40
|
}
|
|
40
|
-
}),
|
|
41
|
+
}), I = /* @__PURE__ */ R(V, [["__scopeId", "data-v-c2f5c865"]]);
|
|
41
42
|
export {
|
|
42
|
-
|
|
43
|
+
I as default
|
|
43
44
|
};
|