Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nanMoMentorPlatform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
node_server
nanMoMentorPlatform
Commits
22e4e3f4
Commit
22e4e3f4
authored
Jul 03, 2026
by
PC-20251223ZVQQ\Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
题目类型枚举值
parent
342136f0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
enum.ts
src/config/enum.ts
+10
-2
public.ts
src/routers/public.ts
+2
-0
No files found.
src/config/enum.ts
View file @
22e4e3f4
...
...
@@ -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'
};
src/routers/public.ts
View file @
22e4e3f4
...
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment