Quellcode durchsuchen

挂号失效提示修改

lihong vor 2 Jahren
Ursprung
Commit
40b4b167fc
1 geänderte Dateien mit 8 neuen und 7 gelöschten Zeilen
  1. 8 7
      src/main/resources/static/js/mz/clinic.js

+ 8 - 7
src/main/resources/static/js/mz/clinic.js

@@ -9787,13 +9787,14 @@ function repeatAccepts(patientId, times, clnicId, deptCode) {
             }
             if (res.code == 0) {
                 if (res.data == 0) {
-                    $("#messageModal").modal();
-                    $("#messageContent").html("挂号失效,确定继续就诊?");
-                    $("#messageButton").off("click").on("click", function (t) {
-                        $("#messageModal").modal("hide");
-                        repeatAcceptsConfirm(patientId, times, clnicId);
-                    });
-                    $("#cancelButton").off("click");
+                    // $("#messageModal").modal();
+                    // $("#messageContent").html("挂号失效,确定继续就诊?");
+                    // $("#messageButton").off("click").on("click", function (t) {
+                    //     $("#messageModal").modal("hide");
+                    //     repeatAcceptsConfirm(patientId, times, clnicId);
+                    // });
+                    // $("#cancelButton").off("click");
+                    warningMesageSimaple("挂号失效,请重新挂号");
                     return;
                 }
                 repeatAcceptsConfirm(patientId, times, clnicId);