<el-table-column prop="manage" label="管理">
<template slot-scope="scope">
<el-button size="mini" type="warning" @click="handleEdit(scope.row)">修改</el-button>
</template>
</el-table-column>
methods:
// 编辑
handleEdit(row) {
this.centerDialogVisible = true; // 显示模态框
console.log("当前人员信息", row);
//this.editForm.signid = row.id;
//this.editForm.signintime = this.signintime;
//this.editForm.signouttime = this.signouttime;
// this.editForm = { ...row }; // 赋值一份这个对象
},