1、增加导出药房关联医生列表导出
2、检测到有绑定/默认医生时直接报错,强制要求管理员先手动处理;
This commit is contained in:
@@ -1,13 +1,23 @@
|
||||
package requests
|
||||
|
||||
type PharmacyRequest struct {
|
||||
GetPharmacyList // 获取药房列表
|
||||
GetPharmacyPage // 获取药房列表-分页
|
||||
AddPharmacy // 新增药房
|
||||
PutPharmacy // 修改药房
|
||||
PutPharmacyStatus // 修改药房状态
|
||||
GetPharmacyDoctorPage // 药房绑定的医生列表-分页
|
||||
GetPharmacyDoctorList // 药房绑定的医生列表
|
||||
GetPharmacyList // 获取药房列表
|
||||
GetPharmacyPage // 获取药房列表-分页
|
||||
AddPharmacy // 新增药房
|
||||
PutPharmacy // 修改药房
|
||||
PutPharmacyStatus // 修改药房状态
|
||||
GetPharmacyDoctorPage // 药房绑定的医生列表-分页
|
||||
GetPharmacyDoctorList // 药房绑定的医生列表
|
||||
PharmacyDoctorExportList // 药房关联医生-导出
|
||||
}
|
||||
|
||||
// PharmacyDoctorExportList 药房关联医生-导出
|
||||
type PharmacyDoctorExportList 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(doctor_pharmacy_id或doctor_id),逗号分隔
|
||||
PharmacyId string `json:"pharmacy_id" form:"pharmacy_id" label:"药房id"` // 药房id
|
||||
DoctorName string `json:"doctor_name" form:"doctor_name" label:"医生姓名"` // 医生姓名
|
||||
Mobile string `json:"mobile" form:"mobile" label:"手机号"` // 手机号
|
||||
}
|
||||
|
||||
// GetPharmacyDoctorPage 药房绑定的医生列表-分页
|
||||
|
||||
Reference in New Issue
Block a user