|
|
|
@ -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);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|