修改终端周期监测时间问题

This commit is contained in:
GGJ
2024-09-14 11:14:13 +08:00
parent 703a84a978
commit 5cf6144763
2 changed files with 6 additions and 2 deletions

View File

@@ -104,13 +104,14 @@ const open = async (text: string, tempData?: any) => {
form.value.dept = tempData.dept
form.value.deviceName = tempData.deviceName
form.value.status = tempData.status
if (tempData.status == null) {
form.value.reportPath = []
form.value.description = ''
} else {
form.value.reportPath = [{ name: tempData.checkFilePath.split('/')[2] }]
form.value.description = tempData.description
form.value.nowCheckTime = tempData.nowCheckTime
form.value.nowCheckTime = tempData.thisTimeCheck
}
}