|
@@ -1,96 +1,96 @@
|
|
|
import { post } from '@/api/http'
|
|
|
export default {
|
|
|
- getAreaSetting: function(data) {
|
|
|
- return post('/school/area-setting/find-id', data)
|
|
|
- },
|
|
|
- saveAreaSetting: function(data) {
|
|
|
- return post('/school/area-setting/upsert', data)
|
|
|
- },
|
|
|
- // 更新册别
|
|
|
- SaveOrUpdateVolume: function(data) {
|
|
|
- return post('/research/ability/upsert', data)
|
|
|
- },
|
|
|
- FindVolumes:function(data) {
|
|
|
- return post('/research/ability/find', data)
|
|
|
- },
|
|
|
- FindAbilityById:function(data) {
|
|
|
- return post('/research/ability/find-id', data)
|
|
|
+ getAreaSetting: function (data) {
|
|
|
+ return post('/school/area-setting/find-id', data)
|
|
|
},
|
|
|
- DeleteVolume:function(data) {
|
|
|
- return post('/research/ability/delete', data)
|
|
|
+ saveAreaSetting: function (data) {
|
|
|
+ return post('/school/area-setting/upsert', data)
|
|
|
},
|
|
|
- GetTreeByVolume:function(data) {
|
|
|
- return post('/research/ability-task/find-id', data)
|
|
|
+ // 更新册别
|
|
|
+ SaveOrUpdateVolume: function (data) {
|
|
|
+ return post('/research/ability/upsert', data)
|
|
|
},
|
|
|
- UpsertTree:function(data) {
|
|
|
- return post('/research/ability-task/upsert-tree', data)
|
|
|
+ FindVolumes: function (data) {
|
|
|
+ return post('/research/ability/find', data)
|
|
|
},
|
|
|
- DeleteTree:function(data) {
|
|
|
- return post('/research/ability-task/delete', data)
|
|
|
+ FindAbilityById: function (data) {
|
|
|
+ return post('/research/ability/find-id', data)
|
|
|
},
|
|
|
- ShareTree:function(data) {
|
|
|
- return post('/teacher/share/to', data)
|
|
|
+ DeleteVolume: function (data) {
|
|
|
+ return post('/research/ability/delete', data)
|
|
|
},
|
|
|
- FindShare:function(data) {
|
|
|
- return post('/teacher/share/find', data)
|
|
|
+ GetTreeByVolume: function (data) {
|
|
|
+ return post('/research/ability-task/find-id', data)
|
|
|
},
|
|
|
- ViewShare:function(data) {
|
|
|
- return post('/teacher/share/view-share', data)
|
|
|
+ UpsertTree: function (data) {
|
|
|
+ return post('/research/ability-task/upsert-tree', data)
|
|
|
},
|
|
|
- ShareAgree:function(data) {
|
|
|
- return post('/teacher/share/agree-share', data)
|
|
|
+ DeleteTree: function (data) {
|
|
|
+ return post('/research/ability-task/delete', data)
|
|
|
},
|
|
|
- CheckLink:function(data) {
|
|
|
- return post('/common/syllabus/check-link', data)
|
|
|
+ ShareTree: function (data) {
|
|
|
+ return post('/teacher/share/to', data)
|
|
|
+ },
|
|
|
+ FindShare: function (data) {
|
|
|
+ return post('/teacher/share/find', data)
|
|
|
+ },
|
|
|
+ ViewShare: function (data) {
|
|
|
+ return post('/teacher/share/view-share', data)
|
|
|
+ },
|
|
|
+ ShareAgree: function (data) {
|
|
|
+ return post('/teacher/share/agree-share', data)
|
|
|
+ },
|
|
|
+ CheckLink: function (data) {
|
|
|
+ return post('/research/ability-task/check-link', data)
|
|
|
},
|
|
|
// 查找知识块数量
|
|
|
FindBlockCount: function (data) {
|
|
|
return post('/knowledges/find-count', data)
|
|
|
},
|
|
|
/* 问卷相关 */
|
|
|
- getSurveyList:function (data) {
|
|
|
+ getSurveyList: function (data) {
|
|
|
return post('/common/TrSurvey/find', data)
|
|
|
},
|
|
|
- getSurveySummary:function (data) {
|
|
|
+ getSurveySummary: function (data) {
|
|
|
return post('/common/TrSurvey/find-summary', data)
|
|
|
},
|
|
|
- saveSurvey:function (data) {
|
|
|
+ saveSurvey: function (data) {
|
|
|
return post('/common/TrSurvey/save', data)
|
|
|
},
|
|
|
- deleteSurvey:function (data) {
|
|
|
+ deleteSurvey: function (data) {
|
|
|
return post('/common/TrSurvey/delete', data)
|
|
|
},
|
|
|
/* 投票相关 */
|
|
|
- getVoteList:function (data) {
|
|
|
+ getVoteList: function (data) {
|
|
|
return post('/common/TrVote/find', data)
|
|
|
},
|
|
|
- getVoteSummary:function (data) {
|
|
|
+ getVoteSummary: function (data) {
|
|
|
return post('/common/TrVote/find-summary', data)
|
|
|
},
|
|
|
- saveVote:function (data) {
|
|
|
+ saveVote: function (data) {
|
|
|
return post('/common/TrVote/save', data)
|
|
|
},
|
|
|
- deleteVote:function (data) {
|
|
|
+ deleteVote: function (data) {
|
|
|
return post('/common/TrVote/delete', data)
|
|
|
},
|
|
|
/* 评测相关 */
|
|
|
- getExamList:function (data) {
|
|
|
+ getExamList: function (data) {
|
|
|
return post('/common/ExamLite/find', data)
|
|
|
},
|
|
|
- getExamSummary:function (data) {
|
|
|
+ getExamSummary: function (data) {
|
|
|
return post('/common/ExamLite/find-summary', data)
|
|
|
},
|
|
|
- saveExam:function (data) {
|
|
|
+ saveExam: function (data) {
|
|
|
return post('/common/ExamLite/save', data)
|
|
|
},
|
|
|
- deleteExam:function (data) {
|
|
|
+ deleteExam: function (data) {
|
|
|
return post('/common/ExamLite/delete', data)
|
|
|
},
|
|
|
//作业相关
|
|
|
- saveWork:function (data) {
|
|
|
+ saveWork: function (data) {
|
|
|
return post('/common/work/save', data)
|
|
|
},
|
|
|
- getWorkSummary:function (data) {
|
|
|
+ getWorkSummary: function (data) {
|
|
|
return post('/common/work/find-summary', data)
|
|
|
},
|
|
|
//数据统计API
|
|
@@ -104,105 +104,105 @@ export default {
|
|
|
getSchList: function (data) {
|
|
|
return post('/school/area/find', data)
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
//根据区id查询学校及分组情况
|
|
|
- findAreaGroup(data){
|
|
|
+ findAreaGroup(data) {
|
|
|
return post('/school/area/find-group', data)
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
//根据区id查询学校及分组情况
|
|
|
- saveAreaVote(data){
|
|
|
+ saveAreaVote(data) {
|
|
|
return post('/school/area/save-vote', data)
|
|
|
},
|
|
|
-
|
|
|
- getAreaVoteById(data){
|
|
|
+
|
|
|
+ getAreaVoteById(data) {
|
|
|
return post('/school/area/find-vote-id', data)
|
|
|
},
|
|
|
-
|
|
|
- getAreaSurveyById(data){
|
|
|
+
|
|
|
+ getAreaSurveyById(data) {
|
|
|
return post('/school/area/find-survey-id', data)
|
|
|
},
|
|
|
-
|
|
|
- getAreaVotes(data){
|
|
|
+
|
|
|
+ getAreaVotes(data) {
|
|
|
return post('/school/area/find-all-vote', data)
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
//根据区id查询学校及分组情况
|
|
|
- saveAreaSurveys(data){
|
|
|
+ saveAreaSurveys(data) {
|
|
|
return post('/school/area/save-survey', data)
|
|
|
},
|
|
|
-
|
|
|
- getAreaSurveys(data){
|
|
|
+
|
|
|
+ getAreaSurveys(data) {
|
|
|
return post('/school/area/find-all-survey', data)
|
|
|
},
|
|
|
-
|
|
|
- getAreaVoteTeachers(data){
|
|
|
+
|
|
|
+ getAreaVoteTeachers(data) {
|
|
|
return post('/school/area/find-all-vote-teachers', data)
|
|
|
},
|
|
|
-
|
|
|
- getAreaSurveyTeachers(data){
|
|
|
+
|
|
|
+ getAreaSurveyTeachers(data) {
|
|
|
return post('/school/area/find-all-survey-teachers', data)
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
//区级资源管理
|
|
|
- getResAndPolicy(data){
|
|
|
+ getResAndPolicy(data) {
|
|
|
return post('/standard-file/find-id', data)
|
|
|
},
|
|
|
- upsertResAndPolicy(data){
|
|
|
+ upsertResAndPolicy(data) {
|
|
|
return post('/standard-file/upsert', data)
|
|
|
},
|
|
|
//获取区级统计数据
|
|
|
- getAreaData(data){
|
|
|
- return post('/research/statistics-area',data)
|
|
|
+ getAreaData(data) {
|
|
|
+ return post('/research/statistics-area', data)
|
|
|
// return post('/research/get-area-statistics',data)
|
|
|
},
|
|
|
//获取区级统计数据(简易版数据)
|
|
|
- getAreaDataSimple(data){
|
|
|
- return post('/research/statistics-area-simple',data)
|
|
|
+ getAreaDataSimple(data) {
|
|
|
+ return post('/research/statistics-area-simple', data)
|
|
|
// return post('/research/get-area-statistics',data)
|
|
|
},
|
|
|
//获取校级统计数据
|
|
|
- getSchoolData(data){
|
|
|
- return post('/research/get-school-appraise',data)
|
|
|
+ getSchoolData(data) {
|
|
|
+ return post('/research/get-school-appraise', data)
|
|
|
// return post('/research/get-school-statistics',data)
|
|
|
},
|
|
|
// 更新能力点的选修必修
|
|
|
- upsertCurrency(data){
|
|
|
- return post('/research/ability/upsert-currency',data)
|
|
|
+ upsertCurrency(data) {
|
|
|
+ return post('/research/ability/upsert-currency', data)
|
|
|
},
|
|
|
/* 获取学校研修记录 */
|
|
|
- getSchoolAppraise(data){
|
|
|
- return post('/research/get-school-appraise',data)
|
|
|
+ getSchoolAppraise(data) {
|
|
|
+ return post('/research/get-school-appraise', data)
|
|
|
},
|
|
|
- fixMd5Duration(data){
|
|
|
- return post('/fix-data/fix-md5-duration',data)
|
|
|
+ fixMd5Duration(data) {
|
|
|
+ return post('/fix-data/fix-md5-duration', data)
|
|
|
},
|
|
|
/* 获取某个人的认证材料 */
|
|
|
- getCertByTmdId(data){
|
|
|
- return post('/research/ability/sub-opt',data)
|
|
|
+ getCertByTmdId(data) {
|
|
|
+ return post('/research/ability/sub-opt', data)
|
|
|
},
|
|
|
/* 获取某个人的课堂实录 */
|
|
|
- getVideoByTmdId(data){
|
|
|
- return post('/research/class-video/opt',data)
|
|
|
+ getVideoByTmdId(data) {
|
|
|
+ return post('/research/class-video/opt', data)
|
|
|
},
|
|
|
/* 设置互评开关 */
|
|
|
- setHpAppraise(data){
|
|
|
- return post('/school/init/set-school-info',data)
|
|
|
+ setHpAppraise(data) {
|
|
|
+ return post('/school/init/set-school-info', data)
|
|
|
},
|
|
|
/* 设置最终考核结果 */
|
|
|
- setFinalScore(data){
|
|
|
- return post('/research/upsert-teacher-finalScore',data)
|
|
|
+ setFinalScore(data) {
|
|
|
+ return post('/research/upsert-teacher-finalScore', data)
|
|
|
},
|
|
|
/* 批量修改课堂实录 */
|
|
|
- batchVideo(data){
|
|
|
- return post('/research/class-video/score-teacher-classvideo',data)
|
|
|
+ batchVideo(data) {
|
|
|
+ return post('/research/class-video/score-teacher-classvideo', data)
|
|
|
},
|
|
|
/* 批量修改认证材料 */
|
|
|
- batchAbility(data){
|
|
|
- return post('/research/ability/score-teacher-submit',data)
|
|
|
+ batchAbility(data) {
|
|
|
+ return post('/research/ability/score-teacher-submit', data)
|
|
|
},
|
|
|
/* 获取评论内容 */
|
|
|
- getReplyInfo(data){
|
|
|
- return post('/research/ability/get-reply-info',data)
|
|
|
+ getReplyInfo(data) {
|
|
|
+ return post('/research/ability/get-reply-info', data)
|
|
|
},
|
|
|
}
|