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