forked from xxhjsb/hbt-prevention-ui
feat:新增下发表删除
parent
69670fe155
commit
cc8c76e1d1
|
@ -230,7 +230,7 @@
|
|||
<div slot-scope="scope">
|
||||
<el-button type="text" v-if="!scope.row.edit" @click="scope.row.edit = true">编辑</el-button>
|
||||
<el-button type="text" v-else @click="scope.row.edit = false">确定</el-button>
|
||||
<el-button type="text">删除</el-button>
|
||||
<el-button type="text" @click="deleteSendData(scope.$index)">删除</el-button>
|
||||
</div>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
|
|
|
@ -555,6 +555,10 @@ export default class PlanComponent extends BaseRecordComponent<any> {
|
|||
})
|
||||
}
|
||||
|
||||
public deleteSendData(index){
|
||||
this.currentTable.tableItems.splice(index,1)
|
||||
}
|
||||
|
||||
public handleClose(){
|
||||
this.tableTabs = [];
|
||||
this.currentTableId = null;
|
||||
|
|
Loading…
Reference in New Issue