From 8feea28b1d7ca211f6dbbae1f0bf8474cfe1c077 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期五, 26 四月 2024 15:16:36 +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