forked from xxhjsb/hbt-prevention-ui
parent
4b20cb89cc
commit
66b32a95d6
|
@ -451,7 +451,12 @@ export default class HiddenDangerClapComponent extends BaseRecordComponent<any>
|
||||||
//
|
//
|
||||||
}
|
}
|
||||||
|
|
||||||
public callback(data){
|
public callback(data,type?){
|
||||||
|
if(type){
|
||||||
|
this.params[type] = data;
|
||||||
|
this.getTableData();
|
||||||
|
return
|
||||||
|
}
|
||||||
// 查询
|
// 查询
|
||||||
if(data.value==="search"){
|
if(data.value==="search"){
|
||||||
this.getTableData()
|
this.getTableData()
|
||||||
|
|
|
@ -601,7 +601,12 @@ export default class HiddenDangerFilesComponent extends BaseRecordComponent<any>
|
||||||
this.tableColumn.push({name:'整改时限',width:"120",key:"reformDeadline"});
|
this.tableColumn.push({name:'整改时限',width:"120",key:"reformDeadline"});
|
||||||
}
|
}
|
||||||
|
|
||||||
public callback(data){
|
public callback(data,type?){
|
||||||
|
if(type){
|
||||||
|
this.params[type] = data;
|
||||||
|
this.getTableData();
|
||||||
|
return
|
||||||
|
}
|
||||||
// 查询
|
// 查询
|
||||||
if(data.value==="search"){
|
if(data.value==="search"){
|
||||||
this.getTableData()
|
this.getTableData()
|
||||||
|
@ -615,7 +620,7 @@ export default class HiddenDangerFilesComponent extends BaseRecordComponent<any>
|
||||||
}else if(data.value === "selectAll"){
|
}else if(data.value === "selectAll"){
|
||||||
this.selectAll()
|
this.selectAll()
|
||||||
}else if(data.value === "delete"){
|
}else if(data.value === "delete"){
|
||||||
this.deleteData(this.selectData.map((item:any)=>item.id))
|
this.deleteData(this.selectData.map((item:any)=>item.id && item.status === 5))
|
||||||
}else if(data.value ==="cancel"){
|
}else if(data.value ==="cancel"){
|
||||||
this.handleClose()
|
this.handleClose()
|
||||||
|
|
||||||
|
|
|
@ -787,7 +787,12 @@ export default class HiddenDangerManagerComponent extends BaseRecordComponent<an
|
||||||
//
|
//
|
||||||
}
|
}
|
||||||
|
|
||||||
public callback(data){
|
public callback(data,type?){
|
||||||
|
if(type){
|
||||||
|
this.params[type] = data;
|
||||||
|
this.getTableData();
|
||||||
|
return
|
||||||
|
}
|
||||||
// 查询
|
// 查询
|
||||||
if(data.value==="search"){
|
if(data.value==="search"){
|
||||||
this.getTableData()
|
this.getTableData()
|
||||||
|
|
Loading…
Reference in New Issue