|
@@ -25,12 +25,14 @@
|
|
|
width="120"
|
|
|
></el-table-column>
|
|
|
<el-table-column class-name="action-column" label="操作" width="100">
|
|
|
- <el-button
|
|
|
- class="btn-primary"
|
|
|
- type="text"
|
|
|
- @click="toRelease(scope.row)"
|
|
|
- >释放任务</el-button
|
|
|
- >
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-button
|
|
|
+ class="btn-primary"
|
|
|
+ type="text"
|
|
|
+ @click="toRelease(scope.row)"
|
|
|
+ >释放任务</el-button
|
|
|
+ >
|
|
|
+ </template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
</div>
|
|
@@ -82,7 +84,7 @@ export default {
|
|
|
if (res !== "confirm") return;
|
|
|
|
|
|
await releaseUserLibraryTask({
|
|
|
- paperScanTaskId: this.task.id,
|
|
|
+ paperScanTaskId: this.task.paperScanTaskId,
|
|
|
bindUserId: row.bindUserId
|
|
|
});
|
|
|
this.$message.success("操作成功!");
|