|
@@ -341,7 +341,6 @@
|
|
>
|
|
>
|
|
<el-button
|
|
<el-button
|
|
v-if="
|
|
v-if="
|
|
- scope.row.taskId &&
|
|
|
|
checkPrivilege('link', 'createpdf') &&
|
|
checkPrivilege('link', 'createpdf') &&
|
|
(scope.row.status === 'READY' ||
|
|
(scope.row.status === 'READY' ||
|
|
scope.row.status === 'CANCEL' ||
|
|
scope.row.status === 'CANCEL' ||
|
|
@@ -678,7 +677,10 @@ export default {
|
|
).catch(() => {});
|
|
).catch(() => {});
|
|
if (action !== "confirm") return;
|
|
if (action !== "confirm") return;
|
|
|
|
|
|
- const res = await rebuildPrintTaskPdf(this.curTask.taskId, item.type);
|
|
|
|
|
|
+ const res = await rebuildPrintTaskPdf(
|
|
|
|
+ this.curTask.examDetailId,
|
|
|
|
+ item.type
|
|
|
|
+ );
|
|
if (!res) return;
|
|
if (!res) return;
|
|
this.$message.success("操作成功!");
|
|
this.$message.success("操作成功!");
|
|
this.padViewDialogVisible = false;
|
|
this.padViewDialogVisible = false;
|