按钮绑定函数
<el-button
size="mini"
type="primary"
plain
@click="clickEvaluationObject(scope.row)"
>测评对象</el-button
>
<el-button
clickEvaluationObject(data) {
this.EvaluationObject = true;
this.showInfoData = JSON.parse(JSON.stringify(data));
this.tabName = "测评对象";
initData("/api/partyTarget/").then((data) => {
this.formData = JSON.parse(JSON.stringify(data.content));
// this.showInfo = true;
console.log(this.formData.employee_name);
});
},