1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
| <template>
| <div class="app-container">
| <el-table v-loading="loading" :data="expertList">
| <el-table-column label="月份" align="center" prop="month" />
| <el-table-column label="平台名称" align="center" prop="name" />
| <el-table-column label="上月题库总题目数" align="center" prop="totalNum" />
| <el-table-column label="新增题目数量" align="center" prop="addQuestionNum" />
| <el-table-column label="减少题目数" align="center" prop="reduceQuestionNum" />
| <el-table-column label="刷题应用率" align="center" prop="brushQuestionsRate" />
| <el-table-column label="组卷应用率" align="center" prop="testPaperRate" />
| <el-table-column label="上报时间" align="center" prop="time" />
| <el-table-column label="组卷预览" align="center" class-name="small-padding fixed-width">
| <template #default="scope">
| <el-button
| size="mini"
| type="text"
| style="color: #1890ff"
| @click="handleView(scope.row)"
| >点击预览</el-button>
| </template>
| </el-table-column>
| </el-table>
| <pagination
| v-show="total>0"
| :total="total"
| :page.sync="queryParams.pageIndex"
| :limit.sync="queryParams.pageSize"
| @pagination="getList"
| />
| </div>
| </template>
|
| <script>
| export default {
| name: "nPeopleManage",
| dicts: [],
| components: {},
| data() {
| return {
| loading: false,
| single: true,
| multiple: true,
| showSearch: true,
| addForm: false,
| total: 0,
| expertTypes: [],
| expertList: [],
| queryParams: {
| pageIndex: 1,
| pageSize: 10
| },
| };
| },
| created() {
| this.getList();
| },
| methods: {
| getList(){
| this.loading = true;
| this.expertList = [
| {
| id: 1,
| month: '2024年6月',
| name: '测试数据1',
| totalNum: 120,
| addQuestionNum: 20,
| reduceQuestionNum: 10,
| brushQuestionsRate: '80%',
| testPaperRate: '75%',
| time: '2024-6-11 10:32:00 '
|
| },
| {
| id: 2,
| month: '2024年6月',
| name: '测试数据2',
| totalNum: 100,
| addQuestionNum: 10,
| reduceQuestionNum: 15,
| brushQuestionsRate: '90%',
| testPaperRate: '85%',
| time: '2024-6-11 10:32:00 '
| }
| ]
| this.total = 2
| this.loading = false;
|
| },
| handleChange(){
|
| },
| handleQuery(){
|
| },
| resetQuery(){
|
| },
| handleView(){
|
| }
| }
| };
| </script>
|
|