params.d.ts
4.7 KB
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
// 提交身份认证参数类型
export interface ApplyAuthType {
realname: string // 姓名
idNumber: string // 身份证号
sex: string // 性别 0 未知 1 男 2 女
department: any // 科室 [多选]
career: any // 职称 [单选]
hospital?: any
school: string // 学校
speciality: string // 专业
code: string // 职业编码
introduction: string // 个人简介
qualifications: string // 资质证明 [最多三张]
file: any[]
selectDepartment?: string
selectCareer?: string
selectHospital?: string
doctorUserType?: string[]
[property: string]: any;
}
// 更改接诊状态
export interface ChangeStateType {
state: number // 0 暂不接诊 1 在线坐诊
textState: number // 图文问诊 0 关闭 1 开启
videoState: number // 视频问诊 0 关闭 1 开启
phoneState: number // 电话问诊状态 0-关闭 1-开启
startTime: string // 坐诊开启时间【时分】
endTime: string // 坐诊结束时间【时分】
}
// 修改个人资料
export interface ChangeUserInfoType {
avatar: string
nickname: string
sex: number
introduction: string // 个人简介
department: any // 科室
hospital: any // 坐诊医院
}
// 消息通知
export interface MessageListParamsType {
type: number // 类型1=系统通知2=用户反馈
pageNo: number // 页数
pageSize?: number // 条数
}
export interface CommentListParamsType {
type: number // 类型1=待回复2=已回复
pageNo: number // 页数
}
export interface CommentReceiveType {
id: string
content: string
}
// 录入快递单号
export interface Prescription_expressType {
id: string // 处方订单id
express: string // 快递公司
expressNo: string // 快递单号
}
// 提现
export interface Add_withdrawType {
bank_id?: string // 银行卡id
amount?: number // 提现金额
type?: string | number
}
export interface BindUserCardType {
wxUserName?: string
aliUserName?: string
doctorRealName?: string
doctorWXRealName?: string
code?: string
[property: string]: any;
}
// 续方订单审核
export interface ExamineRenewOrderType {
id: string // 续方订单id
state: string // 审核状态1=通过2=驳回
reason: string // 审核驳回原因【state为2时为必填】
}
export interface SendPrescriptionType {
/**
* 处方药
*/
drugList: DrugList[];
/**
* 问诊订单id
*/
id: string;
/**
* 处方单金额
*/
prescriptionAmount: number;
/**
* 处方单文件
*/
prescriptionFile?: string;
/**
* 问诊病情描述
*/
prescriptionForm: string;
[property: string]: any;
}
export interface DrugList {
/**
* 价格
*/
amount: number;
/**
* 说明
*/
des: string;
/**
* 药物名称
*/
name: string;
/**
* 数量
*/
num: number;
[property: string]: any;
}
// 添加银行卡信息
export interface AddBankCardInfoType {
/**
* 卡类型
*/
bank: string;
/**
* 银行卡号
*/
bankNumber: string;
/**
* 身份证号
*/
idNumber: string;
/**
* 姓名
*/
name: string;
/**
* 预留号码
*/
phone: string;
/**
* 是否默认0=否1=是
*/
isDefault: number;
[property: string]: any;
}
export interface SelectBankCardType {
id: string // 银行卡id
bank: string // 卡类型
icon: string // 卡图标
bankNumber: string // 银行卡号
}
// 意见反馈
export interface FeedBackParamsType {
type: string; // 反馈类型
content: string; // 反馈内容
image: string; // 反馈图片
[property: string]: any;
}
export interface EditPhoneType {
/**
* 手机验证码
*/
code: string | number;
/**
* 更换后手机号
*/
phone: string;
[property: string]: any;
}
export interface RecordsInvitePaper {
/**
* 海报图片
*/
image: string;
[property: string]: any;
}
export interface ChangePwdType {
/**
* 验证码
*/
code: string;
/**
* 密码
*/
password: string;
/**
* 手机号
*/
phone: string;
/**
* 重复密码
*/
repassword: string;
[property: string]: any;
}
export interface doctorLoginWithPwdType {
username: string
password: string
captcha: string
checkKey: string | number
cid?: string
[property: string]: any;
}
export interface doctorPhoneEasyLoginType {
access_token: string
openid: string
[property: string]: any;
}
export interface DiaLogEventType {
conversationName: string | number;
consultationWay: string | number; // 订单类型
orderId: string | number; // 订单id
}
export interface IcomeEventType {
flag?: string
}
export interface AddAccountEventType {
account: string
flag: string
nameFlag: string
title: string
url: string
[property: string]: any;
}