营销系统计划为生成中,不允许操作编辑/复制/预览/作废/发送
This commit is contained in:
parent
1d992c42ec
commit
34d546459c
|
@ -601,7 +601,7 @@ export default class acclist extends React.Component {
|
|||
// 预览
|
||||
currPreview(rowData) {
|
||||
if (
|
||||
rowData.status === 0 ||
|
||||
rowData.status === 0 ||rowData.status === 1||
|
||||
rowData.status === 2 ||
|
||||
rowData.status === 8 ||
|
||||
rowData.status === 6 ||
|
||||
|
@ -909,7 +909,7 @@ export default class acclist extends React.Component {
|
|||
if (com == "opearo") {
|
||||
return (
|
||||
<span>
|
||||
{rowData.status == 6 ? (
|
||||
{rowData.status == 6||rowData.status == 1 ? (
|
||||
<a className="grid-link" style={{ color: "#d8dbdd" }}>
|
||||
编辑
|
||||
</a>
|
||||
|
@ -924,7 +924,7 @@ export default class acclist extends React.Component {
|
|||
</a>
|
||||
)}
|
||||
|
||||
{rowData.status == 0 ||
|
||||
{rowData.status == 0 ||rowData.status == 1||
|
||||
rowData.status == 2 ||
|
||||
rowData.status == 7 ? (
|
||||
<span
|
||||
|
@ -956,9 +956,16 @@ export default class acclist extends React.Component {
|
|||
|
||||
<Dropdown position={DropdownPosition.RightTop}>
|
||||
<DropdownClickTrigger>
|
||||
<div className="linkmore">
|
||||
|
||||
{
|
||||
rowData.status==1?(
|
||||
<div className="linkmore" style={{ color: "#d8dbdd" }}>
|
||||
更多 <Icon type={"down"} />
|
||||
</div>
|
||||
):( <div className="linkmore">
|
||||
更多 <Icon type={"down"} />
|
||||
</div>)
|
||||
}
|
||||
</DropdownClickTrigger>
|
||||
|
||||
{rowData.status == 6 ? (
|
||||
|
@ -984,11 +991,11 @@ export default class acclist extends React.Component {
|
|||
this.menuItemClick(e, key, rowData)
|
||||
}
|
||||
>
|
||||
<MenuItem key="1">发送密码及压缩包</MenuItem>
|
||||
<MenuItem key="1" disabled={rowData.status==1}>发送密码及压缩包</MenuItem>
|
||||
<MenuItem key="2" disabled>
|
||||
日志
|
||||
</MenuItem>
|
||||
<MenuItem key="3" disabled={this.state.isCancel}>
|
||||
<MenuItem key="3" disabled={this.state.isCancel||rowData.status==1}>
|
||||
作废
|
||||
</MenuItem>
|
||||
</Menu>
|
||||
|
|
Loading…
Reference in New Issue