| methods: { | methods: { | ||||
| // 获取当前路由 | // 获取当前路由 | ||||
| getChatRecordTable() { | getChatRecordTable() { | ||||
| this.setListDot(false); | |||||
| $request.get('/businessCommunicationDemand/getChatRecordTable.action').then(res => { | $request.get('/businessCommunicationDemand/getChatRecordTable.action').then(res => { | ||||
| // console.log(res,'res'); | // console.log(res,'res'); | ||||
| if(res.status == 0){ | if(res.status == 0){ | ||||
| }) | }) | ||||
| if(sum > 0){ | if(sum > 0){ | ||||
| this.setListDot(true); | this.setListDot(true); | ||||
| }else{ | |||||
| this.setListDot(false); | |||||
| } | } | ||||
| } | } | ||||
| }).catch(err=>{ | }).catch(err=>{ |