|
|
|
@ -43,7 +43,7 @@ |
|
|
|
<el-button |
|
|
|
<el-button |
|
|
|
type="primary" |
|
|
|
type="primary" |
|
|
|
link |
|
|
|
link |
|
|
|
@click="completedFn(scope)" |
|
|
|
@click="completedFn(scope.row)" |
|
|
|
v-if=" |
|
|
|
v-if=" |
|
|
|
scope.row.taskStatus == 2 && |
|
|
|
scope.row.taskStatus == 2 && |
|
|
|
(!scope.row.completed ) |
|
|
|
(!scope.row.completed ) |
|
|
|
@ -389,7 +389,7 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
// 完成 |
|
|
|
// 完成 |
|
|
|
completedFn(row) { |
|
|
|
completedFn(row) { |
|
|
|
// console.log(898989, row.row._parent); |
|
|
|
console.log(898989, row); |
|
|
|
this.$confirm('确认任务是否完成?', { |
|
|
|
this.$confirm('确认任务是否完成?', { |
|
|
|
confirmButtonText: '确定', |
|
|
|
confirmButtonText: '确定', |
|
|
|
cancelButtonText: '取消', |
|
|
|
cancelButtonText: '取消', |
|
|
|
|