linwenxin 2 tygodni temu
rodzic
commit
3726eb9110
1 zmienionych plików z 7 dodań i 6 usunięć
  1. 7 6
      src/views/workOrder/orderHome/index.vue

+ 7 - 6
src/views/workOrder/orderHome/index.vue

@@ -151,12 +151,13 @@ export default {
     },
     },
     getCount() {
     getCount() {
       getCount(
       getCount(
-        this.value1
-          ? {
-              startTime: `${new Date(this.value1).getFullYear()}-01-01 00:00:00`,
-              endTime: `${new Date(this.value1).getFullYear()}-12-31 23:59:59`
-            }
-          : {}
+        {}
+        // this.value1
+        //   ? {
+        //       startTime: `${new Date(this.value1).getFullYear()}-01-01 00:00:00`,
+        //       endTime: `${new Date(this.value1).getFullYear()}-12-31 23:59:59`
+        //     }
+        //   : {}
       ).then(res => {
       ).then(res => {
         this.tabs[0].num = res.data.dpg || 0
         this.tabs[0].num = res.data.dpg || 0
         this.tabs[1].num = res.data.dyy || 0
         this.tabs[1].num = res.data.dyy || 0