@vipl520/dk-ui 1.0.22 → 1.0.23
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/index.js +17 -1
- package/dist/index.min.js +2 -2
- package/dist/index.min.js.map +1 -1
- package/dist/index.min.mjs +2 -2
- package/dist/index.min.mjs.map +1 -1
- package/dist/index.mjs +17 -1
- package/dist/web-types.json +1 -1
- package/es/table/index.d.ts +30 -0
- package/es/table/src/props.d.ts +8 -0
- package/es/table/src/props.mjs +12 -0
- package/es/table/src/props.mjs.map +1 -1
- package/es/table/src/table.vue.d.ts +18 -0
- package/es/table/src/table.vue2.mjs +1 -1
- package/es/table/src/table.vue2.mjs.map +1 -1
- package/es/table/utils/dkTable.d.ts +1 -1
- package/es/table/utils/dkTable.mjs +4 -0
- package/es/table/utils/dkTable.mjs.map +1 -1
- package/lib/table/index.d.ts +30 -0
- package/lib/table/src/props.d.ts +8 -0
- package/lib/table/src/props.js +12 -0
- package/lib/table/src/props.js.map +1 -1
- package/lib/table/src/table.vue.d.ts +18 -0
- package/lib/table/src/table.vue2.js +1 -1
- package/lib/table/src/table.vue2.js.map +1 -1
- package/lib/table/utils/dkTable.d.ts +1 -1
- package/lib/table/utils/dkTable.js +4 -0
- package/lib/table/utils/dkTable.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -24749,6 +24749,18 @@
|
|
24749
24749
|
cacheTable: {
|
24750
24750
|
default: true,
|
24751
24751
|
type: Boolean
|
24752
|
+
},
|
24753
|
+
tableBefore: {
|
24754
|
+
default: () => {
|
24755
|
+
return {};
|
24756
|
+
},
|
24757
|
+
type: Object
|
24758
|
+
},
|
24759
|
+
tableAfter: {
|
24760
|
+
default: () => {
|
24761
|
+
return {};
|
24762
|
+
},
|
24763
|
+
type: Object
|
24752
24764
|
}
|
24753
24765
|
// ...ElTableNext.props,
|
24754
24766
|
};
|
@@ -28127,6 +28139,8 @@
|
|
28127
28139
|
* 显示回收站
|
28128
28140
|
*/
|
28129
28141
|
async showRecycle() {
|
28142
|
+
if (!this.runBefore("getRecycleTable"))
|
28143
|
+
return;
|
28130
28144
|
this.recycleTable.showDialogLoading = true;
|
28131
28145
|
if (this.recycleTable.column.length <= 0) {
|
28132
28146
|
await this.getRecycleTable();
|
@@ -28139,6 +28153,8 @@
|
|
28139
28153
|
* 获取回收站列表
|
28140
28154
|
*/
|
28141
28155
|
getRecycleIndex = () => {
|
28156
|
+
if (!this.runBefore("getRecycleIndex"))
|
28157
|
+
return;
|
28142
28158
|
this.recycleTable.loading = true;
|
28143
28159
|
return this.api.recycle(this.recycleTable.filter).then((res) => {
|
28144
28160
|
this.recycleTable.data = res.data.list;
|
@@ -31052,7 +31068,7 @@
|
|
31052
31068
|
const props = __props;
|
31053
31069
|
const FormRef = require$$0.ref();
|
31054
31070
|
const TableRef = require$$0.ref();
|
31055
|
-
const DkTable = new dkTable(props.tableApi);
|
31071
|
+
const DkTable = new dkTable(props.tableApi, props.tableBefore, props.tableAfter);
|
31056
31072
|
require$$0.provide("DkTable", DkTable);
|
31057
31073
|
require$$0.onMounted(() => {
|
31058
31074
|
DkTable.getTable(props.cacheTable)?.then(() => {
|