From 83e60c000b41ea57f5075784625361241e8ce7e7 Mon Sep 17 00:00:00 2001 From: "@jyuhsin" <729757837@qq.com> Date: Sat, 29 Nov 2025 11:38:18 +0800 Subject: [PATCH] commit --- .../views/platform/zhgh/dayofficework/ghkh/zp.html | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/main/resources/views/platform/zhgh/dayofficework/ghkh/zp.html b/src/main/resources/views/platform/zhgh/dayofficework/ghkh/zp.html index 9ae2b07..10c5e4e 100644 --- a/src/main/resources/views/platform/zhgh/dayofficework/ghkh/zp.html +++ b/src/main/resources/views/platform/zhgh/dayofficework/ghkh/zp.html @@ -617,10 +617,12 @@ layout("/layouts/platform.html"){ this.$message.error("该考核已结束") return } - /*if(![1, 2].includes(row.state)) { - this.$message.error("当前状态不能修改") - return - }*/ + if(this.$moment().isAfter(this.$moment(row.startDateTime)) && this.$moment().isBefore(this.$moment(row.endDateTime))) { + if (![1, 2].includes(row.state)) { + this.$message.error("当前状态不能修改") + return + } + } if(this.$moment().isBefore(this.$moment(row.startApplyTime))) { this.$message.error("该考核申诉期未开始") return