修改列车识别号禁用人工车类型&生成试卷

This commit is contained in:
fan 2020-05-27 17:30:39 +08:00
parent ff3d4329d6
commit 18735986e6
3 changed files with 5 additions and 4 deletions

View File

@ -56,6 +56,7 @@
:id="domIdTrainNumber"
v-model="formModel.category"
filterable
:disabled="true"
>
<el-option
v-for="item in categoryList"

View File

@ -33,6 +33,7 @@
<el-table-column
prop="topic"
label="题目"
show-overflow-tooltip
>
<template slot-scope="scope">
<span v-html="scope.row.topic" />

View File

@ -71,13 +71,12 @@ export default {
handleExport() {
getRaceById(this.$route.query.raceId).then(resp => {
const exportData = {
operateQuestionList: this.operateQuestionList,
theoryQuestionList: this.theoryQuestionList,
raceId: this.$route.query.raceId,
practicalQuestions: this.operateQuestionList,
theoryQuestions: this.theoryQuestionList,
competitionId: this.$route.query.raceId,
theoryExamTime: this.form.theoryExamTime,
operateExamTime: this.form.operateExamTime
};
console.log(exportData, '11111111');
const content = new Blob([JSON.stringify(exportData)]);
const urlObject = window.URL || window.webkitURL || window;
const url = urlObject.createObjectURL(content);