export const CORE_API = "/api/ecs_core"; //基础信息API
export const EXAM_WORK_API = "/api/ecs_exam_work"; //考务信息API
export const MARKING_API = "/api/ecs_marking"; //阅卷API
export const DATA_PROCESS_API = "/api/ecs_data_process"; //数据中间层API
export const OE_API = "/api/ecs_oe"; //网考API
export const QUESTION_API = "/api/ecs_ques"; //题库API
export const EXCHANGE_API = "/api/ecs_outlet"; //接口机
export const PRINT_API = "/api/ecs_prt";
export const TASK_API = "/api/ctr/task";
export const REPORTS_API = "/api/ecs_reports";

//考试类型
export const EXAM_TYPE = [
  { label: "传统", value: "TRADITION" },
  { label: "网考", value: "ONLINE" },
  { label: "练习", value: "PRACTICE" },
  { label: "离线", value: "OFFLINE" },
  { label: "印刷", value: "PRINT_EXAM" }
];

//试卷类型
export const PAPER_TYPE = [
  "A",
  "B",
  "C",
  "D",
  "E",
  "F",
  "G",
  "H",
  "I",
  "J",
  "K",
  "L",
  "M",
  "N",
  "O",
  "P",
  "Q",
  "R",
  "S",
  "T",
  "U",
  "V",
  "W",
  "X",
  "Y",
  "Z"
];

//数据类型
export const BASIC_DATA_TYPE = [
  { code: "STRING", name: "STRING" },
  { code: "INTEGER", name: "INTEGER" },
  { code: "BOOLEAN", name: "BOOLEAN" },
  { code: "LONG", name: "LONG" },
  { code: "DATE", name: "DATE" }
];
//发布状态
export const PUBLISH_STATUS = [
  { code: "DRAFT", name: "未发布" },
  { code: "TO_BE_PUBLISHED", name: "待发布" },
  { code: "PUBLISHING", name: "发布中" },
  { code: "PUBLISHED", name: "已发布" }
];
//公告接受规则类型
export const NOTICE_RECEIVER_RULE_TYPE = [
  { code: "STUDENTS_OF_EXAM", name: "学生-按考试批次选择" },
  { code: "ALL_STUDENTS_OF_ROOT_ORG", name: "学生-学校中所有学生" },
  { code: "TEACHER_OF_MARK_WORK", name: "老师-按评卷老师选择" },
  { code: "COMMON_USERS_OF_ROLE", name: "老师-学习中心老师" }
];
//登录方式
export const LOGIN_TYPE = [
  { code: "STUDENT_CODE", name: "学号登录" },
  { code: "IDENTITY_NUMBER", name: "身份证号登录" }
];
//防作弊配置
export const PREVENT_CHEATING_CONFIG = [
  { code: "DISABLE_REMOTE_ASSISTANCE", name: "禁用远程协助" },
  { code: "DISABLE_VIRTUAL_CAMERA", name: "禁用虚拟摄像头" },
  // { code: "DISABLE_VIRTUAL_MACHINE", name: "禁用虚拟机" },
  { code: "FULL_SCREEN_TOP", name: "强制全屏置顶" },
  { code: "DISABLE_MULTISCREEN", name: "禁用双屏" }
];
