dlzn-ui 2.0.125 → 2.0.126
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/chunks/{AssignUser-DBjdGE2L.mjs → AssignUser-D-JkYOB8.mjs} +3 -3
- package/chunks/{BasicInfo-BEJ82Ja3.mjs → BasicInfo-CEsH-0pZ.mjs} +1 -1
- package/chunks/{ColumnInfo-5yksHDQR.mjs → ColumnInfo-BOHugehD.mjs} +2 -2
- package/chunks/{Common-Bvbt9AsN.mjs → Common-BsB2JBgP.mjs} +1 -1
- package/chunks/{Day-37obm918.mjs → Day-BiR1jIvk.mjs} +1 -1
- package/chunks/{DictTypeDetail-p4osTU6G.mjs → DictTypeDetail-AY-_0xtV.mjs} +2 -2
- package/chunks/{GenInfo-DpkErCW4.mjs → GenInfo-qOmBAs-q.mjs} +1 -1
- package/chunks/{Hour-Z2ejyfC0.mjs → Hour-BYr1lHVi.mjs} +1 -1
- package/chunks/{Import-CrjW3m5r.mjs → Import-B-3xdr5l.mjs} +2 -2
- package/chunks/{Index-BvNsPSfB.mjs → Index-B9tKApdV.mjs} +1 -1
- package/chunks/{Index-CxBlN3tl.mjs → Index-BC3wAA8r.mjs} +1 -1
- package/chunks/{Index-C5vk04nq.mjs → Index-BF0rWiko.mjs} +1 -1
- package/chunks/{Index-CnL8r_nR.mjs → Index-BT6MVtwS.mjs} +6 -6
- package/chunks/{Index-CsrogkLP.mjs → Index-BTVq22to.mjs} +1 -1
- package/chunks/{Index-BON9SotS.mjs → Index-BfwuM5xD.mjs} +1 -1
- package/chunks/{Index-HmwhpWYj.mjs → Index-BjD7ojxO.mjs} +1 -1
- package/chunks/{Index-vlh3EGoD.mjs → Index-C-DfKaE-.mjs} +1 -1
- package/chunks/{Index-j7VN4Iof.mjs → Index-C5_w2D9b.mjs} +1 -1
- package/chunks/{Index-CzLmpRF_.mjs → Index-CFU6LweI.mjs} +1 -1
- package/chunks/{Index-CKP2JA4k.mjs → Index-CNQ6cNCJ.mjs} +1 -1
- package/chunks/{Index-BxgESSZe.mjs → Index-CXVN-qHx.mjs} +1 -1
- package/chunks/{Index-BjxtT_9p.mjs → Index-DSrrffcy.mjs} +1 -1
- package/chunks/{Index-B2EW_j-f.mjs → Index-DZylH6mb.mjs} +1 -1
- package/chunks/{Index-h1cI8Sun.mjs → Index-dP2JesvU.mjs} +1 -1
- package/chunks/{Index-DP82x2cN.mjs → Index-i2yEiNEh.mjs} +1 -1
- package/chunks/{Index-BdMR2koN.mjs → Index-j18-WyNv.mjs} +1 -1
- package/chunks/{Index-Bb3hxy9C.mjs → Index-jh_Yvfr2.mjs} +1 -1
- package/chunks/{Index-2rqfZEEZ.mjs → Index-oUENB6rm.mjs} +1 -1
- package/chunks/{IndexItem-Cw8tyAMG.mjs → IndexItem-SJOquf2O.mjs} +3 -3
- package/chunks/{Log-QORSazNm.mjs → Log-BVEVG4qZ.mjs} +2 -2
- package/chunks/{LoginBg-CEKh3aGu.mjs → LoginBg-Bdretz4K.mjs} +1 -1
- package/chunks/{Minute-CUFAEwxi.mjs → Minute-BLRf_8Jb.mjs} +1 -1
- package/chunks/{Month-gxTSvKff.mjs → Month-BtvDf6jD.mjs} +1 -1
- package/chunks/{Preview-Cbv0cCcV.mjs → Preview-BFbxQzfo.mjs} +1 -1
- package/chunks/{Second-CDVMQNVS.mjs → Second-tpZMEkXD.mjs} +1 -1
- package/chunks/{SelectDept-C6eiJno8.mjs → SelectDept-5sPLI_iK.mjs} +1 -1
- package/chunks/{SelectMenu-CTtbxBkS.mjs → SelectMenu-37nusVLO.mjs} +1 -1
- package/chunks/{SelectUser-C1E4JyDL.mjs → SelectUser-zc8FqJ2O.mjs} +2 -2
- package/chunks/{UserInfo-BwFPXF17.mjs → UserInfo-C4BYqudG.mjs} +3 -3
- package/chunks/{Wrapper-DNUJFy6s.mjs → Wrapper-B9YJYhWw.mjs} +1 -1
- package/chunks/{app-BQzwHVua.mjs → app-DKi3BUdV.mjs} +1 -1
- package/chunks/{custom-page-list-Dz_cPRN9.mjs → custom-page-list-QGwDxKEa.mjs} +4 -4
- package/chunks/{custom-page-table-DqB1qQY0.mjs → custom-page-table-BQRyBiIM.mjs} +2 -2
- package/chunks/{job-CtWlk9GE.mjs → job-CgPSoy9O.mjs} +24 -24
- package/chunks/{jszip.min-Blm-2Wov.mjs → jszip.min-DUKT3zcE.mjs} +8 -8
- package/chunks/{overview-E_ImVxk3.mjs → overview-CqhFuS2y.mjs} +1 -1
- package/chunks/{page-list-BRWTu0ul.mjs → page-list-C0ER3Qbw.mjs} +3 -3
- package/chunks/{page-query-BkKTknCQ.mjs → page-query-DOPjtsRn.mjs} +1 -1
- package/chunks/{page-table-Bt0aAzt7.mjs → page-table-DceYXBo3.mjs} +6 -6
- package/chunks/{pagination-DZr7IMZL.mjs → pagination-BknEguko.mjs} +1 -1
- package/chunks/{provider-NV4Rfkxu.mjs → provider-D0oA4Xfh.mjs} +66 -63
- package/chunks/{table-CP4tg6Ct.mjs → table-BmJwS_yJ.mjs} +13 -13
- package/components/app/index.mjs +1 -1
- package/components/app/src/app.mjs +1 -1
- package/components/button/index.mjs +1 -1
- package/components/button/src/button.mjs +1 -1
- package/components/cascader/index.mjs +1 -1
- package/components/cascader/src/cascader.mjs +1 -1
- package/components/checkbox-group/index.mjs +1 -1
- package/components/checkbox-group/src/checkbox-group.mjs +1 -1
- package/components/cron/index.mjs +1 -1
- package/components/cron/src/Common.mjs +1 -1
- package/components/cron/src/Day.mjs +1 -1
- package/components/cron/src/Hour.mjs +1 -1
- package/components/cron/src/Minute.mjs +1 -1
- package/components/cron/src/Month.mjs +1 -1
- package/components/cron/src/Picker.mjs +6 -6
- package/components/cron/src/Second.mjs +1 -1
- package/components/cron/src/cron.mjs +1 -1
- package/components/custom-page-list/index.mjs +1 -1
- package/components/custom-page-list/src/custom-page-list.mjs +1 -1
- package/components/custom-page-table/index.mjs +1 -1
- package/components/custom-page-table/src/custom-page-table.mjs +1 -1
- package/components/date-picker/index.mjs +1 -1
- package/components/date-picker/src/date-picker.mjs +1 -1
- package/components/dialog/index.mjs +1 -1
- package/components/dialog/src/dialog.mjs +1 -1
- package/components/form/index.mjs +1 -1
- package/components/form/src/form.mjs +1 -1
- package/components/index.mjs +10 -10
- package/components/input-number/index.mjs +1 -1
- package/components/input-number/src/input-number.mjs +1 -1
- package/components/overview/index.mjs +1 -1
- package/components/overview/src/DicLabel/Index.mjs +1 -1
- package/components/overview/src/IndexItem.mjs +1 -1
- package/components/overview/src/OptionLabel/Index.mjs +1 -1
- package/components/overview/src/overview.mjs +1 -1
- package/components/page-list/index.mjs +1 -1
- package/components/page-list/src/page-list.mjs +1 -1
- package/components/page-query/index.mjs +1 -1
- package/components/page-query/src/page-query.mjs +1 -1
- package/components/page-table/index.mjs +1 -1
- package/components/page-table/src/page-table.mjs +1 -1
- package/components/pagination/index.mjs +1 -1
- package/components/pagination/src/pagination.mjs +1 -1
- package/components/provider/index.mjs +1 -1
- package/components/provider/src/Provider.mjs +1 -1
- package/components/radio-group/index.mjs +1 -1
- package/components/radio-group/src/radio-group.mjs +1 -1
- package/components/range-input/index.mjs +1 -1
- package/components/range-input/src/range-input.mjs +1 -1
- package/components/select/index.mjs +1 -1
- package/components/select/src/select.mjs +1 -1
- package/components/select-sys-user/index.mjs +1 -1
- package/components/select-sys-user/src/Picker.mjs +2 -2
- package/components/select-sys-user/src/select-sys-user.mjs +1 -1
- package/components/table/index.mjs +1 -1
- package/components/table/src/table.mjs +1 -1
- package/components/tree/index.mjs +1 -1
- package/components/tree/src/tree.mjs +1 -1
- package/components/tree-select/index.mjs +1 -1
- package/components/tree-select/src/tree-select.mjs +1 -1
- package/components/upload/index.mjs +1 -1
- package/components/upload/src/upload.mjs +1 -1
- package/hooks/useDicOptions/index.mjs +1 -1
- package/hooks/useLabel/index.mjs +1 -1
- package/hooks/useList/index.mjs +1 -1
- package/hooks/useSysUser/index.mjs +1 -1
- package/layout/Entry.mjs +1 -1
- package/layout/Home.mjs +2 -2
- package/layout/Login.mjs +9 -9
- package/layout/NotFound.mjs +1 -1
- package/layout/Test.mjs +3 -3
- package/layout/modules/Aside.mjs +1 -1
- package/layout/modules/Breadcrumb.mjs +1 -1
- package/layout/modules/Header.mjs +1 -1
- package/layout/modules/LoginBg.mjs +1 -1
- package/layout/profile/Index.mjs +2 -2
- package/layout/profile/ResetPwd.mjs +1 -1
- package/layout/profile/UserInfo.mjs +1 -1
- package/main.mjs +2 -2
- package/package.json +1 -1
- package/plugins/autoImport/$alova/index.mjs +1 -1
- package/plugins/autoImport/$confirm/index.mjs +1 -1
- package/plugins/autoImport/$dialog/index.mjs +1 -1
- package/plugins/autoImport/$drawer/index.mjs +1 -1
- package/plugins/autoImport/$fileView/Entry.mjs +1 -1
- package/plugins/autoImport/$fileView/index.mjs +1 -1
- package/plugins/captcha/captcha.mjs +1 -1
- package/plugins/captcha/index.mjs +1 -1
- package/plugins/directive/index.mjs +1 -1
- package/plugins/initialize/webUpdateNotify.mjs +1 -1
- package/plugins/tableRenders/Wrapper.mjs +1 -1
- package/plugins/tableRenders/cell/Audio/Index.mjs +1 -1
- package/plugins/tableRenders/cell/AudioPlay/Index.mjs +1 -1
- package/plugins/tableRenders/cell/Avatar/Index.mjs +1 -1
- package/plugins/tableRenders/cell/Buttons/Index.mjs +1 -1
- package/plugins/tableRenders/cell/DicLabel/Index.mjs +1 -1
- package/plugins/tableRenders/cell/FormatDate/Index.mjs +1 -1
- package/plugins/tableRenders/cell/FormatNumber/Index.mjs +1 -1
- package/plugins/tableRenders/cell/Icon/Index.mjs +1 -1
- package/plugins/tableRenders/cell/Image/Index.mjs +1 -1
- package/plugins/tableRenders/cell/ImageViewer/Index.mjs +1 -1
- package/plugins/tableRenders/cell/InputNumber/Index.mjs +1 -1
- package/plugins/tableRenders/cell/OptionLabel/Index.mjs +1 -1
- package/plugins/tableRenders/cell/Select/Index.mjs +1 -1
- package/plugins/tableRenders/cell/Tags/Index.mjs +1 -1
- package/plugins/tableRenders/cell/TypographyText/Index.mjs +1 -1
- package/plugins/tableRenders/cell/TypographyTextLink/Index.mjs +1 -1
- package/plugins/tableRenders/cell/index.mjs +17 -17
- package/plugins/tableRenders/title/TypographyText/Index.mjs +1 -1
- package/plugins/tableRenders/title/index.mjs +2 -2
- package/router/index.mjs +1 -1
- package/store/modules/common.mjs +1 -1
- package/store/modules/login.mjs +1 -1
- package/store/modules/recentRouters.mjs +1 -1
- package/store/modules/router.mjs +1 -1
- package/store/modules/user.mjs +1 -1
- package/utils/gather.mjs +1 -1
- package/utils/index.mjs +8 -8
- package/utils/tool.d.ts +7 -0
- package/utils/tool.mjs +1 -1
- package/views/monitor/cache/index.mjs +2 -2
- package/views/monitor/cacheList/index.mjs +2 -2
- package/views/monitor/job/index.mjs +1 -1
- package/views/monitor/logininfor/index.mjs +2 -2
- package/views/monitor/online/index.mjs +2 -2
- package/views/monitor/operlog/index.mjs +4 -4
- package/views/monitor/server/index.mjs +2 -2
- package/views/system/config/index.mjs +2 -2
- package/views/system/dept/index.mjs +2 -2
- package/views/system/dept/utils.mjs +1 -1
- package/views/system/dict/index.mjs +17 -17
- package/views/system/dict/modules/DictTypeDetail.mjs +1 -1
- package/views/system/menu/index.mjs +2 -2
- package/views/system/menu/utils.mjs +1 -1
- package/views/system/notice/index.mjs +2 -2
- package/views/system/post/index.mjs +2 -2
- package/views/system/role/index.mjs +30 -30
- package/views/system/role/modules/AssignUser.mjs +1 -1
- package/views/system/role/modules/SelectDept.mjs +1 -1
- package/views/system/role/modules/SelectMenu.mjs +1 -1
- package/views/system/role/modules/SelectUser.mjs +1 -1
- package/views/system/user/index.mjs +53 -53
- package/views/tool/gen/editTable/index.mjs +4 -4
- package/views/tool/gen/editTable/modules/BasicInfo.mjs +1 -1
- package/views/tool/gen/editTable/modules/ColumnInfo.mjs +1 -1
- package/views/tool/gen/editTable/modules/GenInfo.mjs +1 -1
- package/views/tool/gen/index.mjs +6 -6
- package/views/tool/gen/modules/Import.mjs +1 -1
- package/views/tool/gen/modules/Preview.mjs +1 -1
- package/views/tool/job/index.mjs +1 -1
- package/views/tool/job/modules/Log.mjs +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { F as e, at as t, o as n, q as r } from "../../../chunks/provider-D0oA4Xfh.mjs";
|
|
2
2
|
import "../../../components/page-list/index.mjs";
|
|
3
3
|
import "../../../components/table/index.mjs";
|
|
4
4
|
import { passwordReg as i, passwordRegMessage as a } from "../../../constants/regs.mjs";
|
|
5
|
-
import { t as o } from "../../../chunks/table-
|
|
5
|
+
import { t as o } from "../../../chunks/table-BmJwS_yJ.mjs";
|
|
6
6
|
import s from "../../../plugins/autoImport/$msg/index.mjs";
|
|
7
|
-
import { t as c } from "../../../chunks/page-list-
|
|
7
|
+
import { t as c } from "../../../chunks/page-list-C0ER3Qbw.mjs";
|
|
8
8
|
import { n as l } from "../../../chunks/useAppContext-DAxNLHY9.mjs";
|
|
9
9
|
import { deptTreeList as u, deptTreeListSend as d } from "../dept/utils.mjs";
|
|
10
10
|
import { createBlock as f, defineComponent as p, h as m, mergeProps as h, onActivated as g, openBlock as _, reactive as v, ref as y, unref as b, useTemplateRef as x, watch as S } from "vue";
|
|
@@ -22,7 +22,7 @@ var w = /* @__PURE__ */ p({
|
|
|
22
22
|
g(() => {
|
|
23
23
|
d();
|
|
24
24
|
});
|
|
25
|
-
let { send: E } = C((
|
|
25
|
+
let { send: E } = C((t) => e.Get(`system/user/${t}`, { meta: { useDataResult: !1 } }), { immediate: !1 }), D = x("pageListRef"), O = {
|
|
26
26
|
deptId: v({
|
|
27
27
|
_label: "归属部门",
|
|
28
28
|
_required: !0,
|
|
@@ -120,11 +120,11 @@ var w = /* @__PURE__ */ p({
|
|
|
120
120
|
method: "system/user/export",
|
|
121
121
|
permission: "system:user:export"
|
|
122
122
|
},
|
|
123
|
-
list: { method: (
|
|
124
|
-
...
|
|
123
|
+
list: { method: (t) => e.Get("system/user/list", { params: {
|
|
124
|
+
...t,
|
|
125
125
|
dateRange: void 0,
|
|
126
|
-
"params[beginTime]":
|
|
127
|
-
"params[endTime]":
|
|
126
|
+
"params[beginTime]": t.dateRange[0] ?? "",
|
|
127
|
+
"params[endTime]": t.dateRange[1] ?? ""
|
|
128
128
|
} }) }
|
|
129
129
|
},
|
|
130
130
|
columns: [
|
|
@@ -160,10 +160,10 @@ var w = /* @__PURE__ */ p({
|
|
|
160
160
|
title: "手机号码"
|
|
161
161
|
},
|
|
162
162
|
{
|
|
163
|
-
cell: (
|
|
163
|
+
cell: (n, { row: r }) => ({
|
|
164
164
|
beforeChange: async () => {
|
|
165
|
-
let
|
|
166
|
-
return await
|
|
165
|
+
let n = r.status === "1" ? "启用" : "停用";
|
|
166
|
+
return await t(`确认${n}${r.userName}用户吗?`), await e.Put("system/user/changeStatus", {
|
|
167
167
|
status: r.status === "1" ? "0" : "1",
|
|
168
168
|
userId: r.userId
|
|
169
169
|
}, { meta: { useSuccessMsg: !0 } }), D.value.query(), !0;
|
|
@@ -203,8 +203,8 @@ var w = /* @__PURE__ */ p({
|
|
|
203
203
|
let { data: a, postIds: o, posts: c, roleIds: l, roles: u } = await E(i.userId), d = y(null);
|
|
204
204
|
S(d, () => {
|
|
205
205
|
d.value.setFormData(a, { splitToArrKeys: VITE_APP_ID === "1" ? ["userDeptIds"] : [] });
|
|
206
|
-
}, { once: !0 }),
|
|
207
|
-
body: () => m(
|
|
206
|
+
}, { once: !0 }), t({
|
|
207
|
+
body: () => m(n, {
|
|
208
208
|
data: v({
|
|
209
209
|
postIds: o,
|
|
210
210
|
roleIds: l
|
|
@@ -240,13 +240,13 @@ var w = /* @__PURE__ */ p({
|
|
|
240
240
|
}),
|
|
241
241
|
header: "修改用户",
|
|
242
242
|
onConfirmCallback: async () => {
|
|
243
|
-
let
|
|
244
|
-
await
|
|
245
|
-
...
|
|
246
|
-
...VITE_APP_ID === "1" ? { userDeptIds:
|
|
243
|
+
let t = await d.value.validate();
|
|
244
|
+
await e.Put("system/user", {
|
|
245
|
+
...t,
|
|
246
|
+
...VITE_APP_ID === "1" ? { userDeptIds: t.userDeptIds.join(",") } : {},
|
|
247
247
|
userId: a.userId,
|
|
248
248
|
userName: a.userName
|
|
249
|
-
}),
|
|
249
|
+
}), r(a.userId), s.success("用户修改成功"), D.value.query();
|
|
250
250
|
},
|
|
251
251
|
width: 730
|
|
252
252
|
});
|
|
@@ -254,12 +254,12 @@ var w = /* @__PURE__ */ p({
|
|
|
254
254
|
permission: "system:user:edit",
|
|
255
255
|
show: i.userId !== "1"
|
|
256
256
|
}),
|
|
257
|
-
({ row:
|
|
257
|
+
({ row: r }) => ({
|
|
258
258
|
default: "重置密码",
|
|
259
259
|
onClick: async () => {
|
|
260
260
|
let o = y(null);
|
|
261
|
-
|
|
262
|
-
body: () => m(
|
|
261
|
+
t({
|
|
262
|
+
body: () => m(n, {
|
|
263
263
|
items: [{
|
|
264
264
|
_required: !0,
|
|
265
265
|
_rules: [{
|
|
@@ -272,25 +272,25 @@ var w = /* @__PURE__ */ p({
|
|
|
272
272
|
}],
|
|
273
273
|
ref: o
|
|
274
274
|
}),
|
|
275
|
-
header: `请输入${
|
|
275
|
+
header: `请输入${r.userName}用户的新密码`,
|
|
276
276
|
onConfirmCallback: async () => {
|
|
277
|
-
let
|
|
278
|
-
await
|
|
279
|
-
password:
|
|
280
|
-
userId:
|
|
281
|
-
}), l(`密码修改成功,新密码是:${
|
|
277
|
+
let t = (await o.value.validate()).newPassword;
|
|
278
|
+
await e.Put("system/user/resetPwd", {
|
|
279
|
+
password: t,
|
|
280
|
+
userId: r.userId
|
|
281
|
+
}), l(`密码修改成功,新密码是:${t}`), D.value.query();
|
|
282
282
|
},
|
|
283
283
|
width: 430
|
|
284
284
|
});
|
|
285
285
|
},
|
|
286
286
|
permission: "system:user:resetPwd",
|
|
287
|
-
show:
|
|
287
|
+
show: r.userId !== "1"
|
|
288
288
|
}),
|
|
289
|
-
({ row:
|
|
289
|
+
({ row: n }) => ({
|
|
290
290
|
default: "分配角色",
|
|
291
291
|
onClick: async () => {
|
|
292
|
-
let { roles: r, user: i } = await
|
|
293
|
-
|
|
292
|
+
let { roles: r, user: i } = await e.Get(`system/user/authRole/${n.userId}`), a = y(null);
|
|
293
|
+
t({
|
|
294
294
|
body: () => m(o, {
|
|
295
295
|
columns: [
|
|
296
296
|
{
|
|
@@ -322,11 +322,11 @@ var w = /* @__PURE__ */ p({
|
|
|
322
322
|
}),
|
|
323
323
|
header: `为用户${i.nickName}(${i.userName})分配角色`,
|
|
324
324
|
onConfirmCallback: async () => {
|
|
325
|
-
await
|
|
325
|
+
await e.Put("system/user/authRole", {}, {
|
|
326
326
|
meta: { useSuccessMsg: !0 },
|
|
327
327
|
params: {
|
|
328
328
|
roleIds: a.value.selectedRowKeys.join(","),
|
|
329
|
-
userId:
|
|
329
|
+
userId: n.userId
|
|
330
330
|
}
|
|
331
331
|
}), D.value.query();
|
|
332
332
|
},
|
|
@@ -334,18 +334,18 @@ var w = /* @__PURE__ */ p({
|
|
|
334
334
|
});
|
|
335
335
|
},
|
|
336
336
|
permission: "system:user:edit",
|
|
337
|
-
show:
|
|
337
|
+
show: n.userId !== "1"
|
|
338
338
|
}),
|
|
339
|
-
({ row:
|
|
339
|
+
({ row: t }) => ({
|
|
340
340
|
default: "删除",
|
|
341
341
|
permission: "system:user:remove",
|
|
342
342
|
popconfirm: {
|
|
343
343
|
content: "确认删除吗",
|
|
344
344
|
onConfirm: async () => {
|
|
345
|
-
await
|
|
345
|
+
await e.Delete(`system/user/${t.userId}`), s("删除成功"), D.value.query();
|
|
346
346
|
}
|
|
347
347
|
},
|
|
348
|
-
show:
|
|
348
|
+
show: t.userId !== "1"
|
|
349
349
|
})
|
|
350
350
|
],
|
|
351
351
|
component: "Buttons"
|
|
@@ -376,9 +376,9 @@ var w = /* @__PURE__ */ p({
|
|
|
376
376
|
{
|
|
377
377
|
default: "新增",
|
|
378
378
|
onClick: async () => {
|
|
379
|
-
let { posts:
|
|
380
|
-
|
|
381
|
-
body: () => m(
|
|
379
|
+
let { posts: r, roles: i } = await E(""), a = y(null);
|
|
380
|
+
t({
|
|
381
|
+
body: () => m(n, {
|
|
382
382
|
data: v({ status: "0" }),
|
|
383
383
|
items: [
|
|
384
384
|
O.nickName,
|
|
@@ -393,7 +393,7 @@ var w = /* @__PURE__ */ p({
|
|
|
393
393
|
O.status,
|
|
394
394
|
{
|
|
395
395
|
...O.postIds,
|
|
396
|
-
options:
|
|
396
|
+
options: r.map((e) => ({
|
|
397
397
|
disabled: e.status === "1",
|
|
398
398
|
label: e.postName,
|
|
399
399
|
value: e.postId
|
|
@@ -413,10 +413,10 @@ var w = /* @__PURE__ */ p({
|
|
|
413
413
|
}),
|
|
414
414
|
header: "添加用户",
|
|
415
415
|
onConfirmCallback: async () => {
|
|
416
|
-
let
|
|
417
|
-
await
|
|
418
|
-
...
|
|
419
|
-
...VITE_APP_ID === "1" ? { userDeptIds:
|
|
416
|
+
let t = await a.value.validate();
|
|
417
|
+
await e.Post("system/user", {
|
|
418
|
+
...t,
|
|
419
|
+
...VITE_APP_ID === "1" ? { userDeptIds: t.userDeptIds.join(",") } : {}
|
|
420
420
|
}), s.success("用户添加成功"), D.value.query();
|
|
421
421
|
},
|
|
422
422
|
width: 730
|
|
@@ -428,13 +428,13 @@ var w = /* @__PURE__ */ p({
|
|
|
428
428
|
{
|
|
429
429
|
default: "导入",
|
|
430
430
|
onClick: async () => {
|
|
431
|
-
let
|
|
432
|
-
|
|
433
|
-
body: () => m(
|
|
431
|
+
let r = y(null);
|
|
432
|
+
t({
|
|
433
|
+
body: () => m(n, {
|
|
434
434
|
items: [{
|
|
435
435
|
_required: !0,
|
|
436
436
|
component: "TUpload",
|
|
437
|
-
downloadTemplate:
|
|
437
|
+
downloadTemplate: e.Post("system/user/importTemplate", {}, { meta: { useDownload: "用户管理导入模板.xlsx" } }),
|
|
438
438
|
model: "file",
|
|
439
439
|
tips: "请下载模板,并按照模板格式导入"
|
|
440
440
|
}, {
|
|
@@ -442,14 +442,14 @@ var w = /* @__PURE__ */ p({
|
|
|
442
442
|
label: "是否更新已经存在的用户数据",
|
|
443
443
|
model: "updateSupport"
|
|
444
444
|
}],
|
|
445
|
-
ref:
|
|
445
|
+
ref: r
|
|
446
446
|
}),
|
|
447
447
|
header: "导入用户",
|
|
448
448
|
onConfirmCallback: async () => {
|
|
449
|
-
let
|
|
450
|
-
await
|
|
449
|
+
let t = await r.value.validate();
|
|
450
|
+
await e.Post("system/user/importData", { file: t.file[0].raw }, {
|
|
451
451
|
meta: { useFormData: !0 },
|
|
452
|
-
params: { updateSupport:
|
|
452
|
+
params: { updateSupport: t.updateSupport }
|
|
453
453
|
}), D.value.query();
|
|
454
454
|
},
|
|
455
455
|
width: 480
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { F as e, n as t, rt as n } from "../../../../chunks/provider-D0oA4Xfh.mjs";
|
|
2
2
|
import r from "../../../../hooks/useMountedPromise/index.mjs";
|
|
3
3
|
import i from "../../../../store/modules/excludeKPname.mjs";
|
|
4
|
-
import { t as a } from "../../../../chunks/BasicInfo-
|
|
5
|
-
import { t as o } from "../../../../chunks/ColumnInfo-
|
|
6
|
-
import { t as s } from "../../../../chunks/GenInfo-
|
|
4
|
+
import { t as a } from "../../../../chunks/BasicInfo-CEsH-0pZ.mjs";
|
|
5
|
+
import { t as o } from "../../../../chunks/ColumnInfo-BOHugehD.mjs";
|
|
6
|
+
import { t as s } from "../../../../chunks/GenInfo-qOmBAs-q.mjs";
|
|
7
7
|
import { createElementBlock as c, createElementVNode as l, createTextVNode as u, createVNode as d, defineComponent as f, openBlock as p, ref as m, unref as h, withCtx as g } from "vue";
|
|
8
8
|
import { useRoute as _ } from "vue-router";
|
|
9
9
|
// ../../packages/dlzn-ui/views/tool/gen/editTable/index.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "../../../../../chunks/BasicInfo-
|
|
1
|
+
export { t as default } from "../../../../../chunks/BasicInfo-CEsH-0pZ.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "../../../../../chunks/ColumnInfo-
|
|
1
|
+
export { t as default } from "../../../../../chunks/ColumnInfo-BOHugehD.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "../../../../../chunks/GenInfo-
|
|
1
|
+
export { t as default } from "../../../../../chunks/GenInfo-qOmBAs-q.mjs";
|
package/views/tool/gen/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "../../../components/page-list/index.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import { t as r } from "../../../chunks/page-list-
|
|
2
|
+
import { F as e, at as t, ot as n } from "../../../chunks/provider-D0oA4Xfh.mjs";
|
|
3
|
+
import { t as r } from "../../../chunks/page-list-C0ER3Qbw.mjs";
|
|
4
4
|
import { n as i } from "../../../chunks/useAppContext-DAxNLHY9.mjs";
|
|
5
|
-
import { t as a } from "../../../chunks/Import-
|
|
6
|
-
import { t as o } from "../../../chunks/Preview-
|
|
5
|
+
import { t as a } from "../../../chunks/Import-B-3xdr5l.mjs";
|
|
6
|
+
import { t as o } from "../../../chunks/Preview-BFbxQzfo.mjs";
|
|
7
7
|
import { computed as s, createBlock as c, defineComponent as l, h as u, mergeProps as d, openBlock as f, reactive as p, ref as m, unref as h, useTemplateRef as g } from "vue";
|
|
8
8
|
import { useRouter as _ } from "vue-router";
|
|
9
9
|
// ../../packages/dlzn-ui/views/tool/gen/index.vue
|
|
@@ -76,7 +76,7 @@ var v = /* @__PURE__ */ l({
|
|
|
76
76
|
({ row: e }) => ({
|
|
77
77
|
default: "预览",
|
|
78
78
|
onClick: () => {
|
|
79
|
-
|
|
79
|
+
n({
|
|
80
80
|
body: () => u(o, { tableId: e.tableId }),
|
|
81
81
|
cancelBtn: "关闭",
|
|
82
82
|
confirmBtn: null,
|
|
@@ -136,7 +136,7 @@ var v = /* @__PURE__ */ l({
|
|
|
136
136
|
default: "导入",
|
|
137
137
|
onClick: () => {
|
|
138
138
|
let e = m(null);
|
|
139
|
-
|
|
139
|
+
t({
|
|
140
140
|
body: () => u(a, { ref: e }),
|
|
141
141
|
header: "导入表",
|
|
142
142
|
onConfirmCallback: async () => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "../../../../chunks/Import-
|
|
1
|
+
export { t as default } from "../../../../chunks/Import-B-3xdr5l.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "../../../../chunks/Preview-
|
|
1
|
+
export { t as default } from "../../../../chunks/Preview-BFbxQzfo.mjs";
|
package/views/tool/job/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "../../../chunks/job-
|
|
1
|
+
export { t as default } from "../../../chunks/job-CgPSoy9O.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "../../../../chunks/Log-
|
|
1
|
+
export { t as default } from "../../../../chunks/Log-BVEVG4qZ.mjs";
|