From e0edacabdd7756d73a4cf85ca31afccd3cbaae91 Mon Sep 17 00:00:00 2001 From: ysn <2126564605@qq.com> Date: Tue, 28 Apr 2026 14:33:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=BA=E6=95=88=E7=AE=A1=E7=90=86-=E7=BB=A9?= =?UTF-8?q?=E6=95=88=E7=AE=A1=E7=90=86-=E7=BB=A9=E6=95=88=E5=A1=AB?= =?UTF-8?q?=E6=8A=A5-=E5=A1=AB=E6=8A=A5=E6=96=87=E4=BB=B6-=E8=AF=BB?= =?UTF-8?q?=E5=8F=96-=E6=8F=90=E7=A4=BA=E8=AF=AD=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../performanceManagement/components/reportingPerf.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/views/personnelEfficiencyManagement/performanceManagement/components/reportingPerf.vue b/src/views/personnelEfficiencyManagement/performanceManagement/components/reportingPerf.vue index b86e9be9..73fd8eb8 100644 --- a/src/views/personnelEfficiencyManagement/performanceManagement/components/reportingPerf.vue +++ b/src/views/personnelEfficiencyManagement/performanceManagement/components/reportingPerf.vue @@ -197,6 +197,10 @@ export default { this.$message.error('请先上传文件'); return; } + if (!this.tableData || this.tableData.length === 0) { + this.$message.error('文件内容为空'); + return; + } // 1. 判断状态 const hasPending = this.row.subTasks?.some(t => t.status === 1); const hasError = this.tableData.some(item => item.isSysUser == 0);