Browse Source

优化处方天数

hurugang 3 years ago
parent
commit
123d0e43de

+ 1 - 0
src/main/java/cn/hnthyy/thmz/socket/EvaluationWebSocket.java

@@ -182,6 +182,7 @@ public class EvaluationWebSocket {
         appointSending(clientIpAddress, JSONObject.valueToString(resultMap));
         userMap.remove(clientIpAddress);
         welcomeSet.remove(clientIpAddress);
+        lastSendMessageDate.remove(clientIpAddress);
     }
 
     /**

+ 1 - 1
src/main/resources/static/js/mz/clinic.js

@@ -364,7 +364,7 @@ function configWorkspaceModal() {
  */
 function initDayNum() {
     var html = '';
-    for (var i = 1; i <= 31; i++) {
+    for (var i = 1; i <= 84; i++) {
         html += '<option value="' + i + '">' + i + '</option>';
     }
     $('#dayNum').html(html);