From fadcc97f3ea75bb82ab58ecc8a0ea3828c3cfabb Mon Sep 17 00:00:00 2001 From: caoqianming Date: Thu, 2 Feb 2023 19:03:14 +0800 Subject: [PATCH] =?UTF-8?q?=E8=80=83=E5=8B=A4=E8=AE=B0=E5=BD=95=E5=AF=BC?= =?UTF-8?q?=E5=87=BA=E9=9C=80=E9=80=89=E9=83=A8=E9=97=A8=E5=92=8C=E6=9C=88?= =?UTF-8?q?=E4=BB=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/hrm/clock_record.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/views/hrm/clock_record.vue b/src/views/hrm/clock_record.vue index 07eecc09..6f88beef 100644 --- a/src/views/hrm/clock_record.vue +++ b/src/views/hrm/clock_record.vue @@ -172,6 +172,12 @@ export default { exportList(){ let that = this; this.dLoading = true; + if(this.query.employee__belong_dept && this.query.year && this.query.month){ + }else{ + this.$message.warning("请选择部门和月份后导出") + this.dLoading = false; + } + let days = new Date(this.query.year, this.query.month , 0).getDate(); let weekList = ['姓名','星期'],daysList=['姓名','日期'],titleData = []; for(var i = 1;i<= days;i++){