更新计划任务审批流程
This commit is contained in:
parent
d5f9efeceb
commit
6fa3fa3479
|
@ -31,7 +31,8 @@ export default class add extends React.Component{
|
|||
phone_radio:-1,
|
||||
audit_visible:false,
|
||||
card_visible:false,
|
||||
step1:null
|
||||
step1:null,
|
||||
paytype:1,
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -60,10 +61,17 @@ export default class add extends React.Component{
|
|||
|
||||
sessionStorage.setItem("plan_id","")
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
onConfirm(e){
|
||||
|
||||
|
||||
|
||||
}
|
||||
onPayTypeChange(e){
|
||||
this.setState({paytype:e.target.value})
|
||||
}
|
||||
|
||||
async onNextStep(){
|
||||
if(this.state.curstep >= 1)
|
||||
{
|
||||
|
@ -356,68 +364,27 @@ export default class add extends React.Component{
|
|||
{
|
||||
|
||||
this.state.audit_visible ? (
|
||||
<div>
|
||||
<div className="audit">
|
||||
<div className="modal"> </div>
|
||||
<div className="audit-box" >
|
||||
<Icon type="close" className="audit-close" onClick={(e)=>{this.onReturn(e)}} />
|
||||
<div className="audit-box-title">审核通过</div>
|
||||
<div className="audit-box-question">是否立即发送key以及解压密码?</div>
|
||||
<div className="phone-group">
|
||||
<div >
|
||||
接收手机号
|
||||
</div>
|
||||
<div className="phone-list">
|
||||
<RadioGroup
|
||||
value={this.state.phone_radio}
|
||||
isValueEqual={this.isValueEqual}
|
||||
onChange={(e)=>{this.onPhoneChange(e)}}
|
||||
>
|
||||
{
|
||||
<div className="audit-box" >
|
||||
<Icon type="close" className="audit-close" onClick={(e)=>{this.onReturn(e)}} />
|
||||
<div className="audit-box-title">提交审核</div>
|
||||
<div className="payType">
|
||||
|
||||
this.state.phone_list.map((item, index) => {
|
||||
<RadioGroup onChange={(e)=>{this.onPayTypeChange(e)}} value={this.state.paytype}>
|
||||
<Radio value={1}>对私账户</Radio>
|
||||
<Radio value={2}>对公账户</Radio>
|
||||
<Radio value={3}>预付款扣除</Radio>
|
||||
</RadioGroup>
|
||||
|
||||
return <Radio value={index}>{item}</Radio>
|
||||
|
||||
})
|
||||
|
||||
}
|
||||
</RadioGroup>
|
||||
</div>
|
||||
</div>
|
||||
<div className="email-group">
|
||||
<div >
|
||||
接收邮箱
|
||||
</div>
|
||||
<div className="email-list">
|
||||
<RadioGroup
|
||||
value={this.state.email_radio}
|
||||
isValueEqual={this.isValueEqual}
|
||||
onChange={ (e)=>{this.onEmailChange(e)} }
|
||||
>
|
||||
{
|
||||
this.state.email_list.map((item, index) => {
|
||||
|
||||
return <Radio value={index}>{item}</Radio>
|
||||
|
||||
})
|
||||
}
|
||||
</RadioGroup>
|
||||
</div>
|
||||
</div>
|
||||
<div className="input-group">
|
||||
<Input placeholder="请输入接收手机号" onChange={this.phoneChange} disabled={this.state.phone_radio > -1} ></Input>
|
||||
</div>
|
||||
<div className="input-group">
|
||||
<Input placeholder="请输入接收邮箱" onChange={this.emailChange} disabled={this.state.email_radio > -1} ></Input>
|
||||
</div>
|
||||
<div className="audit-btn-group">
|
||||
<Button onClick={(e)=>{this.onReturn(e)}}>取消</Button>
|
||||
<Button type="primary" onClick={(e)=>{this.send(e)}} >发送</Button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div className="audit-btn-group">
|
||||
<Button onClick={(e)=>{this.onReturn(e)}}>取消</Button>
|
||||
<Button type="primary" onClick={(e)=>{this.onConfirm(e)}} >确定</Button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
):null
|
||||
|
||||
}
|
||||
|
||||
</div>
|
||||
|
|
|
@ -254,3 +254,11 @@
|
|||
// .zent-datepicker-trigger{
|
||||
// width: 280px !important;
|
||||
// }
|
||||
|
||||
.payType{
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin-top: 30px;
|
||||
margin-bottom: 30px;
|
||||
|
||||
}
|
|
@ -661,12 +661,9 @@ onChangeCombinedDate(e){
|
|||
</DropdownClickTrigger>
|
||||
<DropdownContent>
|
||||
<Menu onClick={(e,key)=>this.menuItemClick(e,key,rowData)} style={{width:"400px"}}>
|
||||
<MenuItem key="1" >再次发送key密码</MenuItem>
|
||||
<MenuItem key="2"
|
||||
>再次发送key</MenuItem>
|
||||
<MenuItem key="3">修改接收邮箱发送</MenuItem>
|
||||
<MenuItem key="4">修改接收手机发送</MenuItem>
|
||||
<MenuItem key="1">发送密码及压缩包</MenuItem>
|
||||
<MenuItem key="5">作废</MenuItem>
|
||||
<MenuItem key="2" disabled>日志</MenuItem>
|
||||
</Menu>
|
||||
</DropdownContent>
|
||||
</Dropdown>
|
||||
|
|
|
@ -733,15 +733,10 @@ export default class acclist extends React.Component{
|
|||
}}> 更多 <Icon type={"down"} /> </div>
|
||||
</DropdownClickTrigger>
|
||||
<DropdownContent>
|
||||
|
||||
<Menu onClick={(e,key)=>this.menuItemClick(e,key,rowData)} >
|
||||
<MenuItem key="1">再次发送密码</MenuItem>
|
||||
<MenuItem key="2">再次发送key</MenuItem>
|
||||
<MenuItem key="3">修改接收邮箱发送</MenuItem>
|
||||
<MenuItem key="4">修改接收手机发送</MenuItem>
|
||||
<MenuItem key="1">发送密码及压缩包</MenuItem>
|
||||
<MenuItem key="2" disabled>日志</MenuItem>
|
||||
</Menu>
|
||||
|
||||
|
||||
</DropdownContent>
|
||||
</Dropdown>
|
||||
</span>
|
||||
|
@ -827,12 +822,17 @@ export default class acclist extends React.Component{
|
|||
</RadioGroup>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="">
|
||||
<div>自定义</div>
|
||||
<div className="input-group">
|
||||
<Input placeholder="请输入接收手机号" onChange={this.phoneChange} disabled={this.state.phone_radio > -1} ></Input>
|
||||
</div>
|
||||
<div className="input-group">
|
||||
<Input placeholder="请输入接收邮箱" onChange={this.emailChange} disabled={this.state.email_radio > -1} ></Input>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div className="audit-btn-group">
|
||||
<Button onClick={(e)=>{this.cancel(e)}}>取消</Button>
|
||||
|
|
Loading…
Reference in New Issue