fea2d3a0 by 杨威

权利人数据双击进行编辑

1 parent 5d989fe5
......@@ -31,6 +31,7 @@
:data="tableData"
style="width: 100%"
@selection-change="handleSelectionChange"
@row-dblclick="rowDbclick"
border
>
<el-table-column type="selection" width="40" align="center">
......@@ -453,6 +454,15 @@
});
}
},
//行双击事件
rowDbclick(row){
this.dialogVisible = true;
this.update=true;
this.formData=row;
if(row.frList.length>0){
this.formData.fr=row.frList[0];
}
},
//删除行数据
delRow() {
if (this.multipleSelection.length > 0) {
......