Update list.js

This commit is contained in:
姜棚 2022-01-14 16:30:36 +08:00
parent d4dcce4ad9
commit 47e1029c6c
1 changed files with 18 additions and 18 deletions

View File

@ -666,27 +666,27 @@ linkTo(row){
</Dropdown>
</span>
}
else if(rowData.status == 2)
else if(rowData.status == 1 || rowData.status == 2 ||rowData.status == 8)
{
str = <span>
<a className="grid-link" onClick={(e)=>{this.onEditRow(e,rowData)}}>编辑</a>
<span className="grid-link" onClick={(e)=>this.onReCall(e,rowData)} >撤销审批</span>
<Dropdown position={DropdownPosition.RightTop } visible={this.state.menuVisible} onVisibleChange={v => this.setState({ visible: v })}>
<DropdownClickTrigger>
<div className="linkmore"> 更多 <Icon type={"down"} /> </div>
</DropdownClickTrigger>
str = <span>
<a className="grid-link" onClick={(e)=>{this.onEditRow(e,rowData)}}>编辑</a>
<span className="grid-link" onClick={(e)=>this.onReCall(e,rowData)} >撤销审批</span>
<Dropdown position={DropdownPosition.RightTop } visible={this.state.menuVisible} onVisibleChange={v => this.setState({ visible: v })}>
<DropdownClickTrigger>
<div className="linkmore"> 更多 <Icon type={"down"} /> </div>
</DropdownClickTrigger>
<DropdownContent>
<DropdownContent>
<DropdownContent>
<Menu onClick={(e,key)=>this.menuItemClick(e,key,rowData)} >
<MenuItem key="1">发送密码及压缩包</MenuItem>
<MenuItem key="2" disabled>日志</MenuItem>
<MenuItem key="5" >作废</MenuItem>
</Menu>
</DropdownContent>
<Menu onClick={(e,key)=>this.menuItemClick(e,key,rowData)} >
<MenuItem key="1" disabled>发送密码及压缩包</MenuItem>
<MenuItem key="2" disabled>日志</MenuItem>
<MenuItem key="5" disabled>作废</MenuItem>
</Menu>
</DropdownContent>
</Dropdown>
</span>
</DropdownContent>
</Dropdown>
</span>
}
else{