| | |
| | | methods: { |
| | | |
| | | requestExceptionData(){ |
| | | axiosInstance.get('/fume/abnormaltwo',{params:{"devId":this.devId,"exceptionValue":this.exceptionValue,"beginTime":this.beginTime,"endTime":this.endTime }}).then(result =>{ |
| | | axiosInstance.get('/fume/abnormalthree',{params:{"devId":this.devId,"exceptionValue":this.exceptionValue,"beginTime":this.beginTime,"endTime":this.endTime }}).then(result =>{ |
| | | //将返回的结果传递给父组件 |
| | | this.$emit('submitExceptionData',result.data.data) |
| | | }) |
| | |
| | | </script> |
| | | |
| | | <template> |
| | | <el-link @click="requestExceptionData"><slot/></el-link> |
| | | <el-link @click="requestExceptionData" class="text"><slot/></el-link> |
| | | </template> |
| | | |
| | | <style lang="scss" scoped> |
| | | |
| | | .text { |
| | | color: #000000; |
| | | } |
| | | </style> |