|
@@ -1,3 +1,9 @@
|
|
|
+export interface Pagination {
|
|
|
+ pageNo: number;
|
|
|
+ pageSize: number;
|
|
|
+ totalElements: number;
|
|
|
+}
|
|
|
+
|
|
|
export interface Role {
|
|
|
roleId: number;
|
|
|
roleCode: "ORG_ADMIN" | "SUPER_ADMIN" | "ROOT_ORG_ADMIN" | "COURSE_ADMIN";
|
|
@@ -8,7 +14,28 @@ export type Course_Type = "PUBLIC" | "MAJOR";
|
|
|
|
|
|
export type Privilege_Type = "COURSE" | "ORG";
|
|
|
|
|
|
-// Generated by https://quicktype.io
|
|
|
+export interface Course {
|
|
|
+ code: string;
|
|
|
+ createTime: string;
|
|
|
+ createTimeStr: string;
|
|
|
+ creator: string;
|
|
|
+ enable: boolean;
|
|
|
+ enableStr: string;
|
|
|
+ id: number;
|
|
|
+ name: string;
|
|
|
+ rootOrgId: number; // 供编辑页显示
|
|
|
+ rootOrgCode: string;
|
|
|
+ rootOrgName: string;
|
|
|
+ type: Course_Type;
|
|
|
+ typeStr: string;
|
|
|
+ updateTime: string;
|
|
|
+ updateTimeStr: string;
|
|
|
+ updater: string;
|
|
|
+}
|
|
|
+
|
|
|
+export interface CourseResponse extends Pagination {
|
|
|
+ content: Course[];
|
|
|
+}
|
|
|
|
|
|
export interface ProjectCourse {
|
|
|
courseCode: string;
|
|
@@ -57,29 +84,6 @@ export interface SasCourse {
|
|
|
scoreRangeTotal: number; // 前端自用
|
|
|
}
|
|
|
|
|
|
-export interface Course {
|
|
|
- code: string;
|
|
|
- createTime: string;
|
|
|
- createTimeStr: string;
|
|
|
- creator: string;
|
|
|
- enable: boolean;
|
|
|
- enableStr: string;
|
|
|
- id: number;
|
|
|
- name: string;
|
|
|
- rootOrgId: number; // 供编辑页显示
|
|
|
- rootOrgCode: string;
|
|
|
- rootOrgName: string;
|
|
|
- type: Course_Type;
|
|
|
- typeStr: string;
|
|
|
- updateTime: string;
|
|
|
- updateTimeStr: string;
|
|
|
- updater: string;
|
|
|
-}
|
|
|
-
|
|
|
-export interface CourseResponse extends Pagination {
|
|
|
- content: Course[];
|
|
|
-}
|
|
|
-
|
|
|
export interface RangeConfig {
|
|
|
type: keyof RANGE_POINT_TYPE;
|
|
|
baseScore: number;
|
|
@@ -96,6 +100,19 @@ export interface RANGE_POINT_TYPE {
|
|
|
TOTAL_SCORE_LINE: "国家满分线";
|
|
|
}
|
|
|
|
|
|
+export interface Paper {
|
|
|
+ courseCode: string;
|
|
|
+ courseName: string;
|
|
|
+ id: number;
|
|
|
+ paperName: string;
|
|
|
+ paperType: string;
|
|
|
+ totalCount: number;
|
|
|
+}
|
|
|
+
|
|
|
+export interface PaperResponse extends Pagination {
|
|
|
+ content: Paper[];
|
|
|
+}
|
|
|
+
|
|
|
// 整体分析-试卷特征量数
|
|
|
export interface SASPaper {
|
|
|
allRange: number;
|
|
@@ -118,62 +135,6 @@ export interface SASPaper {
|
|
|
totalScore: number;
|
|
|
}
|
|
|
|
|
|
-export interface Paper {
|
|
|
- courseCode: string;
|
|
|
- courseName: string;
|
|
|
- id: number;
|
|
|
- paperName: string;
|
|
|
- paperType: string;
|
|
|
- totalCount: number;
|
|
|
-}
|
|
|
-
|
|
|
-export interface PaperResponse extends Pagination {
|
|
|
- content: Paper[];
|
|
|
-}
|
|
|
-
|
|
|
-export interface Org {
|
|
|
- code: string;
|
|
|
- domainName: string;
|
|
|
- enable: boolean;
|
|
|
- id: number;
|
|
|
- name: string;
|
|
|
- updateTime: string;
|
|
|
-}
|
|
|
-
|
|
|
-export interface OrgResponse extends Pagination {
|
|
|
- content: Org[];
|
|
|
-}
|
|
|
-
|
|
|
-export interface SubOrg {
|
|
|
- code: string;
|
|
|
- createTime: string;
|
|
|
- createTimeStr: string;
|
|
|
- creator: string;
|
|
|
- enable: boolean;
|
|
|
- enableStr: string;
|
|
|
- id: number;
|
|
|
- name: string;
|
|
|
- rootOrgCode: string;
|
|
|
- rootOrgId: number;
|
|
|
- rootOrgName: string;
|
|
|
- updateTime: string;
|
|
|
- updateTimeStr: string;
|
|
|
- updater: string;
|
|
|
-}
|
|
|
-export interface SubOrgResponse extends Pagination {
|
|
|
- content: SubOrg[];
|
|
|
-}
|
|
|
-
|
|
|
-export interface Pagination {
|
|
|
- pageNo: number;
|
|
|
- pageSize: number;
|
|
|
- totalElements: number;
|
|
|
-}
|
|
|
-
|
|
|
-export interface SASPaperResponse extends Pagination {
|
|
|
- content: SASPaper[];
|
|
|
-}
|
|
|
-
|
|
|
export interface Project {
|
|
|
changeInfo: {
|
|
|
ITEM1: boolean;
|
|
@@ -199,37 +160,6 @@ export interface ProjectResponse extends Pagination {
|
|
|
content: Project[];
|
|
|
}
|
|
|
|
|
|
-// 试题题目编排,试卷特征量数,试题难度分组分布
|
|
|
-export interface SASQuestion {
|
|
|
- answer: string;
|
|
|
- avgScore: number;
|
|
|
- coefficient: number;
|
|
|
- courseId: number;
|
|
|
- createTime: string;
|
|
|
- difficulityGroupLevel: number[];
|
|
|
- difficulityLevel: DifficulityLevel;
|
|
|
- difficulty: number;
|
|
|
- discrimination: number;
|
|
|
- effectiveCount: number;
|
|
|
- fullCount: number;
|
|
|
- id: number;
|
|
|
- mainNumber: number;
|
|
|
- maxScore: number;
|
|
|
- minScore: number;
|
|
|
- objective: boolean;
|
|
|
- optionLevel: string;
|
|
|
- options: string;
|
|
|
- paperId: number;
|
|
|
- projectId: number;
|
|
|
- questionName: string;
|
|
|
- stdev: number;
|
|
|
- subIndex: number;
|
|
|
- subNumber: number;
|
|
|
- totalScore: number;
|
|
|
- updateTime: string;
|
|
|
- zeroCount: number;
|
|
|
-}
|
|
|
-
|
|
|
interface LevelDetail {
|
|
|
questionCount: number;
|
|
|
fullScore: number;
|
|
@@ -241,6 +171,23 @@ export interface DifficulityLevel {
|
|
|
low: LevelDetail;
|
|
|
}
|
|
|
|
|
|
+// 查询指定试卷
|
|
|
+export interface Paper {
|
|
|
+ courseId: number;
|
|
|
+ createTime: string;
|
|
|
+ creatorId: number;
|
|
|
+ difficulityRangeConfig: string;
|
|
|
+ id: number;
|
|
|
+ optionRangeConfig: string;
|
|
|
+ paperName: string;
|
|
|
+ paperType: string;
|
|
|
+ projectId: number;
|
|
|
+ rootOrgId: number;
|
|
|
+ totalScore: number;
|
|
|
+ updateTime: string;
|
|
|
+ updaterId: number;
|
|
|
+}
|
|
|
+
|
|
|
// 试卷分析-查询指定试卷全卷信息
|
|
|
export interface SASPaper {
|
|
|
allRange: number;
|
|
@@ -273,6 +220,37 @@ export interface DiscriminationLevel {
|
|
|
bad: LevelDetail;
|
|
|
}
|
|
|
|
|
|
+// 试题题目编排,试卷特征量数,试题难度分组分布
|
|
|
+export interface SASQuestion {
|
|
|
+ answer: string;
|
|
|
+ avgScore: number;
|
|
|
+ coefficient: number;
|
|
|
+ courseId: number;
|
|
|
+ createTime: string;
|
|
|
+ difficulityGroupLevel: number[];
|
|
|
+ difficulityLevel: DifficulityLevel;
|
|
|
+ difficulty: number;
|
|
|
+ discrimination: number;
|
|
|
+ effectiveCount: number;
|
|
|
+ fullCount: number;
|
|
|
+ id: number;
|
|
|
+ mainNumber: number;
|
|
|
+ maxScore: number;
|
|
|
+ minScore: number;
|
|
|
+ objective: boolean;
|
|
|
+ optionLevel: string;
|
|
|
+ options: string;
|
|
|
+ paperId: number;
|
|
|
+ projectId: number;
|
|
|
+ questionName: string;
|
|
|
+ stdev: number;
|
|
|
+ subIndex: number;
|
|
|
+ subNumber: number;
|
|
|
+ totalScore: number;
|
|
|
+ updateTime: string;
|
|
|
+ zeroCount: number;
|
|
|
+}
|
|
|
+
|
|
|
// 题型难度分布、题型区分度分布
|
|
|
export interface SASQuestionGroup {
|
|
|
avgScore: number;
|
|
@@ -309,23 +287,6 @@ export interface SASQuestionGroup {
|
|
|
zeroCount: number;
|
|
|
}
|
|
|
|
|
|
-// 查询指定试卷
|
|
|
-export interface Paper {
|
|
|
- courseId: number;
|
|
|
- createTime: string;
|
|
|
- creatorId: number;
|
|
|
- difficulityRangeConfig: string;
|
|
|
- id: number;
|
|
|
- optionRangeConfig: string;
|
|
|
- paperName: string;
|
|
|
- paperType: string;
|
|
|
- projectId: number;
|
|
|
- rootOrgId: number;
|
|
|
- totalScore: number;
|
|
|
- updateTime: string;
|
|
|
- updaterId: number;
|
|
|
-}
|
|
|
-
|
|
|
export interface User {
|
|
|
createTime: string;
|
|
|
createTimeStr: string;
|
|
@@ -350,3 +311,47 @@ export interface User {
|
|
|
export interface UserResponse extends Pagination {
|
|
|
content: User[];
|
|
|
}
|
|
|
+
|
|
|
+export interface RootOrg {
|
|
|
+ code: string;
|
|
|
+ domainName: string;
|
|
|
+ enable: boolean;
|
|
|
+ id: number;
|
|
|
+ name: string;
|
|
|
+ updateTime: string;
|
|
|
+}
|
|
|
+
|
|
|
+export interface RootOrgResponse extends Pagination {
|
|
|
+ content: RootOrg[];
|
|
|
+}
|
|
|
+
|
|
|
+export interface SubOrg {
|
|
|
+ code: string;
|
|
|
+ createTime: string;
|
|
|
+ createTimeStr: string;
|
|
|
+ creator: string;
|
|
|
+ enable: boolean;
|
|
|
+ enableStr: string;
|
|
|
+ id: number;
|
|
|
+ name: string;
|
|
|
+ rootOrgCode: string;
|
|
|
+ rootOrgId: number;
|
|
|
+ rootOrgName: string;
|
|
|
+ updateTime: string;
|
|
|
+ updateTimeStr: string;
|
|
|
+ updater: string;
|
|
|
+}
|
|
|
+export interface SubOrgResponse extends Pagination {
|
|
|
+ content: SubOrg[];
|
|
|
+}
|
|
|
+
|
|
|
+export interface SASPaperResponse extends Pagination {
|
|
|
+ content: SASPaper[];
|
|
|
+}
|
|
|
+
|
|
|
+export interface ImportResponse {
|
|
|
+ data: {
|
|
|
+ hasError: boolean;
|
|
|
+ failRecords: { lineNum: number; msg: string }[];
|
|
|
+ };
|
|
|
+}
|