|
@@ -284,13 +284,6 @@ export default {
|
|
|
|
|
|
this.$nextTick(() => {
|
|
|
this.buildData();
|
|
|
-
|
|
|
- if (this.prepareDownloadPdf) {
|
|
|
- this.$nextTick(async () => {
|
|
|
- await this.downloadPaperPdf().catch(() => {});
|
|
|
- this.prepareDownloadPdf = false;
|
|
|
- });
|
|
|
- }
|
|
|
});
|
|
|
},
|
|
|
paperTempChange(paperTemp) {
|
|
@@ -606,8 +599,13 @@ export default {
|
|
|
// console.log(this.renderStructList);
|
|
|
this.buildPageAutoPage();
|
|
|
|
|
|
- this.$nextTick(() => {
|
|
|
+ this.$nextTick(async () => {
|
|
|
this.addDetailScoreTable();
|
|
|
+
|
|
|
+ if (this.prepareDownloadPdf) {
|
|
|
+ await this.downloadPaperPdf().catch(() => {});
|
|
|
+ this.prepareDownloadPdf = false;
|
|
|
+ }
|
|
|
});
|
|
|
},
|
|
|
addDetailScoreTable() {
|