zhangjie 1 éve
szülő
commit
8a283a97b3

+ 6 - 1
src/views/resource-guard/person-guard/person-files/index.vue

@@ -133,7 +133,7 @@
     <AddPersonFileDialog
       v-model:visible="showAddPersonFileDialog"
       :curRow="curRow"
-      @success="fetchData"
+      @success="addSuccessHandle"
     ></AddPersonFileDialog>
   </div>
 </template>
@@ -348,6 +348,11 @@ const selectChange = (value) => {
   selectedRowKeys.value = value;
 };
 
+const addSuccessHandle = () => {
+  fetchData();
+  getStatisticsInfo();
+};
+
 const handleAdd = () => {
   curRow.value = null;
   showAddPersonFileDialog.value = true;

+ 1 - 0
src/views/work-hours/work-hours-manage/work-attendance/index.vue

@@ -442,6 +442,7 @@ const handleSubmit = (row) => {
       if (!res) return;
       MessagePlugin.success('操作成功');
       fetchData();
+      getStatisticsInfo();
     },
   });
 };