dlzn-ui 2.0.6 → 2.0.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/assets/$loading-D_Zs2VgL.css +1 -0
- package/assets/LoginBg-XqWOv7dJ.css +1 -0
- package/assets/main-CxSb5Gqw.css +2 -0
- package/assets/{button-Bwn73ZEc.css → provider-1BcdscQq.css} +1 -1
- package/chunks/$loading-Df3COGfW.mjs +241 -0
- package/chunks/{AssignUser-DCju22tm.mjs → AssignUser-Dj8rq5gH.mjs} +3 -3
- package/chunks/{Common-DQbblaTl.mjs → Common-CnrITpXz.mjs} +7 -7
- package/chunks/{Day-9BKmHuZl.mjs → Day-tjS-0iDA.mjs} +13 -13
- package/chunks/{DictTypeDetail-e14bGyiZ.mjs → DictTypeDetail-CcohOVfN.mjs} +7 -7
- package/chunks/FileSaver.min-BAG7TK0U.mjs +70 -0
- package/chunks/{Hour-CrFFADzT.mjs → Hour-B9fx59cM.mjs} +1 -1
- package/chunks/{Index-Bu5a_B5n.mjs → Index-B-_PVf5U.mjs} +1 -1
- package/chunks/{Index-QUCWrT4d.mjs → Index-BTEVAXbg.mjs} +2 -2
- package/chunks/{Index-bEWcnIHJ.mjs → Index-BxfxoY-l.mjs} +1 -1
- package/chunks/{Index-Bi44jQm2.mjs → Index-CrxoIuR-.mjs} +1 -1
- package/chunks/{Index-ChH8kYUs.mjs → Index-D-gi1OVy.mjs} +2 -2
- package/chunks/{Index-DloA1g7z.mjs → Index-DlrNiiDp.mjs} +5 -5
- package/chunks/{Index-De48YIRG.mjs → Index-baebFewJ.mjs} +1 -1
- package/chunks/{Index-CZ0ICyCx.mjs → Index-z9vUMzmS.mjs} +2 -2
- package/chunks/{IndexItem-OIGXdAkP.mjs → IndexItem-rt5wZA39.mjs} +7 -7
- package/chunks/{Log-DdemNjDW.mjs → Log-DK5aduPG.mjs} +8 -8
- package/chunks/{LoginBg-BD6ChYvu.mjs → LoginBg-BtuSDFUq.mjs} +10 -18
- package/chunks/{MenuNode-ByutDAqI.mjs → MenuNode-B0M4WpOn.mjs} +1 -1
- package/chunks/{MenuNode-DXgE629W.mjs → MenuNode-DEBSfNz9.mjs} +3 -3
- package/chunks/{Minute-xZNOCy8Q.mjs → Minute-hPwzkaCM.mjs} +1 -1
- package/chunks/{Month-CvWOcD_9.mjs → Month-Cnjhbs28.mjs} +1 -1
- package/chunks/{Second-BvMnEOms.mjs → Second-DAYKul2s.mjs} +1 -1
- package/chunks/{SelectDept-DmtKBaW0.mjs → SelectDept-CC4ckbbt.mjs} +1 -1
- package/chunks/{SelectMenu-tEpLm6Ij.mjs → SelectMenu-pBim6_Lj.mjs} +1 -1
- package/chunks/{SelectUser-CTvBarod.mjs → SelectUser-D6dBXxlL.mjs} +2 -2
- package/chunks/Triangle-C5ogSVp9.mjs +1140 -0
- package/chunks/{UserInfo-qrNR9tve.mjs → UserInfo-BUlPdKge.mjs} +11 -11
- package/chunks/{Wrapper-LEchQmDn.mjs → Wrapper-C6BtJDSa.mjs} +5 -5
- package/chunks/__vite-browser-external-D1GT_Hx9.mjs +7 -0
- package/chunks/{app-CggLqjRQ.mjs → app-Dk-mybzX.mjs} +5 -5
- package/chunks/auto-animate-FPySn19g.mjs +341 -0
- package/chunks/crypto-js-DWj_rBsG.mjs +3695 -0
- package/chunks/css-Cw_qlmlv.mjs +521 -0
- package/chunks/{custom-page-list-CJWB72dw.mjs → custom-page-list-EQhltX7t.mjs} +4 -4
- package/chunks/{custom-page-table-5f8lI6CQ.mjs → custom-page-table-CYLFzT4F.mjs} +2 -2
- package/chunks/date-picker-C_5NJHjq.mjs +8186 -0
- package/chunks/icon-jnCbW4iu.mjs +1013 -0
- package/chunks/{menu-CjNx3wKR.mjs → menu-DYwAudY3.mjs} +1 -1
- package/chunks/{overview-BEtKbidZ.mjs → overview-D9YB44O0.mjs} +1 -1
- package/chunks/{page-list-C3nqGnnX.mjs → page-list-BnGVTcad.mjs} +36 -36
- package/chunks/{page-query-C6oSW1je.mjs → page-query-QCT-mat_.mjs} +5 -5
- package/chunks/{page-table-3DTiPP9H.mjs → page-table-DMOjg44G.mjs} +9 -9
- package/chunks/{pagination-C6-VAj4W.mjs → pagination-BNAZYVJk.mjs} +1 -1
- package/chunks/{button-Dk3CiB69.mjs → provider-DQIMA4mE.mjs} +840 -809
- package/chunks/rolldown-runtime-D_tDV3RV.mjs +23 -0
- package/chunks/{scrollbar-CI1mysNQ.mjs → scrollbar-B0u39t4J.mjs} +9 -10
- package/chunks/store-C46_JI7q.mjs +112 -0
- package/chunks/{table-Cp9NQHjQ.mjs → table-BFP90EA0.mjs} +11 -11
- package/chunks/{tag-CfeJWJii.mjs → tag-BDpZ8-Fj.mjs} +1 -1
- 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/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 +6206 -103
- 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/form/index.mjs +1 -1
- package/components/form/src/form.mjs +1 -1
- package/components/icon/index.mjs +1 -1
- package/components/icon/src/icon.mjs +1 -1
- package/components/image-viewer/src/image-viewer.vue.d.ts +1 -1
- package/components/index.mjs +19 -19
- 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.d.ts +3 -3
- 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/page-table/src/page-table.vue.d.ts +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/scrollbar/index.mjs +1 -1
- package/components/scrollbar/src/scrollbar.mjs +1 -1
- package/components/select/index.mjs +2 -2
- 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/table/src/table.vue.d.ts +1 -1
- package/components/tag/index.mjs +1 -1
- package/components/tag/src/tag.mjs +1 -1
- package/components/tree/index.mjs +2 -2
- 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 +2 -2
- package/components/upload/src/upload.mjs +1 -1
- package/hooks/useAnimateAuto/index.mjs +6 -6
- package/hooks/useContextMenu/menu/index.mjs +1 -1
- package/hooks/useContextMenu/menu/src/MenuNode.mjs +1 -1
- package/hooks/useContextMenu/menu/src/menu.mjs +1 -1
- package/hooks/useDicOptions/index.mjs +2 -2
- package/hooks/useSysUser/index.mjs +2 -2
- package/index.d.ts +3 -0
- package/layout/Entry.mjs +1 -1
- package/layout/Login.mjs +6 -6
- package/layout/NotFound.mjs +1 -1
- 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/modules/MenuNode.mjs +1 -1
- package/layout/profile/Index.mjs +4 -4
- package/layout/profile/ResetPwd.mjs +1 -1
- package/layout/profile/UserInfo.mjs +1 -1
- package/layout/vueBits/LightRays.mjs +47 -47
- package/layout/vueBits/Plasma.mjs +29 -29
- package/layout/vueBits/Prism.mjs +51 -51
- package/main.d.ts +2 -0
- package/main.mjs +41 -0
- package/package.json +17 -11
- package/plugins/autoImport/$alova/index.mjs +2 -2
- 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/$loading/index.mjs +2 -38
- package/plugins/captcha/captcha.mjs +13 -13
- package/plugins/captcha/index.mjs +1 -1
- package/plugins/echarts/index.mjs +705 -25
- package/plugins/initialize/index.mjs +1 -1
- package/plugins/initialize/webUpdateNotify.mjs +1 -1
- package/plugins/tableRenders/Wrapper.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/Icon/Index.mjs +1 -1
- package/plugins/tableRenders/cell/ImageViewer/Index.vue.d.ts +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/index.mjs +7 -7
- package/plugins/tableRenders/title/index.mjs +1 -1
- package/router/index.mjs +1 -1
- package/store/index.mjs +2 -7
- 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 +2 -2
- package/utils/tool.mjs +16 -15
- package/views/system/dept/index.mjs +10 -10
- package/views/system/dept/utils.mjs +1 -1
- package/views/system/dict/index.mjs +18 -18
- package/views/system/dict/modules/DictTypeDetail.mjs +1 -1
- package/views/system/menu/index.mjs +11 -11
- package/views/system/post/index.mjs +6 -6
- package/views/system/role/index.mjs +42 -42
- 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 +49 -49
- package/views/tool/job/index.mjs +31 -31
- package/views/tool/job/modules/Log.mjs +1 -1
- package/assets/LoginBg-BTrRjkK7.css +0 -1
- package/chunks/date-picker-DtbDIFUH.mjs +0 -378
- package/chunks/icon-COjp1yrx.mjs +0 -21
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./plugin-vue_export-helper-B3ysoDQm.mjs";
|
|
2
2
|
import t from "../hooks/useContextMenu/index.mjs";
|
|
3
|
-
import { t as n } from "./MenuNode-
|
|
3
|
+
import { t as n } from "./MenuNode-B0M4WpOn.mjs";
|
|
4
4
|
import { createBlock as r, createCommentVNode as i, createVNode as a, defineComponent as o, normalizeStyle as s, openBlock as c, unref as l, withCtx as u } from "vue";
|
|
5
5
|
import { Menu as d } from "tdesign-vue-next";
|
|
6
6
|
import '../assets/menu-CgQB8NyR.css';//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./IndexItem-
|
|
1
|
+
import { t as e } from "./IndexItem-rt5wZA39.mjs";
|
|
2
2
|
import { Fragment as t, createBlock as n, createElementBlock as r, defineComponent as i, normalizeStyle as a, openBlock as o, renderList as s } from "vue";
|
|
3
3
|
//#endregion
|
|
4
4
|
//#region ../../packages/dlzn-ui/components/overview/src/overview.vue
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { S as e, n as t } from "./provider-DQIMA4mE.mjs";
|
|
2
2
|
import { n } from "./useAppContext-D47amIp5.mjs";
|
|
3
3
|
import r from "../plugins/autoImport/$msg/index.mjs";
|
|
4
4
|
import i from "../plugins/autoImport/dayjs/index.mjs";
|
|
5
5
|
import { t as a } from "./card-BfHb58zl.mjs";
|
|
6
6
|
import "../components/card/index.mjs";
|
|
7
|
-
import { t as o } from "./page-table-
|
|
7
|
+
import { t as o } from "./page-table-DMOjg44G.mjs";
|
|
8
8
|
import "../components/page-table/index.mjs";
|
|
9
|
-
import { t as s } from "./page-query-
|
|
9
|
+
import { t as s } from "./page-query-QCT-mat_.mjs";
|
|
10
10
|
import "../components/page-query/index.mjs";
|
|
11
11
|
import { Fragment as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createSlots as p, createVNode as m, defineComponent as h, guardReactiveProps as g, mergeDefaults as _, mergeProps as v, nextTick as y, normalizeProps as b, openBlock as x, ref as S, renderList as C, renderSlot as w, unref as T, useTemplateRef as E, withCtx as D } from "vue";
|
|
12
12
|
import { cloneDeep as O } from "lodash-es";
|
|
13
13
|
import { useRoute as k } from "vue-router";
|
|
14
14
|
//#region ../../packages/dlzn-ui/components/page-list/src/page-list.ts
|
|
15
15
|
var A = { isFirstQueryByParent: !1 };
|
|
16
|
-
function j({ pageQueryRef:
|
|
16
|
+
function j({ pageQueryRef: t, pageTableRef: n, props: r, route: a }) {
|
|
17
17
|
let o = S({});
|
|
18
18
|
function s() {
|
|
19
|
-
|
|
19
|
+
t.value === null ? (o.value = {}, n.value.query(!0)) : t.value.query();
|
|
20
20
|
}
|
|
21
21
|
function c() {
|
|
22
|
-
|
|
22
|
+
t.value === null ? (o.value = {}, n.value.reset()) : t.value.reset();
|
|
23
23
|
}
|
|
24
24
|
function u(e) {
|
|
25
25
|
o.value = O(e), n.value.query(!0);
|
|
@@ -30,30 +30,30 @@ function j({ pageQueryRef: e, pageTableRef: n, props: r, route: a }) {
|
|
|
30
30
|
r.isFirstQueryByParent || y(() => {
|
|
31
31
|
s();
|
|
32
32
|
});
|
|
33
|
-
let f = l(() => n.value?.finallyQueryParams), p = l(() =>
|
|
33
|
+
let f = l(() => n.value?.finallyQueryParams), p = l(() => t.value?.formData);
|
|
34
34
|
function m() {
|
|
35
|
-
|
|
35
|
+
t.value.resetFormData();
|
|
36
36
|
}
|
|
37
37
|
return {
|
|
38
38
|
currentQueryParams: p,
|
|
39
39
|
doQuery: s,
|
|
40
40
|
doReset: c,
|
|
41
41
|
exportProps: l(() => {
|
|
42
|
-
let
|
|
43
|
-
if (
|
|
42
|
+
let t = r.apis.export;
|
|
43
|
+
if (t === void 0) return {};
|
|
44
44
|
let n = { meta: {
|
|
45
|
-
useDownload: `${
|
|
45
|
+
useDownload: `${t.exportFileName ?? a.meta.title}_${i().format("YYYY-MM-DD_HH:mm:ss")}.xlsx`,
|
|
46
46
|
useFormData: !0,
|
|
47
47
|
useResponseBlob: !0
|
|
48
48
|
} };
|
|
49
49
|
return {
|
|
50
50
|
default: "导出",
|
|
51
51
|
disabled: f.value === void 0,
|
|
52
|
-
permission:
|
|
52
|
+
permission: t.permission,
|
|
53
53
|
popconfirm: {
|
|
54
54
|
content: "确定导出吗?",
|
|
55
55
|
onConfirm: async () => {
|
|
56
|
-
await (typeof
|
|
56
|
+
await (typeof t.method == "string" ? e.Post(t.method, f.value, n) : t.method(f.value));
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
};
|
|
@@ -92,28 +92,28 @@ var M = /* @__PURE__ */ h({
|
|
|
92
92
|
props: _,
|
|
93
93
|
route: y
|
|
94
94
|
}), V = l(() => O.value?.selectedRows ?? []), H = l(() => O.value?.selectedRowKeys ?? []), U = l(() => {
|
|
95
|
-
let
|
|
96
|
-
return
|
|
95
|
+
let t = _.apis.delete;
|
|
96
|
+
return t ? {
|
|
97
97
|
default: "批量删除",
|
|
98
98
|
disabled: H.value.length === 0,
|
|
99
|
-
permission:
|
|
99
|
+
permission: t.permission,
|
|
100
100
|
popconfirm: {
|
|
101
101
|
content: "确认删除所选项吗?",
|
|
102
102
|
onConfirm: async () => {
|
|
103
|
-
await (typeof
|
|
103
|
+
await (typeof t.method == "string" ? e.Delete(`${t.method}/${H.value.join(",")}`) : t.method(V.value)), t.callback?.(), r.success("删除成功"), M();
|
|
104
104
|
}
|
|
105
105
|
}
|
|
106
106
|
} : {};
|
|
107
107
|
}), W = l(() => {
|
|
108
|
-
let
|
|
109
|
-
if (
|
|
108
|
+
let t = _.apis.delete;
|
|
109
|
+
if (t !== void 0) {
|
|
110
110
|
let i = _.columns.findIndex((e) => e.colKey === "_operation"), a = [..._.columns], o = ({ row: n }) => ({
|
|
111
111
|
default: "删除",
|
|
112
|
-
permission:
|
|
112
|
+
permission: t.permission,
|
|
113
113
|
popconfirm: {
|
|
114
114
|
content: "确认删除吗",
|
|
115
115
|
onConfirm: async () => {
|
|
116
|
-
await (typeof
|
|
116
|
+
await (typeof t.method == "string" ? e.Delete(`${t.method}/${n[O.value.rowKey]}`) : t.method([n])), t.callback?.(), r.success("删除成功"), M();
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
});
|
|
@@ -145,7 +145,7 @@ var M = /* @__PURE__ */ h({
|
|
|
145
145
|
resetCurrentQueryParams: B,
|
|
146
146
|
selectedRowKeys: H,
|
|
147
147
|
selectedRows: V
|
|
148
|
-
}), (
|
|
148
|
+
}), (e, n) => (x(), u(T(a), b(g(v(e.$attrs, {
|
|
149
149
|
...i.cardProps ?? {},
|
|
150
150
|
bodyFullHeight: !0,
|
|
151
151
|
bodyClassName: ["!flex flex-col overflow-y-auto", i.cardProps?.bodyClassName].filter(Boolean).join(" ")
|
|
@@ -159,9 +159,9 @@ var M = /* @__PURE__ */ h({
|
|
|
159
159
|
}, i.formOtherProps, {
|
|
160
160
|
onQuery: T(L),
|
|
161
161
|
onReset: T(R)
|
|
162
|
-
}), p({ _: 2 }, [C(Object.keys(
|
|
163
|
-
name:
|
|
164
|
-
fn: D((n) => [w(
|
|
162
|
+
}), p({ _: 2 }, [C(Object.keys(e.$slots).filter((e) => !e.startsWith("table-")), (t) => ({
|
|
163
|
+
name: t,
|
|
164
|
+
fn: D((n) => [w(e.$slots, t, b(g(n)))])
|
|
165
165
|
}))]), 1040, [
|
|
166
166
|
"data",
|
|
167
167
|
"items",
|
|
@@ -181,25 +181,25 @@ var M = /* @__PURE__ */ h({
|
|
|
181
181
|
"watch-query-params": !1
|
|
182
182
|
}, i.tableOtherProps), p({
|
|
183
183
|
"table-operations": D(() => [
|
|
184
|
-
(x(!0), f(c, null, C(i.operations?.filter((e) => e.show !== !1), (
|
|
185
|
-
i.apis.delete?.showBatch ? (x(), u(T(
|
|
186
|
-
i.apis.export ? (x(), u(T(
|
|
184
|
+
(x(!0), f(c, null, C(i.operations?.filter((e) => e.show !== !1), (e, n) => (x(), u(T(t), v({ key: n }, { ref_for: !0 }, e), null, 16))), 128)),
|
|
185
|
+
i.apis.delete?.showBatch ? (x(), u(T(t), b(v({ key: 0 }, U.value)), null, 16)) : d("v-if", !0),
|
|
186
|
+
i.apis.export ? (x(), u(T(t), b(v({ key: 1 }, T(P))), null, 16)) : d("v-if", !0)
|
|
187
187
|
]),
|
|
188
188
|
_: 2
|
|
189
|
-
}, [C(Object.keys(
|
|
189
|
+
}, [C(Object.keys(e.$slots).filter((e) => [
|
|
190
190
|
"table-operations",
|
|
191
191
|
"table-top",
|
|
192
192
|
"table-bottom"
|
|
193
|
-
].includes(e)), (
|
|
194
|
-
name:
|
|
195
|
-
fn: D((n) => [w(
|
|
196
|
-
})), C(Object.keys(
|
|
193
|
+
].includes(e)), (t) => ({
|
|
194
|
+
name: t,
|
|
195
|
+
fn: D((n) => [w(e.$slots, t, b(g(n)))])
|
|
196
|
+
})), C(Object.keys(e.$slots).filter((e) => e.startsWith("table-") && ![
|
|
197
197
|
"table-operations",
|
|
198
198
|
"table-top",
|
|
199
199
|
"table-bottom"
|
|
200
|
-
].includes(e)), (
|
|
201
|
-
name:
|
|
202
|
-
fn: D((n) => [w(
|
|
200
|
+
].includes(e)), (t) => ({
|
|
201
|
+
name: t.slice(6),
|
|
202
|
+
fn: D((n) => [w(e.$slots, t, b(g(n)))])
|
|
203
203
|
}))]), 1040, [
|
|
204
204
|
"columns",
|
|
205
205
|
"method",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { U as e,
|
|
1
|
+
import { U as e, n as t, o as n } from "./provider-DQIMA4mE.mjs";
|
|
2
2
|
import { computed as r, createBlock as i, createCommentVNode as a, createSlots as o, createTextVNode as s, createVNode as c, defineComponent as l, guardReactiveProps as u, mergeDefaults as d, mergeProps as f, nextTick as p, normalizeProps as m, openBlock as h, ref as g, renderList as _, renderSlot as v, toDisplayString as y, unref as b, useTemplateRef as x, watch as S, withCtx as C } from "vue";
|
|
3
3
|
import { useResizeObserver as w } from "@vueuse/core";
|
|
4
4
|
import { cloneDeep as T, groupBy as E } from "lodash-es";
|
|
@@ -81,21 +81,21 @@ var D = /* @__PURE__ */ l({
|
|
|
81
81
|
query: L,
|
|
82
82
|
reset: R,
|
|
83
83
|
resetFormData: z
|
|
84
|
-
}), (e, r) => (h(), i(b(
|
|
84
|
+
}), (e, r) => (h(), i(b(n), f({
|
|
85
85
|
ref_key: "formRef",
|
|
86
86
|
ref: M,
|
|
87
87
|
data: k.value,
|
|
88
88
|
items: A.value
|
|
89
89
|
}, f(e.$attrs, j.value, { class: "relative" })), o({
|
|
90
90
|
_btn: C(() => [
|
|
91
|
-
c(b(
|
|
91
|
+
c(b(t), {
|
|
92
92
|
class: "shrink",
|
|
93
93
|
onClick: L
|
|
94
94
|
}, {
|
|
95
95
|
default: C(() => [...r[1] ||= [s("查询", -1)]]),
|
|
96
96
|
_: 1
|
|
97
97
|
}),
|
|
98
|
-
c(b(
|
|
98
|
+
c(b(t), {
|
|
99
99
|
class: "shrink",
|
|
100
100
|
theme: "default",
|
|
101
101
|
onClick: R
|
|
@@ -103,7 +103,7 @@ var D = /* @__PURE__ */ l({
|
|
|
103
103
|
default: C(() => [...r[2] ||= [s("重置", -1)]]),
|
|
104
104
|
_: 1
|
|
105
105
|
}),
|
|
106
|
-
P.value ? (h(), i(b(
|
|
106
|
+
P.value ? (h(), i(b(t), {
|
|
107
107
|
key: 0,
|
|
108
108
|
class: "shrink",
|
|
109
109
|
variant: "outline",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { C as e, S as t,
|
|
1
|
+
import { C as e, S as t, w as n } from "./provider-DQIMA4mE.mjs";
|
|
2
2
|
import { queryStringToObject as r } from "../utils/string.mjs";
|
|
3
3
|
import "../utils/index.mjs";
|
|
4
|
-
import { t as i } from "./pagination-
|
|
4
|
+
import { t as i } from "./pagination-BNAZYVJk.mjs";
|
|
5
5
|
import "../components/pagination/index.mjs";
|
|
6
|
-
import { n as a, t as o } from "./table-
|
|
6
|
+
import { n as a, t as o } from "./table-BFP90EA0.mjs";
|
|
7
7
|
import "../components/table/index.mjs";
|
|
8
8
|
import { computed as s, createBlock as c, createCommentVNode as l, createSlots as u, defineComponent as d, guardReactiveProps as f, isRef as p, mergeDefaults as m, mergeProps as h, normalizeProps as g, openBlock as _, ref as v, renderList as y, renderSlot as b, unref as x, useTemplateRef as S, watch as C, withCtx as w } from "vue";
|
|
9
9
|
import { useWatcher as T } from "alova/client";
|
|
@@ -14,7 +14,7 @@ var E = {
|
|
|
14
14
|
watchQueryParams: !0
|
|
15
15
|
};
|
|
16
16
|
function D(i) {
|
|
17
|
-
let a = s(() => typeof i.method == "string" ? (e) =>
|
|
17
|
+
let a = s(() => typeof i.method == "string" ? (e) => t.Get(i.method, { params: e }) : i.method), o = v(1), c = v(10), l = v(0), { data: u, loading: d, onSuccess: f } = T(() => a.value({
|
|
18
18
|
pageNum: o.value,
|
|
19
19
|
pageSize: c.value,
|
|
20
20
|
...i.queryParams
|
|
@@ -29,11 +29,11 @@ function D(i) {
|
|
|
29
29
|
total: 0
|
|
30
30
|
}
|
|
31
31
|
}), p = v(void 0), m = v(!0);
|
|
32
|
-
f(({ method:
|
|
33
|
-
let { meta: n, params: i } =
|
|
34
|
-
m.value = n?.useEmptyParams ?? !0, p.value = typeof i == "string" ? r(i) :
|
|
35
|
-
}), i.initialQuery && l.value++, C(() => i.queryParams, (
|
|
36
|
-
i.watchQueryParams && e
|
|
32
|
+
f(({ method: t }) => {
|
|
33
|
+
let { meta: n, params: i } = t.config;
|
|
34
|
+
m.value = n?.useEmptyParams ?? !0, p.value = typeof i == "string" ? r(i) : e(i, m.value);
|
|
35
|
+
}), i.initialQuery && l.value++, C(() => i.queryParams, (e, t) => {
|
|
36
|
+
i.watchQueryParams && n(e ?? {}, m.value) !== n(t ?? {}, m.value) && l.value++;
|
|
37
37
|
}, { deep: !0 });
|
|
38
38
|
function h(e = !1) {
|
|
39
39
|
e && (o.value = 1), l.value++;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { F as e } from "./provider-DQIMA4mE.mjs";
|
|
2
2
|
import { t } from "./plugin-vue_export-helper-B3ysoDQm.mjs";
|
|
3
3
|
import { computed as n, createBlock as r, defineComponent as i, getCurrentInstance as a, h as o, mergeProps as s, openBlock as c, resolveDynamicComponent as l, unref as u } from "vue";
|
|
4
4
|
import { Pagination as d } from "tdesign-vue-next";
|