@utogether/udp-core 1.0.1-beta.7 → 1.0.1-beta.8
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-BQZ5OAKL.js → 403-Cjzd1bv9.js} +1 -1
- package/dist/{404-H55ex36i.js → 404-CJ-3SXgP.js} +1 -1
- package/dist/{500-bbrspTnK.js → 500-CQ65MvIK.js} +1 -1
- package/dist/{AuthorityInfo-BWni4UPQ.js → AuthorityInfo-BdISFrap.js} +1 -1
- package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-7WtOL6Hs.js → AuthorityInfo.vue_vue_type_style_index_0_lang-DsLG5slc.js} +1 -1
- package/dist/{Company-CuebFrQ0.js → Company-Mj-z1hNb.js} +3 -3
- package/dist/{CompanyPanel-DxPdJs6x.js → CompanyPanel-BNXZ7ER3.js} +1 -1
- package/dist/{Department-D2a6Juur.js → Department-C4ygVbSP.js} +3 -3
- package/dist/{DepartmentPanel-C_s2R9yl.js → DepartmentPanel-Bk96mDlD.js} +1 -1
- package/dist/{DesignPanel-CexZj3HF.js → DesignPanel-Bwx2QwMM.js} +1 -1
- package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-DfmysqwB.js → DesignPanel.vue_vue_type_style_index_0_lang-B3OjJTHG.js} +9 -11
- package/dist/{DictView-C0GS72rG.js → DictView-DE3jnxnq.js} +1 -1
- package/dist/{InvOrganization-a1tQ2CEH.js → InvOrganization-Drce3xUC.js} +1 -1
- package/dist/Org-C42D9lDj.js +39 -0
- package/dist/{Preview-BOv5j9i6.js → Preview-CCXoRvWF.js} +1 -1
- package/dist/{ReportDefine-Dli1Q0TB.js → ReportDefine-BWsExcQU.js} +1 -1
- package/dist/{ReportDesign-zSWkcL_O.js → ReportDesign-BTzpUpGj.js} +2 -2
- package/dist/{ReportQuery-D5r3bvFc.js → ReportQuery-eoSmPXzc.js} +1 -1
- package/dist/{ReportQueryFrom-DiostHrX.js → ReportQueryFrom-D4YlI5jl.js} +1 -1
- package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-Cr2eKMmr.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-DPDGKW9a.js} +1 -1
- package/dist/{ReportTemplate-CYy4cZHQ.js → ReportTemplate-BTa2YWq0.js} +1 -1
- package/dist/{Role-BFQFxfQS.js → Role-BTGB91P1.js} +3 -3
- package/dist/{RoleAssign-BIdWSLTR.js → RoleAssign-BBSY6bYM.js} +3 -3
- package/dist/{RolePanel-KC-UgmtF.js → RolePanel-BaTuyeVC.js} +1 -1
- package/dist/{RolePanel-C7ybSknr.js → RolePanel-DNDI7e0g.js} +1 -1
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-C91CJO4e.js → RolePanel.vue_vue_type_script_setup_true_lang-BCwAp_1a.js} +1 -1
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-C_ZsMf1f.js → RolePanel.vue_vue_type_script_setup_true_lang-QUeAQHrg.js} +3 -3
- package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-botBBgto.js → ScrollPanel.vue_vue_type_style_index_0_lang-nqrbOaQP.js} +1 -1
- package/dist/{Staff-CY0DLsTN.js → Staff-4dbkOqzl.js} +3 -3
- package/dist/{StaffInfo-DA7p265h.js → StaffInfo-xFAMTWgD.js} +1 -1
- package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-f29A44gS.js → StaffInfo.vue_vue_type_script_setup_true_lang-CocRlLsO.js} +1 -1
- package/dist/{StaffPanel-DYP-mMp9.js → StaffPanel-Cx-8MHBz.js} +1 -1
- package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-C0YAG2xV.js → StaffPanel.vue_vue_type_script_setup_true_lang-B3wfpxel.js} +2 -2
- package/dist/{SysUser-FqS3Ctne.js → SysUser-BHpgPXsI.js} +2 -2
- package/dist/{SysUserPanel-C_t6F99T.js → SysUserPanel-DH79Lsnm.js} +1 -1
- package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-CKZjy0OF.js → SysUserPanel.vue_vue_type_script_setup_true_lang-BONl2R1a.js} +43 -43
- package/dist/{SystemMenu-ChFrMzRg.js → SystemMenu-C2JbVgyr.js} +2 -2
- package/dist/{UserInfo-I36LAXVj.js → UserInfo-Efo-_yRo.js} +1 -1
- package/dist/{UserInfo.vue_vue_type_style_index_0_lang-BGY-LYeL.js → UserInfo.vue_vue_type_style_index_0_lang-DnjjBjMU.js} +17 -17
- package/dist/{childView-CYpuOzRx.js → childView-D7U7qh_A.js} +1 -1
- package/dist/{childView-Csnlaqfs.js → childView-wFMGHGiX.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-DNVlDM_a.js → childView.vue_vue_type_style_index_0_lang-Bshn4N8Y.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-B8EnA03l.js → childView.vue_vue_type_style_index_0_lang-w2CkZij-.js} +1 -1
- package/dist/{code-rule-DHBSC5Qp.js → code-rule-B5dIxV6g.js} +1 -1
- package/dist/core.es.js +1 -1
- package/dist/{cron-task-CiI1MFla.js → cron-task-DWGtihrw.js} +1 -1
- package/dist/{frameView-ZWKlbz9p.js → frameView-DF2mXAwO.js} +1 -1
- package/dist/index-VU6c04nN.js +4531 -0
- package/dist/{layoutView-5OsbpP0u.js → layoutView-DUUKW0KX.js} +2 -2
- package/dist/{login-C55sa9gN.js → login-ByEoQ2HH.js} +11 -11
- package/dist/{lov-view-DFfaUQ5m.js → lov-view-DqD__3-w.js} +2 -2
- package/dist/{menuInfo-CZdLtLjN.js → menuInfo-a7jPwS1r.js} +1 -1
- package/dist/{menuInfo.vue_vue_type_style_index_0_lang-DgG0aHRy.js → menuInfo.vue_vue_type_style_index_0_lang-ZzGrkylA.js} +2 -2
- package/dist/{pda-app-fLe8mrx-.js → pda-app-EP9d0Ypd.js} +1 -1
- package/dist/{resource-ohWKO6Fh.js → resource-eughqxkP.js} +1 -1
- package/dist/{su-welcome-_UZTfrXX.js → su-welcome-98GLKyZM.js} +1 -1
- package/dist/{sys-config-DVuBsK7p.js → sys-config-gs16tgwA.js} +1 -1
- package/dist/udp-core.css +2 -2
- package/dist/{utogether-CxobZqGL.js → utogether-C4Dd2epc.js} +1 -1
- package/package.json +1 -1
- package/src/App.vue +1 -6
- package/src/components/SuCharts/src/UserInfo.vue +78 -78
- package/src/components/udp/grid.vue +2 -18
- package/src/components/udp/utils.ts +7 -7
- package/src/plugins/i18n/en.ts +24 -13
- package/src/plugins/i18n/zh.ts +348 -348
- package/src/plugins/vxe-table/index.ts +3 -3
- package/src/plugins/vxe-table/render.tsx +2 -2
- package/src/style/vxetable.scss +293 -287
- package/src/views/organization/org/Org.vue +9 -5
- package/src/views/system/menu/SystemMenu.vue +4 -18
- package/src/views/system/menu/menuInfo.vue +4 -17
- package/src/views/system/role/UserInfo.vue +195 -195
- package/src/views/system/sysUser/SysUserPanel.vue +278 -278
- package/src/views/ulogin/login.vue +1 -5
- package/src/views/urpt/design/DesignPanel.vue +507 -503
- package/dist/Org-DifvzLLy.js +0 -35
- package/dist/index-COBMRlmJ.js +0 -5379
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as z, reactive as G, ref as h, inject as H, createVNode as s, Fragment as U, resolveComponent as l, onMounted as Q, createElementBlock as $, openBlock as v, withCtx as i, createBlock as k, createCommentVNode as J, renderList as K, unref as O } from "vue";
|
|
2
2
|
import { useI18n as W } from "vue-i18n";
|
|
3
|
-
import { t as
|
|
3
|
+
import { t as q } from "./await-to-js.es5-BtRbN2QH.js";
|
|
4
4
|
import { useRender as X, warnMessage as Z, delay as ee, errorMessage as te } from "@utogether/utils";
|
|
5
5
|
import { VxeUI as se } from "vxe-pc-ui";
|
|
6
6
|
import { isEmpty as ae } from "xe-utils";
|
|
7
|
-
import { q as le } from "./index-
|
|
7
|
+
import { q as le } from "./index-VU6c04nN.js";
|
|
8
8
|
const re = {
|
|
9
9
|
class: "page"
|
|
10
|
-
}, u = "/uums/user",
|
|
10
|
+
}, u = "/uums/user", fe = /* @__PURE__ */ z({
|
|
11
11
|
__name: "SysUserPanel",
|
|
12
12
|
setup(oe) {
|
|
13
|
-
const t =
|
|
13
|
+
const t = G({
|
|
14
14
|
record: {},
|
|
15
15
|
listQuery: {},
|
|
16
16
|
dataList: [],
|
|
@@ -22,7 +22,7 @@ const re = {
|
|
|
22
22
|
dataStatus: ""
|
|
23
23
|
}), d = le(), {
|
|
24
24
|
t: r
|
|
25
|
-
} = W(),
|
|
25
|
+
} = W(), L = {
|
|
26
26
|
userName: [{
|
|
27
27
|
required: !0,
|
|
28
28
|
message: `${r("message.required")}${r("message.userCode")}`
|
|
@@ -39,30 +39,30 @@ const re = {
|
|
|
39
39
|
required: !0,
|
|
40
40
|
message: `${r("message.required")}${r("message.userPwd")}`
|
|
41
41
|
}]
|
|
42
|
-
}, c = X(), w = h({}), C =
|
|
42
|
+
}, c = X(), w = h({}), C = H("treeList"), m = h(!1), _ = h(null), I = [{
|
|
43
43
|
field: "name",
|
|
44
|
-
title: "message.userName"
|
|
44
|
+
title: "message.udp.userName"
|
|
45
45
|
}, {
|
|
46
46
|
field: "userName",
|
|
47
|
-
title: "message.userCode"
|
|
47
|
+
title: "message.udp.userCode"
|
|
48
48
|
}], y = [{
|
|
49
49
|
type: "checkbox",
|
|
50
50
|
width: 40,
|
|
51
51
|
align: "center"
|
|
52
52
|
}, {
|
|
53
53
|
field: "userName",
|
|
54
|
-
title: "message.userCode",
|
|
54
|
+
title: "message.udp.userCode",
|
|
55
55
|
required: !0,
|
|
56
56
|
editRender: c.renderInput()
|
|
57
57
|
}, {
|
|
58
58
|
field: "name",
|
|
59
|
-
title: "message.userName",
|
|
59
|
+
title: "message.udp.userName",
|
|
60
60
|
required: !0,
|
|
61
61
|
editRender: c.renderInput()
|
|
62
62
|
}, {
|
|
63
63
|
field: "type",
|
|
64
|
-
title: "message.
|
|
65
|
-
formatter: ["formatDict", "SU.
|
|
64
|
+
title: "message.udp.userType",
|
|
65
|
+
formatter: ["formatDict", "SU.USER.TYPE"],
|
|
66
66
|
editRender: c.renderDict("SU.USER.TYPE")
|
|
67
67
|
}, {
|
|
68
68
|
field: "userPwd",
|
|
@@ -101,7 +101,7 @@ const re = {
|
|
|
101
101
|
async function P({
|
|
102
102
|
row: e
|
|
103
103
|
}) {
|
|
104
|
-
await
|
|
104
|
+
await q(d.put(u, [e])), _.value.refreshData();
|
|
105
105
|
}
|
|
106
106
|
const S = async (e) => {
|
|
107
107
|
var o;
|
|
@@ -115,7 +115,7 @@ const re = {
|
|
|
115
115
|
}, E = async (e) => {
|
|
116
116
|
var g;
|
|
117
117
|
t.roleList = [], t.showAuth = !0, m.value = !0, t.record = e;
|
|
118
|
-
const [a, o] = await
|
|
118
|
+
const [a, o] = await q(d.get(u + "/getUserRole", {
|
|
119
119
|
userName: e.userName
|
|
120
120
|
}));
|
|
121
121
|
m.value = !1, a || (ae(o) ? Z(r("message.tip.emptyAuth")) : t.roleList = (g = o[0]) == null ? void 0 : g.sysMenuExts);
|
|
@@ -125,17 +125,17 @@ const re = {
|
|
|
125
125
|
}) {
|
|
126
126
|
y[1].editRender.props.disabled = !!e.id, y[4].editRender.props.disabled = !!e.id;
|
|
127
127
|
}
|
|
128
|
-
},
|
|
129
|
-
|
|
128
|
+
}, R = h(null), D = () => {
|
|
129
|
+
R.value.validate(async (e) => {
|
|
130
130
|
if (!e) {
|
|
131
131
|
const {
|
|
132
132
|
record: a,
|
|
133
133
|
dataStatus: o
|
|
134
134
|
} = t;
|
|
135
|
-
o === "add" ? await d.post(u, a) : await d.put(u, a),
|
|
135
|
+
o === "add" ? await d.post(u, a) : await d.put(u, a), V();
|
|
136
136
|
}
|
|
137
137
|
});
|
|
138
|
-
},
|
|
138
|
+
}, V = () => {
|
|
139
139
|
t.showModelView = !1;
|
|
140
140
|
}, T = () => {
|
|
141
141
|
d.get("/uums/unit", {
|
|
@@ -149,10 +149,10 @@ const re = {
|
|
|
149
149
|
te("获取租户失败,刷新后重试");
|
|
150
150
|
});
|
|
151
151
|
};
|
|
152
|
-
return
|
|
152
|
+
return Q(() => {
|
|
153
153
|
T();
|
|
154
154
|
}), (e, a) => {
|
|
155
|
-
const o = l("ut-grid"), g = l("vxe-option"), B = l("vxe-select"),
|
|
155
|
+
const o = l("ut-grid"), g = l("vxe-option"), B = l("vxe-select"), p = l("vxe-form-item"), x = l("ut-button"), F = l("vxe-form"), b = l("vxe-modal"), N = l("vxe-column"), Y = l("vxe-table"), j = l("el-tree-v2");
|
|
156
156
|
return v(), $("div", re, [s(o, {
|
|
157
157
|
ref_key: "xgrid",
|
|
158
158
|
ref: _,
|
|
@@ -163,7 +163,7 @@ const re = {
|
|
|
163
163
|
"default-params": w.value,
|
|
164
164
|
"default-value": w.value,
|
|
165
165
|
events: M
|
|
166
|
-
}, null, 8, ["default-params", "default-value"]), s(
|
|
166
|
+
}, null, 8, ["default-params", "default-value"]), s(b, {
|
|
167
167
|
modelValue: t.showModelView,
|
|
168
168
|
"onUpdate:modelValue": a[0] || (a[0] = (n) => t.showModelView = n),
|
|
169
169
|
title: "用户信息",
|
|
@@ -171,12 +171,12 @@ const re = {
|
|
|
171
171
|
}, {
|
|
172
172
|
default: i(() => [s(F, {
|
|
173
173
|
ref_key: "xForm",
|
|
174
|
-
ref:
|
|
174
|
+
ref: R,
|
|
175
175
|
data: t.record,
|
|
176
|
-
rules:
|
|
176
|
+
rules: L,
|
|
177
177
|
"title-align": "right"
|
|
178
178
|
}, {
|
|
179
|
-
default: i(() => [s(
|
|
179
|
+
default: i(() => [s(p, {
|
|
180
180
|
title: e.$t("message.unitName"),
|
|
181
181
|
field: "unitId",
|
|
182
182
|
span: "24"
|
|
@@ -185,17 +185,17 @@ const re = {
|
|
|
185
185
|
data: n
|
|
186
186
|
}) => [s(B, {
|
|
187
187
|
modelValue: n.unitId,
|
|
188
|
-
"onUpdate:modelValue": (
|
|
188
|
+
"onUpdate:modelValue": (f) => n.unitId = f
|
|
189
189
|
}, {
|
|
190
|
-
default: i(() => [(v(!0), $(U, null, K(O(C), (
|
|
191
|
-
key:
|
|
192
|
-
value:
|
|
193
|
-
label:
|
|
190
|
+
default: i(() => [(v(!0), $(U, null, K(O(C), (f) => (v(), k(g, {
|
|
191
|
+
key: f.id,
|
|
192
|
+
value: f.id,
|
|
193
|
+
label: f.unitName
|
|
194
194
|
}, null, 8, ["value", "label"]))), 128))]),
|
|
195
195
|
_: 2
|
|
196
196
|
}, 1032, ["modelValue", "onUpdate:modelValue"])]),
|
|
197
197
|
_: 1
|
|
198
|
-
}, 8, ["title"]), s(
|
|
198
|
+
}, 8, ["title"]), s(p, {
|
|
199
199
|
title: e.$t("message.userCode"),
|
|
200
200
|
"item-render": {
|
|
201
201
|
name: "input",
|
|
@@ -205,14 +205,14 @@ const re = {
|
|
|
205
205
|
},
|
|
206
206
|
field: "userName",
|
|
207
207
|
span: "24"
|
|
208
|
-
}, null, 8, ["title", "item-render"]), s(
|
|
208
|
+
}, null, 8, ["title", "item-render"]), s(p, {
|
|
209
209
|
title: e.$t("message.userName"),
|
|
210
210
|
field: "name",
|
|
211
211
|
span: "24",
|
|
212
212
|
"item-render": {
|
|
213
213
|
name: "input"
|
|
214
214
|
}
|
|
215
|
-
}, null, 8, ["title"]), t.dataStatus === "add" ? (v(), k(
|
|
215
|
+
}, null, 8, ["title"]), t.dataStatus === "add" ? (v(), k(p, {
|
|
216
216
|
key: 0,
|
|
217
217
|
title: e.$t("message.userPwd"),
|
|
218
218
|
"item-render": {
|
|
@@ -220,14 +220,14 @@ const re = {
|
|
|
220
220
|
},
|
|
221
221
|
field: "userPwd",
|
|
222
222
|
span: "24"
|
|
223
|
-
}, null, 8, ["title"])) : J("", !0), s(
|
|
223
|
+
}, null, 8, ["title"])) : J("", !0), s(p, {
|
|
224
224
|
align: "right",
|
|
225
225
|
span: "24"
|
|
226
226
|
}, {
|
|
227
227
|
default: i(() => [s(x, {
|
|
228
228
|
content: "cancel",
|
|
229
229
|
icon: "ri-close-fill",
|
|
230
|
-
onClick:
|
|
230
|
+
onClick: V
|
|
231
231
|
}), s(x, {
|
|
232
232
|
content: "confirm",
|
|
233
233
|
icon: "ri-save-3-fill",
|
|
@@ -239,32 +239,32 @@ const re = {
|
|
|
239
239
|
_: 1
|
|
240
240
|
}, 8, ["data"])]),
|
|
241
241
|
_: 1
|
|
242
|
-
}, 8, ["modelValue"]), s(
|
|
242
|
+
}, 8, ["modelValue"]), s(b, {
|
|
243
243
|
modelValue: t.showUserRole,
|
|
244
244
|
"onUpdate:modelValue": a[1] || (a[1] = (n) => t.showUserRole = n),
|
|
245
245
|
loading: m.value,
|
|
246
246
|
title: e.$t("message.title.roleInfo"),
|
|
247
247
|
width: "600"
|
|
248
248
|
}, {
|
|
249
|
-
default: i(() => [s(
|
|
249
|
+
default: i(() => [s(Y, {
|
|
250
250
|
height: "300",
|
|
251
251
|
data: t.roleList,
|
|
252
252
|
border: ""
|
|
253
253
|
}, {
|
|
254
|
-
default: i(() => [s(
|
|
254
|
+
default: i(() => [s(N, {
|
|
255
255
|
type: "seq",
|
|
256
256
|
width: "60"
|
|
257
|
-
}), s(
|
|
257
|
+
}), s(N, {
|
|
258
258
|
field: "roleName",
|
|
259
259
|
title: e.$t("message.udp.roleName")
|
|
260
|
-
}, null, 8, ["title"]), s(
|
|
260
|
+
}, null, 8, ["title"]), s(N, {
|
|
261
261
|
field: "roleDesc",
|
|
262
262
|
title: e.$t("message.udp.roleDesc")
|
|
263
263
|
}, null, 8, ["title"])]),
|
|
264
264
|
_: 1
|
|
265
265
|
}, 8, ["data"])]),
|
|
266
266
|
_: 1
|
|
267
|
-
}, 8, ["modelValue", "loading", "title"]), s(
|
|
267
|
+
}, 8, ["modelValue", "loading", "title"]), s(b, {
|
|
268
268
|
modelValue: t.showAuth,
|
|
269
269
|
"onUpdate:modelValue": a[2] || (a[2] = (n) => t.showAuth = n),
|
|
270
270
|
loading: m.value,
|
|
@@ -274,7 +274,7 @@ const re = {
|
|
|
274
274
|
height: "620",
|
|
275
275
|
width: "560"
|
|
276
276
|
}, {
|
|
277
|
-
default: i(() => [s(
|
|
277
|
+
default: i(() => [s(j, {
|
|
278
278
|
ref: "xTree",
|
|
279
279
|
data: t.roleList,
|
|
280
280
|
props: {
|
|
@@ -290,5 +290,5 @@ const re = {
|
|
|
290
290
|
}
|
|
291
291
|
});
|
|
292
292
|
export {
|
|
293
|
-
|
|
293
|
+
fe as _
|
|
294
294
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
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-ZzGrkylA.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 { q as B } from "./index-
|
|
9
|
+
import { q as B } from "./index-VU6c04nN.js";
|
|
10
10
|
const P = {
|
|
11
11
|
class: "page-content"
|
|
12
12
|
}, z = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as R, ref as i, reactive as x, onBeforeMount as B, resolveComponent as d, createElementBlock as U, openBlock as
|
|
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 q, mergeProps as A, toHandlers as E } from "vue";
|
|
2
2
|
import { t as P } from "./await-to-js.es5-BtRbN2QH.js";
|
|
3
|
-
import { q as S } from "./index-
|
|
3
|
+
import { q as S } from "./index-VU6c04nN.js";
|
|
4
4
|
const V = { class: "u-dict-config_wrapper" }, D = /* @__PURE__ */ R({
|
|
5
5
|
__name: "UserInfo",
|
|
6
6
|
props: {
|
|
@@ -9,17 +9,17 @@ const V = { class: "u-dict-config_wrapper" }, D = /* @__PURE__ */ R({
|
|
|
9
9
|
direction: { default: "rtl" }
|
|
10
10
|
},
|
|
11
11
|
emits: ["onClose"],
|
|
12
|
-
setup(
|
|
13
|
-
const r =
|
|
12
|
+
setup(p, { emit: f }) {
|
|
13
|
+
const r = p, g = i(!1), o = i(!1), a = S(), h = f, b = [
|
|
14
14
|
{
|
|
15
15
|
field: "userName",
|
|
16
|
-
title: "message.userCode",
|
|
16
|
+
title: "message.udp.userCode",
|
|
17
17
|
span: 8,
|
|
18
18
|
itemRender: { name: "$input" }
|
|
19
19
|
},
|
|
20
20
|
{
|
|
21
21
|
field: "name",
|
|
22
|
-
title: "message.userName",
|
|
22
|
+
title: "message.udp.userName",
|
|
23
23
|
span: 8,
|
|
24
24
|
itemRender: { name: "$input" }
|
|
25
25
|
},
|
|
@@ -45,11 +45,11 @@ const V = { class: "u-dict-config_wrapper" }, D = /* @__PURE__ */ R({
|
|
|
45
45
|
{ type: "checkbox", width: 50, align: "center" },
|
|
46
46
|
{
|
|
47
47
|
field: "userName",
|
|
48
|
-
title: "message.userCode"
|
|
48
|
+
title: "message.udp.userCode"
|
|
49
49
|
},
|
|
50
50
|
{
|
|
51
51
|
field: "name",
|
|
52
|
-
title: "message.userName"
|
|
52
|
+
title: "message.udp.userName"
|
|
53
53
|
},
|
|
54
54
|
{
|
|
55
55
|
field: "enabled",
|
|
@@ -68,14 +68,14 @@ const V = { class: "u-dict-config_wrapper" }, D = /* @__PURE__ */ R({
|
|
|
68
68
|
{ code: "add", name: "message.btn.add", status: "u-cyan", icon: "ri-add-line" },
|
|
69
69
|
{ code: "delete", name: "message.btn.del", status: "danger", icon: "ri-delete-bin-5-fill" }
|
|
70
70
|
], y = [
|
|
71
|
-
{ field: "userName", title: "message.userCode", span: 9 },
|
|
72
|
-
{ field: "name", title: "message.userName", span: 9 }
|
|
71
|
+
{ field: "userName", title: "message.udp.userCode", span: 9 },
|
|
72
|
+
{ field: "name", title: "message.udp.userName", span: 9 }
|
|
73
73
|
], w = [
|
|
74
74
|
{ type: "checkbox", width: 40 },
|
|
75
|
-
{ field: "userName", title: "message.userCode" },
|
|
76
|
-
{ field: "name", title: "message.userName" },
|
|
75
|
+
{ field: "userName", title: "message.udp.userCode" },
|
|
76
|
+
{ field: "name", title: "message.udp.userName" },
|
|
77
77
|
{ field: "enabled", width: 70, formatter: ["formatDict", "SU.ENABLE"] }
|
|
78
|
-
],
|
|
78
|
+
], u = i({}), n = x({
|
|
79
79
|
height: "auto",
|
|
80
80
|
border: !0,
|
|
81
81
|
pagerConfig: {},
|
|
@@ -111,7 +111,7 @@ const V = { class: "u-dict-config_wrapper" }, D = /* @__PURE__ */ R({
|
|
|
111
111
|
const s = { userIds: "", roleId: r.record.id };
|
|
112
112
|
s.userIds = e.map((l) => l.id).join(","), n.loading = !0;
|
|
113
113
|
const [t] = await P(a.post("/uums/role/addUserRole", s));
|
|
114
|
-
n.loading = !1, t || (
|
|
114
|
+
n.loading = !1, t || (u.value.commitProxy("query"), o.value = !1);
|
|
115
115
|
};
|
|
116
116
|
function I() {
|
|
117
117
|
h("onClose");
|
|
@@ -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
|
|
123
|
+
return m(), U("div", V, [
|
|
124
124
|
c(k, {
|
|
125
125
|
"model-value": e.show,
|
|
126
126
|
title: e.$t("message.title.authUser", { role: e.record.roleName }),
|
|
@@ -132,9 +132,9 @@ const V = { class: "u-dict-config_wrapper" }, D = /* @__PURE__ */ R({
|
|
|
132
132
|
default: $(() => [
|
|
133
133
|
c(t, A({
|
|
134
134
|
ref_key: "xgrid",
|
|
135
|
-
ref:
|
|
135
|
+
ref: u
|
|
136
136
|
}, n, E(_)), null, 16),
|
|
137
|
-
o.value ? (
|
|
137
|
+
o.value ? (m(), j(l, {
|
|
138
138
|
key: 0,
|
|
139
139
|
url: "/uums/user/listUserToRole",
|
|
140
140
|
"default-params": { roleId: e.record.id },
|
|
@@ -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 { e as $, q as f } from "./index-
|
|
4
|
+
import { e as $, q as f } from "./index-VU6c04nN.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: {
|
|
@@ -3,7 +3,7 @@ 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 { q as b, e as S } from "./index-
|
|
6
|
+
import { q as b, e as S } from "./index-VU6c04nN.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: {
|
|
@@ -1,7 +1,7 @@
|
|
|
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
3
|
import { useRender as q } from "@utogether/utils";
|
|
4
|
-
import { q as x } from "./index-
|
|
4
|
+
import { q as x } from "./index-VU6c04nN.js";
|
|
5
5
|
const b = {
|
|
6
6
|
name: "CodeRule"
|
|
7
7
|
}, V = /* @__PURE__ */ _({
|
package/dist/core.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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-VU6c04nN.js";
|
|
2
2
|
export {
|
|
3
3
|
t as constantRoutes,
|
|
4
4
|
a 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-BtRbN2QH.js";
|
|
4
|
-
import { q as y } from "./index-
|
|
4
|
+
import { q as y } from "./index-VU6c04nN.js";
|
|
5
5
|
import { useRender as S, successMessage as q } from "@utogether/utils";
|
|
6
6
|
const D = {
|
|
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-VU6c04nN.js";
|
|
4
4
|
const w = { class: "frame" }, S = ["src"], V = /* @__PURE__ */ _({
|
|
5
5
|
__name: "frameView",
|
|
6
6
|
setup(B) {
|