Update list.js
This commit is contained in:
parent
d4dcce4ad9
commit
47e1029c6c
|
@ -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{
|
||||
|
||||
|
|
Loading…
Reference in New Issue