|
|
@@ -178,7 +178,7 @@
|
|
|
<template v-if="picUrl && questionVOS">
|
|
|
<div style="height: 300px;">
|
|
|
<PaperImage :imageIndex="index" :scoreFontSize="20" :rtOrWrSize="10"
|
|
|
- :paperImgUrl="picUrl" :drawData="questionVOS" />
|
|
|
+ :paperImgUrl="picUrl" :usedCardType="usedCardType" :drawData="questionVOS" />
|
|
|
</div>
|
|
|
</template>
|
|
|
<div v-else style="color: #999;">暂无数据</div>
|
|
|
@@ -290,6 +290,7 @@ export default {
|
|
|
downloadDialogVisible: false,
|
|
|
isVariation: 0,
|
|
|
picUrl: null,
|
|
|
+ usedCardType: null,
|
|
|
questionVOS: [],
|
|
|
|
|
|
};
|
|
|
@@ -400,6 +401,7 @@ export default {
|
|
|
|
|
|
const data = res.data.pageVOS[0]
|
|
|
this.picUrl = data.picUrl;
|
|
|
+ this.usedCardType = data.useType;
|
|
|
this.questionVOS = data.questionVOS.map(item => {
|
|
|
return {
|
|
|
...item,
|
|
|
@@ -408,6 +410,7 @@ export default {
|
|
|
});
|
|
|
} else {
|
|
|
this.picUrl = null;
|
|
|
+ this.usedCardType = null;
|
|
|
this.questionVOS = [];
|
|
|
}
|
|
|
|