단속자료검사 화면 재조회 수정

main
이범준 4 months ago
parent 12f0a91a95
commit 6aaccff99d

@ -136,6 +136,23 @@ const Apply = {
} }
}); });
}); });
},
reload : async function(control){
return new Promise((resolve, reject) => {
var orgnQuery = Object.assign({}, control.query);
control.query.fetchSize = control.defaultFetchSize * control.query.pageNum;
control.query.pageNum = 1;
ajax.get({
url:control.urls.load,
data:control.query,
success:(resp) => {
control.query.pageNum = orgnQuery.pageNum;
control.query.fetchSize = orgnQuery.fetchSize;
resolve(resp);
}
});
});
} }
} }
}; };

Loading…
Cancel
Save