@utogether/udp-core 2.0.0-beta.3 → 2.0.0-beta.5
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-CxOqlq0f.js → 403-y4Id7pky.js} +1 -1
- package/dist/{404-xdB6lFeQ.js → 404-DdxstlUr.js} +1 -1
- package/dist/{500-C94bRK2S.js → 500-BpsDn21g.js} +1 -1
- package/dist/{AuthorityInfo-Dy3b_nFN.js → AuthorityInfo-0CnlrZVd.js} +1 -1
- package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-Bh7IbcdY.js → AuthorityInfo.vue_vue_type_style_index_0_lang-D5cXM84w.js} +1 -1
- package/dist/{Company-gKkfnhLt.js → Company-BPAqJfZm.js} +3 -3
- package/dist/{CompanyPanel-BF5Pc35s.js → CompanyPanel-CCeM96w4.js} +7 -7
- package/dist/{Department-D0I3QVZe.js → Department-BsLrIIrS.js} +3 -3
- package/dist/{DepartmentPanel-2LHODgc7.js → DepartmentPanel-B2YqwLmq.js} +20 -20
- package/dist/{DesignPanel-CtF3cAAQ.js → DesignPanel-CVSOCMvU.js} +1 -1
- package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-BCYgwoVt.js → DesignPanel.vue_vue_type_style_index_0_lang-Dte8DQnU.js} +2 -2
- package/dist/{DictView-H3V5hxg3.js → DictView-CKVpPtFg.js} +1 -1
- package/dist/{InvOrganization-BiGLnbqe.js → InvOrganization-BBODO8aK.js} +1 -1
- package/dist/{Org-DQTCQHNY.js → Org-BYRi0OAt.js} +1 -1
- package/dist/{Preview-DXaiis29.js → Preview-COI8NwWh.js} +1 -1
- package/dist/{ReportDefine-BLh4CiER.js → ReportDefine-Dbh_8ykf.js} +1 -1
- package/dist/{ReportDesign-Ni1YxrLC.js → ReportDesign-DOeKYL9V.js} +6 -6
- package/dist/{ReportQuery-C8G88_qF.js → ReportQuery-Bb4r9lNR.js} +1 -1
- package/dist/{ReportQueryFrom-CuZKPtB4.js → ReportQueryFrom-CavcWtL3.js} +1 -1
- package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-BAn_siFW.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-tuLRWEK9.js} +7 -7
- package/dist/{ReportTemplate-DFnDXWmx.js → ReportTemplate-C9NzPxM4.js} +8 -8
- package/dist/{Role-BQ7hsfPn.js → Role-Bqt4d9Lz.js} +3 -3
- package/dist/{RoleAssign-UPCg2d4G.js → RoleAssign-CWcytVz3.js} +3 -3
- package/dist/{RolePanel-CoSXOCZN.js → RolePanel-Di5nsMqt.js} +1 -1
- package/dist/{RolePanel-C-mQ5XRq.js → RolePanel-DlU0aCnL.js} +1 -1
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-Bg-t2UhF.js → RolePanel.vue_vue_type_script_setup_true_lang-BOq0iJsT.js} +7 -7
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-D-o7HYZ8.js → RolePanel.vue_vue_type_script_setup_true_lang-hzbUepuW.js} +7 -7
- package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-CCsoxDfk.js → ScrollPanel.vue_vue_type_style_index_0_lang-Bg3rg4P4.js} +1 -1
- package/dist/{Staff-D-CmvG1R.js → Staff-DXr2Ka1N.js} +3 -3
- package/dist/{StaffInfo-Idhvuc6e.js → StaffInfo-C6lDK0S_.js} +1 -1
- package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-MUGKjnHU.js → StaffInfo.vue_vue_type_script_setup_true_lang-YRJm87-b.js} +1 -1
- package/dist/{StaffPanel-CDDmAYE5.js → StaffPanel-WNpg0HWl.js} +1 -1
- package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-Bdilqbee.js → StaffPanel.vue_vue_type_script_setup_true_lang-azLpvFRo.js} +8 -8
- package/dist/{SysUser-a-j5bppr.js → SysUser-Dph6Qi_a.js} +2 -2
- package/dist/{SysUserPanel-6V232wwB.js → SysUserPanel-Iz024NS_.js} +1 -1
- package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-BOtHuMVy.js → SysUserPanel.vue_vue_type_script_setup_true_lang-D8GUQHic.js} +1 -1
- package/dist/{SystemMenu-BnVeOSOQ.js → SystemMenu-6mTYGwbK.js} +6 -6
- package/dist/{UserInfo-Cax9b2nw.js → UserInfo-RQ7VgSbk.js} +1 -1
- package/dist/{UserInfo.vue_vue_type_style_index_0_lang-D-cw11i9.js → UserInfo.vue_vue_type_style_index_0_lang-BYp2-i9R.js} +1 -1
- package/dist/{childView-DKG3eZo8.js → childView-B8L4By2o.js} +1 -1
- package/dist/{childView-siumuBz0.js → childView-nCa8t4tr.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-CUfXDS1q.js → childView.vue_vue_type_style_index_0_lang-Bl1MzDS9.js} +7 -7
- package/dist/{childView.vue_vue_type_style_index_0_lang-CW3EbAmW.js → childView.vue_vue_type_style_index_0_lang-DDx9z61J.js} +7 -7
- package/dist/{code-rule-Dtoree6F.js → code-rule-8dQLPHni.js} +1 -1
- package/dist/core.es.js +10 -10
- package/dist/{cron-task-GSRgA7S5.js → cron-task-aDBWT_Uh.js} +1 -1
- package/dist/{frameView-Cy6wxW0K.js → frameView-DM3flfo5.js} +1 -1
- package/dist/{index-Dc7xWMiC.js → index-ClHeZ3q4.js} +88 -88
- package/dist/{layout-home-3Dy4onl4.js → layout-home-DNPOu6R4.js} +27 -23
- package/dist/{layoutView-DMjNscJ-.js → layoutView-Ymyja_uK.js} +1 -1
- package/dist/{log-in-VAG6Cvcx.js → log-in-DtHf5ZcG.js} +8 -8
- package/dist/{log-out-DZGaMCjC.js → log-out-DZ8OkPM6.js} +3 -3
- package/dist/{login-CqVMdNHs.js → login-CoX7TNHE.js} +15 -15
- package/dist/{lov-view-Cc68_28B.js → lov-view-BWtIPBNm.js} +6 -6
- package/dist/{menuInfo-BIrIaJlH.js → menuInfo-wG5Zt00s.js} +1 -1
- package/dist/{menuInfo.vue_vue_type_style_index_0_lang-DlE4w35X.js → menuInfo.vue_vue_type_style_index_0_lang-DiPeALce.js} +1 -1
- package/dist/{pda-app-DnjphrRS.js → pda-app-9b3JC2he.js} +8 -8
- package/dist/{resource-DISgPDM7.js → resource-DiHXYgfm.js} +4 -4
- package/dist/{su-welcome-CYYy-dzr-D3RKPoB0.js → su-welcome-COvSPTOW.js} +21215 -21131
- package/dist/{sys-config-Yc9vh1t1.js → sys-config-Mm50Y0LQ.js} +12 -12
- package/dist/udp-core.css +1 -1
- package/package.json +1 -1
- package/src/plugins/vxe-table/index.ts +116 -116
- package/src/views/system/layout/layout-home.vue +6 -5
- package/src/views/ufile/aggregation/File.vue +87 -87
- package/src/views/uhome/components/home-todo.vue +6 -6
- package/src/views/uhome/su-welcome.vue +2 -4
- package/vite.config.ts +0 -1
- package/dist/403-WCboRvzZ-ZAPgYStl.js +0 -65
- package/dist/404-2V0Qi-d7-DkNwQggp.js +0 -65
- package/dist/500-BYfzvixf-CGpEieyQ.js +0 -67
- package/dist/AuthorityInfo-DBovfUjB-DpQwT9Q5.js +0 -4
- package/dist/AuthorityInfo.vue_vue_type_style_index_0_lang-D-l_Az3s-Cw7WmFxz.js +0 -100
- package/dist/AuthorityPanel-CRlAwbaI-G7pZXKdE.js +0 -4
- package/dist/AuthorityPanel.vue_vue_type_style_index_0_lang-DxhZjp1S-CJvk3pW8.js +0 -114
- package/dist/Company-B4vsXy2I-CkNCOqjJ.js +0 -25
- package/dist/CompanyPanel-Czcx8Gyw-CvndXwB_.js +0 -206
- package/dist/DataSet-DT-rGICv-DaUfgbxk.js +0 -147
- package/dist/Department-D0dVUrGC-C6HJcYI1.js +0 -25
- package/dist/DepartmentPanel-e91Lxr1j-BS_A-ILd.js +0 -254
- package/dist/DesignPanel-DdFl_ohi-uCwFxcl1.js +0 -4
- package/dist/DesignPanel.vue_vue_type_style_index_0_lang-BACPrfUI-cC7yL0uY.js +0 -1013
- package/dist/DictView-BzQLOf_P-DDicwdmM.js +0 -111
- package/dist/InvOrganization-atbhw0CI-BABbVt9V.js +0 -74
- package/dist/Org-BW1YHG-Q-Cow7JWlD.js +0 -39
- package/dist/Preview-DJtVsoq1-CCGidQjJ.js +0 -48
- package/dist/ReportDefine-CNx_ob99-6NQAHK-Q.js +0 -10
- package/dist/ReportDesign-FbQ6yTJS-C1pPAUSp.js +0 -165
- package/dist/ReportQuery-C5gz8Lgd-Eu2cQmda.js +0 -75
- package/dist/ReportQueryFrom-C7scua5v-uHXWq8Gy.js +0 -4
- package/dist/ReportQueryFrom.vue_vue_type_style_index_0_lang-DCbz67Wa-vK6r2uCl.js +0 -178
- package/dist/ReportTemplate-BDANdIWv-D_IGjR1w.js +0 -161
- package/dist/Role-ByB0WbxW-5E8Mb148.js +0 -25
- package/dist/RoleAssign-DW6iC_0v-Bis61auk.js +0 -26
- package/dist/RolePanel-BM2MaQPU-CgcsbfaX.js +0 -4
- package/dist/RolePanel-ClQy8DBL-DARL4O-o.js +0 -4
- package/dist/RolePanel.vue_vue_type_script_setup_true_lang-Bc_Ao_PU-DMmxr2iI.js +0 -132
- package/dist/RolePanel.vue_vue_type_script_setup_true_lang-fthF1zkp-JsbQJoDy.js +0 -154
- package/dist/ScrollPanel.vue_vue_type_style_index_0_lang-ByWIwajm-BsBf2Vs3.js +0 -100
- package/dist/Staff-CuxzvhD9-D0KTcyRh.js +0 -25
- package/dist/StaffInfo-CY7gUICu-EZUhUwIp.js +0 -4
- package/dist/StaffInfo.vue_vue_type_script_setup_true_lang-Dd8gtQz8-Dlkt-eCn.js +0 -108
- package/dist/StaffPanel-CwqG0_xr-CrvzLJoc.js +0 -4
- package/dist/StaffPanel.vue_vue_type_script_setup_true_lang-DCdBy8Hu-BXrueqi0.js +0 -143
- package/dist/SysUser-9Q2UJWhi-DprWXFlR.js +0 -15
- package/dist/SysUserPanel-bJy69O7x-BJtBgFEs.js +0 -4
- package/dist/SysUserPanel.vue_vue_type_script_setup_true_lang-DUPFqgz3-BSqRCMen.js +0 -356
- package/dist/SystemMenu-DGOAolc1-CJSLHP8i.js +0 -156
- package/dist/UserInfo-CKoOHkAM-DDWp0I_U.js +0 -4
- package/dist/UserInfo.vue_vue_type_style_index_0_lang-BaT53SSu-DsNaAomO.js +0 -160
- package/dist/await-to-js.es5-Bv3Eu4mi-UCggJjes.js +0 -10
- package/dist/childView-0YZQ6GBn-CEqg7k5d.js +0 -4
- package/dist/childView-DKkgi3yo-D47ft-vi.js +0 -4
- package/dist/childView.vue_vue_type_style_index_0_lang-ABMrGInv-ClOdE_sa.js +0 -143
- package/dist/childView.vue_vue_type_style_index_0_lang-CaW106ve-CClTM8PK.js +0 -180
- package/dist/code-rule-wQyfgpNL-C4evD4Co.js +0 -148
- package/dist/cron-task-C-kryDtd-C0NuGZCe.js +0 -135
- package/dist/flow-task-B07st2aD-CgQvagSQ.js +0 -10
- package/dist/frameView-BOGA3ezf-QoSxzmSQ.js +0 -44
- package/dist/layout-home-CYHksXN_-Basy-3IH.js +0 -228
- package/dist/layoutView-BaRvAbIa-xVgfqspc.js +0 -3302
- package/dist/log-in-Cx1dGik8-BVeEHeZ8.js +0 -117
- package/dist/log-out-COYdxrNC-ftopGZdE.js +0 -130
- package/dist/login-Dg9ofNS8-Bocp1XMA.js +0 -241
- package/dist/login-log-DJBGJVV0-AoOyj0jD.js +0 -70
- package/dist/lov-view-C0T5prk8-B2DBmn55.js +0 -97
- package/dist/menuInfo-BZJ_q7bz-Drho-_QC.js +0 -4
- package/dist/menuInfo.vue_vue_type_style_index_0_lang-BA8xjUo3-BCZ1wipf.js +0 -363
- package/dist/pda-app-m9hsppHo-B4xyja1o.js +0 -710
- package/dist/redirect-BqegffKC-CBCIuqmz.js +0 -15
- package/dist/resource-C6KEIXu--B_ddyecm.js +0 -97
- package/dist/su-welcome-BjbuSrBZ.js +0 -49424
- package/dist/sys-config-DCjJGtht-DARDjlrt.js +0 -370
- package/dist/utogether-MlnyYtNS-CGgjFNPS.js +0 -4
|
@@ -1,356 +0,0 @@
|
|
|
1
|
-
import { defineComponent as ie, reactive as de, ref as v, inject as oe, createVNode as l, Fragment as k, resolveComponent as r, onMounted as ue, createElementBlock as S, openBlock as h, createBlock as P, createCommentVNode as q, withCtx as n, renderList as ne, unref as me } from "vue";
|
|
2
|
-
import { useI18n as ce } from "vue-i18n";
|
|
3
|
-
import { c as M } from "./await-to-js.es5-Bv3Eu4mi-UCggJjes.js";
|
|
4
|
-
import { useRender as fe, warnMessage as pe, getDictChildren as he, delay as ge, errorMessage as we } from "@utogether/utils";
|
|
5
|
-
import { VxeUI as y } from "vxe-pc-ui";
|
|
6
|
-
import { clone as V, isEmpty as ve } from "xe-utils";
|
|
7
|
-
import { W as ye } from "./su-welcome-BjbuSrBZ.js";
|
|
8
|
-
const Ne = {
|
|
9
|
-
class: "page"
|
|
10
|
-
}, o = "/uums/user", ke = /* @__PURE__ */ ie({
|
|
11
|
-
__name: "SysUserPanel",
|
|
12
|
-
setup(be) {
|
|
13
|
-
const t = de({
|
|
14
|
-
record: {},
|
|
15
|
-
listQuery: {},
|
|
16
|
-
dataList: [],
|
|
17
|
-
roleList: [],
|
|
18
|
-
items: [],
|
|
19
|
-
submitLoading: !1,
|
|
20
|
-
showModelView: !1,
|
|
21
|
-
showUserRole: !1,
|
|
22
|
-
showModal: !1,
|
|
23
|
-
showAuth: !1,
|
|
24
|
-
dataStatus: ""
|
|
25
|
-
}), u = ye(), {
|
|
26
|
-
t: s
|
|
27
|
-
} = ce(), L = {
|
|
28
|
-
userName: [{
|
|
29
|
-
required: !0,
|
|
30
|
-
message: `${s("message.required")}${s("message.userCode")}`
|
|
31
|
-
}],
|
|
32
|
-
name: [{
|
|
33
|
-
required: !0,
|
|
34
|
-
message: `${s("message.required")}${s("message.userName")}`
|
|
35
|
-
}],
|
|
36
|
-
unitId: [{
|
|
37
|
-
required: !0,
|
|
38
|
-
message: `${s("message.required")}${s("message.unitName")}`
|
|
39
|
-
}],
|
|
40
|
-
userPwd: [{
|
|
41
|
-
required: !0,
|
|
42
|
-
message: `${s("message.required")}${s("message.userPwd")}`
|
|
43
|
-
}]
|
|
44
|
-
}, _ = fe(), N = v({}), E = oe("treeList"), c = v(!1);
|
|
45
|
-
let g = "";
|
|
46
|
-
const D = [{
|
|
47
|
-
code: "resetPassword",
|
|
48
|
-
status: "warning",
|
|
49
|
-
icon: "ri-lock-line",
|
|
50
|
-
auth: "batch"
|
|
51
|
-
}], m = v(null), I = [{
|
|
52
|
-
field: "name",
|
|
53
|
-
title: "message.udp.userName"
|
|
54
|
-
}, {
|
|
55
|
-
field: "userName",
|
|
56
|
-
title: "message.udp.userCode"
|
|
57
|
-
}, {
|
|
58
|
-
field: "type",
|
|
59
|
-
title: "message.udp.userType",
|
|
60
|
-
code: "SU.USER.TYPE"
|
|
61
|
-
}], T = [{
|
|
62
|
-
type: "checkbox",
|
|
63
|
-
width: 40,
|
|
64
|
-
align: "center"
|
|
65
|
-
}, {
|
|
66
|
-
field: "userName",
|
|
67
|
-
title: "message.udp.userCode"
|
|
68
|
-
}, {
|
|
69
|
-
field: "name",
|
|
70
|
-
title: "message.udp.userName"
|
|
71
|
-
}, {
|
|
72
|
-
field: "type",
|
|
73
|
-
title: "message.udp.userType",
|
|
74
|
-
formatter: ["formatDict", "SU.USER.TYPE"]
|
|
75
|
-
}, {
|
|
76
|
-
field: "enabled",
|
|
77
|
-
width: 80,
|
|
78
|
-
cellRender: _.renderEnabled(O)
|
|
79
|
-
}, {
|
|
80
|
-
field: "operate",
|
|
81
|
-
width: 150,
|
|
82
|
-
fixed: "right",
|
|
83
|
-
slots: {
|
|
84
|
-
default: ({
|
|
85
|
-
row: e
|
|
86
|
-
}) => [l(k, null, [l(r("ut-button"), {
|
|
87
|
-
content: "edit",
|
|
88
|
-
icon: "ri-edit-line",
|
|
89
|
-
onTap: () => W(e)
|
|
90
|
-
}, null), l(r("ut-dropdown"), {
|
|
91
|
-
buttons: B(),
|
|
92
|
-
onCommand: (a) => A(e, a)
|
|
93
|
-
}, null)])]
|
|
94
|
-
}
|
|
95
|
-
}], A = (e, a) => {
|
|
96
|
-
a === "role" && Q(e), a === "auth" && J(e), a === "passwordReset" && G(e);
|
|
97
|
-
}, B = () => [{
|
|
98
|
-
code: "role",
|
|
99
|
-
icon: "ri-user-fill"
|
|
100
|
-
}, {
|
|
101
|
-
code: "auth",
|
|
102
|
-
icon: "ri-lock-fill"
|
|
103
|
-
}, {
|
|
104
|
-
code: "passwordReset",
|
|
105
|
-
icon: "ri-lock-password-line"
|
|
106
|
-
}], x = [{
|
|
107
|
-
field: "userName",
|
|
108
|
-
title: "message.udp.userCode",
|
|
109
|
-
required: !0,
|
|
110
|
-
disabled: !1
|
|
111
|
-
}, {
|
|
112
|
-
field: "name",
|
|
113
|
-
title: "message.udp.userName",
|
|
114
|
-
required: !0
|
|
115
|
-
}, {
|
|
116
|
-
field: "type",
|
|
117
|
-
required: !0,
|
|
118
|
-
title: "message.udp.userType",
|
|
119
|
-
code: "SU.USER.TYPE"
|
|
120
|
-
}, {
|
|
121
|
-
field: "userPwd",
|
|
122
|
-
required: !0,
|
|
123
|
-
visibleMethod: ({
|
|
124
|
-
data: e
|
|
125
|
-
}) => !e.id
|
|
126
|
-
}], F = () => {
|
|
127
|
-
t.record = {
|
|
128
|
-
userPwd: g,
|
|
129
|
-
...N.value,
|
|
130
|
-
type: "system"
|
|
131
|
-
}, t.items = V(x, !0), t.height = 280, t.showModal = !0;
|
|
132
|
-
}, W = (e) => {
|
|
133
|
-
t.record = V(e, !0), t.items = V(x, !0), t.items[0].disabled = !0, t.height = 240, t.showModal = !0;
|
|
134
|
-
}, Y = () => {
|
|
135
|
-
m.value.getInstance().commitProxy("delete");
|
|
136
|
-
}, j = (e) => [e], z = () => {
|
|
137
|
-
m.value.refreshData();
|
|
138
|
-
};
|
|
139
|
-
async function O({
|
|
140
|
-
row: e
|
|
141
|
-
}) {
|
|
142
|
-
await M(u.put(o, [e])), m.value.refreshData();
|
|
143
|
-
}
|
|
144
|
-
const Q = async (e) => {
|
|
145
|
-
var a;
|
|
146
|
-
t.roleList = [], t.showUserRole = !0, c.value = !0;
|
|
147
|
-
const i = await u.get(o + "/getUserRole", {
|
|
148
|
-
userName: e.userName
|
|
149
|
-
});
|
|
150
|
-
c.value = !1, t.roleList = (a = i[0]) == null ? void 0 : a.sysRoles;
|
|
151
|
-
}, G = async (e) => {
|
|
152
|
-
await y.modal.confirm(s("message.tip.confirmResetPassword")) === "confirm" && (await u.put(o + "/resetPwd", e), await y.modal.alert(s("message.tip.initPassword", {
|
|
153
|
-
code: g
|
|
154
|
-
})));
|
|
155
|
-
}, H = async () => {
|
|
156
|
-
const e = m.value.getSelectRecords();
|
|
157
|
-
if (!e.length || await y.modal.confirm(s("message.tip.confirmResetPassword")) !== "confirm") return;
|
|
158
|
-
const a = e.map((i) => ({
|
|
159
|
-
id: i.id
|
|
160
|
-
}));
|
|
161
|
-
await u.put(o + "/batchUpdatePwd", a), await y.modal.alert(s("message.tip.initPassword", {
|
|
162
|
-
code: g
|
|
163
|
-
})), m.value.refreshData();
|
|
164
|
-
}, J = async (e) => {
|
|
165
|
-
var a;
|
|
166
|
-
t.roleList = [], t.showAuth = !0, c.value = !0, t.record = e;
|
|
167
|
-
const [i, w] = await M(u.get(o + "/getUserRole", {
|
|
168
|
-
userName: e.userName
|
|
169
|
-
}));
|
|
170
|
-
c.value = !1, i || (ve(w) ? pe(s("message.tip.emptyAuth")) : t.roleList = (a = w[0]) == null ? void 0 : a.sysMenuExts);
|
|
171
|
-
}, R = v(null), K = () => {
|
|
172
|
-
R.value.validate(async (e) => {
|
|
173
|
-
if (!e) {
|
|
174
|
-
const {
|
|
175
|
-
record: a,
|
|
176
|
-
dataStatus: i
|
|
177
|
-
} = t;
|
|
178
|
-
i === "add" ? await u.post(o, a) : await u.put(o, a), C();
|
|
179
|
-
}
|
|
180
|
-
});
|
|
181
|
-
}, C = () => {
|
|
182
|
-
t.showModelView = !1;
|
|
183
|
-
}, X = (e) => {
|
|
184
|
-
e === "add" && F(), e === "del" && Y(), e === "resetPassword" && H();
|
|
185
|
-
}, Z = () => {
|
|
186
|
-
u.get("/uums/unit", {
|
|
187
|
-
pageSize: 10
|
|
188
|
-
}).then(async (e) => {
|
|
189
|
-
N.value = {
|
|
190
|
-
unitId: e[0].id,
|
|
191
|
-
enabled: "1"
|
|
192
|
-
}, await ge(100), m.value.refreshData();
|
|
193
|
-
}).catch(() => {
|
|
194
|
-
we("获取租户失败,刷新后重试");
|
|
195
|
-
});
|
|
196
|
-
}, ee = () => {
|
|
197
|
-
var e;
|
|
198
|
-
g = ((e = he("SU.DEFAULT_PASSWORD")) == null ? void 0 : e.find((a) => a.dictCode === "default")).dictName;
|
|
199
|
-
};
|
|
200
|
-
return ue(() => {
|
|
201
|
-
ee(), Z();
|
|
202
|
-
}), (e, a) => {
|
|
203
|
-
const i = r("ut-grid"), w = r("vxe-option"), te = r("vxe-select"), f = r("vxe-form-item"), $ = r("ut-button"), ae = r("vxe-form"), b = r("vxe-modal"), U = r("vxe-column"), le = r("vxe-table"), se = r("el-tree-v2"), re = r("ut-modal-form");
|
|
204
|
-
return h(), S("div", Ne, [l(i, {
|
|
205
|
-
ref_key: "xgrid",
|
|
206
|
-
ref: m,
|
|
207
|
-
columns: T,
|
|
208
|
-
items: I,
|
|
209
|
-
url: o,
|
|
210
|
-
"auto-load": !1,
|
|
211
|
-
"default-params": N.value,
|
|
212
|
-
buttons: D,
|
|
213
|
-
mode: "form",
|
|
214
|
-
onButtonClick: X
|
|
215
|
-
}, null, 8, ["default-params"]), l(b, {
|
|
216
|
-
modelValue: t.showModelView,
|
|
217
|
-
"onUpdate:modelValue": a[0] || (a[0] = (d) => t.showModelView = d),
|
|
218
|
-
title: "用户信息",
|
|
219
|
-
width: "300"
|
|
220
|
-
}, {
|
|
221
|
-
default: n(() => [l(ae, {
|
|
222
|
-
ref_key: "xForm",
|
|
223
|
-
ref: R,
|
|
224
|
-
data: t.record,
|
|
225
|
-
rules: L,
|
|
226
|
-
"title-align": "right"
|
|
227
|
-
}, {
|
|
228
|
-
default: n(() => [l(f, {
|
|
229
|
-
title: e.$t("message.unitName"),
|
|
230
|
-
field: "unitId",
|
|
231
|
-
span: "24"
|
|
232
|
-
}, {
|
|
233
|
-
default: n(({
|
|
234
|
-
data: d
|
|
235
|
-
}) => [l(te, {
|
|
236
|
-
modelValue: d.unitId,
|
|
237
|
-
"onUpdate:modelValue": (p) => d.unitId = p
|
|
238
|
-
}, {
|
|
239
|
-
default: n(() => [(h(!0), S(k, null, ne(me(E), (p) => (h(), P(w, {
|
|
240
|
-
key: p.id,
|
|
241
|
-
value: p.id,
|
|
242
|
-
label: p.unitName
|
|
243
|
-
}, null, 8, ["value", "label"]))), 128))]),
|
|
244
|
-
_: 2
|
|
245
|
-
}, 1032, ["modelValue", "onUpdate:modelValue"])]),
|
|
246
|
-
_: 1
|
|
247
|
-
}, 8, ["title"]), l(f, {
|
|
248
|
-
title: e.$t("message.userCode"),
|
|
249
|
-
"item-render": {
|
|
250
|
-
name: "input",
|
|
251
|
-
attrs: {
|
|
252
|
-
disabled: t.dataStatus === "update"
|
|
253
|
-
}
|
|
254
|
-
},
|
|
255
|
-
field: "userName",
|
|
256
|
-
span: "24"
|
|
257
|
-
}, null, 8, ["title", "item-render"]), l(f, {
|
|
258
|
-
title: e.$t("message.userName"),
|
|
259
|
-
field: "name",
|
|
260
|
-
span: "24",
|
|
261
|
-
"item-render": {
|
|
262
|
-
name: "input"
|
|
263
|
-
}
|
|
264
|
-
}, null, 8, ["title"]), t.dataStatus === "add" ? (h(), P(f, {
|
|
265
|
-
key: 0,
|
|
266
|
-
title: e.$t("message.userPwd"),
|
|
267
|
-
"item-render": {
|
|
268
|
-
name: "input"
|
|
269
|
-
},
|
|
270
|
-
field: "userPwd",
|
|
271
|
-
span: "24"
|
|
272
|
-
}, null, 8, ["title"])) : q("", !0), l(f, {
|
|
273
|
-
align: "right",
|
|
274
|
-
span: "24"
|
|
275
|
-
}, {
|
|
276
|
-
default: n(() => [l($, {
|
|
277
|
-
content: "cancel",
|
|
278
|
-
icon: "ri-close-fill",
|
|
279
|
-
onClick: C
|
|
280
|
-
}), l($, {
|
|
281
|
-
content: "confirm",
|
|
282
|
-
icon: "ri-save-3-fill",
|
|
283
|
-
status: "u-cyan",
|
|
284
|
-
onClick: K
|
|
285
|
-
})]),
|
|
286
|
-
_: 1
|
|
287
|
-
})]),
|
|
288
|
-
_: 1
|
|
289
|
-
}, 8, ["data"])]),
|
|
290
|
-
_: 1
|
|
291
|
-
}, 8, ["modelValue"]), l(b, {
|
|
292
|
-
modelValue: t.showUserRole,
|
|
293
|
-
"onUpdate:modelValue": a[1] || (a[1] = (d) => t.showUserRole = d),
|
|
294
|
-
loading: c.value,
|
|
295
|
-
title: e.$t("message.title.roleInfo"),
|
|
296
|
-
width: "600"
|
|
297
|
-
}, {
|
|
298
|
-
default: n(() => [l(le, {
|
|
299
|
-
height: "300",
|
|
300
|
-
data: t.roleList,
|
|
301
|
-
border: ""
|
|
302
|
-
}, {
|
|
303
|
-
default: n(() => [l(U, {
|
|
304
|
-
type: "seq",
|
|
305
|
-
width: "60"
|
|
306
|
-
}), l(U, {
|
|
307
|
-
field: "roleName",
|
|
308
|
-
title: e.$t("message.udp.roleName")
|
|
309
|
-
}, null, 8, ["title"]), l(U, {
|
|
310
|
-
field: "roleDesc",
|
|
311
|
-
title: e.$t("message.udp.roleDesc")
|
|
312
|
-
}, null, 8, ["title"])]),
|
|
313
|
-
_: 1
|
|
314
|
-
}, 8, ["data"])]),
|
|
315
|
-
_: 1
|
|
316
|
-
}, 8, ["modelValue", "loading", "title"]), l(b, {
|
|
317
|
-
modelValue: t.showAuth,
|
|
318
|
-
"onUpdate:modelValue": a[2] || (a[2] = (d) => t.showAuth = d),
|
|
319
|
-
loading: c.value,
|
|
320
|
-
title: e.$t("message.title.authority", {
|
|
321
|
-
role: t.record.name || "88888"
|
|
322
|
-
}),
|
|
323
|
-
height: "620",
|
|
324
|
-
width: "560"
|
|
325
|
-
}, {
|
|
326
|
-
default: n(() => [l(se, {
|
|
327
|
-
ref: "xTree",
|
|
328
|
-
data: t.roleList,
|
|
329
|
-
props: {
|
|
330
|
-
children: "children",
|
|
331
|
-
label: "menuName"
|
|
332
|
-
},
|
|
333
|
-
height: 560,
|
|
334
|
-
"node-key": "id"
|
|
335
|
-
}, null, 8, ["data"])]),
|
|
336
|
-
_: 1
|
|
337
|
-
}, 8, ["modelValue", "loading", "title"]), t.showModal ? (h(), P(re, {
|
|
338
|
-
key: 0,
|
|
339
|
-
record: t.record,
|
|
340
|
-
items: t.items,
|
|
341
|
-
width: 360,
|
|
342
|
-
height: t.height,
|
|
343
|
-
method: t.record.id ? "put" : "post",
|
|
344
|
-
"data-process-method": j,
|
|
345
|
-
title: e.$t("message.title.userInfo"),
|
|
346
|
-
"data-status": "update",
|
|
347
|
-
url: o,
|
|
348
|
-
onClose: a[3] || (a[3] = (d) => t.showModal = !1),
|
|
349
|
-
onConfirm: z
|
|
350
|
-
}, null, 8, ["record", "items", "height", "method", "title"])) : q("", !0)]);
|
|
351
|
-
};
|
|
352
|
-
}
|
|
353
|
-
});
|
|
354
|
-
export {
|
|
355
|
-
ke as x
|
|
356
|
-
};
|
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
import { defineComponent as k, reactive as D, ref as I, createVNode as o, resolveComponent as i, Fragment as h, createElementBlock as E, openBlock as N } from "vue";
|
|
2
|
-
import { useI18n as B } from "vue-i18n";
|
|
3
|
-
import { i as W } from "./menuInfo.vue_vue_type_style_index_0_lang-BA8xjUo3-BCZ1wipf.js";
|
|
4
|
-
import { B as R } from "./AuthorityPanel.vue_vue_type_style_index_0_lang-DxhZjp1S-CJvk3pW8.js";
|
|
5
|
-
import { clone as f } from "xe-utils";
|
|
6
|
-
import { c as A } from "./await-to-js.es5-Bv3Eu4mi-UCggJjes.js";
|
|
7
|
-
import { VxeUI as L } from "vxe-pc-ui";
|
|
8
|
-
import { useRender as P } from "@utogether/utils";
|
|
9
|
-
import { W as z } from "./su-welcome-BjbuSrBZ.js";
|
|
10
|
-
const M = {
|
|
11
|
-
class: "page-content"
|
|
12
|
-
}, U = {
|
|
13
|
-
name: "SystemMenu"
|
|
14
|
-
}, H = /* @__PURE__ */ k({
|
|
15
|
-
...U,
|
|
16
|
-
setup(F) {
|
|
17
|
-
const r = D({
|
|
18
|
-
record: {},
|
|
19
|
-
dataList: [],
|
|
20
|
-
submitLoading: !1,
|
|
21
|
-
showDrawer: !1,
|
|
22
|
-
dataStatus: "",
|
|
23
|
-
total: 0,
|
|
24
|
-
listQuery: {
|
|
25
|
-
pageSize: 10,
|
|
26
|
-
pageNum: 1
|
|
27
|
-
}
|
|
28
|
-
}), {
|
|
29
|
-
t: w
|
|
30
|
-
} = B(), g = P(), l = z(), n = I(null), a = "/uums/menu";
|
|
31
|
-
let s;
|
|
32
|
-
const y = [{
|
|
33
|
-
type: "checkbox",
|
|
34
|
-
width: 50,
|
|
35
|
-
align: "center"
|
|
36
|
-
}, {
|
|
37
|
-
field: "menuName",
|
|
38
|
-
minWidth: 220,
|
|
39
|
-
treeNode: !0
|
|
40
|
-
}, {
|
|
41
|
-
field: "menuNameEn",
|
|
42
|
-
minWidth: 180
|
|
43
|
-
}, {
|
|
44
|
-
field: "sort",
|
|
45
|
-
width: 70
|
|
46
|
-
}, {
|
|
47
|
-
field: "menuCode",
|
|
48
|
-
minWidth: 220
|
|
49
|
-
}, {
|
|
50
|
-
field: "permissionCode",
|
|
51
|
-
minWidth: 180
|
|
52
|
-
}, {
|
|
53
|
-
field: "menuCategory",
|
|
54
|
-
title: "message.menuType",
|
|
55
|
-
formatter: ["formatDict", "SU.MENU.TYPE"],
|
|
56
|
-
width: 100
|
|
57
|
-
}, {
|
|
58
|
-
field: "enabled",
|
|
59
|
-
width: 80,
|
|
60
|
-
cellRender: g.renderEnabled(b)
|
|
61
|
-
}, {
|
|
62
|
-
field: "operate",
|
|
63
|
-
width: 140,
|
|
64
|
-
fixed: "right",
|
|
65
|
-
slots: {
|
|
66
|
-
default: ({
|
|
67
|
-
row: e
|
|
68
|
-
}) => {
|
|
69
|
-
const t = e.menuType, d = o(i("ut-button"), {
|
|
70
|
-
status: "u-cyan",
|
|
71
|
-
icon: "ri-add-fill",
|
|
72
|
-
content: "add",
|
|
73
|
-
onTap: () => u(e)
|
|
74
|
-
}, null), m = o(i("ut-button"), {
|
|
75
|
-
icon: "ri-lock-fill",
|
|
76
|
-
content: "auth",
|
|
77
|
-
onTap: () => S(e)
|
|
78
|
-
}, null);
|
|
79
|
-
return [o(h, null, [t ? null : o(h, null, [o(i("ut-button"), {
|
|
80
|
-
status: "success",
|
|
81
|
-
icon: "ri-edit-box-line",
|
|
82
|
-
content: "edit",
|
|
83
|
-
onTap: () => v(e)
|
|
84
|
-
}, null), ["0", "5"].includes(e.menuCategory) ? d : m])])];
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
}], C = ({
|
|
88
|
-
code: e
|
|
89
|
-
}) => {
|
|
90
|
-
e === "add" && u(), e === "del" && x();
|
|
91
|
-
}, T = async ({
|
|
92
|
-
row: e
|
|
93
|
-
}) => {
|
|
94
|
-
const t = await l.get(a, {
|
|
95
|
-
parentId: e.id
|
|
96
|
-
});
|
|
97
|
-
return new Promise((d) => {
|
|
98
|
-
d(t.list);
|
|
99
|
-
});
|
|
100
|
-
}, u = (e) => {
|
|
101
|
-
r.showDrawer = !0, r.dataStatus = "add", r.record.dispalyCode = e == null ? void 0 : e.permissionCode, r.record.permissionCode = e == null ? void 0 : e.permissionCode, r.record.menuType = "0", r.record.showLink = "Y", r.record.isApprovalPage = "N", r.record.menuCategory = e ? "" : "0", r.record.parentId = e == null ? void 0 : e.id, r.record.hasChildren = e == null ? void 0 : e.hasChildren, r.record.children = r.record.children || [], s = e;
|
|
102
|
-
}, v = (e) => {
|
|
103
|
-
r.showDrawer = !0, r.dataStatus = "update", r.record = f(e, !0), r.record.menuType = r.record.menuType.toString(), r.record.dispalyCode = e.permissionCode;
|
|
104
|
-
};
|
|
105
|
-
async function b({
|
|
106
|
-
row: e
|
|
107
|
-
}) {
|
|
108
|
-
await l.put(a, [e]), n.value.refreshData();
|
|
109
|
-
}
|
|
110
|
-
const x = async () => {
|
|
111
|
-
const e = await L.modal.confirm(w("message.delRecord")), t = n.value.getInstance().getCheckboxRecords();
|
|
112
|
-
if (e === "confirm") {
|
|
113
|
-
const [d, m] = await A(l.delete(a, t));
|
|
114
|
-
if (d) return;
|
|
115
|
-
const p = n.value.getInstance().getTreeParentRow(t[0]);
|
|
116
|
-
p ? n.value.getInstance().reloadTreeExpand(p) : n.value.refreshData();
|
|
117
|
-
}
|
|
118
|
-
}, S = (e) => {
|
|
119
|
-
r.showAuthority = !0, r.dataStatus = "update", r.record = f(e, !0), r.record.menuType = r.record.menuType.toString(), r.record.dispalyCode = e.permissionCode;
|
|
120
|
-
}, c = (e, t) => {
|
|
121
|
-
e === "submit" && (s || t) && n.value.getInstance().reloadTreeExpand(s || t), r.record = {}, r.showDrawer = !1, r.showAuthority = !1;
|
|
122
|
-
};
|
|
123
|
-
return (e, t) => {
|
|
124
|
-
const d = i("ut-grid");
|
|
125
|
-
return N(), E("div", M, [o(d, {
|
|
126
|
-
ref_key: "xgrid",
|
|
127
|
-
ref: n,
|
|
128
|
-
"tree-config": {
|
|
129
|
-
childrenField: "children",
|
|
130
|
-
lazy: !0,
|
|
131
|
-
hasChild: "hasChildren",
|
|
132
|
-
loadMethod: T,
|
|
133
|
-
iconOpen: "ri-checkbox-indeterminate-line ri-lg",
|
|
134
|
-
iconClose: "ri-add-box-line ri-lg"
|
|
135
|
-
},
|
|
136
|
-
columns: y,
|
|
137
|
-
url: a,
|
|
138
|
-
stripe: !1,
|
|
139
|
-
mode: "form",
|
|
140
|
-
onToolbarButtonClick: C
|
|
141
|
-
}, null, 8, ["tree-config"]), o(W, {
|
|
142
|
-
show: r.showDrawer,
|
|
143
|
-
record: r.record,
|
|
144
|
-
"data-status": r.dataStatus,
|
|
145
|
-
onClose: c
|
|
146
|
-
}, null, 8, ["show", "record", "data-status"]), o(R, {
|
|
147
|
-
show: r.showAuthority,
|
|
148
|
-
record: r.record,
|
|
149
|
-
onClose: c
|
|
150
|
-
}, null, 8, ["show", "record"])]);
|
|
151
|
-
};
|
|
152
|
-
}
|
|
153
|
-
});
|
|
154
|
-
export {
|
|
155
|
-
H as default
|
|
156
|
-
};
|
|
@@ -1,160 +0,0 @@
|
|
|
1
|
-
import { defineComponent as I, ref as d, reactive as B, onBeforeMount as U, resolveComponent as n, createElementBlock as _, openBlock as m, createVNode as c, withCtx as $, createBlock as j, createCommentVNode as z, mergeProps as q, toHandlers as E } from "vue";
|
|
2
|
-
import { c as P } from "./await-to-js.es5-Bv3Eu4mi-UCggJjes.js";
|
|
3
|
-
import { W as S } from "./su-welcome-BjbuSrBZ.js";
|
|
4
|
-
const V = { class: "u-dict-config_wrapper" }, H = /* @__PURE__ */ I({
|
|
5
|
-
__name: "UserInfo",
|
|
6
|
-
props: {
|
|
7
|
-
record: { default: () => ({}) },
|
|
8
|
-
show: { type: Boolean, default: !1 },
|
|
9
|
-
direction: { default: "rtl" }
|
|
10
|
-
},
|
|
11
|
-
emits: ["onClose"],
|
|
12
|
-
setup(p, { emit: f }) {
|
|
13
|
-
const o = p, g = d(!1), s = d(!1), a = S(), h = f, b = [
|
|
14
|
-
{
|
|
15
|
-
field: "userName",
|
|
16
|
-
title: "message.udp.userCode",
|
|
17
|
-
span: 8,
|
|
18
|
-
itemRender: { name: "$input" }
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
field: "name",
|
|
22
|
-
title: "message.udp.userName",
|
|
23
|
-
span: 8,
|
|
24
|
-
itemRender: { name: "$input" }
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
span: 8,
|
|
28
|
-
align: "right",
|
|
29
|
-
itemRender: {
|
|
30
|
-
name: "$buttons",
|
|
31
|
-
children: [
|
|
32
|
-
{
|
|
33
|
-
props: {
|
|
34
|
-
type: "submit",
|
|
35
|
-
content: "message.btn.search",
|
|
36
|
-
icon: "ri-search-line",
|
|
37
|
-
status: "primary"
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
{ props: { type: "reset", icon: "ri-refresh-line", content: "message.btn.reset" } }
|
|
41
|
-
]
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
], C = [
|
|
45
|
-
{ type: "checkbox", width: 50, align: "center" },
|
|
46
|
-
{
|
|
47
|
-
field: "userName",
|
|
48
|
-
title: "message.udp.userCode"
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
field: "name",
|
|
52
|
-
title: "message.udp.userName"
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
field: "enabled",
|
|
56
|
-
title: "message.enabled",
|
|
57
|
-
width: 70,
|
|
58
|
-
editRender: {
|
|
59
|
-
name: "$select",
|
|
60
|
-
options: [
|
|
61
|
-
{ label: "启用", value: "1" },
|
|
62
|
-
{ label: "禁用", value: "0" }
|
|
63
|
-
],
|
|
64
|
-
defaultValue: "1"
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
], y = [
|
|
68
|
-
{ code: "add", name: "message.btn.add", status: "u-cyan", icon: "ri-add-line" },
|
|
69
|
-
{ code: "delete", name: "message.btn.del", status: "danger", icon: "ri-delete-bin-5-fill" }
|
|
70
|
-
], v = [
|
|
71
|
-
{ field: "userName", title: "message.udp.userCode", span: 9 },
|
|
72
|
-
{ field: "name", title: "message.udp.userName", span: 9 }
|
|
73
|
-
], N = [
|
|
74
|
-
{ type: "checkbox", width: 40 },
|
|
75
|
-
{ field: "userName", title: "message.udp.userCode" },
|
|
76
|
-
{ field: "name", title: "message.udp.userName" },
|
|
77
|
-
{ field: "enabled", width: 70, formatter: ["formatDict", "SU.ENABLE"] }
|
|
78
|
-
], u = d({}), l = B({
|
|
79
|
-
height: "auto",
|
|
80
|
-
border: !0,
|
|
81
|
-
pagerConfig: {},
|
|
82
|
-
toolbarConfig: { buttons: y, perfect: !0 },
|
|
83
|
-
loading: !1,
|
|
84
|
-
formConfig: { titleWidth: 100, titleAlign: "right", items: b },
|
|
85
|
-
// data: props.record.children,
|
|
86
|
-
proxyConfig: {
|
|
87
|
-
form: !0,
|
|
88
|
-
// 查询是需要启用表单代理
|
|
89
|
-
ajax: {
|
|
90
|
-
// 接收 Promise
|
|
91
|
-
query: ({ page: e, form: r }) => {
|
|
92
|
-
const t = Object.assign({}, r);
|
|
93
|
-
return t.id = o.record.id, t.pageNum = e.currentPage, t.pageSize = e.pageSize, a.get("/uums/user/listRoleUsers", t);
|
|
94
|
-
},
|
|
95
|
-
// body 对象: { removeRecords }
|
|
96
|
-
delete: ({ body: { removeRecords: e } }) => {
|
|
97
|
-
const r = {
|
|
98
|
-
roleId: o.record.id,
|
|
99
|
-
userIds: e.map((t) => t.id).join()
|
|
100
|
-
};
|
|
101
|
-
return a.delete("/uums/role/deleteRoleUsers", r);
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
},
|
|
105
|
-
columns: C
|
|
106
|
-
}), w = {
|
|
107
|
-
toolbarButtonClick({ code: e }) {
|
|
108
|
-
e === "add" && (s.value = !0);
|
|
109
|
-
}
|
|
110
|
-
}, k = async (e) => {
|
|
111
|
-
const r = { userIds: "", roleId: o.record.id };
|
|
112
|
-
r.userIds = e.map((i) => i.id).join(","), l.loading = !0;
|
|
113
|
-
const [t] = await P(a.post("/uums/role/addUserRole", r));
|
|
114
|
-
l.loading = !1, t || (u.value.commitProxy("query"), s.value = !1);
|
|
115
|
-
};
|
|
116
|
-
function x() {
|
|
117
|
-
h("onClose");
|
|
118
|
-
}
|
|
119
|
-
return U(() => {
|
|
120
|
-
g.value = !0;
|
|
121
|
-
}), (e, r) => {
|
|
122
|
-
const t = n("vxe-grid"), i = n("ut-modal-grid"), R = n("el-drawer");
|
|
123
|
-
return m(), _("div", V, [
|
|
124
|
-
c(R, {
|
|
125
|
-
"model-value": e.show,
|
|
126
|
-
title: e.$t("message.title.authUser", { role: e.record.roleName }),
|
|
127
|
-
"before-close": x,
|
|
128
|
-
direction: "rtl",
|
|
129
|
-
"destroy-on-close": "",
|
|
130
|
-
size: "80%"
|
|
131
|
-
}, {
|
|
132
|
-
default: $(() => [
|
|
133
|
-
c(t, q({
|
|
134
|
-
ref_key: "xgrid",
|
|
135
|
-
ref: u
|
|
136
|
-
}, l, E(w)), null, 16),
|
|
137
|
-
s.value ? (m(), j(i, {
|
|
138
|
-
key: 0,
|
|
139
|
-
url: "/uums/user/listUserToRole",
|
|
140
|
-
"default-params": { roleId: e.record.id },
|
|
141
|
-
items: v,
|
|
142
|
-
columns: N,
|
|
143
|
-
"show-footer": !0,
|
|
144
|
-
editable: !1,
|
|
145
|
-
title: e.$t("message.udp.userList"),
|
|
146
|
-
width: "60%",
|
|
147
|
-
height: "75%",
|
|
148
|
-
onClose: r[0] || (r[0] = (W) => s.value = !1),
|
|
149
|
-
onConfirm: k
|
|
150
|
-
}, null, 8, ["default-params", "title"])) : z("", !0)
|
|
151
|
-
]),
|
|
152
|
-
_: 1
|
|
153
|
-
}, 8, ["model-value", "title"])
|
|
154
|
-
]);
|
|
155
|
-
};
|
|
156
|
-
}
|
|
157
|
-
});
|
|
158
|
-
export {
|
|
159
|
-
H as D
|
|
160
|
-
};
|