forked from liweijie/education
后端代码
This commit is contained in:
@@ -1,37 +0,0 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 分页查询预警条件列表
|
||||
export function listWarningCondition(query) {
|
||||
return request({
|
||||
url: '/student-records/warning-condition/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询预警条件详情
|
||||
export function getWarningCondition(bh) {
|
||||
return request({
|
||||
url: '/student-records/warning-condition/get',
|
||||
method: 'get',
|
||||
params: { bh: bh }
|
||||
})
|
||||
}
|
||||
|
||||
// 新增预警条件
|
||||
export function addWarningCondition(data) {
|
||||
return request({
|
||||
url: '/student-records/warning-condition/add',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改预警条件
|
||||
export function updateWarningCondition(data) {
|
||||
return request({
|
||||
url: '/student-records/warning-condition/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user