| | |
| | | </el-form-item> |
| | | <el-form-item label="课目:" > |
| | | <el-select v-model="queryParam.subjectId" clearable> |
| | | <el-option v-for="item in subjectFilter" :key="item.id" :value="item.id" :label="item.name+' '"></el-option> |
| | | <el-option v-for="item in subjects" :key="item.id" :value="item.id" :label="item.name+' '"></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button type="primary" @click="submitForm">查询</el-button> |
| | | <router-link :to="{path:'/exam/paper/edit'}" class="link-left"> |
| | | <el-button type="primary">添加</el-button> |
| | | <el-button type="success">添加</el-button> |
| | | </router-link> |
| | | </el-form-item> |
| | | </el-form> |
| | | <el-table v-loading="listLoading" :data="tableData" border fit highlight-current-row style="width: 100%"> |
| | | <el-table-column prop="subjectId" label="课目" :formatter="subjectFormatter" width="120px" /> |
| | | <el-table-column prop="subjectId" label="课目" :formatter="subjectFormatter" /> |
| | | <el-table-column prop="name" label="名称" /> |
| | | <el-table-column prop="createTime" label="创建时间" width="160px"/> |
| | | <el-table-column prop="createTime" label="创建时间" width="160px" /> |
| | | <el-table-column prop="createDepartment" label="创建部门" /> |
| | | <el-table-column label="操作" align="center" width="300px"> |
| | | <template slot-scope="{row}"> |
| | | <el-button size="mini" @click="$router.push({path:'/exam/paper/edit',query:{id:row.id}})" >编辑</el-button> |
| | |
| | | </el-table> |
| | | <pagination v-show="total>0" :total="total" :page.sync="queryParam.pageIndex" :limit.sync="queryParam.pageSize" |
| | | @pagination="search"/> |
| | | |
| | | |
| | | <el-dialog |
| | | title="补考" |
| | | :visible.sync="dialogVisible" |
| | |
| | | <el-button type="primary" @click="submitUpdate">确 定</el-button> |
| | | </span> |
| | | </el-dialog> |
| | | |
| | | |
| | | </div> |
| | | </template> |
| | | |