前端文件

This commit is contained in:
2026-09-10 17:42:46 +08:00
parent 255a0e56a5
commit 345f425a1d
361 changed files with 73359 additions and 0 deletions
+87
View File
@@ -0,0 +1,87 @@
import request from '@/utils/request'
// ======================== 方案管理:课时费方案 / 课时方案 ========================
// 接口前缀 /ks,经 vue.config.js 代理转发为 /api/ks。
// ---------- 课时费方案(KSFBZ) ----------
// 分页列表(名称模糊)
export function listFeeStandard(query) {
return request({
url: '/ks/fee-standard/list',
method: 'get',
params: query
})
}
// 详情
export function getFeeStandard(bh) {
return request({
url: '/ks/fee-standard/get',
method: 'get',
params: { bh: bh }
})
}
// 新增(编号为空时后端自动生成 UUID)
export function addFeeStandard(data) {
return request({
url: '/ks/fee-standard/add',
method: 'post',
data: data
})
}
// 编辑(编号必传)
export function updateFeeStandard(data) {
return request({
url: '/ks/fee-standard/update',
method: 'post',
data: data
})
}
// 删除
export function deleteFeeStandard(bh) {
return request({
url: '/ks/fee-standard/delete',
method: 'post',
params: { bh: bh }
})
}
// ---------- 课时方案(KSXSFA) ----------
// 分页列表(名称模糊)
export function listCoefficientPlan(query) {
return request({
url: '/ks/coefficient-plan/list',
method: 'get',
params: query
})
}
// 详情
export function getCoefficientPlan(bh) {
return request({
url: '/ks/coefficient-plan/get',
method: 'get',
params: { bh: bh }
})
}
// 新增(编号为空时后端自动生成 UUID)
export function addCoefficientPlan(data) {
return request({
url: '/ks/coefficient-plan/add',
method: 'post',
data: data
})
}
// 编辑(编号必传)
export function updateCoefficientPlan(data) {
return request({
url: '/ks/coefficient-plan/update',
method: 'post',
data: data
})
}