const getStatus = (status: any) => {
let obj:any = {
'1':'通过',
'-1':'驳回',
'0':'待审核'
}
return obj[status]
};
render={(text)=>{
return getStatus(text)
}}
const getStatus = (status: any) => {
let obj:any = {
'1':'通过',
'-1':'驳回',
'0':'待审核'
}
return obj[status]
};
render={(text)=>{
return getStatus(text)
}}