|
@@ -693,6 +693,7 @@
|
|
|
this.task.endPoint = res.crowdTaskVO.endPointVO ? res.crowdTaskVO.endPointVO : {
|
|
|
serverCode: '',
|
|
|
}
|
|
|
+ this.task.createTime = res.crowdTaskVO.createTime,
|
|
|
this.reportList = res.crowdReportVOList
|
|
|
this.crowdReportUrl = res.crowdTaskVO.writeReportUrl;
|
|
|
this.acceptedUserList = res.acceptedUserList
|
|
@@ -782,7 +783,19 @@
|
|
|
|
|
|
// 任务推荐
|
|
|
recommendTask(){
|
|
|
- receiveTaskRequest(this.projectId, this.taskId, this.user.userVO.id, this.receiveTaskSuccess, this.receiveTaskFail)
|
|
|
+ let task = {
|
|
|
+ "title": this.task.title,
|
|
|
+ "description": this.task.description,
|
|
|
+ "participantCount": this.task.participantCount,
|
|
|
+ "quotePrice": this.task.quotePrice,
|
|
|
+ "requirementFile": this.task.requireDocUrl,
|
|
|
+ "serviceType": this.task.serviceType,
|
|
|
+ "createTime": this.task.createTime,
|
|
|
+ "datetime": this.task.datetime
|
|
|
+ };
|
|
|
+ Http.post('/recommendationtest/querywithparam',task).then((res)=>{
|
|
|
+ window.open('http://59.42.10.54:7477/userinformation.html');
|
|
|
+ })
|
|
|
},
|
|
|
|
|
|
//拒绝任务
|