dfs-page-config 0.1.1 → 0.1.2
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/dfs-page-config.js
CHANGED
|
@@ -21224,7 +21224,7 @@ const hY = (r) => {
|
|
|
21224
21224
|
// 查询
|
|
21225
21225
|
_QUERY_LIST(r, { pageKey: a, target: l }) {
|
|
21226
21226
|
const c = ir(r, a, l);
|
|
21227
|
-
r.dispatch("_TABLE_QUERY", { tableComp: c, pageKey: a });
|
|
21227
|
+
c.pageInfo.pageNum = 1, c.pageInfo.currentPage = 1, c.resetPagination = Math.random(), r.dispatch("_TABLE_QUERY", { tableComp: c, pageKey: a });
|
|
21228
21228
|
},
|
|
21229
21229
|
// 查询列表查询
|
|
21230
21230
|
_TABLE_QUERY(r, { tableComp: a, pageKey: l, row: c }) {
|
|
@@ -23286,7 +23286,7 @@ function pq(r, a, l, c, d, f) {
|
|
|
23286
23286
|
key: 0,
|
|
23287
23287
|
style: { padding: "5px 10px", background: "#fff" },
|
|
23288
23288
|
total: r.totalNum,
|
|
23289
|
-
pageNum: r.pageInfo.
|
|
23289
|
+
pageNum: r.pageInfo.pageNum,
|
|
23290
23290
|
pageSize: r.pageInfo.pageSize,
|
|
23291
23291
|
layout: "total,sizes, prev, pager, next",
|
|
23292
23292
|
onSizeChange: r.sizeChange,
|
|
@@ -23296,7 +23296,7 @@ function pq(r, a, l, c, d, f) {
|
|
|
23296
23296
|
}, null, 8, ["total", "pageNum", "pageSize", "onSizeChange", "onCurrentChange"])) : ve("", !0)
|
|
23297
23297
|
]);
|
|
23298
23298
|
}
|
|
23299
|
-
const Rh = /* @__PURE__ */ co(aq, [["render", pq], ["__scopeId", "data-v-
|
|
23299
|
+
const Rh = /* @__PURE__ */ co(aq, [["render", pq], ["__scopeId", "data-v-58118792"]]);
|
|
23300
23300
|
Rh.install = (r) => r.component(Rh.name, Rh);
|
|
23301
23301
|
const dq = _e({
|
|
23302
23302
|
name: "SplitScreen",
|
|
@@ -24385,7 +24385,7 @@ function Kq(r, a, l, c, d, f) {
|
|
|
24385
24385
|
Be(r.$slots, "default", {}, void 0, !0)
|
|
24386
24386
|
], 4);
|
|
24387
24387
|
}
|
|
24388
|
-
const Yq = /* @__PURE__ */ co(jq, [["render", Kq], ["__scopeId", "data-v-
|
|
24388
|
+
const Yq = /* @__PURE__ */ co(jq, [["render", Kq], ["__scopeId", "data-v-42cd9bac"]]), qq = _e({
|
|
24389
24389
|
props: {
|
|
24390
24390
|
gridApi: {
|
|
24391
24391
|
type: Object,
|
|
@@ -56753,7 +56753,7 @@ const DX = _e({
|
|
|
56753
56753
|
d.pageInfo.pageSize = x, l.dispatch("_TABLE_QUERY", { tableComp: d, pageKey: r.pageKey });
|
|
56754
56754
|
}
|
|
56755
56755
|
function L(x) {
|
|
56756
|
-
d.pageInfo.
|
|
56756
|
+
d.pageInfo.pageNum = x, d.pageInfo.currentPage = x, l.dispatch("_TABLE_QUERY", { tableComp: d, pageKey: r.pageKey });
|
|
56757
56757
|
}
|
|
56758
56758
|
return {
|
|
56759
56759
|
...In(v),
|
|
@@ -56803,16 +56803,16 @@ function NX(r, a, l, c, d, f) {
|
|
|
56803
56803
|
Be(r.$slots, r.configFlag.slotName),
|
|
56804
56804
|
ue("div", AX, [
|
|
56805
56805
|
r.pageInfo ? (I(), fe(v, {
|
|
56806
|
-
key: 0,
|
|
56807
56806
|
style: { "margin-top": "5px" },
|
|
56808
56807
|
total: r.totalNum,
|
|
56809
|
-
pageNum: r.pageInfo.
|
|
56808
|
+
pageNum: r.pageInfo.pageNum,
|
|
56810
56809
|
pageSize: r.pageInfo.pageSize,
|
|
56811
56810
|
layout: "total,sizes, prev, pager, next",
|
|
56812
56811
|
onSizeChange: r.sizeChange,
|
|
56813
56812
|
onCurrentChange: r.currentChange,
|
|
56814
56813
|
"page-sizes": [20, 50, 100, 300, 500],
|
|
56815
|
-
small: ""
|
|
56814
|
+
small: "",
|
|
56815
|
+
key: r.componentOption.resetPagination
|
|
56816
56816
|
}, null, 8, ["total", "pageNum", "pageSize", "onSizeChange", "onCurrentChange"])) : ve("", !0)
|
|
56817
56817
|
]),
|
|
56818
56818
|
we(g, {
|