fadd
This commit is contained in:
@@ -297,9 +297,14 @@ function statusTagType(row) {
|
|||||||
return m[status] || 'info'
|
return m[status] || 'info'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 是否展示通过/拒绝:须当前认证为待审核,且本条提交记录为「校验通过」(verified)。
|
||||||
|
* 历史失败记录 (failed) 与认证状态无关字段共用同一 certification_status,否则会误显按钮。
|
||||||
|
*/
|
||||||
function canShowApproveReject(row) {
|
function canShowApproveReject(row) {
|
||||||
if (!row) return false
|
if (!row) return false
|
||||||
return row.certification_status === 'info_pending_review'
|
if (row.certification_status !== 'info_pending_review') return false
|
||||||
|
return row.status === 'verified'
|
||||||
}
|
}
|
||||||
|
|
||||||
// 判断是否可作为图片展示(含七牛云等无扩展名的 CDN URL)
|
// 判断是否可作为图片展示(含七牛云等无扩展名的 CDN URL)
|
||||||
|
|||||||
Reference in New Issue
Block a user