qinxianzhangyao
2023-11-23 5cfc97edd66731e2ebeea36072ec160a25a7bbf3
src/api/mall/timeConfig.js
@@ -59,3 +59,49 @@
        method: 'get',
    })
}
// 获取所有医生信息数据列表接口
export function getUserList(query) {
    return request({
        url: '/mall/schedulingTime/getUserListBySchedulingTimt',
        method: 'get',
        params: query
    })
}
// 获取排班信息临时数据接口
export function getScheduling(data) {
    return request({
        url: '/mall/schedulingTime/getSchedulingInformation',
        method: 'post',
        data: data
    })
}
// 新增医生排班信息数据接口
export function timeConfig(mallSchedulingTimes) {
    return request({
        url: 'mall/schedulingTime',
        method: 'post',
        data: mallSchedulingTimes
    })
}
// 停诊接口
export function updateIsClose(data) {
    return request({
        url: '/mall/schedulingTime/updateIsClose',
        method: 'post',
        data: data
    })
}
// 人员类别
export function roleList() {
    return request({
        url: '/system/role/list',
        method: 'get',
    })
}