Commit 87ec994f authored by 高滢's avatar 高滢

Merge remote-tracking branch 'origin/develop' into develop

parents ba1e3c7a 3b3691b5
......@@ -697,7 +697,7 @@ export default {
this.rules.testScenarioList[0].required = false
} else {
// this.$route.meta.title = '发起新任务'
// this.getTemporaryStorage()
this.getTemporaryStorage()
}
})
},
......@@ -1034,8 +1034,14 @@ export default {
})
this.taskCreateRequest.auditors = this.tableData
this.taskCreateRequest.sample = this.currentVehicleSampleInformation
this.taskCreateRequest.sample.forEach(item => {
delete item.id
})
this.taskCreateRequest.partSample =
this.currentPartSampleInformation
this.taskCreateRequest.partSample.forEach(item => {
delete item.id
})
console.log('发布...', this.taskCreateRequest)
if (this.taskId === undefined) {
createTask(this.taskCreateRequest).then(response => {
......@@ -1103,7 +1109,13 @@ export default {
})
this.taskCreateRequest.auditors = this.tableData
this.taskCreateRequest.sample = this.currentVehicleSampleInformation
this.taskCreateRequest.sample.forEach(item => {
delete item.id
})
this.taskCreateRequest.partSample = this.currentPartSampleInformation
this.taskCreateRequest.partSample.forEach(item => {
delete item.id
})
console.log('暂存', this.taskCreateRequest)
if (this.taskTemporaryStorage !== null) {
// 暂存有数据再次暂存走编辑
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment