瀏覽代碼

耗材参数

XMLWAN 4 年之前
父節點
當前提交
2c4003c5cc
共有 1 個文件被更改,包括 5 次插入5 次删除
  1. 5 5
      controllers/new_mobile_api_controllers/dialysis_parameter_api_controller.go

+ 5 - 5
controllers/new_mobile_api_controllers/dialysis_parameter_api_controller.go 查看文件

@@ -151,7 +151,7 @@ func (this *DialysisParamerterApiController) GetMobileCollectList() {
151 151
 	orgId := this.GetMobileAdminUserInfo().Org.Id
152 152
 	keyword := this.GetString("keyword")
153 153
 	//获取透析参数数据
154
-	//schedule, err, _ := service.GetCollectList(limit, page, partitiontype, scheduletype, startime.Unix(), orgId, keyword)
154
+	schedule, err, _ := service.GetCollectList(limit, page, partitiontype, scheduletype, startime.Unix(), orgId, keyword)
155 155
 	//查询今日排班的病人
156 156
 	patient, err := service.GetDialysisTodaySchedulePatient(orgId, startime.Unix(), page, limit, keyword)
157 157
 	var vlist []interface{}
@@ -176,9 +176,9 @@ func (this *DialysisParamerterApiController) GetMobileCollectList() {
176 176
 			"dialysis_goods": dialysisGoods,
177 177
 			"good_type":      goodTypes,
178 178
 			"total":          total,
179
-			//"schedule":       schedule,
180
-			"prescription": vlist,
181
-			"patient":      patient,
179
+			"schedule":       schedule,
180
+			"prescription":   vlist,
181
+			"patient":        patient,
182 182
 		})
183 183
 		return
184 184
 
@@ -200,7 +200,7 @@ func (this *DialysisParamerterApiController) GetMobileCollectList() {
200 200
 				"dialysis_goods": dialysisGoods,
201 201
 				"good_type":      goodTypes,
202 202
 				"total":          total,
203
-				//"schedule":       schedule,
203
+				"schedule":       schedule,
204 204
 				//"consumables":    consumables,
205 205
 				"prescription": vlist,
206 206
 				"reducelist":   clist,