From a3a86a4e8284dfb71cbc6915dd0fa993eeedbac7 Mon Sep 17 00:00:00 2001
From: lion <120344285@qq.com>
Date: Fri, 6 Jun 2025 14:47:46 +0800
Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E7=8F=AD=E5=AF=BC=E5=85=A5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/attendance/overtimechart.vue | 56 ++++++++++++++++++++++++--
src/views/flow/list.vue | 7 ++--
2 files changed, 55 insertions(+), 8 deletions(-)
diff --git a/src/views/attendance/overtimechart.vue b/src/views/attendance/overtimechart.vue
index a7ed599..0481303 100644
--- a/src/views/attendance/overtimechart.vue
+++ b/src/views/attendance/overtimechart.vue
@@ -11,7 +11,32 @@
搜索
+ @click="getList">搜索
+
+
+ 导入加班
+
+
+
+ 选取文件
+ 上传到服务器
+ 只能上传xls/xlsx文件
+
+
+
0){
+ arr.err.map(item=>{
+ str+=`${item},`
+ })
+ this.$message.error(`${str}导入失败`)
+ this.getList(true)
+ }else{
+ this.$message.success(`导入成功`)
+ this.getList(true)
+ }
+ },
async getList() {
this.loading = true;
try {
diff --git a/src/views/flow/list.vue b/src/views/flow/list.vue
index a46f254..b30abb4 100644
--- a/src/views/flow/list.vue
+++ b/src/views/flow/list.vue
@@ -147,8 +147,8 @@
type="primary"
size="small"
@click="showExport"
- >导出
+ >导出
+