mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-12 12:26:47 +08:00
t
This commit is contained in:
@@ -45,29 +45,39 @@ export const fileUp = (data) =>
|
||||
headers: { "Content-Type": "multipart/form-data" },
|
||||
});
|
||||
|
||||
//删除测评信息
|
||||
export const deleteEvaluationById = (obj) => http.post('/evaluation/deleteEvaluationById', { params: obj }, {
|
||||
header: {
|
||||
'token': '123',
|
||||
}
|
||||
})
|
||||
//上传文件
|
||||
export const baseVoteupload = (data) =>
|
||||
http.post("/vote/baseVoteupload", data, {
|
||||
headers: { "Content-Type": "multipart/form-data" },
|
||||
});
|
||||
|
||||
//删除测评信息
|
||||
export const deleteEvaluationById = (obj) =>
|
||||
http.post(
|
||||
"/evaluation/deleteEvaluationById",
|
||||
{ params: obj },
|
||||
{
|
||||
header: {
|
||||
token: "123",
|
||||
},
|
||||
}
|
||||
);
|
||||
|
||||
//根据ID获取测评信息详情
|
||||
export const queryEvaluationDetailById = (obj) =>
|
||||
http.post("/evaluation/queryEvaluationDetailById", obj,{
|
||||
http.post("/evaluation/queryEvaluationDetailById", obj, {
|
||||
headers: {
|
||||
'token': '123',
|
||||
'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8',
|
||||
}
|
||||
});
|
||||
token: "123",
|
||||
"Content-Type": "application/x-www-form-urlencoded;charset=UTF-8",
|
||||
},
|
||||
});
|
||||
|
||||
//修改测评信息
|
||||
export const updateEvaluation = (obj) =>
|
||||
http.post("/evaluation/updateEvaluation", obj);
|
||||
|
||||
//测评列表查询接口
|
||||
export const choiceEvaluation = (obj) =>
|
||||
export const choiceEvaluation = (obj) =>
|
||||
http.post("/evaluation/choiceEvaluation", obj);
|
||||
|
||||
// 测试方法
|
||||
@@ -79,9 +89,9 @@ export const updateEvaluation = (obj) =>
|
||||
// })
|
||||
//根据name获取测评信息详情
|
||||
export const getEvalListByName = (obj) =>
|
||||
http.post("/evaluation/queryEvaluationDetailById", obj,{
|
||||
http.post("/evaluation/queryEvaluationDetailById", obj, {
|
||||
headers: {
|
||||
'token': '123',
|
||||
'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8',
|
||||
}
|
||||
});
|
||||
token: "123",
|
||||
"Content-Type": "application/x-www-form-urlencoded;charset=UTF-8",
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user