From ee414c03a6779745ea6e11693cf6f3f61690f399 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期二, 23 四月 2024 19:23:41 +0800
Subject: [PATCH] 考勤管理的导入接口联调+考勤管理的下载模版的接口联调

---
 src/views/employeeSalary/attendanceManage/index.vue |   17 +++++++++++++++--
 1 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/src/views/employeeSalary/attendanceManage/index.vue b/src/views/employeeSalary/attendanceManage/index.vue
index bc9c870..4187cec 100644
--- a/src/views/employeeSalary/attendanceManage/index.vue
+++ b/src/views/employeeSalary/attendanceManage/index.vue
@@ -42,6 +42,12 @@
         </div>
       </div>
     </div>
+    <ImportDialog
+      title="涓婁紶鏂囦欢"
+      ref="import"
+      @fileSuccess="fileSuccess"
+    >
+    </ImportDialog>
     <!-- 瑙勫垯璁剧疆 -->
     <RuleSettingDialog ref="RuleSettingDialog" :editRow="editRow"  @closeClick="getData" />
   </div>
@@ -51,13 +57,16 @@
 import { getAttendanceList, deleteAttendanceInfo } from "@/api/employeeSalary/attendanceManage.js"
 import pageMixin from "@/components/makepager/pager/mixin/pageMixin"
 import RuleSettingDialog from  "@/views/employeeSalary/attendanceManage/components/RuleSettingDialog"
+import ImportDialog from "@/views/employeeSalary/attendanceManage/components/ImportDialog";
+
 export default {
   name: "attendanceManage",
   props: {
   },
   mixins: [pageMixin],
   components: {
-    RuleSettingDialog
+    RuleSettingDialog,
+    ImportDialog
   },
   data() {
     return {
@@ -170,9 +179,13 @@
       this.pagerOptions.currPage = 1
       this.getData()
     },
+    //瀵煎叆鎴愬姛
+    fileSuccess() {
+       this.getData()
+    },
     // 瀵煎叆
     exportClick() {
-      
+      this.$refs.import.isopen=true;
     },
      // 鍚屾
      synchClick(){

--
Gitblit v1.8.0