mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-12 12:26:47 +08:00
feat:添加投票-创建投票-添加题干,添加选项;评估编辑接口对接
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import http from "./config";
|
||||
// import qs from 'qs';
|
||||
import qs from 'qs';
|
||||
|
||||
|
||||
/**
|
||||
@@ -33,15 +33,19 @@ import http from "./config";
|
||||
* axios.post(`${this.$url}/test/testRequest`,data).then()
|
||||
*
|
||||
*/
|
||||
|
||||
// , {
|
||||
// header: {
|
||||
// 'token': '123',
|
||||
// }
|
||||
// }
|
||||
|
||||
// 接口-请求
|
||||
|
||||
//创建测评
|
||||
export const createEvaluation = (obj) => http.post('/evaluation/createEvaluation', obj,);
|
||||
export const createEvaluation = (obj) => http.post('/evaluation/createEvaluation', obj);
|
||||
|
||||
//上传组件
|
||||
export const fileUp = (obj) => http.post('/file/upload', obj,);
|
||||
export const fileUp = (obj) => http.post('/file/upload', obj, qs.stringify({ obj }));
|
||||
|
||||
//删除测评信息
|
||||
export const deleteEvaluationById = (obj) => http.post('/evaluation/deleteEvaluationById', { params: obj })
|
||||
|
||||
Reference in New Issue
Block a user