admin/src/views/modules/kaoshijilu/list.vue
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<template>
<div class="main-content">
<!-- 列表页 -->
<div v-if="!showFlag">
<el-form :inline="true" :model="searchForm" class="form-content">
<el-form-item label="试卷">
<el-input v-model="searchForm.papername" placeholder="试卷名称" clearable></el-input>
</el-form-item>
<el-form-item>
<el-button round @click="search()">查询</el-button>
</el-form-item>
</el-form>
<div class="table-content">
<el-table
:data="dataList"
border
v-loading="dataListLoading"
@selection-change="selectionChangeHandler"
style="width: 100%;"
>
<el-table-column prop="userid" header-align="center" align="center" sortable label="用户ID"></el-table-column>
<el-table-column
prop="papername"
header-align="center"
align="center"
sortable
label="试卷"
></el-table-column>
<el-table-column
prop="myscore"
header-align="center"
align="center"
sortable
label="考试得分"
>
<template slot-scope="scope">
<el-tag v-if="scope.row.myscore==0" type="info">{{scope.row.myscore}}</el-tag>
<el-tag v-else type="warning">{{scope.row.myscore}}</el-tag>
</template>
</el-table-column>
<el-table-column
fixed="right"
header-align="center"
align="center"
width="150"
label="操作"
>
<template slot-scope="scope">
<el-button
type="text"
size="small"
@click="addOrUpdateHandler(scope.row)"
>查看详情</el-button>
</template>
</el-table-column>
</el-table>
<el-pagination
@size-change="sizeChangeHandle"
@current-change="currentChangeHandle"
:current-page="pageIndex"
后面还有 92 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。