|
@@ -34,17 +34,17 @@
|
|
|
<span class="badge" v-if="!isModifyMode">{{task.serviceType}}</span>
|
|
|
</el-form-item>
|
|
|
|
|
|
- <el-form-item label="examID" prop="endpoint.examID" v-if="task.serviceType=='北斗众测'"
|
|
|
+ <el-form-item label="examId" prop="endpoint.examId" v-if="task.serviceType=='北斗众测'"
|
|
|
:rules="[{ required: true, type: 'number',message: 'examID必须是数字类型'}]">
|
|
|
- <el-input v-if="isModifyMode" v-model.number="task.endpoint.examID" label="examID"></el-input>
|
|
|
- <span v-if="!isModifyMode">{{task.endpoint.examID}}</span>
|
|
|
+ <el-input v-if="isModifyMode" v-model.number="task.endpoint.examId" label="examId"></el-input>
|
|
|
+ <span v-if="!isModifyMode">{{task.endpoint.examId}}</span>
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
|
- <el-form-item label="caseID" prop="endpoint.caseID" v-if="task.serviceType=='北斗众测'"
|
|
|
+ <el-form-item label="caseId" prop="endpoint.caseId" v-if="task.serviceType=='北斗众测'"
|
|
|
:rules="[{ required: true, type: 'number',message: 'caseID必须是数字类型'}]">
|
|
|
- <el-input v-if="isModifyMode" v-model.number="task.endpoint.caseID" label="caseID"></el-input>
|
|
|
- <span v-if="!isModifyMode">{{task.endpoint.caseID}}</span>
|
|
|
+ <el-input v-if="isModifyMode" v-model.number="task.endpoint.caseId" label="caseId"></el-input>
|
|
|
+ <span v-if="!isModifyMode">{{task.endpoint.caseId}}</span>
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
@@ -299,8 +299,8 @@
|
|
|
title:'',
|
|
|
description:'',
|
|
|
endpoint:{
|
|
|
- caseID:'',
|
|
|
- examID:''
|
|
|
+ caseId:'',
|
|
|
+ examId:''
|
|
|
}
|
|
|
},
|
|
|
reportList: [],
|
|
@@ -414,7 +414,7 @@
|
|
|
|
|
|
//北斗测试报告填写跳转
|
|
|
gotoWriteReport(){
|
|
|
-
|
|
|
+
|
|
|
},
|
|
|
|
|
|
//跳转至项目详情页面
|
|
@@ -446,6 +446,8 @@
|
|
|
this.task.institution = ''
|
|
|
this.task.datetime = ''
|
|
|
this.task.participantCount = 1
|
|
|
+ // this.task.endpoint.caseId = ''
|
|
|
+ // this.task.endpoint.examId = ''
|
|
|
},
|
|
|
//显示页面加载画面
|
|
|
showLoading() {
|
|
@@ -504,6 +506,7 @@
|
|
|
this.task.agencyId = res.crowdTaskVO.agencyId
|
|
|
this.task.status = res.crowdTaskVO.status
|
|
|
this.task.statusVO = res.crowdTaskVO.statusVO
|
|
|
+ // this.task.endpoint = res.crowdTaskVO.endpoint
|
|
|
this.taskOperationControl = res.taskOperationControl
|
|
|
this.acceptedUserList = res.acceptedUserList;
|
|
|
this.handleFormatReport(this.acceptedUserList);
|
|
@@ -562,7 +565,8 @@
|
|
|
quotePrice: this.task.quotePrice,
|
|
|
fixedPrice: this.task.fixedPrice,
|
|
|
requirementFile: this.task.requireDocUrl,
|
|
|
- participantCount: this.task.participantCount
|
|
|
+ participantCount: this.task.participantCount,
|
|
|
+ endpoint:this.task.endpoint
|
|
|
}
|
|
|
//console.log(newTask)
|
|
|
updateTask(this.projectId, this.taskId, newTask, this.updateTaskSuccess, this.updateTaskFail)
|
|
@@ -589,6 +593,7 @@
|
|
|
this.task.datetime = new Date(res.crowdTaskVO.datetime)
|
|
|
this.task.quotePrice = res.crowdTaskVO.quotePrice
|
|
|
this.task.fixedPrice = res.crowdTaskVO.fixedPrice
|
|
|
+ // this.task.endpoint = res.crowdTaskVO.endpoint
|
|
|
this.task.doc = []
|
|
|
this.task.requireDocUrl = res.crowdTaskVO.requirementFile,
|
|
|
this.task.participantCount = res.crowdTaskVO.participantCount
|