|
|
@@ -19,7 +19,7 @@
|
|
|
<MonitoingList :list="item" :taskStatus="taskData.taskStatus"></MonitoingList>
|
|
|
</div>
|
|
|
</div>
|
|
|
-
|
|
|
+
|
|
|
<div v-else>
|
|
|
<van-collapse-item :name="item.hostId" v-for="item in hostList" :key="item.hostId">
|
|
|
<template #title>
|
|
|
@@ -97,11 +97,16 @@ export default {
|
|
|
let { code, data, msg } = res
|
|
|
if (code == 200) {
|
|
|
this.taskData = data
|
|
|
- Toast(`当前为调阅通道选择界面,仅需选择实际调阅通道,无需全选。`,{duration:5000});
|
|
|
- //如果当前是调阅中则获取视频主机和通道
|
|
|
- if (data && data.taskStatus < 2) {
|
|
|
- this.getHostHandler(num)
|
|
|
- }
|
|
|
+ // Toast(`当前为调阅通道选择界面,仅需选择实际调阅通道,无需全选。`,{duration:5000});
|
|
|
+ Dialog.alert({
|
|
|
+ message: '当前为调阅通道选择界面,仅需选择实际调阅通道,无需全选。',
|
|
|
+ }).then(() => {
|
|
|
+ //如果当前是调阅中则获取视频主机和通道
|
|
|
+ if (data && data.taskStatus < 2) {
|
|
|
+ this.getHostHandler(num)
|
|
|
+ }
|
|
|
+ });
|
|
|
+
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
@@ -149,7 +154,7 @@ export default {
|
|
|
// on cancel
|
|
|
})
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
} else {
|
|
|
Dialog({ message: '调阅项目登记不能为全空!' })
|
|
|
return
|
|
|
@@ -218,11 +223,11 @@ export default {
|
|
|
taskId: this.$route.params.id.split('_')[0]
|
|
|
}).then(res => {
|
|
|
this.$router.go(-1)
|
|
|
-
|
|
|
+
|
|
|
})
|
|
|
},
|
|
|
addActiveNames() {
|
|
|
-
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
}
|