talk_appAmin/api/system/schoolselect.js

45 lines
860 B
JavaScript

import request from '@/utils/request'
// 查询学校系别选择列表
export function listSchoolselect(query) {
return request({
url: '/system/schoolselect/appall/list',
method: 'get',
params: query
})
}
// 查询学校系别选择详细
export function getSchoolselect(id) {
return request({
url: '/system/schoolselect/' + id,
method: 'get'
})
}
// 新增学校系别选择
export function addSchoolselect(data) {
return request({
url: '/system/schoolselect',
method: 'post',
data: data
})
}
// 修改学校系别选择
export function updateSchoolselect(data) {
return request({
url: '/system/schoolselect',
method: 'put',
data: data
})
}
// 删除学校系别选择
export function delSchoolselect(id) {
return request({
url: '/system/schoolselect/' + id,
method: 'delete'
})
}