Przeglądaj źródła

工时统计报表页面刷新问题修改

yejian 3 lat temu
rodzic
commit
f2ae4575b5

+ 14 - 0
imcs-ui/src/views/zuihou/statisticalAnalysis/operatorDetailPerformance/Index.vue

@@ -105,6 +105,20 @@
       // 加载列表数据
       this.fetch()
     },
+    watch: {
+      'productionlineId': {
+        handler(val, oldVal) {
+          // 加载列表数据
+          this.fetch()
+        }
+      },
+      'statisticalDate': {
+        handler(val, oldVal) {
+          // 加载列表数据
+          this.fetch()
+        }
+      }
+    },
     mounted() {
     },
     methods: {

+ 14 - 0
imcs-ui/src/views/zuihou/statisticalAnalysis/operatorDetailsPerformance/Index.vue

@@ -84,6 +84,20 @@
             // 加载列表数据
             this.fetch()
         },
+        watch: {
+          'loadingId': {
+            handler(val, oldVal) {
+              // 加载列表数据
+              this.fetch()
+            }
+          },
+          'loadingDate': {
+            handler(val, oldVal) {
+              // 加载列表数据
+              this.fetch()
+            }
+          }
+        },
         mounted() {
         },
         methods: {