@utogether/udp-core 2.0.0-beta.5 → 2.0.0-beta.7
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-y4Id7pky.js → 403-CNiAnTla.js} +1 -1
- package/dist/{404-DdxstlUr.js → 404-BHi3Ej7Z.js} +1 -1
- package/dist/{500-BpsDn21g.js → 500-CTYskumb.js} +1 -1
- package/dist/{AuthorityInfo-0CnlrZVd.js → AuthorityInfo-BjKduzRg.js} +1 -1
- package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-D5cXM84w.js → AuthorityInfo.vue_vue_type_style_index_0_lang-CEekMsFF.js} +1 -1
- package/dist/{Company-BPAqJfZm.js → Company-B1xm0v-1.js} +3 -3
- package/dist/{CompanyPanel-CCeM96w4.js → CompanyPanel-Bk3gucNe.js} +1 -1
- package/dist/{Department-BsLrIIrS.js → Department-Cd8zo-JT.js} +3 -3
- package/dist/{DepartmentPanel-B2YqwLmq.js → DepartmentPanel-ePvnyT6M.js} +1 -1
- package/dist/{DesignPanel-CVSOCMvU.js → DesignPanel--qm9mgjH.js} +1 -1
- package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-Dte8DQnU.js → DesignPanel.vue_vue_type_style_index_0_lang-pZYzFbq4.js} +2 -2
- package/dist/{DictView-CKVpPtFg.js → DictView-B0NgfU0j.js} +10 -10
- package/dist/{InvOrganization-BBODO8aK.js → InvOrganization-BE1g-iwW.js} +1 -1
- package/dist/{Org-BYRi0OAt.js → Org-B3VzhliT.js} +1 -1
- package/dist/{Preview-COI8NwWh.js → Preview-Ch-MYGp4.js} +1 -1
- package/dist/{ReportDefine-Dbh_8ykf.js → ReportDefine-CUuKlZ3p.js} +1 -1
- package/dist/{ReportDesign-DOeKYL9V.js → ReportDesign-Bq_rcYCK.js} +2 -2
- package/dist/{ReportQuery-Bb4r9lNR.js → ReportQuery-BRSA-lSg.js} +1 -1
- package/dist/{ReportQueryFrom-CavcWtL3.js → ReportQueryFrom-b0Lxvnhp.js} +1 -1
- package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-tuLRWEK9.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-R_mfmI7C.js} +1 -1
- package/dist/{ReportTemplate-C9NzPxM4.js → ReportTemplate-CZ8LChJM.js} +1 -1
- package/dist/{Role-Bqt4d9Lz.js → Role-mezU2yUG.js} +3 -3
- package/dist/{RoleAssign-CWcytVz3.js → RoleAssign-C23uEQ_b.js} +3 -3
- package/dist/{RolePanel-DlU0aCnL.js → RolePanel-7iBT-us-.js} +1 -1
- package/dist/{RolePanel-Di5nsMqt.js → RolePanel-BLML9HOE.js} +1 -1
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-hzbUepuW.js → RolePanel.vue_vue_type_script_setup_true_lang-C5T9Unjq.js} +1 -1
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-BOq0iJsT.js → RolePanel.vue_vue_type_script_setup_true_lang-Dxc4V1V8.js} +3 -3
- package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-Bg3rg4P4.js → ScrollPanel.vue_vue_type_style_index_0_lang-DF9mIgWs.js} +32 -31
- package/dist/Staff-B2bI3_H2.js +26 -0
- package/dist/{StaffInfo-C6lDK0S_.js → StaffInfo-CIAehJfI.js} +1 -1
- package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-YRJm87-b.js → StaffInfo.vue_vue_type_script_setup_true_lang-D9VkkiTZ.js} +1 -1
- package/dist/{StaffPanel-WNpg0HWl.js → StaffPanel-dXSv0PI3.js} +1 -1
- package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-azLpvFRo.js → StaffPanel.vue_vue_type_script_setup_true_lang-DoU9krA4.js} +61 -49
- package/dist/{SysUser-Dph6Qi_a.js → SysUser-DxKpVGLT.js} +2 -2
- package/dist/{SysUserPanel-Iz024NS_.js → SysUserPanel-Ci_Ep8mq.js} +1 -1
- package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-D8GUQHic.js → SysUserPanel.vue_vue_type_script_setup_true_lang-gzipEh3A.js} +1 -1
- package/dist/{SystemMenu-6mTYGwbK.js → SystemMenu-B_VBlI1Z.js} +2 -2
- package/dist/{UserInfo-RQ7VgSbk.js → UserInfo-DF0fggCn.js} +1 -1
- package/dist/{UserInfo.vue_vue_type_style_index_0_lang-BYp2-i9R.js → UserInfo.vue_vue_type_style_index_0_lang-b-DOPLHD.js} +1 -1
- package/dist/{childView-B8L4By2o.js → childView-62rEczLw.js} +1 -1
- package/dist/{childView-nCa8t4tr.js → childView-DhDitM7p.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-DDx9z61J.js → childView.vue_vue_type_style_index_0_lang-DwtD74xk.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-Bl1MzDS9.js → childView.vue_vue_type_style_index_0_lang-b5hnKDbO.js} +26 -23
- package/dist/{code-rule-8dQLPHni.js → code-rule-CabvTCWH.js} +1 -1
- package/dist/core.es.js +1 -1
- package/dist/{cron-task-aDBWT_Uh.js → cron-task-DXfxcgr-.js} +1 -1
- package/dist/{frameView-DM3flfo5.js → frameView-DkFBCQIT.js} +1 -1
- package/dist/{index-ClHeZ3q4.js → index-D7hSr6Dw.js} +1211 -1201
- package/dist/{layout-home-DNPOu6R4.js → layout-home-B7Ex_WUd.js} +11 -11
- package/dist/{layoutView-Ymyja_uK.js → layoutView-DB70tHmm.js} +1 -1
- package/dist/{log-in-DtHf5ZcG.js → log-in-D28_avjb.js} +1 -1
- package/dist/{log-out-DZ8OkPM6.js → log-out-CnWdyT-h.js} +1 -1
- package/dist/{login-CoX7TNHE.js → login-BDFcVdJO.js} +1 -1
- package/dist/{login-log-DJBGJVV0.js → login-log-BEHYT0v0.js} +5 -5
- package/dist/{lov-view-BWtIPBNm.js → lov-view-DBxWS8bR.js} +2 -2
- package/dist/{menuInfo-wG5Zt00s.js → menuInfo-CznLhoJE.js} +1 -1
- package/dist/{menuInfo.vue_vue_type_style_index_0_lang-DiPeALce.js → menuInfo.vue_vue_type_style_index_0_lang-Dxu9tvz9.js} +1 -1
- package/dist/{pda-app-9b3JC2he.js → pda-app-BWJOH5h6.js} +1 -1
- package/dist/{resource-DiHXYgfm.js → resource-_ZAigzWr.js} +1 -1
- package/dist/{su-welcome-COvSPTOW.js → su-welcome-B4Y3rNQi.js} +352 -344
- package/dist/{sys-config-Mm50Y0LQ.js → sys-config-Bm0r674r.js} +1 -1
- package/dist/udp-core.css +1 -1
- package/package.json +1 -1
- package/src/components/SuScrollTree/ScrollPanel.vue +176 -170
- package/src/components/udp/form-upload/form-upload.vue +496 -492
- package/src/components/udp/utils.ts +414 -408
- package/src/plugins/i18n/zh.ts +2 -0
- package/src/plugins/vxe-table/render.tsx +995 -968
- package/src/views/organization/staff/Staff.vue +59 -58
- package/src/views/organization/staff/StaffPanel.vue +17 -3
- package/src/views/system/layout/layout-home.vue +3 -3
- package/src/views/udev/dict/DictView.vue +118 -118
- package/src/views/udev/dict/childView.vue +185 -184
- package/src/views/ufile/aggregation/File.vue +1 -3
- package/src/views/uhome/components/home-todo.vue +10 -5
- package/src/views/uhome/su-welcome.vue +2 -2
- package/src/views/upms/user/login-log.vue +2 -2
- package/vite.config.ts +83 -83
- package/dist/Staff-DXr2Ka1N.js +0 -25
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useI18n as
|
|
3
|
-
import { clone as
|
|
4
|
-
import { warnMessage as
|
|
5
|
-
import { _ as
|
|
6
|
-
import { y as d } from "./index-
|
|
7
|
-
import { VxeUI as
|
|
8
|
-
import { t as
|
|
1
|
+
import { defineComponent as S, ref as N, inject as B, reactive as D, watch as L, nextTick as U, resolveComponent as c, createElementBlock as I, openBlock as i, createVNode as s, createBlock as M, createCommentVNode as A, Fragment as P } from "vue";
|
|
2
|
+
import { useI18n as V } from "vue-i18n";
|
|
3
|
+
import { clone as R } from "xe-utils";
|
|
4
|
+
import { warnMessage as T } from "@utogether/utils";
|
|
5
|
+
import { _ as Y } from "./StaffInfo.vue_vue_type_script_setup_true_lang-D9VkkiTZ.js";
|
|
6
|
+
import { y as d } from "./index-D7hSr6Dw.js";
|
|
7
|
+
import { VxeUI as O } from "vxe-pc-ui";
|
|
8
|
+
import { t as l } from "./await-to-js.es5-Bv3Eu4mi.js";
|
|
9
9
|
const j = {
|
|
10
10
|
class: "page-content"
|
|
11
|
-
},
|
|
11
|
+
}, u = "/uums/employee", W = /* @__PURE__ */ S({
|
|
12
12
|
__name: "StaffPanel",
|
|
13
13
|
setup(q) {
|
|
14
|
-
const o =
|
|
15
|
-
t:
|
|
16
|
-
} =
|
|
14
|
+
const o = N(null), {
|
|
15
|
+
t: m
|
|
16
|
+
} = V(), n = B("active"), t = D({
|
|
17
17
|
record: {},
|
|
18
18
|
showModelView: !1,
|
|
19
19
|
fetchExtParam: {}
|
|
20
20
|
});
|
|
21
|
-
|
|
21
|
+
L(() => n.value, (e) => {
|
|
22
22
|
t.fetchExtParam = {
|
|
23
|
-
departmentId: null
|
|
24
|
-
},
|
|
23
|
+
departmentId: e == null ? void 0 : e.id
|
|
24
|
+
}, U(() => {
|
|
25
25
|
o.value.refreshData();
|
|
26
26
|
});
|
|
27
27
|
});
|
|
28
|
-
const
|
|
28
|
+
const f = [{
|
|
29
29
|
code: "sync",
|
|
30
30
|
auth: "wechat",
|
|
31
31
|
status: "success",
|
|
@@ -40,14 +40,19 @@ const j = {
|
|
|
40
40
|
auth: "OA",
|
|
41
41
|
status: "success",
|
|
42
42
|
icon: "ri-refresh-line"
|
|
43
|
+
}, {
|
|
44
|
+
code: "bindUser",
|
|
45
|
+
auth: "bind",
|
|
46
|
+
status: "warning",
|
|
47
|
+
icon: "ri-bring-to-front"
|
|
43
48
|
}, {
|
|
44
49
|
code: "del",
|
|
45
50
|
auth: "/"
|
|
46
|
-
}],
|
|
51
|
+
}], p = [{
|
|
47
52
|
field: "employeeCode"
|
|
48
53
|
}, {
|
|
49
54
|
field: "employeeName"
|
|
50
|
-
}],
|
|
55
|
+
}], h = [{
|
|
51
56
|
type: "checkbox",
|
|
52
57
|
width: 50,
|
|
53
58
|
align: "center"
|
|
@@ -72,20 +77,20 @@ const j = {
|
|
|
72
77
|
default: ({
|
|
73
78
|
row: e
|
|
74
79
|
}) => {
|
|
75
|
-
const a = ["1", "Y"].includes(e.enabled) ? "disabled" : "enable",
|
|
76
|
-
return [s(
|
|
80
|
+
const a = ["1", "Y"].includes(e.enabled) ? "disabled" : "enable", r = ["1", "Y"].includes(e.enabled) ? "ri-stop-circle-fill" : "ri-play-circle-fill", C = ["1", "Y"].includes(e.enabled) ? "warning" : "success";
|
|
81
|
+
return [s(P, null, [s(c("ut-button"), {
|
|
77
82
|
icon: "ri-edit-box-line",
|
|
78
83
|
content: "edit",
|
|
79
|
-
onTap: () =>
|
|
80
|
-
}, null), s(
|
|
81
|
-
icon:
|
|
84
|
+
onTap: () => b(e)
|
|
85
|
+
}, null), s(c("ut-button"), {
|
|
86
|
+
icon: r,
|
|
82
87
|
content: a,
|
|
83
|
-
status:
|
|
88
|
+
status: C,
|
|
84
89
|
onTap: () => v(e)
|
|
85
90
|
}, null)])];
|
|
86
91
|
}
|
|
87
92
|
}
|
|
88
|
-
}],
|
|
93
|
+
}], g = {
|
|
89
94
|
toolbarButtonClick({
|
|
90
95
|
code: e
|
|
91
96
|
}) {
|
|
@@ -94,50 +99,57 @@ const j = {
|
|
|
94
99
|
}, y = () => {
|
|
95
100
|
var e, a;
|
|
96
101
|
if (!((e = n.value) != null && e.deptName))
|
|
97
|
-
return
|
|
102
|
+
return T("请先选择部门");
|
|
98
103
|
t.dataStatus = "add", t.record = {}, t.record.departmentId = (a = n.value) == null ? void 0 : a.id, t.record.deptName = n.value.deptName, t.record.enabled = "1", t.showModelView = !0;
|
|
99
|
-
},
|
|
104
|
+
}, b = (e) => {
|
|
100
105
|
t.dataStatus = "update", t.record = e, t.showModelView = !0;
|
|
101
106
|
}, v = async (e) => {
|
|
102
|
-
const a =
|
|
103
|
-
o.value.showLoading(), a.enabled = a.enabled === "1" ? "0" : "1", await d().put(
|
|
104
|
-
},
|
|
105
|
-
if (await
|
|
107
|
+
const a = R(e, !0);
|
|
108
|
+
o.value.showLoading(), a.enabled = a.enabled === "1" ? "0" : "1", await d().put(u, a), o.value.hiddenLoading(), o.value.refreshData();
|
|
109
|
+
}, w = async () => {
|
|
110
|
+
if (await O.modal.confirm(m("message.tip.confirmSync")) !== "confirm") return;
|
|
111
|
+
o.value.showLoading();
|
|
112
|
+
const [a] = await l(d().post("/uums/employee/syncEwEmp", {}));
|
|
113
|
+
o.value.hiddenLoading(), !a && o.value.refreshData();
|
|
114
|
+
}, _ = async () => {
|
|
115
|
+
const e = o.value.getInstance().getCheckboxRecords();
|
|
116
|
+
if (!e.length)
|
|
117
|
+
return;
|
|
106
118
|
o.value.showLoading();
|
|
107
|
-
const [a] = await
|
|
119
|
+
const [a] = await l(d().post("/uums/employee/bindUser", e));
|
|
108
120
|
o.value.hiddenLoading(), !a && o.value.refreshData();
|
|
109
|
-
},
|
|
110
|
-
e === "sync" &&
|
|
111
|
-
},
|
|
121
|
+
}, k = (e) => {
|
|
122
|
+
e === "sync" && w(), e === "bindUser" && _();
|
|
123
|
+
}, x = {
|
|
112
124
|
querySuccess: (e) => {
|
|
113
125
|
}
|
|
114
|
-
},
|
|
126
|
+
}, E = () => {
|
|
115
127
|
t.showModelView = !1, o.value.refreshData();
|
|
116
128
|
};
|
|
117
129
|
return (e, a) => {
|
|
118
|
-
const
|
|
119
|
-
return
|
|
130
|
+
const r = c("ut-grid");
|
|
131
|
+
return i(), I("div", j, [s(r, {
|
|
120
132
|
ref_key: "xgrid",
|
|
121
133
|
ref: o,
|
|
122
|
-
items:
|
|
123
|
-
columns:
|
|
134
|
+
items: p,
|
|
135
|
+
columns: h,
|
|
124
136
|
"default-params": t.fetchExtParam,
|
|
125
|
-
events:
|
|
137
|
+
events: g,
|
|
126
138
|
"auto-load": !1,
|
|
127
|
-
buttons:
|
|
128
|
-
url:
|
|
129
|
-
callback:
|
|
139
|
+
buttons: f,
|
|
140
|
+
url: u,
|
|
141
|
+
callback: x,
|
|
130
142
|
mode: "form",
|
|
131
|
-
onButtonClick:
|
|
132
|
-
}, null, 8, ["default-params"]), t.showModelView ? (
|
|
143
|
+
onButtonClick: k
|
|
144
|
+
}, null, 8, ["default-params"]), t.showModelView ? (i(), M(Y, {
|
|
133
145
|
key: 0,
|
|
134
146
|
record: t.record,
|
|
135
147
|
"data-status": t.dataStatus,
|
|
136
|
-
onOnClose:
|
|
137
|
-
}, null, 8, ["record", "data-status"])) :
|
|
148
|
+
onOnClose: E
|
|
149
|
+
}, null, 8, ["record", "data-status"])) : A("", !0)]);
|
|
138
150
|
};
|
|
139
151
|
}
|
|
140
152
|
});
|
|
141
153
|
export {
|
|
142
|
-
|
|
154
|
+
W as _
|
|
143
155
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as t, ref as o, provide as s, createElementBlock as r, openBlock as c, createVNode as _ } from "vue";
|
|
2
|
-
import { _ as n } from "./SysUserPanel.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { _ as a } from "./index-
|
|
2
|
+
import { _ as n } from "./SysUserPanel.vue_vue_type_script_setup_true_lang-gzipEh3A.js";
|
|
3
|
+
import { _ as a } from "./index-D7hSr6Dw.js";
|
|
4
4
|
const p = { class: "u-content-panel1" }, i = /* @__PURE__ */ t({
|
|
5
5
|
__name: "SysUser",
|
|
6
6
|
setup(m) {
|
|
@@ -4,7 +4,7 @@ import { t as M } from "./await-to-js.es5-Bv3Eu4mi.js";
|
|
|
4
4
|
import { useRender as fe, warnMessage as pe, delay as ge, errorMessage as he, getDictChildren as we } from "@utogether/utils";
|
|
5
5
|
import { VxeUI as _ } from "vxe-pc-ui";
|
|
6
6
|
import { clone as U, isEmpty as ve } from "xe-utils";
|
|
7
|
-
import { y as _e } from "./index-
|
|
7
|
+
import { y as _e } from "./index-D7hSr6Dw.js";
|
|
8
8
|
const ye = {
|
|
9
9
|
class: "page"
|
|
10
10
|
}, i = "/uums/user", xe = /* @__PURE__ */ re({
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as k, reactive as S, ref as D, createVNode as o, resolveComponent as i, Fragment as h, createElementBlock as A, openBlock 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-Dxu9tvz9.js";
|
|
4
4
|
import { _ as P } from "./AuthorityPanel.vue_vue_type_style_index_0_lang-DxhZjp1S.js";
|
|
5
5
|
import { clone as f } from "xe-utils";
|
|
6
6
|
import { t as R } from "./await-to-js.es5-Bv3Eu4mi.js";
|
|
7
7
|
import { VxeUI as M } from "vxe-pc-ui";
|
|
8
8
|
import { useRender as U } from "@utogether/utils";
|
|
9
|
-
import { y as W } from "./index-
|
|
9
|
+
import { y as W } from "./index-D7hSr6Dw.js";
|
|
10
10
|
const B = {
|
|
11
11
|
class: "page-content"
|
|
12
12
|
}, L = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
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
2
|
import { t as S } from "./await-to-js.es5-Bv3Eu4mi.js";
|
|
3
|
-
import { y as V } from "./index-
|
|
3
|
+
import { y as V } from "./index-D7hSr6Dw.js";
|
|
4
4
|
const q = { class: "u-dict-config_wrapper" }, D = /* @__PURE__ */ R({
|
|
5
5
|
__name: "UserInfo",
|
|
6
6
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as V, ref as a, resolveComponent as o, resolveDirective as F, createElementBlock as w, openBlock as _, createVNode as d, withCtx as c, withDirectives as W } from "vue";
|
|
2
2
|
import { t as u } from "./await-to-js.es5-Bv3Eu4mi.js";
|
|
3
3
|
import { useRender as P } from "@utogether/utils";
|
|
4
|
-
import { i as $, y as f } from "./index-
|
|
4
|
+
import { i as $, y as f } from "./index-D7hSr6Dw.js";
|
|
5
5
|
const x = { class: "ut-loview-wrapper" }, B = "/upfm/v1/lovViewHeader", p = "/upfm/v1/lovViewLine", G = /* @__PURE__ */ V({
|
|
6
6
|
__name: "childView",
|
|
7
7
|
props: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as S, ref as l, resolveComponent as
|
|
1
|
+
import { defineComponent as S, ref as l, resolveComponent as a, createElementBlock as E, openBlock as m, 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
3
|
import { t as F } from "./await-to-js.es5-Bv3Eu4mi.js";
|
|
4
4
|
import { VxeUI as M } from "vxe-pc-ui";
|
|
5
5
|
import { useRender as O, successMessage as f } from "@utogether/utils";
|
|
6
|
-
import { y as p, i as g } from "./index-
|
|
6
|
+
import { y as p, i as g } from "./index-D7hSr6Dw.js";
|
|
7
7
|
import { clone as j } from "xe-utils";
|
|
8
8
|
const G = {
|
|
9
9
|
class: "u-dict-config_wrapper"
|
|
@@ -24,7 +24,7 @@ const G = {
|
|
|
24
24
|
}) {
|
|
25
25
|
const w = v, y = O(), {
|
|
26
26
|
t: _
|
|
27
|
-
} = z(),
|
|
27
|
+
} = z(), d = l(!1), i = l(null), s = l(null), t = l({}), o = l("add"), k = window.innerHeight - 70, I = [{
|
|
28
28
|
field: "dictCode",
|
|
29
29
|
title: "message.udp.dictCode",
|
|
30
30
|
required: !0,
|
|
@@ -35,7 +35,7 @@ const G = {
|
|
|
35
35
|
required: !0
|
|
36
36
|
}, {
|
|
37
37
|
field: "dictDesc",
|
|
38
|
-
title: "message.
|
|
38
|
+
title: "message.udp.dictDesc"
|
|
39
39
|
}, {
|
|
40
40
|
field: "remarks",
|
|
41
41
|
title: "message.remark"
|
|
@@ -50,22 +50,22 @@ const G = {
|
|
|
50
50
|
slots: {
|
|
51
51
|
default: ({
|
|
52
52
|
row: e
|
|
53
|
-
}) => [n($, null, [n(
|
|
53
|
+
}) => [n($, null, [n(a("ut-button"), {
|
|
54
54
|
content: "add",
|
|
55
55
|
status: "warning",
|
|
56
56
|
auth: "edit",
|
|
57
57
|
icon: "ri-add-line",
|
|
58
|
-
onTap: () =>
|
|
59
|
-
}, null), n(
|
|
58
|
+
onTap: () => D(e)
|
|
59
|
+
}, null), n(a("ut-button"), {
|
|
60
60
|
content: "edit",
|
|
61
61
|
status: "primary",
|
|
62
62
|
auth: "edit",
|
|
63
|
-
onTap: () =>
|
|
64
|
-
}, null), n(
|
|
63
|
+
onTap: () => V(e)
|
|
64
|
+
}, null), n(a("ut-button"), {
|
|
65
65
|
content: "del",
|
|
66
66
|
status: "danger",
|
|
67
67
|
auth: "del",
|
|
68
|
-
onTap: () =>
|
|
68
|
+
onTap: () => B(e)
|
|
69
69
|
}, null)])]
|
|
70
70
|
}
|
|
71
71
|
}], b = [{
|
|
@@ -78,6 +78,9 @@ const G = {
|
|
|
78
78
|
required: !0
|
|
79
79
|
}, {
|
|
80
80
|
field: "dictDesc",
|
|
81
|
+
title: "message.udp.dictDesc"
|
|
82
|
+
}, {
|
|
83
|
+
field: "remarks",
|
|
81
84
|
title: "message.remark"
|
|
82
85
|
}, {
|
|
83
86
|
field: "enabled",
|
|
@@ -87,20 +90,20 @@ const G = {
|
|
|
87
90
|
defaultValue: "1"
|
|
88
91
|
})
|
|
89
92
|
}], N = () => {
|
|
90
|
-
|
|
93
|
+
d.value = !0, o.value = "add", t.value = {
|
|
91
94
|
enabled: "1",
|
|
92
95
|
parentId: w.record.id
|
|
93
96
|
};
|
|
94
|
-
},
|
|
95
|
-
|
|
97
|
+
}, D = (e) => {
|
|
98
|
+
d.value = !0, o.value = "add", t.value = {
|
|
96
99
|
enabled: "1",
|
|
97
100
|
parentId: e.id
|
|
98
101
|
};
|
|
99
|
-
},
|
|
102
|
+
}, B = async (e) => {
|
|
100
103
|
await M.modal.confirm(_("message.delRecord")) === "confirm" && (await p().delete(h, [e]), f(), i.value.refreshData());
|
|
101
|
-
},
|
|
102
|
-
|
|
103
|
-
},
|
|
104
|
+
}, V = async (e) => {
|
|
105
|
+
d.value = !0, o.value = "edit", t.value = j(e, !0);
|
|
106
|
+
}, x = async () => {
|
|
104
107
|
const e = {
|
|
105
108
|
...t.value,
|
|
106
109
|
orgId: g().getOrgId,
|
|
@@ -109,7 +112,7 @@ const G = {
|
|
|
109
112
|
s.value.showLoading();
|
|
110
113
|
const r = o.value === "add" ? "post" : "put", [u] = await F(p()[r](h, [e]));
|
|
111
114
|
if (s.value.hiddenLoading(), !u) {
|
|
112
|
-
if (
|
|
115
|
+
if (d.value = o.value !== "edit", o.value === "add") {
|
|
113
116
|
const c = t.value.parentId;
|
|
114
117
|
t.value = {
|
|
115
118
|
enabled: "1",
|
|
@@ -125,7 +128,7 @@ const G = {
|
|
|
125
128
|
A("onClose");
|
|
126
129
|
}
|
|
127
130
|
return (e, r) => {
|
|
128
|
-
const u =
|
|
131
|
+
const u = a("ut-grid"), c = a("ut-modal-form"), R = a("vxe-drawer");
|
|
129
132
|
return m(), E("div", G, [n(R, {
|
|
130
133
|
"model-value": e.show,
|
|
131
134
|
title: e.$t("message.title.dictList", {
|
|
@@ -155,20 +158,20 @@ const G = {
|
|
|
155
158
|
url: "/upfm/v1/lov/children",
|
|
156
159
|
mode: "form",
|
|
157
160
|
onButtonClick: q
|
|
158
|
-
}, null, 8, ["default-params"]),
|
|
161
|
+
}, null, 8, ["default-params"]), d.value ? (m(), H(c, {
|
|
159
162
|
key: 0,
|
|
160
163
|
ref_key: "xmodal",
|
|
161
164
|
ref: s,
|
|
162
165
|
record: t.value,
|
|
163
166
|
items: b,
|
|
164
167
|
width: "400",
|
|
165
|
-
height: "
|
|
168
|
+
height: "320",
|
|
166
169
|
"data-status": o.value,
|
|
167
170
|
title: e.$t("message.title.dictInfo", {
|
|
168
171
|
name: e.record.dictName
|
|
169
172
|
}),
|
|
170
|
-
onClose: r[0] || (r[0] = (J) =>
|
|
171
|
-
onConfirm:
|
|
173
|
+
onClose: r[0] || (r[0] = (J) => d.value = !1),
|
|
174
|
+
onConfirm: x
|
|
172
175
|
}, null, 8, ["record", "data-status", "title"])) : U("", !0)]),
|
|
173
176
|
_: 1
|
|
174
177
|
}, 8, ["model-value", "title"])]);
|
|
@@ -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
2
|
import { t as x } from "./await-to-js.es5-Bv3Eu4mi.js";
|
|
3
3
|
import { useRender as B } from "@utogether/utils";
|
|
4
|
-
import { y as D } from "./index-
|
|
4
|
+
import { y as D } from "./index-D7hSr6Dw.js";
|
|
5
5
|
const I = {
|
|
6
6
|
name: "CodeRule"
|
|
7
7
|
}, M = /* @__PURE__ */ U({
|
package/dist/core.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as a, P as t, J as r, L as o, M as u, U as i, y as n, B as l, E as g, K as c, Q as h, T as m, R as S, s as f, C as y, D as R, c as C, h as P, i as d } from "./index-
|
|
1
|
+
import { S as a, P as t, J as r, L as o, M as u, U as i, y as n, B as l, E as g, K as c, Q as h, T as m, R as S, s as f, C as y, D as R, c as C, h as P, i as d } from "./index-D7hSr6Dw.js";
|
|
2
2
|
export {
|
|
3
3
|
a as constantRoutes,
|
|
4
4
|
t as default,
|
|
@@ -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
3
|
import { t as x } from "./await-to-js.es5-Bv3Eu4mi.js";
|
|
4
|
-
import { y } from "./index-
|
|
4
|
+
import { y } from "./index-D7hSr6Dw.js";
|
|
5
5
|
import { useRender as S, successMessage as D } from "@utogether/utils";
|
|
6
6
|
const E = {
|
|
7
7
|
name: "CronTask"
|
|
@@ -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-D7hSr6Dw.js";
|
|
4
4
|
const w = { class: "frame" }, S = ["src"], V = /* @__PURE__ */ _({
|
|
5
5
|
__name: "frameView",
|
|
6
6
|
setup(B) {
|