2020-12-06 点击查询按钮 显示弹窗

@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)

                    })

                }

            },

你可能感兴趣的:(2020-12-06 点击查询按钮 显示弹窗)