@yoooloo42/joker 1.0.218 → 1.0.219
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.cjs.js +15 -30
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +15 -30
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -22802,7 +22802,6 @@ const pageSizeChange = async _ref3 => {
|
|
|
22802
22802
|
pageSize,
|
|
22803
22803
|
scopeThis
|
|
22804
22804
|
} = _ref3;
|
|
22805
|
-
console.log('测试 555 页记录数改变');
|
|
22806
22805
|
scopeThis.query.pageSize = pageSize;
|
|
22807
22806
|
scopeThis.query.currentPage = 1;
|
|
22808
22807
|
await reload({
|
|
@@ -22816,7 +22815,6 @@ const currentPageChange = async _ref4 => {
|
|
|
22816
22815
|
currentPage,
|
|
22817
22816
|
scopeThis
|
|
22818
22817
|
} = _ref4;
|
|
22819
|
-
console.log('测试 666 当前页码改变');
|
|
22820
22818
|
scopeThis.query.currentPage = currentPage;
|
|
22821
22819
|
await reload({
|
|
22822
22820
|
scopeThis
|
|
@@ -22847,7 +22845,6 @@ const init = async _ref6 => {
|
|
|
22847
22845
|
let {
|
|
22848
22846
|
scopeThis
|
|
22849
22847
|
} = _ref6;
|
|
22850
|
-
console.log('测试 444 初始化');
|
|
22851
22848
|
scopeThis.tableProps.table.hdlPageSizeChange = pageSizeChange;
|
|
22852
22849
|
scopeThis.tableProps.table.hdlCurrentPageChange = currentPageChange;
|
|
22853
22850
|
if (scopeThis.pgData) {
|
|
@@ -41998,6 +41995,21 @@ const scopeThis_box = props.scopeThis;
|
|
|
41998
41995
|
tableProps_box.table.pickCol.colsInit = unclassified.deepClone.deepClone(tableProps_box.table.cols);
|
|
41999
41996
|
|
|
42000
41997
|
const hdl = {
|
|
41998
|
+
async pageSizeChange(pageSize) {
|
|
41999
|
+
// 页记录数改变
|
|
42000
|
+
tableData_box.pageSize = pageSize;
|
|
42001
|
+
tableData_box.currentPage = 1;
|
|
42002
|
+
if(tableProps_box.table.hdlPageSizeChange){
|
|
42003
|
+
await tableProps_box.table.hdlPageSizeChange({pageSize, scopeThis: scopeThis_box});
|
|
42004
|
+
}
|
|
42005
|
+
},
|
|
42006
|
+
async currentPageChange(currentPage) {
|
|
42007
|
+
// 当前页码改变
|
|
42008
|
+
tableData_box.currentPage = currentPage;
|
|
42009
|
+
if(tableProps_box.table.hdlCurrentPageChange){
|
|
42010
|
+
await tableProps_box.table.hdlCurrentPageChange({currentPage, scopeThis: scopeThis_box});
|
|
42011
|
+
}
|
|
42012
|
+
},
|
|
42001
42013
|
cellMouseEnter(row, column, cell, event) {
|
|
42002
42014
|
// 当单元格hover进入时会触发该事件
|
|
42003
42015
|
if (tableProps_box.table.hdlCellMouseEnter) {
|
|
@@ -42072,33 +42084,6 @@ const hdl = {
|
|
|
42072
42084
|
fileName: src ? fileName : tableProps_box.table.colShow.download.fileName
|
|
42073
42085
|
}
|
|
42074
42086
|
},
|
|
42075
|
-
async pageSizeChange(pageSize) {
|
|
42076
|
-
|
|
42077
|
-
console.log('测试 000 页记录数改变');
|
|
42078
|
-
|
|
42079
|
-
// 页记录数改变
|
|
42080
|
-
tableData_box.pageSize = pageSize;
|
|
42081
|
-
tableData_box.currentPage = 1;
|
|
42082
|
-
if(tableProps_box.table.hdlPageSizeChange){
|
|
42083
|
-
|
|
42084
|
-
console.log('测试 111');
|
|
42085
|
-
|
|
42086
|
-
await tableProps_box.table.hdlPageSizeChange({pageSize, scopeThis: scopeThis_box});
|
|
42087
|
-
}
|
|
42088
|
-
},
|
|
42089
|
-
async currentPageChange(currentPage) {
|
|
42090
|
-
|
|
42091
|
-
console.log('测试 222 当前页码改变');
|
|
42092
|
-
|
|
42093
|
-
// 当前页码改变
|
|
42094
|
-
tableData_box.currentPage = currentPage;
|
|
42095
|
-
if(tableProps_box.table.hdlCurrentPageChange){
|
|
42096
|
-
|
|
42097
|
-
console.log('测试 333');
|
|
42098
|
-
|
|
42099
|
-
await tableProps_box.table.hdlCurrentPageChange({currentPage, scopeThis: scopeThis_box});
|
|
42100
|
-
}
|
|
42101
|
-
}
|
|
42102
42087
|
};
|
|
42103
42088
|
|
|
42104
42089
|
const style = {
|