qx
qx
19 小时以前 495bf3ca62536c52cf78895501205965cae05828
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
import request from '@/utils/request'
 
// 查询预约时间列表
export function listTimeConfig(query) {
    return request({
        url: '/mall/timeConfig/list',
        method: 'get',
        params: query
    })
}
 
// 查询预约时间详细
export function getTimeConfig(id) {
    return request({
        url: '/mall/timeConfig/' + id,
        method: 'get'
    })
}
 
// 新增预约时间
export function addTimeConfig(data) {
    return request({
        url: '/mall/timeConfig',
        method: 'post',
        data: data
    })
}
 
// 修改预约时间
export function updateTimeConfig(data) {
    return request({
        url: '/mall/timeConfig',
        method: 'put',
        data: data
    })
}
 
// 删除预约时间
export function delTimeConfig(id) {
    return request({
        url: '/mall/timeConfig/' + id,
        method: 'delete'
    })
}
 
// 添加时间判断
export function isExist(time) {
    return request({
        url: '/mall/timeConfig/isExist',
        method: 'get',
        params: {time:time},
    })
}
 
// 拿到最新的最大值
export function returnLastTime() {
    return request({
        url: '/mall/timeConfig/returnLastTime',
        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',
    })
}