|
@@ -132,6 +132,7 @@ export default {
|
|
|
const res = await tikuPaperDetail({
|
|
|
examId: this.presetData.examId,
|
|
|
paperId: this.presetData.paperId,
|
|
|
+ uuid: this.presetData.uuid,
|
|
|
}).catch(() => {});
|
|
|
if (!res) {
|
|
|
this.emitResult({ success: false, message: "试卷内容获取失败" });
|
|
@@ -141,7 +142,7 @@ export default {
|
|
|
// 构建题卡
|
|
|
try {
|
|
|
this.paperInfo = {
|
|
|
- uuid: res.uuid,
|
|
|
+ uuid: this.presetData.uuid,
|
|
|
attachmentId: res.attachmentId,
|
|
|
};
|
|
|
const paperJson = res.paperJson ? JSON.parse(res.paperJson) : {};
|
|
@@ -238,7 +239,7 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
emitResult(data) {
|
|
|
- console.log(data);
|
|
|
+ // console.log(data);
|
|
|
this.loading = false;
|
|
|
this.$emit("confirm", data);
|
|
|
this.cancel();
|