|
@@ -52,6 +52,7 @@
|
|
placeholder="请选择"
|
|
placeholder="请选择"
|
|
filterable
|
|
filterable
|
|
class="width-full"
|
|
class="width-full"
|
|
|
|
+ :disabled="!examTask.examId"
|
|
@change="courseChange"
|
|
@change="courseChange"
|
|
>
|
|
>
|
|
<el-option
|
|
<el-option
|
|
@@ -345,11 +346,9 @@ export default {
|
|
});
|
|
});
|
|
},
|
|
},
|
|
async getCardList() {
|
|
async getCardList() {
|
|
- if (!this.examTask.courseCode) return;
|
|
|
|
|
|
+ if (!this.examTask.courseCode || !this.examTask.examId) return;
|
|
const data = await cardForSelectList({
|
|
const data = await cardForSelectList({
|
|
courseCode: this.examTask.courseCode,
|
|
courseCode: this.examTask.courseCode,
|
|
- paperType: this.paperAttachments.map(item => item.name).join(","),
|
|
|
|
- cardRuleId: this.examTask.cardRuleId,
|
|
|
|
examId: this.examTask.examId
|
|
examId: this.examTask.examId
|
|
});
|
|
});
|
|
this.cards = data || [];
|
|
this.cards = data || [];
|