|
@@ -4,6 +4,10 @@ import (
|
4
|
4
|
"XT_New/enums"
|
5
|
5
|
"XT_New/models"
|
6
|
6
|
"XT_New/service"
|
|
7
|
+ "github.com/astaxie/beego"
|
|
8
|
+ "net/http"
|
|
9
|
+ "net/url"
|
|
10
|
+ "strconv"
|
7
|
11
|
_ "XT_New/utils"
|
8
|
12
|
_ "encoding/json"
|
9
|
13
|
"fmt"
|
|
@@ -790,6 +794,14 @@ func (c *CheckWeightApiController) GetPatientInfoDialysis() {
|
790
|
794
|
sc["data"] = daySchedule
|
791
|
795
|
}
|
792
|
796
|
}
|
|
797
|
+
|
|
798
|
+ // 排队叫号的签到
|
|
799
|
+ ssoDomain := beego.AppConfig.String("call_domain")
|
|
800
|
+ api := ssoDomain + "/index/patientsign/"+strconv.FormatInt(adminUserInfo.Org.Id, 10)+"/"+strconv.FormatInt(id, 10)
|
|
801
|
+ values := make(url.Values)
|
|
802
|
+
|
|
803
|
+ http.PostForm(api, values)
|
|
804
|
+
|
793
|
805
|
} else {
|
794
|
806
|
nextSchedule, _ := service.GetNextSchedule(adminUserInfo.Org.Id, endTime, id)
|
795
|
807
|
if len(nextSchedule) <= 0 {
|
|
@@ -952,6 +964,8 @@ func (c *CheckWeightApiController) GetPatientInfoDialysis() {
|
952
|
964
|
}
|
953
|
965
|
}
|
954
|
966
|
|
|
967
|
+
|
|
968
|
+
|
955
|
969
|
c.ServeSuccessJSON(map[string]interface{}{
|
956
|
970
|
"dialysistype": dialysistype,
|
957
|
971
|
"patient": dialysisinfo,
|