commit
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user