dlzn-ui 2.0.124 → 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/assets/{provider-C_AVk_p8.css → provider-z0U48-Jh.css} +1 -1
- package/chunks/{AssignUser-DK1MiMdq.mjs → AssignUser-D-JkYOB8.mjs} +3 -3
- package/chunks/{BasicInfo-5yGSJ1G1.mjs → BasicInfo-CEsH-0pZ.mjs} +1 -1
- package/chunks/{ColumnInfo-CPCdnV6m.mjs → ColumnInfo-BOHugehD.mjs} +2 -2
- package/chunks/{Common-u9d-d9TW.mjs → Common-BsB2JBgP.mjs} +1 -1
- package/chunks/{Day-D73qn-jG.mjs → Day-BiR1jIvk.mjs} +1 -1
- package/chunks/{DictTypeDetail-CV-q703y.mjs → DictTypeDetail-AY-_0xtV.mjs} +2 -2
- package/chunks/{GenInfo-n-z1Zhv_.mjs → GenInfo-qOmBAs-q.mjs} +1 -1
- package/chunks/{Hour-C5C5qbIX.mjs → Hour-BYr1lHVi.mjs} +1 -1
- package/chunks/{Import-DkyhEhYi.mjs → Import-B-3xdr5l.mjs} +2 -2
- package/chunks/{Index-C5r_Zq2g.mjs → Index-B9tKApdV.mjs} +1 -1
- package/chunks/{Index-Dzf4uB7i.mjs → Index-BC3wAA8r.mjs} +1 -1
- package/chunks/{Index-DDHpO22l.mjs → Index-BF0rWiko.mjs} +1 -1
- package/chunks/{Index-Q_xHFThM.mjs → Index-BT6MVtwS.mjs} +6 -6
- package/chunks/{Index-BUN6TcBS.mjs → Index-BTVq22to.mjs} +1 -1
- package/chunks/{Index-DKyjhuIW.mjs → Index-BfwuM5xD.mjs} +1 -1
- package/chunks/{Index-DxdsPF04.mjs → Index-BjD7ojxO.mjs} +1 -1
- package/chunks/{Index-CXCKD_8l.mjs → Index-C-DfKaE-.mjs} +1 -1
- package/chunks/{Index-BtkGXplj.mjs → Index-C5_w2D9b.mjs} +1 -1
- package/chunks/{Index-bEAEMr1o.mjs → Index-CFU6LweI.mjs} +1 -1
- package/chunks/{Index-CNf8V1zN.mjs → Index-CNQ6cNCJ.mjs} +1 -1
- package/chunks/{Index-0E7HKjme.mjs → Index-CXVN-qHx.mjs} +1 -1
- package/chunks/{Index-Bcfy3ZxN.mjs → Index-DSrrffcy.mjs} +1 -1
- package/chunks/{Index-DghG2pVD.mjs → Index-DZylH6mb.mjs} +1 -1
- package/chunks/{Index-lStH6Up4.mjs → Index-dP2JesvU.mjs} +1 -1
- package/chunks/{Index-BLANUNDy.mjs → Index-i2yEiNEh.mjs} +1 -1
- package/chunks/{Index-CKvqn1VT.mjs → Index-j18-WyNv.mjs} +1 -1
- package/chunks/{Index-Dfr10NsD.mjs → Index-jh_Yvfr2.mjs} +1 -1
- package/chunks/{Index-CCleBiMu.mjs → Index-oUENB6rm.mjs} +1 -1
- package/chunks/{IndexItem-CZ_kv23h.mjs → IndexItem-SJOquf2O.mjs} +3 -3
- package/chunks/{Log-B62TtjMC.mjs → Log-BVEVG4qZ.mjs} +2 -2
- package/chunks/{LoginBg-C3pB3Prp.mjs → LoginBg-Bdretz4K.mjs} +1 -1
- package/chunks/{Minute-DqRgTw-K.mjs → Minute-BLRf_8Jb.mjs} +1 -1
- package/chunks/{Month-OwJunIP0.mjs → Month-BtvDf6jD.mjs} +1 -1
- package/chunks/{Preview-B6ldeRpA.mjs → Preview-BFbxQzfo.mjs} +1 -1
- package/chunks/{Second-G_FPmIQR.mjs → Second-tpZMEkXD.mjs} +1 -1
- package/chunks/{SelectDept-D31OC0ZG.mjs → SelectDept-5sPLI_iK.mjs} +1 -1
- package/chunks/{SelectMenu-DR4v21OT.mjs → SelectMenu-37nusVLO.mjs} +1 -1
- package/chunks/{SelectUser-DQPIG6Y8.mjs → SelectUser-zc8FqJ2O.mjs} +2 -2
- package/chunks/{UserInfo-CFpD-BND.mjs → UserInfo-C4BYqudG.mjs} +3 -3
- package/chunks/{Wrapper-BNCXQSbQ.mjs → Wrapper-B9YJYhWw.mjs} +1 -1
- package/chunks/{app-WRCz6Eys.mjs → app-DKi3BUdV.mjs} +1 -1
- package/chunks/{custom-page-list-oEZHtPRe.mjs → custom-page-list-QGwDxKEa.mjs} +4 -4
- package/chunks/{custom-page-table-B4lx28cL.mjs → custom-page-table-BQRyBiIM.mjs} +2 -2
- package/chunks/{job-C10oJFoE.mjs → job-CgPSoy9O.mjs} +24 -24
- package/chunks/{jszip.min-BsTX4vuD.mjs → jszip.min-DUKT3zcE.mjs} +8 -8
- package/chunks/{overview-0lv-a-jL.mjs → overview-CqhFuS2y.mjs} +1 -1
- package/chunks/{page-list-B2S6cjyN.mjs → page-list-C0ER3Qbw.mjs} +4 -5
- package/chunks/{page-query-CUAnIjFV.mjs → page-query-DOPjtsRn.mjs} +1 -1
- package/chunks/{page-table-DTbKIx-O.mjs → page-table-DceYXBo3.mjs} +6 -6
- package/chunks/{pagination-Ct7V9l1R.mjs → pagination-BknEguko.mjs} +1 -1
- package/chunks/{provider-Ci5PGsw4.mjs → provider-D0oA4Xfh.mjs} +425 -435
- package/chunks/{table-BeoNI-id.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 +3 -3
- package/plugins/autoImport/$alova/index.d.ts +2 -2
- 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/proj-template/.vscode/settings.json +1 -0
- 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/string.mjs +1 -1
- package/utils/tool.d.ts +19 -3
- 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 -56
- 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 +7 -10
- 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,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { F as e } from "../../../chunks/provider-D0oA4Xfh.mjs";
|
|
2
2
|
import { flatArrToTree as t } from "../../../utils/tree.mjs";
|
|
3
3
|
import { useRequest as n } from "alova/client";
|
|
4
4
|
// ../../packages/dlzn-ui/views/system/menu/utils.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { F as e, at as t, o as n } from "../../../chunks/provider-D0oA4Xfh.mjs";
|
|
2
2
|
import "../../../components/page-list/index.mjs";
|
|
3
|
-
import { t as r } from "../../../chunks/page-list-
|
|
3
|
+
import { t as r } from "../../../chunks/page-list-C0ER3Qbw.mjs";
|
|
4
4
|
import i from "../../../plugins/autoImport/$msg/index.mjs";
|
|
5
5
|
import { createBlock as a, defineComponent as o, h as s, mergeProps as c, openBlock as l, reactive as u, ref as d, unref as f, useTemplateRef as p, watch as m } from "vue";
|
|
6
6
|
// ../../packages/dlzn-ui/views/system/notice/index.vue
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { F as e, at as t, o as n } from "../../../chunks/provider-D0oA4Xfh.mjs";
|
|
2
2
|
import "../../../components/page-list/index.mjs";
|
|
3
|
-
import { t as r } from "../../../chunks/page-list-
|
|
3
|
+
import { t as r } from "../../../chunks/page-list-C0ER3Qbw.mjs";
|
|
4
4
|
import i from "../../../plugins/autoImport/$msg/index.mjs";
|
|
5
5
|
import { createBlock as a, defineComponent as o, h as s, mergeProps as c, openBlock as l, reactive as u, ref as d, unref as f, useTemplateRef as p, watch as m } from "vue";
|
|
6
6
|
// ../../packages/dlzn-ui/views/system/post/index.vue
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { F as e, at as t, o as n, ot as r } from "../../../chunks/provider-D0oA4Xfh.mjs";
|
|
2
2
|
import "../../../components/page-list/index.mjs";
|
|
3
|
-
import { t as i } from "../../../chunks/page-list-
|
|
3
|
+
import { t as i } from "../../../chunks/page-list-C0ER3Qbw.mjs";
|
|
4
4
|
import a from "../../../plugins/autoImport/$msg/index.mjs";
|
|
5
|
-
import { t as o } from "../../../chunks/AssignUser-
|
|
6
|
-
import { t as s } from "../../../chunks/SelectDept-
|
|
7
|
-
import { t as c } from "../../../chunks/SelectMenu-
|
|
5
|
+
import { t as o } from "../../../chunks/AssignUser-D-JkYOB8.mjs";
|
|
6
|
+
import { t as s } from "../../../chunks/SelectDept-5sPLI_iK.mjs";
|
|
7
|
+
import { t as c } from "../../../chunks/SelectMenu-37nusVLO.mjs";
|
|
8
8
|
import { createBlock as l, defineComponent as u, h as d, mergeProps as f, openBlock as p, reactive as m, ref as h, unref as g, useTemplateRef as _, watch as v } from "vue";
|
|
9
9
|
// ../../packages/dlzn-ui/views/system/role/index.vue
|
|
10
10
|
var y = /* @__PURE__ */ u({
|
|
@@ -85,10 +85,10 @@ var y = /* @__PURE__ */ u({
|
|
|
85
85
|
title: "显示顺序"
|
|
86
86
|
},
|
|
87
87
|
{
|
|
88
|
-
cell: (
|
|
88
|
+
cell: (n, { row: r }) => ({
|
|
89
89
|
beforeChange: async () => {
|
|
90
|
-
let
|
|
91
|
-
return await
|
|
90
|
+
let n = r.status === "1" ? "启用" : "停用";
|
|
91
|
+
return await t(`确认${n}${r.roleName}角色吗?`), await e.Put("system/role/changeStatus", {
|
|
92
92
|
roleId: r.roleId,
|
|
93
93
|
status: r.status === "1" ? "0" : "1"
|
|
94
94
|
}, { meta: { useSuccessMsg: !0 } }), y.value.query(), !0;
|
|
@@ -123,11 +123,11 @@ var y = /* @__PURE__ */ u({
|
|
|
123
123
|
{
|
|
124
124
|
cell: {
|
|
125
125
|
buttons: [
|
|
126
|
-
({ row:
|
|
126
|
+
({ row: r }) => ({
|
|
127
127
|
default: "编辑",
|
|
128
128
|
onClick: async () => {
|
|
129
|
-
let { checkedKeys: i, menus: o } = await e.Get(`system/menu/roleMenuTreeselect/${
|
|
130
|
-
if (
|
|
129
|
+
let { checkedKeys: i, menus: o } = await e.Get(`system/menu/roleMenuTreeselect/${r.roleId}`), s = h(null);
|
|
130
|
+
if (r.menuCheckStrictly) {
|
|
131
131
|
let e = (t) => t.some((t) => t.children && e(t.children) || i.includes(t.id)), t = (n) => {
|
|
132
132
|
n.forEach((n) => {
|
|
133
133
|
n.children && (e(n.children) && (i.includes(n.id) || i.push(n.id)), t(n.children));
|
|
@@ -136,9 +136,9 @@ var y = /* @__PURE__ */ u({
|
|
|
136
136
|
t(o);
|
|
137
137
|
}
|
|
138
138
|
v(s, () => {
|
|
139
|
-
s.value.setFormData(
|
|
140
|
-
}, { once: !0 }),
|
|
141
|
-
body: () => d(
|
|
139
|
+
s.value.setFormData(r);
|
|
140
|
+
}, { once: !0 }), t({
|
|
141
|
+
body: () => d(n, {
|
|
142
142
|
data: m({ menuIds: i }),
|
|
143
143
|
items: [
|
|
144
144
|
b.roleName,
|
|
@@ -155,20 +155,20 @@ var y = /* @__PURE__ */ u({
|
|
|
155
155
|
await e.Put("system/role", {
|
|
156
156
|
...await s.value.validate(),
|
|
157
157
|
menuCheckStrictly: !1,
|
|
158
|
-
roleId:
|
|
158
|
+
roleId: r.roleId
|
|
159
159
|
}), a.success("角色修改成功"), y.value.query();
|
|
160
160
|
},
|
|
161
161
|
width: 730
|
|
162
162
|
});
|
|
163
163
|
},
|
|
164
164
|
permission: "system:role:edit",
|
|
165
|
-
show:
|
|
165
|
+
show: r.roleId !== "1"
|
|
166
166
|
}),
|
|
167
|
-
({ row:
|
|
167
|
+
({ row: r }) => ({
|
|
168
168
|
default: "数据权限",
|
|
169
169
|
onClick: async () => {
|
|
170
|
-
let { checkedKeys: i, depts: o } = await e.Get(`system/role/deptTree/${
|
|
171
|
-
if (
|
|
170
|
+
let { checkedKeys: i, depts: o } = await e.Get(`system/role/deptTree/${r.roleId}`), c = h(null);
|
|
171
|
+
if (r.deptCheckStrictly) {
|
|
172
172
|
let e = (t) => t.some((t) => t.children && e(t.children) || i.includes(t.id)), t = (n) => {
|
|
173
173
|
n.forEach((n) => {
|
|
174
174
|
n.children && (e(n.children) && (i.includes(n.id) || i.push(n.id)), t(n.children));
|
|
@@ -177,9 +177,9 @@ var y = /* @__PURE__ */ u({
|
|
|
177
177
|
t(o);
|
|
178
178
|
}
|
|
179
179
|
v(c, () => {
|
|
180
|
-
c.value.setFormData(
|
|
181
|
-
}, { once: !0 }),
|
|
182
|
-
body: () => d(
|
|
180
|
+
c.value.setFormData(r);
|
|
181
|
+
}, { once: !0 }), t({
|
|
182
|
+
body: () => d(n, {
|
|
183
183
|
data: m({ deptIds: i }),
|
|
184
184
|
items: [
|
|
185
185
|
{
|
|
@@ -213,25 +213,25 @@ var y = /* @__PURE__ */ u({
|
|
|
213
213
|
],
|
|
214
214
|
ref: c
|
|
215
215
|
}, { dept_ids: () => d(s, { deptOptions: o }) }),
|
|
216
|
-
header: `给${
|
|
216
|
+
header: `给${r.roleName}分配数据权限`,
|
|
217
217
|
onConfirmCallback: async () => {
|
|
218
218
|
await e.Put("system/role/dataScope", {
|
|
219
219
|
deptIds: [],
|
|
220
220
|
...await c.value.validate(),
|
|
221
221
|
deptCheckStrictly: !1,
|
|
222
|
-
roleId:
|
|
222
|
+
roleId: r.roleId
|
|
223
223
|
}), a.success("数据权限分配成功"), y.value.query();
|
|
224
224
|
},
|
|
225
225
|
width: 430
|
|
226
226
|
});
|
|
227
227
|
},
|
|
228
228
|
permission: "system:role:edit",
|
|
229
|
-
show:
|
|
229
|
+
show: r.roleId !== "1"
|
|
230
230
|
}),
|
|
231
231
|
({ row: e }) => ({
|
|
232
232
|
default: "分配用户",
|
|
233
233
|
onClick: async () => {
|
|
234
|
-
|
|
234
|
+
r({
|
|
235
235
|
body: () => d(o, { roleId: e.roleId }),
|
|
236
236
|
footer: !1,
|
|
237
237
|
header: `给${e.roleName}分配用户`,
|
|
@@ -277,9 +277,9 @@ var y = /* @__PURE__ */ u({
|
|
|
277
277
|
operations: [{
|
|
278
278
|
default: "新增",
|
|
279
279
|
onClick: async () => {
|
|
280
|
-
let
|
|
281
|
-
|
|
282
|
-
body: () => d(
|
|
280
|
+
let r = await e.Get("system/menu/treeselect"), i = h(null);
|
|
281
|
+
t({
|
|
282
|
+
body: () => d(n, {
|
|
283
283
|
data: m({
|
|
284
284
|
menuIds: [],
|
|
285
285
|
status: "0"
|
|
@@ -293,7 +293,7 @@ var y = /* @__PURE__ */ u({
|
|
|
293
293
|
b.remark
|
|
294
294
|
],
|
|
295
295
|
ref: i
|
|
296
|
-
}, { menu_ids: () => d(c, { menuOptions:
|
|
296
|
+
}, { menu_ids: () => d(c, { menuOptions: r }) }),
|
|
297
297
|
header: "添加角色",
|
|
298
298
|
onConfirmCallback: async () => {
|
|
299
299
|
await e.Post("system/role", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "../../../../chunks/AssignUser-
|
|
1
|
+
export { t as default } from "../../../../chunks/AssignUser-D-JkYOB8.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "../../../../chunks/SelectDept-
|
|
1
|
+
export { t as default } from "../../../../chunks/SelectDept-5sPLI_iK.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "../../../../chunks/SelectMenu-
|
|
1
|
+
export { t as default } from "../../../../chunks/SelectMenu-37nusVLO.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "../../../../chunks/SelectUser-
|
|
1
|
+
export { t as default } from "../../../../chunks/SelectUser-zc8FqJ2O.mjs";
|
|
@@ -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,16 +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:
|
|
438
|
-
useDownload: "用户管理导入模板.xlsx",
|
|
439
|
-
useResponseBlob: !0
|
|
440
|
-
} }),
|
|
437
|
+
downloadTemplate: e.Post("system/user/importTemplate", {}, { meta: { useDownload: "用户管理导入模板.xlsx" } }),
|
|
441
438
|
model: "file",
|
|
442
439
|
tips: "请下载模板,并按照模板格式导入"
|
|
443
440
|
}, {
|
|
@@ -445,14 +442,14 @@ var w = /* @__PURE__ */ p({
|
|
|
445
442
|
label: "是否更新已经存在的用户数据",
|
|
446
443
|
model: "updateSupport"
|
|
447
444
|
}],
|
|
448
|
-
ref:
|
|
445
|
+
ref: r
|
|
449
446
|
}),
|
|
450
447
|
header: "导入用户",
|
|
451
448
|
onConfirmCallback: async () => {
|
|
452
|
-
let
|
|
453
|
-
await
|
|
449
|
+
let t = await r.value.validate();
|
|
450
|
+
await e.Post("system/user/importData", { file: t.file[0].raw }, {
|
|
454
451
|
meta: { useFormData: !0 },
|
|
455
|
-
params: { updateSupport:
|
|
452
|
+
params: { updateSupport: t.updateSupport }
|
|
456
453
|
}), D.value.query();
|
|
457
454
|
},
|
|
458
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
|
|
@@ -31,10 +31,7 @@ var v = /* @__PURE__ */ l({
|
|
|
31
31
|
};
|
|
32
32
|
async function S(t) {
|
|
33
33
|
await e.Get("tool/gen/batchGenCode", {
|
|
34
|
-
meta: {
|
|
35
|
-
useDownload: `生成的代码${t}.zip`,
|
|
36
|
-
useResponseBlob: !0
|
|
37
|
-
},
|
|
34
|
+
meta: { useDownload: `生成的代码${t}.zip` },
|
|
38
35
|
params: { tables: t }
|
|
39
36
|
});
|
|
40
37
|
}
|
|
@@ -79,7 +76,7 @@ var v = /* @__PURE__ */ l({
|
|
|
79
76
|
({ row: e }) => ({
|
|
80
77
|
default: "预览",
|
|
81
78
|
onClick: () => {
|
|
82
|
-
|
|
79
|
+
n({
|
|
83
80
|
body: () => u(o, { tableId: e.tableId }),
|
|
84
81
|
cancelBtn: "关闭",
|
|
85
82
|
confirmBtn: null,
|
|
@@ -139,7 +136,7 @@ var v = /* @__PURE__ */ l({
|
|
|
139
136
|
default: "导入",
|
|
140
137
|
onClick: () => {
|
|
141
138
|
let e = m(null);
|
|
142
|
-
|
|
139
|
+
t({
|
|
143
140
|
body: () => u(a, { ref: e }),
|
|
144
141
|
header: "导入表",
|
|
145
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";
|