key批次列表审核流程调整

This commit is contained in:
姜棚 2021-12-13 11:51:05 +08:00
parent 2443976579
commit 181d665a41
2 changed files with 8 additions and 80 deletions

View File

@ -80,7 +80,7 @@ const menu={
switch(params){ switch(params){
case 1:return '创建中';break; case 1:return '创建中';break;
case 2:return '审核中';break; case 2:return '审核中';break;
case 4:return '生效中';break; case 4:return '进行中';break;
case 5:return '已暂停';break; case 5:return '已暂停';break;
case 6:return '已完结';break; case 6:return '已完结';break;
case 7:return '已作废';break; case 7:return '已作废';break;

View File

@ -1,7 +1,7 @@
import ReactDOM from 'react-dom'; import ReactDOM from 'react-dom';
import React, { Component } from 'react'; import React, { Component } from 'react';
import { Link } from "react-router-dom"; import { Link } from "react-router-dom";
import {Input,openDialog,closeDialog,Notify,Menu,RadioGroup,Radio, MenuItem,Button,Tag,Sweetalert,CombinedDateRangePicker,Dropdown,DropdownPosition,DropdownClickTrigger,Icon,DropdownContent} from 'zent'; import {Input,openDialog,closeDialog,Notify,Menu, MenuItem,Button,Tag,Sweetalert,CombinedDateRangePicker,Dropdown,DropdownPosition,DropdownClickTrigger,Icon,DropdownContent} from 'zent';
import "./list.less" import "./list.less"
import { Switch } from 'zent'; import { Switch } from 'zent';
import "../../../assets/comm.css" import "../../../assets/comm.css"
@ -130,9 +130,7 @@ export default class acclist extends React.Component{
phone:"", phone:"",
isSend:false, isSend:false,
isEmail : false, isEmail : false,
isSms :false, isSms :false
phone_list:[],
email_list:[]
} }
} }
@ -663,9 +661,12 @@ onChangeCombinedDate(e){
</DropdownClickTrigger> </DropdownClickTrigger>
<DropdownContent> <DropdownContent>
<Menu onClick={(e,key)=>this.menuItemClick(e,key,rowData)} style={{width:"400px"}}> <Menu onClick={(e,key)=>this.menuItemClick(e,key,rowData)} style={{width:"400px"}}>
<MenuItem key="1">发送密码及压缩包</MenuItem> <MenuItem key="1" >再次发送key密码</MenuItem>
<MenuItem key="2"
>再次发送key</MenuItem>
<MenuItem key="3">修改接收邮箱发送</MenuItem>
<MenuItem key="4">修改接收手机发送</MenuItem>
<MenuItem key="5">作废</MenuItem> <MenuItem key="5">作废</MenuItem>
<MenuItem key="2" disabled>日志</MenuItem>
</Menu> </Menu>
</DropdownContent> </DropdownContent>
</Dropdown> </Dropdown>
@ -683,79 +684,6 @@ onChangeCombinedDate(e){
/> />
</div> </div>
</TabPage> </TabPage>
this.state.audit_visible ? (
<div>
<div className="modal"> </div>
<div className="audit-box" >
<Icon type="close" className="audit-close" onClick={(e)=>{this.cancel(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)}}
>
{
this.state.phone_list.map((item, index) => {
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="design-group">
<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>
<Button type="primary" onClick={(e)=>{this.send(e)}} >发送</Button>
</div>
</div>
</div>
):null
</div> </div>
) )
} }