This commit is contained in:
13684185576
2025-07-16 19:44:39 +08:00
parent 224fddb6af
commit 46fb5f3ce5
1122 changed files with 243510 additions and 0 deletions

42
src/api/service/shift.js Normal file
View File

@ -0,0 +1,42 @@
//勤务班次
import request from "@/utils/request";
const api = "/mosty-api/mosty-jbld";
// 分页查询
export function getQwbc(params) {
return request({
url: api + '/tbQwQwbc',
method: 'GET',
params
})
}
//新增
export function addQwbc(data) {
return request({
url: api + '/tbQwQwbc',
method: 'POST',
data
})
}
//删除
export function deleteQwbc(id) {
return request({
url: api + `/tbQwQwbc/${id}`,
method: 'delete'
})
}
//详情
export function getQwbcInfo(id) {
return request({
url: api + `/tbQwQwbc/${id}`,
method: 'GET',
})
}
// 修改
export function updateQwbc(data) {
return request({
url: api + '/tbQwQwbc',
method: 'put',
data
})
}