|
@@ -86,7 +86,7 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
|
- <el-form-item label="状态">
|
|
|
+ <el-form-item label="调用状态">
|
|
|
<el-select
|
|
|
v-model="formSearch.inUse"
|
|
|
class="search_width"
|
|
@@ -99,6 +99,20 @@
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
+ <el-col :span="6">
|
|
|
+ <el-form-item label="审核状态">
|
|
|
+ <el-select
|
|
|
+ v-model="formSearch.auditStatus"
|
|
|
+ class="search_width"
|
|
|
+ clearable
|
|
|
+ placeholder="请选择"
|
|
|
+ size="small"
|
|
|
+ >
|
|
|
+ <el-option value="true" label="已审核"> </el-option>
|
|
|
+ <el-option value="false" label="未审核"> </el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
<el-col :span="6">
|
|
|
<div class="search_down">
|
|
|
<el-button size="small" type="primary" @click="searchFrom"
|
|
@@ -170,12 +184,12 @@
|
|
|
@selection-change="selectChange"
|
|
|
>
|
|
|
<el-table-column type="selection" width="40"></el-table-column>
|
|
|
- <el-table-column label="课程名称" width="180">
|
|
|
+ <el-table-column label="课程名称" width="150">
|
|
|
<template slot-scope="scope">
|
|
|
<span>{{ scope.row.course.name }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="课程代码" width="80">
|
|
|
+ <el-table-column label="课程代码" width="100">
|
|
|
<template slot-scope="scope">
|
|
|
<span>{{ scope.row.course.code }}</span>
|
|
|
</template>
|
|
@@ -206,11 +220,18 @@
|
|
|
prop="paperDetailCount"
|
|
|
>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="状态" width="150">
|
|
|
+ <el-table-column label="调用状态" width="100">
|
|
|
<template slot-scope="scope">
|
|
|
<span>{{ scope.row.inUse == 1 ? "已调用" : "未调用" }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
+ <el-table-column label="审核状态" width="100">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span>{{
|
|
|
+ scope.row.auditStatus == false ? "未审核" : "已审核"
|
|
|
+ }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column label="录入员" width="150">
|
|
|
<template slot-scope="scope">
|
|
|
<span>{{ scope.row.creator }}</span>
|
|
@@ -235,7 +256,7 @@
|
|
|
prop="updateDate"
|
|
|
>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="操作" width="180" fixed="right">
|
|
|
+ <el-table-column label="操作" width="200" fixed="right">
|
|
|
<template slot-scope="scope">
|
|
|
<div class="operate_left">
|
|
|
<el-button
|
|
@@ -245,7 +266,14 @@
|
|
|
@click="editGenPaper(scope.row)"
|
|
|
><i class="el-icon-edit"></i>编辑</el-button
|
|
|
>
|
|
|
- <el-dropdown class="button_left">
|
|
|
+ <el-button
|
|
|
+ size="mini"
|
|
|
+ type="primary"
|
|
|
+ plain
|
|
|
+ @click="audit(scope.row)"
|
|
|
+ ><i class="el-icon-share"></i> 试卷审核</el-button
|
|
|
+ >
|
|
|
+ <el-dropdown style="margin-top: 5px">
|
|
|
<el-button type="primary" size="mini" plain>
|
|
|
更多 <i class="el-icon-arrow-down el-icon--right"></i>
|
|
|
</el-button>
|
|
@@ -295,15 +323,6 @@
|
|
|
><i class="el-icon-share"></i> 发送</el-button
|
|
|
>
|
|
|
</el-dropdown-item>
|
|
|
- <el-dropdown-item>
|
|
|
- <el-button
|
|
|
- size="mini"
|
|
|
- type="primary"
|
|
|
- plain
|
|
|
- @click="audit(scope.row)"
|
|
|
- ><i class="el-icon-share"></i> 试卷审核</el-button
|
|
|
- >
|
|
|
- </el-dropdown-item>
|
|
|
<!-- <el-dropdown-item>
|
|
|
<el-button
|
|
|
size="mini"
|
|
@@ -542,6 +561,7 @@ export default {
|
|
|
isClear: 0,
|
|
|
courseLoading: false,
|
|
|
formSearch: {
|
|
|
+ auditStatus: "",
|
|
|
courseNo: "",
|
|
|
courseName: "",
|
|
|
creator: "",
|
|
@@ -641,6 +661,8 @@ export default {
|
|
|
this.loading = true;
|
|
|
this.$http.get(QUESTION_API + "/paper/audit/" + row.id).then(
|
|
|
() => {
|
|
|
+ this.selectedPaperIds = [];
|
|
|
+ this.searchGenPaper();
|
|
|
this.$notify({
|
|
|
message: "操作成功",
|
|
|
type: "success",
|