@@ -36,11 +36,11 @@ const userManageDepartmentApi = { | |||||
}, | }, | ||||
/** 删除院系 */ | /** 删除院系 */ | ||||
delete(params: ReqId) { | delete(params: ReqId) { | ||||
return http.post("delete", params); | |||||
return http.delete("delete", params); | |||||
}, | }, | ||||
// 院系详情 | // 院系详情 | ||||
detail(params: ReqId) { | detail(params: ReqId) { | ||||
return http.post("getInfo", params); | |||||
return http.get("getInfo", params); | |||||
}, | }, | ||||
/**院系列表(不分页)*/ | /**院系列表(不分页)*/ | ||||
list(params: any) { | list(params: any) { | ||||
@@ -49,11 +49,11 @@ const userManageDepartmentApi = { | |||||
}; | }; | ||||
const departmentButtonCode = { | const departmentButtonCode = { | ||||
/** 新增人员 */ | |||||
/** 新增院系 */ | |||||
add: "userManageDepartmentAdd", | add: "userManageDepartmentAdd", | ||||
/** 删除人员 */ | |||||
/** 删除院系 */ | |||||
edit: "userManageDepartmentEdit", | edit: "userManageDepartmentEdit", | ||||
/** 删除人员 */ | |||||
/** 删除院系 */ | |||||
delete: "userManageDepartmentDelete" | delete: "userManageDepartmentDelete" | ||||
}; | }; | ||||
@@ -36,11 +36,11 @@ const userManageMajorApi = { | |||||
}, | }, | ||||
/** 删除专业 */ | /** 删除专业 */ | ||||
delete(params: ReqId) { | delete(params: ReqId) { | ||||
return http.post("delete", params); | |||||
return http.delete("delete", params); | |||||
}, | }, | ||||
// 专业详情 | // 专业详情 | ||||
detail(params: ReqId) { | detail(params: ReqId) { | ||||
return http.post("getInfo", params); | |||||
return http.get("getInfo", params); | |||||
}, | }, | ||||
/**专业列表(不分页)*/ | /**专业列表(不分页)*/ | ||||
list(params: any) { | list(params: any) { | ||||
@@ -49,11 +49,11 @@ const userManageMajorApi = { | |||||
}; | }; | ||||
const majorButtonCode = { | const majorButtonCode = { | ||||
/** 新增人员 */ | |||||
/** 新增专业 */ | |||||
add: "userManageMajorAdd", | add: "userManageMajorAdd", | ||||
/** 删除人员 */ | |||||
/** 删除专业 */ | |||||
edit: "userManageMajorEdit", | edit: "userManageMajorEdit", | ||||
/** 删除人员 */ | |||||
/** 删除专业 */ | |||||
delete: "userManageMajorDelete" | delete: "userManageMajorDelete" | ||||
}; | }; | ||||