瀏覽代碼

控制台默认显示本年

zhangxc 5 年之前
父節點
當前提交
43c55fccd8
共有 2 個文件被更改,包括 10 次插入10 次删除
  1. 5 5
      src/js/console.js
  2. 5 5
      src/js/deptConsole.js

+ 5 - 5
src/js/console.js

@@ -1746,11 +1746,11 @@ function dateConsole(dateType,flg){
         startDate = new Date(getCookie("behosDateStart"))
         startDate = new Date(getCookie("behosDateStart"))
         endDate = new Date(getCookie("behosDateEnd"))
         endDate = new Date(getCookie("behosDateEnd"))
         ownSelectDate = 3
         ownSelectDate = 3
-        $(".monthYear .year").css({
-            "border-color":'#A5ADBF',
-            color:'#A5ADBF',
-            backgroundColor:'#203463'
-        })
+        // $(".monthYear .year").css({
+        //     "border-color":'#A5ADBF',
+        //     color:'#A5ADBF',
+        //     backgroundColor:'#203463'
+        // })
         $(".monthYear .mon").css({
         $(".monthYear .mon").css({
             "border-color":'#A5ADBF',
             "border-color":'#A5ADBF',
             color:'#A5ADBF',
             color:'#A5ADBF',

+ 5 - 5
src/js/deptConsole.js

@@ -857,11 +857,11 @@ function dateConsole(dateType,flg){
         ownSelectDate = 3
         ownSelectDate = 3
         startDate = new Date(getCookie("behosDateStart"))
         startDate = new Date(getCookie("behosDateStart"))
         endDate = new Date(getCookie("behosDateEnd"))
         endDate = new Date(getCookie("behosDateEnd"))
-        $(".monthYear .year").css({
-            "border-color":'#A5ADBF',
-            color:'#A5ADBF',
-            backgroundColor:'#203463'
-        })
+        // $(".monthYear .year").css({
+        //     "border-color":'#A5ADBF',
+        //     color:'#A5ADBF',
+        //     backgroundColor:'#203463'
+        // })
         $(".monthYear .mon").css({
         $(".monthYear .mon").css({
             "border-color":'#A5ADBF',
             "border-color":'#A5ADBF',
             color:'#A5ADBF',
             color:'#A5ADBF',