forked from xxhjsb/hbt-prevention-ui
feat:新增下发表全部删除后自动去除所选检查表
parent
cc8c76e1d1
commit
d59299863f
|
@ -556,7 +556,12 @@ export default class PlanComponent extends BaseRecordComponent<any> {
|
|||
}
|
||||
|
||||
public deleteSendData(index){
|
||||
this.currentTable.tableItems.splice(index,1)
|
||||
this.currentTable.tableItems.splice(index,1);
|
||||
if(!this.currentTable.tableItems.length){
|
||||
this.sendParams.tables.splice(this.sendParams.tables.findIndex(item=>item === this.currentTableId),1);
|
||||
this.currentTableId = this.tableTabs[0]?.id;
|
||||
this.currentTable = this.tableTabs[0]
|
||||
}
|
||||
}
|
||||
|
||||
public handleClose(){
|
||||
|
|
Loading…
Reference in New Issue