|
@@ -976,17 +976,18 @@ export default {
|
|
|
},
|
|
|
//结束任务
|
|
|
endTask() {
|
|
|
- this.$confirm('确认结束任务?', '提示', {
|
|
|
- confirmButtonText: '确认结束',
|
|
|
- cancelButtonText: '取消',
|
|
|
- type: 'success'
|
|
|
- }).then(() => {
|
|
|
- this.getTaskDetail()
|
|
|
- this.showLoading()
|
|
|
- ensureEndTask(this.projectId, this.taskId, this.endTaskSuccess, this.endTaskFail)
|
|
|
- }).catch(() => {
|
|
|
-
|
|
|
- })
|
|
|
+ // this.$confirm('确认结束任务?', '提示', {
|
|
|
+ // confirmButtonText: '确认结束',
|
|
|
+ // cancelButtonText: '取消',
|
|
|
+ // type: 'success'
|
|
|
+ // }).then(() => {
|
|
|
+ // this.getTaskDetail()
|
|
|
+ // this.showLoading()
|
|
|
+ // ensureEndTask(this.projectId, this.taskId, this.endTaskSuccess, this.endTaskFail)
|
|
|
+ // }).catch(() => {
|
|
|
+ //
|
|
|
+ // })
|
|
|
+ this.$router.push({name: 'TaskAmountCalPage', params: {taskCode: this.taskId}})
|
|
|
},
|
|
|
//结束任务成功时的回调函数
|
|
|
endTaskSuccess(res) {
|