题目类型枚举值

parent 342136f0
......@@ -149,6 +149,14 @@ export enum COMPLETIONSTATUS {
未完成
};
/**
* 题目类型
*/
export enum QUESTIONTYPE {
单选 = 'single_choice',
多选 = 'multiple_choice',
文本 = 'text'
};
/**
* 政治面貌
......@@ -159,7 +167,7 @@ export enum POLITICALSTATUS {
共青团员 = '共青团员',
群众 = '群众',
民主党派 = '民主党派',
无党派人士 = '无党派人士',
无党派人士 = '无党派人士'
};
/**
......@@ -174,7 +182,7 @@ export enum ABILITYDIMENSION {
善于学习 = 'syxx',
勇于创新 = 'yycx',
学业扎实 = 'xysz',
责任担当 = 'zrdd',
责任担当 = 'zrdd'
};
......@@ -10,6 +10,8 @@ import { checkUser } from '../middleware/user';
const config = {
"/api/public/maintype":enumConfig.COMMUNICATIONTYPE,//交流记录子类型
"/api/public/politicalStatus":enumConfig.POLITICALSTATUS,//政治面貌
"/api/public/questionType":enumConfig.QUESTIONTYPE,//题目类型
"/api/public/abilityType":enumConfig.ABILITYDIMENSION,//能力类型
}
export function setRouter(httpServer) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment