14d4fa7c7c
从git对象库找回此前未提交即丢失的文件: api/log.js, api/studentRecords/*, api/subjectMajor/major.js, teachingLog/organLog/components/*
37 lines
787 B
JavaScript
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
|
|
})
|
|
} |