|
|
@@ -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;
|
|
|
+ }
|
|
|
})
|
|
|
|
|
|
},
|