Files
education/frontend/src/api/studentRecords/warningCondition.js
T
zhaichao 14d4fa7c7c 恢复丢失的API集成模块(教学日志/学员成绩/预警条件/专业管理)
从git对象库找回此前未提交即丢失的文件: api/log.js, api/studentRecords/*, api/subjectMajor/major.js, teachingLog/organLog/components/*
2026-08-23 15:20:55 +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
})
}