bug:过去超时完成的巡检可以查看信息
This commit is contained in:
@@ -163,9 +163,10 @@ function handleChangeTime(event: string) {
|
||||
getlist()
|
||||
}
|
||||
|
||||
const isAllowTaskStatus = ['超时完成', '已完成']
|
||||
function handleTap(ite) {
|
||||
const today = parseTime(new Date(), '{m}月{d}日')
|
||||
if (today !== showDate.value && ite.taskStatus !== '已完成') {
|
||||
if (today !== showDate.value && !isAllowTaskStatus.includes(ite.taskStatus)) {
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user