|
@@ -16,11 +16,18 @@
|
|
</li>
|
|
</li>
|
|
</ul>
|
|
</ul>
|
|
<div class="overview-actions">
|
|
<div class="overview-actions">
|
|
|
|
+ <Button
|
|
|
|
+ v-if="roughLevelEnable"
|
|
|
|
+ icon="md-download"
|
|
|
|
+ shape="circle"
|
|
|
|
+ @click="download(exportRoughGradeScoreUrl)"
|
|
|
|
+ >导出粗档位成绩</Button
|
|
|
|
+ >
|
|
<Button
|
|
<Button
|
|
icon="md-download"
|
|
icon="md-download"
|
|
shape="circle"
|
|
shape="circle"
|
|
@click="download(exportGradeScoreUrl)"
|
|
@click="download(exportGradeScoreUrl)"
|
|
- >导出档位成绩</Button
|
|
|
|
|
|
+ >导出 {{ roughLevelEnable ? "细档位" : "档位" }} 成绩</Button
|
|
>
|
|
>
|
|
<Button
|
|
<Button
|
|
icon="md-download"
|
|
icon="md-download"
|
|
@@ -87,6 +94,7 @@ export default {
|
|
return {
|
|
return {
|
|
workId: this.$route.params.workId,
|
|
workId: this.$route.params.workId,
|
|
SUBJECT_STAGE,
|
|
SUBJECT_STAGE,
|
|
|
|
+ exportRoughGradeScoreUrl: "",
|
|
exportGradeScoreUrl: "",
|
|
exportGradeScoreUrl: "",
|
|
exportScoreUrl: "",
|
|
exportScoreUrl: "",
|
|
roughLevelEnable: false,
|
|
roughLevelEnable: false,
|
|
@@ -97,6 +105,7 @@ export default {
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
this.getDetail();
|
|
this.getDetail();
|
|
|
|
+ this.exportRoughGradeScoreUrl = `${this.GLOBAL.domain}/api/export/score/exportRoughLevelResult?workId=${this.workId}`;
|
|
this.exportGradeScoreUrl = `${this.GLOBAL.domain}/api/export/score/exportLevelResult?workId=${this.workId}`;
|
|
this.exportGradeScoreUrl = `${this.GLOBAL.domain}/api/export/score/exportLevelResult?workId=${this.workId}`;
|
|
this.exportScoreUrl = `${this.GLOBAL.domain}/api/export/score/exportScoreResult?workId=${this.workId}`;
|
|
this.exportScoreUrl = `${this.GLOBAL.domain}/api/export/score/exportScoreResult?workId=${this.workId}`;
|
|
},
|
|
},
|