生成试卷实操调整

This commit is contained in:
fan 2020-05-27 11:28:29 +08:00
parent 8cc1dd66d1
commit 04bf8a9dda

View File

@ -17,6 +17,7 @@
<el-table-column <el-table-column
prop="type" prop="type"
label="类型" label="类型"
width="100"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag <el-tag
@ -32,6 +33,7 @@
<el-table-column <el-table-column
prop="score" prop="score"
label="分值" label="分值"
width="100"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="!scope.row.editScope" @click="editScope(scope.row)">{{ scope.row.score }}</span> <span v-if="!scope.row.editScope" @click="editScope(scope.row)">{{ scope.row.score }}</span>
@ -39,7 +41,7 @@
<el-input v-if="scope.row.editScope" v-model="scope.row.score" v-focus="scope.row.editFocus" size="small" style="width: 50px;" @blur="editScopeBlur(scope.row)" /> <el-input v-if="scope.row.editScope" v-model="scope.row.score" v-focus="scope.row.editFocus" size="small" style="width: 50px;" @blur="editScopeBlur(scope.row)" />
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="operate" label="操作11"> <el-table-column prop="operate" label="操作" width="100">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button type="warning" size="mini" @click="removeTheoryQuestion(scope)">移出</el-button> <el-button type="warning" size="mini" @click="removeTheoryQuestion(scope)">移出</el-button>
</template> </template>