|
@@ -353,7 +353,7 @@ export default {
|
|
this.totalInfo = data || {};
|
|
this.totalInfo = data || {};
|
|
},
|
|
},
|
|
handleSelectionChange(val) {
|
|
handleSelectionChange(val) {
|
|
- this.multipleSelection = val.map(item => item.id);
|
|
|
|
|
|
+ this.multipleSelection = val.map(item => item.examDetailId);
|
|
},
|
|
},
|
|
toPreview(row) {},
|
|
toPreview(row) {},
|
|
toSubmit(row) {
|
|
toSubmit(row) {
|
|
@@ -379,7 +379,7 @@ export default {
|
|
})
|
|
})
|
|
.then(async () => {
|
|
.then(async () => {
|
|
const data = await resubmitPrintTask({
|
|
const data = await resubmitPrintTask({
|
|
- id: row.id,
|
|
|
|
|
|
+ id: row.examDetailId,
|
|
printPlanId: row.printPlanId
|
|
printPlanId: row.printPlanId
|
|
});
|
|
});
|
|
if (!data) return;
|
|
if (!data) return;
|
|
@@ -396,7 +396,7 @@ export default {
|
|
type: "warning"
|
|
type: "warning"
|
|
})
|
|
})
|
|
.then(async () => {
|
|
.then(async () => {
|
|
- const data = await cancelPrintTask(row.id);
|
|
|
|
|
|
+ const data = await cancelPrintTask(row.examDetailId);
|
|
if (!data) return;
|
|
if (!data) return;
|
|
|
|
|
|
this.$message.success("撤回成功!");
|
|
this.$message.success("撤回成功!");
|
|
@@ -406,7 +406,7 @@ export default {
|
|
},
|
|
},
|
|
async toViewPdf(row) {
|
|
async toViewPdf(row) {
|
|
let result = true;
|
|
let result = true;
|
|
- const data = await getPrintTaskPdf(row.id).catch(() => {
|
|
|
|
|
|
+ const data = await getPrintTaskPdf(row.examDetailId).catch(() => {
|
|
result = false;
|
|
result = false;
|
|
});
|
|
});
|
|
if (!result) return;
|
|
if (!result) return;
|