XMLWAN před 4 roky
rodič
revize
7bc756a1cc
1 změnil soubory, kde provedl 3 přidání a 1 odebrání
  1. 3 1
      controllers/his_api_controller.go

+ 3 - 1
controllers/his_api_controller.go Zobrazit soubor

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