|
@@ -64,7 +64,7 @@ export type Store = {
|
|
|
};
|
|
|
/** 电脑时间管理 */
|
|
|
sysTime: {
|
|
|
- /** 与服务器差异 */
|
|
|
+ /** 与服务器差异,服务器时间大于学生端时间,则返回正数,否则返回负数 */
|
|
|
difference: number;
|
|
|
/** 网络延迟 通过网络请求来判断 */
|
|
|
rtt: number;
|
|
@@ -202,16 +202,18 @@ type BaseExam = {
|
|
|
type ExamCycle = {
|
|
|
/** 考试周期是否开启循环 */
|
|
|
examCycleEnabled: boolean;
|
|
|
- /** 周循环中周几开启考试 */
|
|
|
- examCycleWeek: (1 | 2 | 3 | 4 | 5 | 6 | 7)[];
|
|
|
+ /** 周循环中周几开启考试 1-7 */
|
|
|
+ examCycleWeek: number[];
|
|
|
/** 周期循环中开启的时间段 HHmm [['08:00', '10:30'], ['15:00', '17:00']] */
|
|
|
- examCycleTimeRange: [string, string][];
|
|
|
+ examCycleTimeRange: { timeRange: [string, string] }[];
|
|
|
};
|
|
|
|
|
|
type OnlineExam = BaseExam &
|
|
|
ExamCycle & {
|
|
|
/** 是否显示考生承诺书 */
|
|
|
showUndertaking: boolean;
|
|
|
+ /** 考生承诺书内容 */
|
|
|
+ undertaking: string;
|
|
|
/** 是否启用人脸比对 */
|
|
|
faceEnable: boolean;
|
|
|
/** 剩余考试次数 */
|