刘洋 9 luni în urmă
părinte
comite
0490f765c8

+ 6 - 5
src/views/work-hours/work-hours-manage/work-statistics/index.vue

@@ -14,6 +14,7 @@
           defaultSelect
           @default-selected="search"
           :clearable="false"
+          @change="mixinSearch"
         ></select-service-unit>
       </template>
     </SearchForm>
@@ -79,11 +80,11 @@ const fields = ref([
     labelWidth: 80,
     colSpan: 6,
     options: dictToOptionList(STATISTICAL_DIMENSION),
-    // attrs: {
-    //   onChange: () => {
-    //     search();
-    //   },
-    // },
+    attrs: {
+      onChange: () => {
+        mixinSearch();
+      },
+    },
   },
   {
     type: 'buttons',