echarts图表的查询点击随机生成数据
search() { let flag = false let temp = commData.hospitalList.filter(item=>item.entName.indexOf(this.myForm.name)!=-1) if(temp.length>0) { flag = true } else { temp = commData.pharmacyList.filter(item=>item.entName.indexOf(this.myForm.name)!=-1) if(temp.length>0) { flag = true } } if(flag) { this.initTableData() } else { this.$message.warning('警告信息') } },
扫码关注我们
微信号:SRE实战
拒绝背锅 运筹帷幄

更多精彩