|
@@ -190,17 +190,20 @@ export default {
|
|
},
|
|
},
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
- this.initFillQuestionRanges();
|
|
|
|
- this.getPaperList();
|
|
|
|
- this.getCardPages();
|
|
|
|
- this.registResize();
|
|
|
|
- this.updateList();
|
|
|
|
|
|
+ this.initData();
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
...mapMutations("markParam", [
|
|
...mapMutations("markParam", [
|
|
"setSubjectiveTaskList",
|
|
"setSubjectiveTaskList",
|
|
"updateSubjectiveTaskItem",
|
|
"updateSubjectiveTaskItem",
|
|
]),
|
|
]),
|
|
|
|
+ async initData() {
|
|
|
|
+ await this.updateList();
|
|
|
|
+ this.initFillQuestionRanges();
|
|
|
|
+ this.getPaperList();
|
|
|
|
+ this.getCardPages();
|
|
|
|
+ this.registResize();
|
|
|
|
+ },
|
|
async getPaperList() {
|
|
async getPaperList() {
|
|
this.paperList = [];
|
|
this.paperList = [];
|
|
const data = await examStructureFindJpg({
|
|
const data = await examStructureFindJpg({
|