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

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" :id="domIdTrainNumber"
v-model="formModel.category" v-model="formModel.category"
filterable filterable
:disabled="true"
> >
<el-option <el-option
v-for="item in categoryList" v-for="item in categoryList"

View File

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

View File

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