确定 contest list vm 中的通用方法
This commit is contained in:
@@ -20,6 +20,14 @@ require(["jquery", "avalon", "csrfToken", "bsAlert", "editor", "datetimePicker",
|
|||||||
search: function () {
|
search: function () {
|
||||||
getPage(1);
|
getPage(1);
|
||||||
avalon.vmodels.contestListPager.currentPage = 1;
|
avalon.vmodels.contestListPager.currentPage = 1;
|
||||||
|
},
|
||||||
|
|
||||||
|
editContest: function(contestId){
|
||||||
|
avalon.vmodels.admin.contestId = contestId;
|
||||||
|
// todo 修改template_url
|
||||||
|
},
|
||||||
|
showContestProblems: function(contestId){
|
||||||
|
// todo
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user