Files
education/frontend/src/api/studentRecords/warningCondition.js
T
2026-08-26 09:52:26 +08:00

37 lines
787 B
JavaScript

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
})
}