|
@@ -218,6 +218,21 @@ export const columns = (props: { authList?: any[], labelList?: any[], enumList?:
|
|
|
return <Badge status={row.allowDistributorConfig ? "success" : "error"} text={str} />
|
|
return <Badge status={row.allowDistributorConfig ? "success" : "error"} text={str} />
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '审核结果',
|
|
|
|
|
+ tooltip: <span>书籍提交到腾讯平台审核的结果</span>,
|
|
|
|
|
+ dataIndex: 'publishVO',
|
|
|
|
|
+ key: 'publishVO',
|
|
|
|
|
+ width: 100,
|
|
|
|
|
+ align: 'center',
|
|
|
|
|
+ hideInSearch: true,
|
|
|
|
|
+ render: (_, b: any) => {
|
|
|
|
|
+ console.log("aaaa",b.publishVO)
|
|
|
|
|
+ let a = b.publishVO
|
|
|
|
|
+ let obj:any=[{value:"default",text:"未提审"},{value:"processing",text:"审核中"},{value:"error",text:"审核失败"},{value:"success",text:"审核成功"}]
|
|
|
|
|
+ return a ? <Badge text={obj[a.auditStatus].text} status={obj[a.auditStatus].value}/> :<Badge text={"未提审"} status={"default"}/>
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
{
|
|
{
|
|
|
title: '操作',
|
|
title: '操作',
|
|
|
dataIndex: 'cz',
|
|
dataIndex: 'cz',
|