tangyao 6 mesiacov pred
rodič
commit
a43e92699f

+ 1 - 2
nngkxxdp/src/main/resources/static/naxsb/qjt.html

@@ -714,7 +714,7 @@
       const noyear=date.getFullYear()
       console.log(noMonth%7);
       const currWeekTaskNumElement = document.getElementById('currWeekTaskNum');
-      if(nowWeek>5){
+      if(nowWeek>5||nowWeek===0){
         animateValue(currWeekTaskNumElement, 0, 5*324, time);
       }else{
         animateValue(currWeekTaskNumElement, 0, nowWeek*324, time);
@@ -730,7 +730,6 @@
     // //本年加载
     // var data = handlingNumber(1, 3)
     // // 本年办理数量
-    console.log(date.getMonth());
     const month=date.getMonth()
     const currYearTaskNumElement = document.getElementById('currYearTaskNum');
     animateValue(currYearTaskNumElement, 0, ((month*22)*324)+(((parseInt(noMonth/7))*5+noMonth%7)*324), time);