XMLWAN 4 лет назад
Родитель
Сommit
7bc756a1cc
1 измененных файлов: 3 добавлений и 1 удалений
  1. 3 1
      controllers/his_api_controller.go

+ 3 - 1
controllers/his_api_controller.go Просмотреть файл

@@ -119,13 +119,15 @@ func (c *HisApiController) GetHisPrescriptionConfig() {
119 119
 	efs, _, _ := service.GetExecutionFrequencyDics(adminInfo.CurrentOrgId)
120 120
 
121 121
 	doctors, _ := service.GetHisAdminUserDoctors(adminInfo.CurrentOrgId)
122
-
122
+	//获取所有科室信息
123
+	department, _ := service.GetAllDepartMent(adminInfo.CurrentOrgId)
123 124
 	c.ServeSuccessJSON(map[string]interface{}{
124 125
 		"drugs":            drugs,
125 126
 		"advices_template": advices,
126 127
 		"drugways":         drugways,
127 128
 		"efs":              efs,
128 129
 		"doctors":          doctors,
130
+		"department":       department,
129 131
 	})
130 132
 }
131 133
 func (c *HisApiController) CreateHisPrescription() {