|
|
@@ -118,23 +118,23 @@ export default {
|
|
|
//结束调阅
|
|
|
endMontor() {
|
|
|
//没有记录的时候不能结束调阅
|
|
|
- if (this.taskData?.coreMonitoringTaskRegistrationMonitorVOList?.length == 0) {
|
|
|
+ if (!this.taskData?.coreMonitoringTaskRegistrationMonitorVOList||this.taskData?.coreMonitoringTaskRegistrationMonitorVOList?.length == 0) {
|
|
|
Dialog({ message: '该调阅没有记录不能进行结束操作!' })
|
|
|
return
|
|
|
}
|
|
|
|
|
|
- let startDate = JSON.parse(JSON.stringify(this.taskData.taskStartTime))
|
|
|
+ // let startDate = JSON.parse(JSON.stringify(this.taskData.taskStartTime))
|
|
|
|
|
|
- startDate = Date.parse(new Date(startDate))
|
|
|
- let endDate = Date.parse(new Date())
|
|
|
- if (endDate - startDate <= 3600000) {
|
|
|
- Dialog({ message: '该调阅未满一个小时请确认' })
|
|
|
+ // startDate = Date.parse(new Date(startDate))
|
|
|
+ // let endDate = Date.parse(new Date())
|
|
|
+ // if (endDate - startDate <= 3600000) {
|
|
|
+ // Dialog({ message: '该调阅未满一个小时请确认' })
|
|
|
// 未满一小时不能结束调阅
|
|
|
- } else {
|
|
|
+ // } else {
|
|
|
this.$refs.scandialog.visible = true
|
|
|
|
|
|
- startDate = new Date(startDate)
|
|
|
- }
|
|
|
+ // startDate = new Date(startDate)
|
|
|
+ // }
|
|
|
},
|
|
|
//文件上传
|
|
|
resultImg(img) {
|