|
|
@@ -77,13 +77,13 @@ export function getPaperMajors(query) {
|
|
|
/// 试卷批次
|
|
|
export function getPaperBatches() {
|
|
|
// TODO: remove test code
|
|
|
- return Promise.resolve({
|
|
|
- code: 200,
|
|
|
- data: [
|
|
|
- {name: '第二批', batchId: 2},
|
|
|
- {name: '第一批', batchId: 1}
|
|
|
- ]
|
|
|
- })
|
|
|
+ // return Promise.resolve({
|
|
|
+ // code: 200,
|
|
|
+ // data: [
|
|
|
+ // {name: '第二批', batchId: 2},
|
|
|
+ // {name: '第一批', batchId: 1}
|
|
|
+ // ]
|
|
|
+ // })
|
|
|
|
|
|
return request({
|
|
|
url: '/learn/test/list',
|
|
|
@@ -183,15 +183,15 @@ export function getPaperDetail(query) {
|
|
|
|
|
|
export function getPaperClassStatistic(query) {
|
|
|
// TODO: remove test code
|
|
|
- return Promise.resolve({
|
|
|
- code: 200,
|
|
|
- data: [
|
|
|
- {classId: 0, className: '2501班', total: 50, unexact: 10, exact: 40, unsend: 10, send: 20, unfinish: 5, finish: 15},
|
|
|
- {classId: 0, className: '2502班', total: 50, unexact: 10, exact: 40, unsend: 10, send: 20, unfinish: 5, finish: 15},
|
|
|
- {classId: 0, className: '2503班', total: 50, unexact: 10, exact: 40, unsend: 10, send: 20, unfinish: 5, finish: 15},
|
|
|
- {classId: 0, className: '2504班', total: 50, unexact: 10, exact: 40, unsend: 10, send: 20, unfinish: 5, finish: 15}
|
|
|
- ]
|
|
|
- })
|
|
|
+ // return Promise.resolve({
|
|
|
+ // code: 200,
|
|
|
+ // data: [
|
|
|
+ // {classId: 0, className: '2501班', total: 50, unexact: 10, exact: 40, unsend: 10, send: 20, unfinish: 5, finish: 15},
|
|
|
+ // {classId: 0, className: '2502班', total: 50, unexact: 10, exact: 40, unsend: 10, send: 20, unfinish: 5, finish: 15},
|
|
|
+ // {classId: 0, className: '2503班', total: 50, unexact: 10, exact: 40, unsend: 10, send: 20, unfinish: 5, finish: 15},
|
|
|
+ // {classId: 0, className: '2504班', total: 50, unexact: 10, exact: 40, unsend: 10, send: 20, unfinish: 5, finish: 15}
|
|
|
+ // ]
|
|
|
+ // })
|
|
|
// 2025.10.16 新增班级统计,用于组卷生成
|
|
|
const queryDemo = {
|
|
|
buildType: '', // 试卷构建类型,定义枚举?
|