parent
367f240ac3
commit
add09862de
@ -0,0 +1,59 @@
|
||||
import request from "@/utils/request";
|
||||
import qs from 'qs';
|
||||
|
||||
export function index(params,isLoading = true){
|
||||
return request({
|
||||
url:"/api/admin/year_socre_detail/index",
|
||||
method:"get",
|
||||
isLoading,
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
export function show(params,isLoading = true){
|
||||
return request({
|
||||
url:"/api/admin/year_socre_detail/show",
|
||||
method:"get",
|
||||
isLoading,
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
export function save(data,isLoading = true){
|
||||
return request({
|
||||
url:"/api/admin/year_socre_detail/save",
|
||||
method:"post",
|
||||
data,
|
||||
isLoading
|
||||
})
|
||||
}
|
||||
|
||||
export function destroy(params,isLoading = true){
|
||||
return request({
|
||||
url:"/api/admin/year_socre_detail/destroy",
|
||||
method:"get",
|
||||
params,
|
||||
isLoading
|
||||
})
|
||||
}
|
||||
|
||||
export function excelAnalyse(data,isLoading = true){
|
||||
return request({
|
||||
url:"/api/admin/year_socre_detail/excel_analyse",
|
||||
method:"post",
|
||||
data,
|
||||
isLoading
|
||||
})
|
||||
}
|
||||
|
||||
export function imports(data,isLoading = true){
|
||||
return request({
|
||||
url:"/api/admin/year_socre_detail/import",
|
||||
method:"post",
|
||||
data:qs.stringify(data),
|
||||
isLoading,
|
||||
headers:{
|
||||
'Content-Type':'application/x-www-form-urlencoded'
|
||||
}
|
||||
})
|
||||
}
|
||||
Loading…
Reference in new issue