|
@@ -78,7 +78,6 @@
|
|
|
data(){
|
|
|
return {
|
|
|
logoTitle:CONFIG.logoTitle,
|
|
|
- logo_transparent:CONFIG.logo_transparent,
|
|
|
SQUARE_DISPLAY:CONFIG.SQUARE_DISPLAY,
|
|
|
logo_transparent:CONFIG.logo_transparent,
|
|
|
mooctest_rank_url: CONFIG.mooctest_rank_url,
|
|
@@ -172,20 +171,19 @@
|
|
|
this.getHotData();
|
|
|
},
|
|
|
|
|
|
- getTestTask(type) {
|
|
|
- Http.get(`/api/square/task/${type}`).then((res)=>{
|
|
|
- this.projectAndTaskArr = res.data.crowdTestTaskVOS;
|
|
|
- this.hotCrowdTestProjectVOs = res.data.hotCrowdTestProjectVOs;
|
|
|
- this.hotCrowdTaskVOs = res.data.hotCrowdTaskVOs;
|
|
|
- })
|
|
|
- },
|
|
|
-
|
|
|
getHotData(){
|
|
|
Http.get('/api/square/hotTaskAndProject').then((res)=>{
|
|
|
this.hotCrowdTestProjectVOs = res.data.hotCrowdTestProjectVOs;
|
|
|
this.hotCrowdTaskVOs = res.data.hotCrowdTaskVOs;
|
|
|
})
|
|
|
},
|
|
|
+
|
|
|
+ getTestTask(type) {
|
|
|
+ Http.get(`/api/square/task/${type}`).then((res)=>{
|
|
|
+ this.projectAndTaskArr = res.data.crowdTestTaskVOS;
|
|
|
+ })
|
|
|
+ },
|
|
|
+
|
|
|
checkLogin() {
|
|
|
this.checkCreateProjectAuth();
|
|
|
},
|