营销系统计划为生成中,不允许操作编辑/复制/预览/作废/发送

This commit is contained in:
Apple 2022-08-17 20:49:05 +08:00
parent 1d992c42ec
commit 34d546459c
1 changed files with 13 additions and 6 deletions

View File

@ -601,7 +601,7 @@ export default class acclist extends React.Component {
// 预览 // 预览
currPreview(rowData) { currPreview(rowData) {
if ( if (
rowData.status === 0 || rowData.status === 0 ||rowData.status === 1||
rowData.status === 2 || rowData.status === 2 ||
rowData.status === 8 || rowData.status === 8 ||
rowData.status === 6 || rowData.status === 6 ||
@ -909,7 +909,7 @@ export default class acclist extends React.Component {
if (com == "opearo") { if (com == "opearo") {
return ( return (
<span> <span>
{rowData.status == 6 ? ( {rowData.status == 6||rowData.status == 1 ? (
<a className="grid-link" style={{ color: "#d8dbdd" }}> <a className="grid-link" style={{ color: "#d8dbdd" }}>
编辑 编辑
</a> </a>
@ -924,7 +924,7 @@ export default class acclist extends React.Component {
</a> </a>
)} )}
{rowData.status == 0 || {rowData.status == 0 ||rowData.status == 1||
rowData.status == 2 || rowData.status == 2 ||
rowData.status == 7 ? ( rowData.status == 7 ? (
<span <span
@ -956,9 +956,16 @@ export default class acclist extends React.Component {
<Dropdown position={DropdownPosition.RightTop}> <Dropdown position={DropdownPosition.RightTop}>
<DropdownClickTrigger> <DropdownClickTrigger>
<div className="linkmore">
{
rowData.status==1?(
<div className="linkmore" style={{ color: "#d8dbdd" }}>
更多 <Icon type={"down"} /> 更多 <Icon type={"down"} />
</div> </div>
):( <div className="linkmore">
更多 <Icon type={"down"} />
</div>)
}
</DropdownClickTrigger> </DropdownClickTrigger>
{rowData.status == 6 ? ( {rowData.status == 6 ? (
@ -984,11 +991,11 @@ export default class acclist extends React.Component {
this.menuItemClick(e, key, rowData) this.menuItemClick(e, key, rowData)
} }
> >
<MenuItem key="1">发送密码及压缩包</MenuItem> <MenuItem key="1" disabled={rowData.status==1}>发送密码及压缩包</MenuItem>
<MenuItem key="2" disabled> <MenuItem key="2" disabled>
日志 日志
</MenuItem> </MenuItem>
<MenuItem key="3" disabled={this.state.isCancel}> <MenuItem key="3" disabled={this.state.isCancel||rowData.status==1}>
作废 作废
</MenuItem> </MenuItem>
</Menu> </Menu>