兑换码列表 根据状态是否一键复制
This commit is contained in:
parent
b006e45446
commit
ac8ad4f8b1
|
@ -585,12 +585,23 @@ export default class acclist extends React.Component {
|
|||
) : (
|
||||
<span style={{ color: '#d8dbdd' }}>撤销审批</span>
|
||||
)}
|
||||
<span
|
||||
className='grid-link'
|
||||
style={{ marginLeft: '10px' }}
|
||||
onClick={(e) => this.copyFunction(rowData)}>
|
||||
复制
|
||||
</span>
|
||||
{rowData.status == 4 || rowData.status == 5 ? (
|
||||
<span
|
||||
className='grid-link'
|
||||
style={{ marginLeft: '10px' }}
|
||||
onClick={(e) => this.copyFunction(rowData)}>
|
||||
复制
|
||||
</span>
|
||||
) : (
|
||||
<span
|
||||
style={{
|
||||
marginLeft: '10px',
|
||||
paddingRight: '10px',
|
||||
color: '#d8dbdd'
|
||||
}}>
|
||||
复制
|
||||
</span>
|
||||
)}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue