diff --git a/src/main/resources/config/jdbc.properties b/src/main/resources/config/jdbc.properties index 242b0bc..d2c25aa 100644 --- a/src/main/resources/config/jdbc.properties +++ b/src/main/resources/config/jdbc.properties @@ -29,9 +29,9 @@ pictureUrl=src\\main\\webapp #powerUrl=http://120.27.212.36:8888/power/font/getMenusByUserIdAndSysFlag #POWER_URLHEAD=http://120.27.212.36:8888/power #power\u6743\u9650\u7CFB\u7EDF\u7684\u670D\u52A1\u5668\u5730\u5740\u5934\u5982\uFF1Ahttp://192.168.1.3:8081/power -powerUrl=http://10.36.116.108:8080/power/font/getMenusByUserIdAndSysFlag -POWER_URLHEAD=http://10.36.116.108:8080/power -POWER_JSP=http://10.36.116.108:8080/power +powerUrl=http://localhost:8080/power/font/getMenusByUserIdAndSysFlag +POWER_URLHEAD=http://localhost:8080/power +POWER_JSP=http://localhost:8080/power recallReason=医院需要这份文档 HomepageDictionary=http://10.36.116.108:8080/filing/services/HomepageDictionary?wsdl HomepageMethod=CheckData diff --git a/src/main/webapp/static/js/statistics/statisticsCommom.js b/src/main/webapp/static/js/statistics/statisticsCommom.js index 506e993..0c592ee 100644 --- a/src/main/webapp/static/js/statistics/statisticsCommom.js +++ b/src/main/webapp/static/js/statistics/statisticsCommom.js @@ -58,6 +58,19 @@ function getPreMonthToday(){ if(day < 10){ day = '0'+day; } + if(currentMonth < 10){ + currentMonth = '0'+currentMonth; + } + if(currentMonth == '02' && day > 28){ + day = 28; + } + if(day == 31){ + if(currentMonth == 0 || currentMonth == 7) { + day = 31; + }else{ + day = 30; + } + } var date = currentYear+'-'+currentMonth+'-'+day; if(currentMonth == 0){ currentYear = currentYear-1;