@epie/bi-crud 2.0.48 → 2.0.49
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/lib/bi-crud.esm.js
CHANGED
|
@@ -8574,6 +8574,9 @@ function useHelper({
|
|
|
8574
8574
|
}
|
|
8575
8575
|
});
|
|
8576
8576
|
}
|
|
8577
|
+
function refreshAutoParams() {
|
|
8578
|
+
mitt.emit("crud.refresh-auto-params");
|
|
8579
|
+
}
|
|
8577
8580
|
// 打开新增
|
|
8578
8581
|
function rowAdd() {
|
|
8579
8582
|
mitt.emit("crud.proxy", {
|
|
@@ -8704,6 +8707,7 @@ function useHelper({
|
|
|
8704
8707
|
rowDelete,
|
|
8705
8708
|
rowClose,
|
|
8706
8709
|
refresh,
|
|
8710
|
+
refreshAutoParams,
|
|
8707
8711
|
rowDescription,
|
|
8708
8712
|
getPermission,
|
|
8709
8713
|
paramsReplace,
|
|
@@ -30590,6 +30594,9 @@ var EpieInlineSearch = defineComponent({
|
|
|
30590
30594
|
next();
|
|
30591
30595
|
}
|
|
30592
30596
|
}
|
|
30597
|
+
mitt.on("crud.refresh-auto-params", () => {
|
|
30598
|
+
search();
|
|
30599
|
+
});
|
|
30593
30600
|
return {
|
|
30594
30601
|
form,
|
|
30595
30602
|
reset,
|
package/lib/bi-crud.umd.js
CHANGED
|
@@ -8577,6 +8577,9 @@
|
|
|
8577
8577
|
}
|
|
8578
8578
|
});
|
|
8579
8579
|
}
|
|
8580
|
+
function refreshAutoParams() {
|
|
8581
|
+
mitt.emit("crud.refresh-auto-params");
|
|
8582
|
+
}
|
|
8580
8583
|
// 打开新增
|
|
8581
8584
|
function rowAdd() {
|
|
8582
8585
|
mitt.emit("crud.proxy", {
|
|
@@ -8707,6 +8710,7 @@
|
|
|
8707
8710
|
rowDelete,
|
|
8708
8711
|
rowClose,
|
|
8709
8712
|
refresh,
|
|
8713
|
+
refreshAutoParams,
|
|
8710
8714
|
rowDescription,
|
|
8711
8715
|
getPermission,
|
|
8712
8716
|
paramsReplace,
|
|
@@ -30593,6 +30597,9 @@
|
|
|
30593
30597
|
next();
|
|
30594
30598
|
}
|
|
30595
30599
|
}
|
|
30600
|
+
mitt.on("crud.refresh-auto-params", () => {
|
|
30601
|
+
search();
|
|
30602
|
+
});
|
|
30596
30603
|
return {
|
|
30597
30604
|
form,
|
|
30598
30605
|
reset,
|
|
@@ -9,6 +9,7 @@ export declare function useHelper({ mitt, props, crud }: any): {
|
|
|
9
9
|
rowDelete: (...selection: any[]) => void;
|
|
10
10
|
rowClose: () => void;
|
|
11
11
|
refresh: (params?: any) => Promise<unknown>;
|
|
12
|
+
refreshAutoParams: () => void;
|
|
12
13
|
rowDescription: (data: any) => void;
|
|
13
14
|
getPermission: (key: "page" | "list" | "info" | "update" | "add" | "delete") => boolean;
|
|
14
15
|
paramsReplace: (params: any) => any;
|
package/lib/types/base/crud.d.ts
CHANGED
|
@@ -133,6 +133,7 @@ export declare namespace EpieCrud {
|
|
|
133
133
|
rowDelete(...selection: any[]): void;
|
|
134
134
|
rowDescription(row?: any): void;
|
|
135
135
|
refresh: Service["page"]["request"];
|
|
136
|
+
refreshAutoParams: Service["page"]["request"];
|
|
136
137
|
}
|
|
137
138
|
interface Provide extends Ref {
|
|
138
139
|
[key: string]: any;
|