mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-14 05:16:47 +08:00
接口初始化 第一版
This commit is contained in:
97
src/mock/mocks/ballot.js
Normal file
97
src/mock/mocks/ballot.js
Normal file
@@ -0,0 +1,97 @@
|
||||
export default {
|
||||
//路径图展开列表
|
||||
ROUTER_CHAPTER_LIST: () => ({
|
||||
"code": 200,
|
||||
"msg": "请求成功!",
|
||||
"data": {
|
||||
"rows": [
|
||||
{
|
||||
"chapterId": 0,
|
||||
"name": ""
|
||||
}
|
||||
]
|
||||
},
|
||||
//学员路径图列表
|
||||
}),
|
||||
ROUTER_LIST: () => ({
|
||||
"code": 0,
|
||||
"data": {
|
||||
"pageNo": 0,
|
||||
"pageSize": 0,
|
||||
"pages": 0,
|
||||
"rows": [
|
||||
{
|
||||
"name": "asdffad",
|
||||
"picUrl": "asdfasdf",
|
||||
"remark": "sdfasf",
|
||||
"routerId": 0,
|
||||
"status": 0,
|
||||
"target": "adfsf "
|
||||
}
|
||||
],
|
||||
"total": 0
|
||||
},
|
||||
"msg": "",
|
||||
"success": true
|
||||
}),
|
||||
//学员路径图进度明细
|
||||
ROUTER_PROCESS: () => ({
|
||||
"code": 0,
|
||||
"data": {
|
||||
"certCnt": 0,
|
||||
"chapterProcessList": [
|
||||
{
|
||||
"chapterId": 0,
|
||||
"chapterName": "序:产品经理从初级到中级",
|
||||
"taskProcessList": [
|
||||
{
|
||||
"currentRatio": 63,
|
||||
"flag": true,
|
||||
"name": "趣味课前小测 - MBTI测试:你适合做哪个方向?",
|
||||
"routerTaskId": 0,
|
||||
"status": 1,
|
||||
"type": 0
|
||||
}
|
||||
],
|
||||
"status": 1,
|
||||
}
|
||||
],
|
||||
"currentChapterCnt": 20,
|
||||
"currentReqCnt": 0,
|
||||
"name": "",
|
||||
"routerId": 0,
|
||||
"totalChapterCnt": 70,
|
||||
"totalReqCnt": 0,
|
||||
"userInfoBo": {
|
||||
"deptName": "",
|
||||
"jobName": "教师是学生的镜子,学生是老师的影子",
|
||||
"userId": 0,
|
||||
"userName": "王星天"
|
||||
}
|
||||
},
|
||||
"msg": "",
|
||||
"success": true
|
||||
}),
|
||||
//未完成任务列表
|
||||
ROUTER_UNCOMPLETE_LIST: () => ({
|
||||
"code": 0,
|
||||
"data": {
|
||||
"pageNo": 0,
|
||||
"pageSize": 0,
|
||||
"pages": 0,
|
||||
"rows": [
|
||||
{
|
||||
"chapterId": 0,
|
||||
"chapterName": "",
|
||||
"name": "",
|
||||
"routerId": 0,
|
||||
"routerTaskId": 0,
|
||||
"routerTaskName": ""
|
||||
}
|
||||
],
|
||||
"total": 0
|
||||
},
|
||||
"msg": "",
|
||||
"success": true
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user