|
@ -280,12 +280,13 @@ |
|
|
//已经接收但是没提交任务 |
|
|
//已经接收但是没提交任务 |
|
|
if (e.from == 'backbutton') { |
|
|
if (e.from == 'backbutton') { |
|
|
if (this.jobStatus == 2) { |
|
|
if (this.jobStatus == 2) { |
|
|
|
|
|
uni.navigateBack(); |
|
|
//取消承接任务 |
|
|
//取消承接任务 |
|
|
cancelTakeCountJob(this.id).then(res => { |
|
|
// cancelTakeCountJob(this.id).then(res => { |
|
|
uni.navigateBack(); |
|
|
// uni.navigateBack(); |
|
|
}).catch(error => { |
|
|
// }).catch(error => { |
|
|
uni.navigateBack(); |
|
|
// uni.navigateBack(); |
|
|
}) |
|
|
// }) |
|
|
} else { |
|
|
} else { |
|
|
uni.navigateBack(); |
|
|
uni.navigateBack(); |
|
|
} |
|
|
} |
|
|