患者列表-导出

This commit is contained in:
2023-11-15 11:40:46 +08:00
parent 1b72243833
commit 7d78e7f39e
6 changed files with 211 additions and 4 deletions
+13 -2
View File
@@ -1,8 +1,9 @@
package requests
type UserPatientRequest struct {
GetUserPatientPage // 获取患者列表-分页
PutUserDoctorStatus // 修改患者状态
GetUserPatientPage // 获取患者列表-分页
PutUserDoctorStatus // 修改患者状态
UserPatientExportList // 患者列表-导出
}
// GetUserPatientPage 获取患者列表-分页
@@ -20,3 +21,13 @@ type PutUserDoctorStatus struct {
Status int `json:"status" form:"status" validate:"oneof=0 1 2" label:"状态"` // 0:禁用 1:正常 2:删除)
DisableReason string `json:"disable_reason" form:"disable_reason" label:"禁用理由"`
}
// UserPatientExportList 患者列表-导出
type UserPatientExportList struct {
Type int `json:"type" form:"type" label:"类型" validate:"required,oneof=1 2 3"` // 1:当前搜索数据 2:当前选择数据 3:全部数据
Id string `json:"id" form:"id" label:"id"` // 选择数据的id,逗号分隔,当type为2时必填
UserName string `json:"user_name" form:"user_name" label:"用户名称"`
Status *int `json:"status" form:"status" label:"状态"` // 0:禁用 1:正常 2:删除)
Mobile string `json:"mobile" form:"mobile" label:"手机号"`
CreatedAt string `json:"created_at" form:"created_at" label:"注册时间"` // 时间区间,数组形式,下标0为开始时间,下标1为结束时间
}