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
| import request from '@/utils/request'
|
| // 小程序-新增客户
| export function addNew(tjCustomer) {
| return request({
| url: '/cus/hospital/addNew',
| method: 'post',
| data: tjCustomer
| })
| }
|
| // 获取绑定的就诊人列表
| export function getListByOpenId(openId) {
| return request({
| url: '/cus/hospital/getListByOpenId',
| method: 'get',
| params: {openId:openId},
| })
| }
|
| // 解绑
| export function delCustomer(tjCustomer) {
| return request({
| url: '/cus/hospital/delCustomer',
| method: 'post',
| data: tjCustomer
| })
| }
|
| // 解绑
| export function showCustomer(tjCustomer) {
| return request({
| url: '/cus/hospital/showCustomer',
| method: 'post',
| data: tjCustomer
| })
| }
|
| // 修改
| export function updateCustomerBy(tjCustomer) {
| return request({
| url: '/cus/hospital/updateCustomerBy',
| method: 'post',
| data: tjCustomer
| })
| }
|
| // 预约时间
| export function listByDay() {
| return request({
| url: '/cus/timeConfig/listByDay',
| method: 'get',
| })
| }
|
| // 修改
| export function canUpdate(tjCustomer) {
| return request({
| url: '/cus/hospital/canUpdate',
| method: 'post',
| data: tjCustomer
| })
| }
|
|