@click="search('ruleForm')"
2. search() {
if (this.ruleForm.name == "") {
this.$message({
type: 'error',
message: '请输入要查询的名字'
})
} else {
this.isloading = true
basicGetAHR(this.ruleForm).then(res => {
this.dialogTableVisible = true
this.isloading = false
this.dialogTableVisible = true
this.list = res.data
// [0]
console.log("我是hr查询数据", this.list)
console.log(1111111111)
})
}
},