123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712 |
- import axios from 'axios';
- // var baseURL='https://www.scxjc.club'
- var baseURL = ''
- axios.interceptors.request.use(
- config => {
- const token = localStorage.getItem('token');
- // if (config.url.indexOf('downloadzip') >= 0) {
- // if (token) { // 判断是否存在token,如果存在的话,则每个http header都加上token
- // config.headers.Authorization = `${token}`;
- // } else {
- // //未登录
- // window.location.hash = "/login";
- // }
- // }
- return config;
- },
- err => {
- return Promise.reject(err);
- });
- axios.interceptors.response.use(function(response) {
- // console.log(response.headers)
- // IE 8-9
- if (response.data == null && response.config.responseType === 'json' && response.request.responseText != null) {
- try {
- // eslint-disable-next-line no-param-reassign
- response.data = JSON.parse(response.request.responseText);
- } catch (e) {
- // ignored
- }
- }
- // 对响应数据做点什么
- if (response.data.code == 401) {
- // window.location.hash = "/login";
- // window.location.hash = "/";
- }
- if (response.data.code == 305) {
- // window.location.hash = "/";
- }
- return response;
- }, function(error) {
- // 对响应错误做点什么
- if (error.request.status == 403) {
- // window.location.hash = "/login";
- window.location.hash = "/";
- }
- // console.log(Object.getOwnPropertyNames(error))
- // console.log(error.request,error.message)
- return Promise.reject(error);
- });
- export default {
- //登录
- login: params => {
- return axios.post(`${baseURL}/api/account/login`, params);
- },
- logout: params => {
- return axios.post(`${baseURL}/api/account/logout`, params);
- },
- // 全局账号信息
- getAccountInfo: params => {
- return axios.get(`${baseURL}/api/account/info`)
- },
- // 验证码
- getCode: params => {
- return axios.get(`${baseURL}/api/account/imgcode`)
- },
- // 四封审读
- getWorksheetList: params => {
- return axios.get(`${baseURL}/api/admin/examine/worksheet/list`, { params: params })
- },
- getWorkflowList: params => {
- return axios.get(`${baseURL}/api/admin/examine/workflow/list`, { params: params })
- },
- addWorksheet: params => {
- return axios.post(`${baseURL}/api/admin/examine/worksheet`, params)
- },
- updateWorksheet: params => {
- return axios.put(`${baseURL}/api/admin/examine/worksheet`, params)
- },
- delWorksheet: params => {
- return axios.delete(`${baseURL}/api/admin/examine/worksheet`, { params: params })
- },
- activeWorksheet: params => {
- return axios.put(`${baseURL}/api/admin/examine/worksheet/active`, params)
- },
- getWorkflow: params => {
- return axios.get(`${baseURL}/api/admin/examine/workflow`, { params: params })
- },
- //新建审读
- addWorkflow: params => {
- return axios.post(`${baseURL}/api/admin/examine/workflow/record`, params)
- },
- // 任务分配
- getWorkflowassignList: params => {
- return axios.get(`${baseURL}/api/admin/examine/workflow/assign/list`, { params: params })
- },
- assignWorkflow: params => {
- return axios.put(`${baseURL}/api/admin/examine/workflow/assign`, params)
- },
- //审核组成员
- getWorkexpertList: params => {
- return axios.get(`${baseURL}/api/admin/examine/worksheet/expert/list`, { params: params })
- },
- addWorksheetexpert: params => {
- return axios.post(`${baseURL}/api/admin/examine/worksheet/expert/add`, params)
- },
- delWorksheetexpert: params => {
- return axios.delete(`${baseURL}/api/admin/examine/worksheet/expert/del`, { params: params })
- },
- //专家列表
- searchExamineList: params => {
- return axios.get(`${baseURL}/api/admin/examine/expert/search`, { params: params })
- },
- //年份列表
- journalyearList: params => {
- return axios.get(`${baseURL}/api/admin/map/journalyear/list`, { params: params })
- },
- journalissueList: params => {
- return axios.get(`${baseURL}/api/admin/map/journalissue/list`, { params: params })
- },
-
- //新建年份
- addYear: params => {
- return axios.post(`${baseURL}/api/admin/map/journalyear`, params)
- },
- updateYear: params => {
- return axios.put(`${baseURL}/api/admin/map/journalyear`, params)
- },
- delYear: params => {
- return axios.delete(`${baseURL}/api/admin/map/journalyear`, { params: params })
- },
- //期号
- addJournalissue: params => {
- return axios.post(`${baseURL}/api/admin/map/journalissue`, params)
- },
- updateJournalissue: params => {
- return axios.put(`${baseURL}/api/admin/map/journalissue`, params)
- },
- delJournalissue: params => {
- return axios.delete(`${baseURL}/api/admin/map/journalissue`, { params: params })
- },
- //消息接收人
- receiverList: params => {
- return axios.get(`${baseURL}/api/admin/examine/journalusers/search`, { params: params })
- },
- // 获取用户待选期刊列表
- getUserJournals: () => {
- return axios.get(`${baseURL}/api/admin/user/journals`)
- },
- // 获取用户待选角色列表
- getUserRoles: () => {
- return axios.get(`${baseURL}/api/admin/user/roles`)
- },
- //新增管理员
- addUser: params => {
- return axios.post(`${baseURL}/api/admin/user`, params);
- },
- // 修改管理员
- editUser: params => {
- return axios.put(`${baseURL}/api/admin/user`, params);
- },
- // 删除管理员
- delUser: params => {
- return axios.delete(`${baseURL}/api/admin/user`, { params: params });
- },
- // 获取角色权限
- getUserPermissions: () => {
- return axios.get(`${baseURL}/api/admin/user/permissions`)
- },
- // 新增表单模板
- addTemplate: params => {
- return axios.post(`${baseURL}/api/admin/message/template`, params);
- },
- // 编辑表单模板
- editTemplate: params => {
- return axios.put(`${baseURL}/api/admin/message/template`, params);
- },
- editTemplateStatus: params => {
- return axios.put(`${baseURL}/api/admin/message/template/status`, params);
- },
- // 删除表单模板
- delTemplate: params => {
- return axios.delete(`${baseURL}/api/admin/message/template`, { params: params });
- },
- // 获取模板详情
- getTemplate: params => {
- return axios.get(`${baseURL}/api/admin/message/template`, { params: params });
- },
- // 获取模板列表
- getTemplateList: params => {
- return axios.get(`${baseURL}/api/admin/message/template/list`, { params: params })
- },
- //获取所有模板列表
- getAllTemplateList: params => {
- return axios.get(`${baseURL}/api/admin/message/template/all`, { params: params })
- },
- // 新增角色
- addRole: params => {
- return axios.post(`${baseURL}/api/admin/role`, params);
- },
- // 修改角色
- editRole: params => {
- return axios.put(`${baseURL}/api/admin/role`, params);
- },
- delRole: params => {
- return axios.delete(`${baseURL}/api/admin/role`, { params: params });
- },
- // 获取角色列表
- getRoleList: params => {
- return axios.get(`${baseURL}/api/admin/role/list`, { params: params });
- },
- // 获取角色详情
- getRoleInfo: params => {
- return axios.get(`${baseURL}/api/admin/role`, { params: params });
- },
- //导出
- getJournalData: params => {
- return axios.get(`${baseURL}/api/admin/journal/download`, {
- params: params,
- responseType: "blob"
- });
- },
- //专家相关
- // 新增专家
- addExpert: params => {
- return axios.post(`${baseURL}/api/admin/examine/expert`, params);
- },
- // 修改专家
- editExpert: params => {
- return axios.put(`${baseURL}/api/admin/examine/expert`, params);
- },
- delExpert: params => {
- return axios.delete(`${baseURL}/api/admin/examine/expert`, { params: params });
- },
- // 获取专家列表
- getExpertList: params => {
- return axios.get(`${baseURL}/api/admin/examine/expert/list`, { params: params });
- },
- // 获取专家详情
- getExpertInfo: params => {
- return axios.get(`${baseURL}/api/admin/examine/expert`, { params: params });
- },
- // 专业搜索
- getSubjectList: params => {
- return axios.get(`${baseURL}/api/admin/subject/search`, { params: params });
- },
- // 期刊搜索
- getJournalList: params => {
- return axios.get(`${baseURL}/api/admin/journal/search`, { params: params });
- },
- // 单位搜索
- getBranchList: params => {
- return axios.get(`${baseURL}/api/admin/branch/search`, { params: params });
- },
- // 院所
- getCollegeList: params => {
- return axios.get(`${baseURL}/api/admin/organizer/search`, { params: params });
- },
- // 编辑部账号
- addJournalUsers: params => {
- return axios.post(`${baseURL}/api/admin/examine/journalusers`, params);
- },
- // 修改专家
- editJournalUsers: params => {
- return axios.put(`${baseURL}/api/admin/examine/journalusers`, params);
- },
- delJournalUsers: params => {
- return axios.delete(`${baseURL}/api/admin/examine/journalusers`, { params: params });
- },
- // 获取专家列表
- getJournalUsersList: params => {
- return axios.get(`${baseURL}/api/admin/examine/journalusers/list`, { params: params });
- },
- // 获取专家详情
- getJournalUsersInfo: params => {
- return axios.get(`${baseURL}/api/admin/examine/journalusers`, { params: params });
- },
- // 我的工作组
- getGroupList: params => {
- return axios.get(`${baseURL}/api/admin/examine/group/list`, { params: params });
- },
- // 获取工作组成员
- getGroupMember: params => {
- return axios.get(`${baseURL}/api/admin/examine/group/member`, { params: params });
- },
- // 专家审读工作统计
- getExpertWorkflowAnalysis: params => {
- return axios.get(`${baseURL}/api/admin/examine/expert/analysis`, { params: params });
- },
- // 专家审读工作统计导出
- downloadExpertWorkflowAnalysis: params => {
- return axios.get(`${baseURL}/api/admin/examine/expert/analysis/download`, { params: params, responseType: "blob" });
- },
- // 注册期刊账号
- registJournalUsers: params => {
- return axios.post(`${baseURL}/api/admin/examine/journalusers/regist`, params);
- },
- // 注册专家账号
- registExpertUsers: params => {
- return axios.post(`${baseURL}/api/admin/examine/expert/regist`, params);
- },
- // 审核专家账号
- examineExpertUsers: params => {
- return axios.post(`${baseURL}/api/admin/examine/expert/examine`, params);
- },
- // 数据统计相关
- getMessageSurveyAnalyse: params => {
- return axios.get(`${baseURL}/api/admin/message/survey/analyse`, { params: params });
- },
- getMessageSurveyAnalyseOut: params => {
- return axios.get(`${baseURL}/api/admin/message/survey/analyse/out`, { params: params });
- },
- getMessageSurveyQuestionAnalyse: params => {
- return axios.get(`${baseURL}/api/admin/message/survey/question/analyse`, { params: params });
- },
- downloadSurveyResult: params => {
- return axios.get(`${baseURL}/api/admin/message/survey/result/download`, {
- params: params,
- responseType: "blob"
- });
- },
- downloadSurveyResultOut: params => {
- return axios.get(`${baseURL}/api/admin/message/survey/result/download/out`, {
- params: params,
- responseType: "blob"
- });
- },
- downloadAnalyseAll: params => {
- return axios.get(`${baseURL}/api/admin/message/survey/result/download/all`, {
- params: params,
- responseType: "blob"
- });
- },
- downloadAnalyseItem: params => {
- return axios.post(`${baseURL}/api/admin/message/survey/result/download/item`, params, { responseType: "blob" });
- },
- showAnalyseItem: params => {
- return axios.get(`${baseURL}/api/admin/message/survey/result/show/item`, { params: params });
- },
- //
- // 催办提醒
- cuiJournalUserPost: params => {
- return axios.post(`${baseURL}/api/admin/examine/workflow/cui`, params);
- },
- // 下载四封图片
- downloadFourFace: params => {
- return axios.post(`${baseURL}/api/admin/examine/workflow/fourface/download`, params, { responseType: "blob" });
- },
- // 修改密码
- changePassword: params => {
- return axios.post(`${baseURL}/api/account/changepwd`, params);
- },
- //审读列表
- mapList: params => {
- return axios.get(`${baseURL}/api/admin/map/mapreview/list`, { params: params })
- },
- //修改审读禁用启用
- updateMapActive: params => {
- return axios.put(`${baseURL}/api/admin/map/mapreview/active`, params)
- },
- //单位列表
- getOrganizerList: params => {
- return axios.get(`${baseURL}/api/admin/organizer/search`, { params: params })
- },
- //审读专家列表
- getMapExpertList: params => {
- return axios.get(`${baseURL}/api/admin/map/mapreview/expert/list`, { params: params })
- },
- // 增加审读
- insertMap: params => {
- return axios.post(`${baseURL}/api/admin/map/mapreview`, params);
- },
- // update审读
- updateMap: params => {
- return axios.put(`${baseURL}/api/admin/map/mapreview`, params);
- },
- //添加审读专家
- addExpert: params => {
- return axios.post(`${baseURL}/api/admin/map/mapreview/expert`, params);
- },
- //删除审读专家
- delMapExpert: params => {
- return axios.delete(`${baseURL}/api/admin/map/mapreview/expert`, { params: params });
- },
- //审读期刊统计列表
- mapJournalList: params => {
- return axios.get(`${baseURL}/api/admin/map/mapreview/journal/list`, { params: params })
- },
- //审读图片列表
- getMapImgList: params => {
- return axios.get(`${baseURL}/api/admin/map/mapreview/img/list`, { params: params })
- },
- //审读期刊详情
- getMapImgDetail: params => {
- return axios.get(`${baseURL}/api/admin/map/mapreview/journal/detail`, { params: params })
- },
- //审读统计列表
- getMapDataStatistic: params => {
- return axios.get(`${baseURL}/api/admin/map/mapreview/journal/statistic`, { params: params })
- },
- //审读统计导出
- getMapDataExport: params => {
- return axios.get(`${baseURL}/api/admin/map/mapreview/journal/statistic/export`, { params: params, responseType: "blob" })
- },
- //删除期刊审读
- delJournalMap: params => {
- return axios.delete(`${baseURL}/api/admin/map/mapreview/journal`, { params: params });
- },
- //删除审读
- delMap: params => {
- return axios.delete(`${baseURL}/api/admin/map/mapreview`, { params: params });
- },
- //审读
- recordExpert: params => {
- return axios.post(`${baseURL}/api/admin/map/mapreview/img/record`, params);
- },
- //枚举
- getDefault: params => {
- return axios.get(`${baseURL}/api/admin/map/mapreview/default`, { params: params })
- },
- //专家列表
- getExpertListSearch: params => {
- return axios.get(`${baseURL}/api/admin/examine/expert/search`, { params: params })
- },
- //任务列表
- getAssignList: params => {
- return axios.get(`${baseURL}/api/admin/map/mapreview/journal/assign/list`, { params: params })
- },
- //任务分配
- setMapAssign: params => {
- return axios.post(`${baseURL}/api/admin/map/mapreview/journal/assign`, params);
- },
- //任务催办
- setMapAssignUrge: params => {
- return axios.post(`${baseURL}/api/admin/map/mapreview/journal/urge`, params);
- },
- //撤回审读
- delMapRecord: params => {
- return axios.delete(`${baseURL}/api/admin/map/mapreview/img/record`, { params: params });
- },
- //学术列表
- getScienceViewList: params => {
- return axios.get(`${baseURL}/api/admin/aca/acareview/list`, { params: params })
- },
- //修改学术启用禁用
- updateScienceViewActive: params => {
- return axios.put(`${baseURL}/api/admin/aca/acareview/active`, params);
- },
- //新建学术审读
- setScienceView: params => {
- return axios.post(`${baseURL}/api/admin/aca/acareview`, params);
- },
- //修改学术
- updateScienceView: params => {
- return axios.put(`${baseURL}/api/admin/aca/acareview`, params);
- },
- //删除学术审读
- delScienceView: params => {
- return axios.delete(`${baseURL}/api/admin/aca/acareview`, { params: params });
- },
- //学术学科列表
- getScienceSubList: params => {
- return axios.get(`${baseURL}/api/admin/aca/acareview/subject/list`, { params: params })
- },
- //设置学科审读专家
- setScienceSubExpert: params => {
- return axios.put(`${baseURL}/api/admin/aca/acareview/subject/assign`, params);
- },
- //学术不端专家列表
- getScienceExpert: params => {
- return axios.get(`${baseURL}/api/admin/aca/acareview/expert/list`, { params: params });
- },
- //学术不端枚举
- getScienceDefault: params => {
- return axios.get(`${baseURL}/api/admin/aca/acareview/default`, { params: params });
- },
- //学术期刊列表
- getSciencejourList: params => {
- return axios.get(`${baseURL}/api/admin/aca/acareview/journal/list`, { params: params });
- },
- //催办
- pressScience: params => {
- return axios.post(`${baseURL}/api/admin/aca/acareview/journal/urge`, params);
- },
- //学术wenzhang列表
- getScienceArtList: params => {
- return axios.get(`${baseURL}/api/admin/aca/acareview/article/list`, { params: params });
- },
- //学术文章详情
- getScienceArtDetail: params => {
- return axios.get(`${baseURL}/api/admin/aca/acareview/article`, { params: params });
- },
- //学术任务分配列表
- getScienceAssignList: params => {
- return axios.get(`${baseURL}/api/admin/aca/acareview/journal/assign/list`, { params: params });
- },
- //期刊任务分配
- setJourScienceAssign: params => {
- return axios.post(`${baseURL}/api/admin/aca/acareview/journal/assign`, params);
- },
- //学术审读
- setScienceArtRecord: params => {
- return axios.post(`${baseURL}/api/admin/aca/acareview/article/record`, params);
- },
- //学术期刊数据导出
- exportScienceJourList: params => {
- return axios.get(`${baseURL}/api/admin/aca/acareview/expert/statistic/export`, { params: params });
- },
- //专家审读数据统计列表
- getExpertStaticList: params => {
- return axios.get(`${baseURL}/api/admin/aca/acareview/expert/statistic`, { params: params });
- },
- //删除文章审读
- delScienceActView: params => {
- return axios.delete(`${baseURL}/api/admin/aca/acareview/article/record`, { params: params });
- },
- //小结列表
- getSumarryList: params => {
- return axios.get(`${baseURL}/api/admin/message/survey/sumarry/analyse`, { params: params });
- },
- //新加评分规则
- setScoreRule: params => {
- return axios.post(`${baseURL}/api/admin/mark/markrule`, params);
- },
- //修改规则
- updateScoreRule: params => {
- return axios.put(`${baseURL}/api/admin/mark/markrule`, params);
- },
- //列表
- getScoreRuleList: params => {
- return axios.get(`${baseURL}/api/admin/mark/markrule/list`, { params: params });
- },
- //权重列表
- getWeightList: params => {
- return axios.get(`${baseURL}/api/admin/mark/markweight/list`, { params: params });
- },
- //修改权重
- updateWeight: params => {
- return axios.put(`${baseURL}/api/admin/mark/markweight`, params);
- },
- //新增权重
- setWeight: params => {
- return axios.post(`${baseURL}/api/admin/mark/markweight`, params);
- },
- //新增评分
- setScore: params => {
- return axios.post(`${baseURL}/api/admin/mark/automark`, params);
- },
- //修改评分
- updateScore: params => {
- return axios.put(`${baseURL}/api/admin/mark/automark`, params);
- },
- //评分列表
- getScoreList: params => {
- return axios.get(`${baseURL}/api/admin/mark/automark/list`, { params: params });
- },
- //导出小结列表
- downloadSumarryList: params => {
- return axios.post(`${baseURL}/api/admin/message/survey/sumarry/analyse/download`, params, { responseType: "blob" });
- },
- //评分详情列表接口
- getSocreDetailList: params => {
- return axios.get(`${baseURL}/api/admin/mark/automark/result/list`, { params });
- },
- //删除评分详情
- delScoreDetailList: params => {
- return axios.delete(`${baseURL}/api/admin/mark/automark/result/list`, { params: params });
- },
- //删除评分
- delScoreList: params => {
- return axios.delete(`${baseURL}/api/admin/mark/automark`, { params: params });
- },
- //删除评分规则
- delScoreRule: params => {
- return axios.delete(`${baseURL}/api/admin/mark/markrule`, { params: params });
- },
- delScoreWeiht: params => {
- return axios.delete(`${baseURL}/api/admin/mark/markweight`, { params: params });
- },
- //评分统计
- getScoreEcharts: params => {
- return axios.get(`${baseURL}/api/admin/mark/automark/result/analyse`, { params });
- },
- //统计报表
- getScoreStatement: params => {
- return axios.get(`${baseURL}/api/admin/mark/automark/result/statistic`, { params });
- },
- //首页工作组统计
- getGroupIndex: params => {
- return axios.get(`${baseURL}/api/admin/index/group/statistic`, { params });
- },
- //首页
- getIndexMapList: params => {
- return axios.get(`${baseURL}/api/admin/index/mapgroup/list`, { params });
- },
- //首页学术
- getIndexScienList: params => {
- return axios.get(`${baseURL}/api/admin/index/acagroup/list`, { params });
- },
- //首页四封
- getIndexSfList: params => {
- return axios.get(`${baseURL}/api/admin/index/fourgroup/list`, { params });
- },
- //工作组专家列表
- getMapExpertList: params => {
- return axios.get(`${baseURL}/api/admin/index/mapgroup/expert/list`, { params });
- },
- //学术工作组专家列表
- getSciExpertList: params => {
- return axios.get(`${baseURL}/api/admin/index/acagroup/expert/list`, { params });
- },
- //四封工作组专家列表
- getSfExpertList: params => {
- return axios.get(`${baseURL}/api/admin/index/fourgroup/expert/list`, { params });
- },
- //文件列表
- getMapFileList: params => {
- return axios.get(`${baseURL}/api/admin/map/mapreview/zipfile/list`, { params });
- },
- //学术文件列表
- getAcaFileList: params => {
- return axios.get(`${baseURL}/api/admin/aca/acareview/zipfile/list`, { params });
- },
- //删除统计报表
- delAutoMark: params => {
- return axios.delete(`${baseURL}automark/result`, { params: params });
- },
- //导出
- indexMapExport: params => {
- return axios.get(`${baseURL}/api/admin/index/mapgroup/expert/list/download`, { params, responseType: "blob" });
- },
- indexAcaExport: params => {
- return axios.get(`${baseURL}/api/admin/index/acagroup/expert/list/download`, { params, responseType: "blob" });
- },
- indexSfExport: params => {
- return axios.get(`${baseURL}/api/admin/index/fourgroup/expert/list/download`, { params, responseType: "blob" });
- },
- lastMapExport: params => {
- return axios.get(`${baseURL}/api/admin/map/mapreview/img/list/download`, { params, responseType: "blob" });
- },
- lastAcaTwoExport: params => {
- return axios.get(`${baseURL}/api/admin/aca/acareview/journal/list/download`, { params, responseType: "blob" });
- },
- expertAcaExport: params => {
- return axios.get(`${baseURL}/api/admin/aca/acareview/expert/statistic/export`, { params, responseType: "blob" });
- },
- scoreDetailExport: params => {
- return axios.get(`${baseURL} /api/admin/mark/automark/result/download`, { params, responseType: "blob" });
- },
- //上传文件
- addMapreviewMapfile: params => {
- return axios.post(`${baseURL}/api/admin/map/mapreview/addmapfile`, params);
- },
- // 重新解析
- flushMapfile: params => {
- return axios.post(`${baseURL}/api/admin/map/mapreview/flushmapfile`, params);
- },
- //上传学术不端文件
- addACAreviewACAfile: params => {
- return axios.post(`${baseURL}/api/admin/aca/acareview/addacafile`, params);
- },
- // 重新解析
- flushACAfile: params => {
- return axios.post(`${baseURL}/api/admin/aca/acareview/flushacafile`, params);
- },
- // 编辑学术不端文章
- updateACAArticle: params => {
- return axios.put(`${baseURL}/api/admin/aca/acareview/article`, params);
- },
- //重新分配
- resetExpertUser: params => {
- return axios.put(`${baseURL}/api/admin/aca/acareview/resetexpertuser`, params);
- },
- //撤回重新审读
- rebackMapReview: params => {
- return axios.put(`${baseURL}/api/admin/map/mapreview/img/reback`, params);
- },
- //撤回重新审读
- delMapImgDetail: params => {
- return axios.delete(`${baseURL}/api/admin/map/mapreview/img`, { params: params });
- },
- // 同意初审意见
- agreeFirst: params => {
- return axios.post(`${baseURL}/api/admin/map/mapreview/img/agreefirst`, params);
- },
- // 下载学术不端审读结果
- downloadAcaReviewResult: params => {
- return axios.get(`${baseURL} /api/admin/aca/acareview/downloadresult`, { params, responseType: "blob" });
- },
- // 重新分配
- resetAssign: params => {
- return axios.put(`${baseURL}/api/admin/map/mapreview/reset/assign`, params);
- },
- // 重重置审读
- resetRecord: params => {
- return axios.put(`${baseURL}/api/admin/map/mapreview/reset/record`, params);
- },
- }
|