gaoxiong il y a 1 an
Parent
commit
5a233ff224
1 fichiers modifiés avec 9 ajouts et 4 suppressions
  1. 9 4
      src/views/menu/monitoringCall/index.vue

+ 9 - 4
src/views/menu/monitoringCall/index.vue

@@ -338,10 +338,15 @@ export default {
     // 开始调阅事件
     startMonitorHandler(taskId) {
       this.taskId = taskId;
-      getMonitorStart({taskId:taskId},res=>{
-        console.log(res);
-        this.$refs.scandialog.visible = true;
-        this.globalLoading=true;
+      let obj = {taskId:taskId}
+      getMonitorStart(obj).then(res => {
+        let { code, data, msg } = res
+        if (data) {
+          this.$router.push('/consultInfo/' + this.taskId)
+        }else{
+          this.$refs.scandialog.visible = true;
+          this.globalLoading=true;
+        }
       })
 
     },