Browse Source

日常开发

林旭祥 3 ngày trước cách đây
mục cha
commit
b7f3554293

+ 0 - 16
src/api/index.ts

@@ -1,21 +1,5 @@
 import common from './module/common';
-import analysis from './module/analysis';
-import course from './module/course';
-import enter from './module/enter';
-import ranking from './module/ranking';
-import score from './module/score';
-import set from './module/set';
-import test from './module/test';
-import train from './module/train';
 
 export default {
     common,
-    analysis,
-    course,
-    enter,
-    ranking,
-    score,
-    set,
-    test,
-	train,
 }

+ 0 - 26
src/api/module/analysis.js

@@ -1,26 +0,0 @@
-import req from '../request'
-
-module.exports = {
-
-	trainExamDetails: data => {
-		return req({
-			url: `/report/onev2`,
-			method: 'get',
-			data: data,
-			headers: {
-				showLoading: false,
-			}
-		})
-	},
-
-	testExamDetails: data => {
-		return req({
-			url: `/task/indivi_exam_detail`,
-			method: 'get',
-			data: data,
-			headers: {
-				showLoading: false,
-			}
-		})
-	},
-}

+ 0 - 5
src/api/module/course.js

@@ -1,5 +0,0 @@
-import req from '../request'
-
-module.exports = {
-
-}

+ 0 - 46
src/api/module/enter.js

@@ -1,46 +0,0 @@
-import req from '../request'
-
-module.exports = {
-
-	//自由任务
-	freeTasksList: data => {
-		return req({
-			url: '/task/task_list',
-			method: 'get',
-			data: data,
-		});
-	},
-	//常规任务
-	conventionTasksList: data => {
-		return req({
-			url: '/task/common_list',
-			method: 'get',
-			data: data,
-		});
-	},
-	//获取测试项目
-	getTaskProject: data => {
-		return req({
-			url: '/exam/ccconfig_grade_view',
-			method: 'get',
-			data: data,
-		});
-	},
-	//学生成绩列表
-	taskStudents: data => {
-		return req({
-			url: '/spro/task_students',
-			method: 'post',
-			data: data,
-		});
-	},
-	//学生成绩录入
-	taskResultRecordIn: data => {
-		return req({
-			url: '/spro/task_result_record_in',
-			method: 'post',
-			data: data,
-		});
-	},
-
-}

+ 0 - 34
src/api/module/ranking.js

@@ -1,34 +0,0 @@
-import req from '../request'
-
-module.exports = {
-	projectList: data => {
-		return req({
-			url: '/exam/examlist_show',
-			method: 'get',
-			data: data,
-			headers: {
-				showLoading: false,
-			}
-		});
-	},
-	studentRanking: data => {
-		return req({
-			url: '/schpanel/student_rank_list',
-			method: 'get',
-			data: data,
-			headers: {
-				showLoading: false,
-			}
-		});
-	},
-	classRanking: data => {
-		return req({
-			url: '/schpanel/class_rank_list',
-			method: 'get',
-			data: data,
-			headers: {
-				showLoading: false,
-			}
-		});
-	},
-}

+ 0 - 15
src/api/module/score.js

@@ -1,15 +0,0 @@
-import req from '../request'
-
-module.exports = {
-	//人脸库
-	studentList: data => {
-		return req({
-			url: '/user/student_list',
-			method: 'get',
-			data: data,
-			headers: {
-				showLoading: false,
-			}
-		});
-	},
-}

+ 0 - 31
src/api/module/set.js

@@ -1,31 +0,0 @@
-import req from '../request'
-
-module.exports = {
-	//绑定百度人脸识别
-	binding: data => {
-		return req({
-			url: '/log/bdface_actv',
-			method: 'post',
-			data: data,
-		});
-	},
-	//获取绑定信息
-	bindingInfo: data => {
-		return req({
-			url: '/log/bdface_actv_lists',
-			method: 'get',
-			data: data,
-			headers: {
-				showLoading: false,
-			}
-		});
-	},
-	//密码校验
-	checkPassword: data => {
-		return req({
-			url: '/device/config/check_password',
-			method: 'post',
-			data: data,
-		});
-	},
-}

+ 0 - 20
src/api/module/test.js

@@ -1,20 +0,0 @@
-import req from '../request'
-
-module.exports = {
-	//长跑未识别成绩候选数据
-	runTidinfo: data => {
-		return req({
-			url: '/exam/run/tidinfo',
-			method: 'get',
-			data: data,
-		});
-	},
-	//长跑项目修正某同学的成绩
-	modifyRunData: data => {
-		return req({
-			url: '/exam/run/result',
-			method: 'post',
-			data: data,
-		});
-	},
-}

+ 0 - 31
src/api/module/train.js

@@ -1,31 +0,0 @@
-import req from '../request'
-
-module.exports = {
-	//获取测试项目
-	projectList: data => {
-		return req({
-			url: '/exam',
-			method: 'get',
-			data: data,
-			headers: {
-				showLoading: false,
-			}
-		});
-	},
-	//获取班级列表
-	classList: data => {
-		return req({
-			url: '/school/classes_list',
-			method: 'get',
-			data: data,
-		});
-	},
-	//获取学生成绩
-	studentReport: data => {
-		return req({
-			url: '/report/index',
-			method: 'get',
-			data: data,
-		});
-	},
-}