Browse Source

考勤实时刷新

panxingxin 5 years ago
parent
commit
b252513b4a
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/views/inventory/sgtimesheet/index.vue

+ 2 - 1
src/views/inventory/sgtimesheet/index.vue

@@ -194,7 +194,8 @@
       let file = param.file;
       let file = param.file;
       let formdata = new FormData();
       let formdata = new FormData();
       formdata.append("file", file);
       formdata.append("file", file);
-      await uploadExcel(formdata)
+      await uploadExcel(formdata);
+      this.$emit("refresh");
     },
     },