123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269 |
- import { fetch, post } from '@/api/http'
- export default {
- /*
- *保存试卷
- */
- SaveExamPaper: function (data) {
- return post('/school/Paper/upsert', data)
- },
- /*
- *查询试卷
- */
- FindExamPaper: function (data) {
- return post('/school/Paper/find', data)
- },
- /*
- *删除试卷
- */
- DeleteExamPaper: function (data) {
- return post('/school/Paper/delete', data)
- },
- /*
- *删除评测信息
- */
- DeleteExamInfo: function (data) {
- return post('/api/Exam/Delete', data)
- },
- /*
- *保存评测
- */
- SaveExamInfo: function (data) {
- return post('/api/Exam/Save', data)
- },
- /*
- *查询评测
- */
- FindExamInfo: function (data) {
- return post('/api/Exam/Find', data)
- },
- /*
- *自动组题
- */
- Automatic: function (data) {
- return post('/common/item/Automatic', data)
- },
- /*
- *保存最小单元
- */
- SaveUnit: function (data) {
- return post('/teacher/learn/upsert-unit', data)
- },
- /*
- *查询最小单元
- */
- FindUnit: function (data) {
- return post('/teacher/learn/find-unit', data)
- },
- /*
- *删除最小单元
- */
- DeleteUnit: function (data) {
- return post('/teacher/learn/delete-unit', data)
- },
- /*
- *根据id数组查询资源文件
- */
- FindSyllabusResourceById: function (data) {
- return post('/api/Resource/findById', data)
- },
- /*
- *根据id数组查询资源文件
- */
- FindQuestionById: function (data) {
- return post('/api/ItemInfo/findByIds', data)
- },
- /*
- *保存编序式学习活动
- */
- SaveOrderLearn: function (data) {
- return post('/api/Learn/upsertProcess', data)
- },
- /*
- *查询编序式学习活动
- */
- FindOrderLearn: function (data) {
- return post('/api/Learn/FindProcess', data)
- },
- /*
- *保存或新增作答记录
- */
- upsertRecord: function (data) {
- return post('/api/Learn/upsertRecord', data)
- },
- /*
- *查询编序作答记录
- */
- findRecord: function (data) {
- return post('/api/Learn/findRecord', data)
- },
- /*
- *查询作业活动
- */
- SaveorUpdataHomeWork: function (data) {
- return post('/teacher/homework/upsert', data)
- },
- /*
- *新增或者编辑作业活动
- */
- FindHomeWork: function (data) {
- return post('/teacher/homework/find', data)
- },
- /*
- * 撤销发布作业
- */
- RevokeHomeWork: function (data) {
- return post('/teacher/homework/cancel', data)
- },
- /*
- * 删除作业
- */
- DeleteHomeWork: function (data) {
- return post('/teacher/homework/delete', data)
- },
- /*
- * 查询老师课程下的所有班级
- */
- FindClassroomByTeacherId: function (data) {
- return post('/school/course/find-teach-class', data)
- },
- /*
- * 查询作业下的所有学生数据
- */
- FindRecordByHwId: function (data) {
- return post('/teacher/homework/find-record', data)
- },
- /*
- * 保存作业学生作答数据
- */
- SaveHwRecords: function (data) {
- return post('/teacher/homework/upsert-record', data)
- },
- /*
- * 查询老师的评语罐头
- */
- FindTeacherComments: function (data) {
- return post('/teacher/comment/find-comment', data)
- },
- /*
- * 新增老师的评语罐头
- */
- SaveOrUpdateTeacherComments: function (data) {
- return post('/teacher/comment/add-comment', data)
- },
- /*
- * 删除或者更新老师的评语罐头
- */
- UpsertTeacherComments: function (data) {
- return post('/teacher/comment/upsert-comment', data)
- },
- /*
- * 老师评分
- */
- TeacherScoring: function (data) {
- return post('/teacher/homework/tch-score', data)
- },
- /*
- * 打评语
- */
- SetComment: function (data) {
- return post('/teacher/homework/tch-score', data)
- },
- /*
- *新增或者编辑自主学子活动
- */
- SaveSelfLearn: function (data) {
- return post('/api/Learn/SaveorUpdataLearningAutonomous', data)
- },
- /*
- *查询自主学子活动
- */
- FindSelfLearn: function (data) {
- return post('/api/Learn/FindLearningAutonomous', data)
- },
- /*
- *删除编序式活动
- */
- DeleteLeanProcess: function (data) {
- return post('/api/Learn/DeleteProcess', data)
- },
- /*
- * 新增或者修改投票活动
- */
- SaveorUpdataVote: function (data) {
- return post('/school/vote/upsert', data)
- },
- /*
- * 查询投票活动
- */
- FindVote: function (data) {
- return post('/school/vote/find', data)
- },
- /*
- * 保存作业学生作答数据
- */
- SaveVoteRecords: function (data) {
- return post('/school/vote/upsert-record', data)
- },
- /*
- * 删除投票活动
- */
- DeleteVote: function (data) {
- return post('/school/vote/delete', data)
- },
- /*
- * 查询学生投票活动数据
- */
- FindRecordByVoteId: function (data) {
- return post('/school/vote/find-record', data)
- },
- /*
- * 保存评测学生作答数据
- */
- UpsertAllRecord: function (data) {
- return post('/api/Exam/upsertAllRecord', data)
- },
- /*
- * 发布自主学习活动
- */
- UpsertTask: function (data) {
- return post('/teacher/learn/upsert-task', data)
- },
- /*
- * 查询学习活动
- */
- findTask: function (data) {
- return post('/teacher/learn/find-task', data)
- },
- /*
- * 删除/撤销学习任务
- */
- deleteTask: function (data) {
- return post('/api/Learn/deleteTask', data)
- },
- /*
- * 查询学生评测记录
- */
- FindSummaryRecord: function (data) {
- return post('/api/Exam/findSummaryRecord', data)
- },
- /*
- * 查询学生信息
- */
- FindStudent: function (data) {
- return post('/api/Student/find', data)
- },
- /*
- * 查询单个学生作答信息
- */
- FindOneStudent: function (data) {
- return post('/api/Exam/findByIdPk', data)
- }
- }
|