更改key列表发送密码及压缩包
This commit is contained in:
parent
e03b760dcd
commit
f956b0ed79
|
@ -10,7 +10,7 @@ import Grid from "../../../components/gird/main.js"
|
|||
import TabPage from "../../../components/tabPage/main.js"
|
||||
import Filterbar from "../../../components/filterbar/main.js"
|
||||
import menu from "../../../assets/enum.js"
|
||||
import {getKeyList,handelResponse,planSend,startOrStopKeybatch,resKeyEmail,planResend,putKeyEmail,cancelKey,keysIsSend,getReseller} from "../../../assets/api.js"
|
||||
import {getKeyList,handelResponse,planSend,startOrStopKeybatch,resKeyEmail,planResend,putKeyEmail,cancelKey,keysIsSend,getReseller,postKeyEmail} from "../../../assets/api.js"
|
||||
import _ from "lodash";
|
||||
const Column = [
|
||||
{
|
||||
|
@ -161,7 +161,7 @@ export default class acclist extends React.Component{
|
|||
console.log("发送")
|
||||
console.log(e)
|
||||
|
||||
let plan_id = sessionStorage.getItem("key_plan_id");
|
||||
let key_id = sessionStorage.getItem("key_batch_id");
|
||||
let data ={
|
||||
phone: this.state.phone_radio > -1 ? this.state.phone_list[this.state.phone_radio] : this.state.phone ,
|
||||
email: this.state.email_radio > -1 ? this.state.email_list[this.state.email_radio] : this.state.email
|
||||
|
@ -182,7 +182,7 @@ export default class acclist extends React.Component{
|
|||
|
||||
|
||||
|
||||
planSend(plan_id,data).then((res)=>{
|
||||
postKeyEmail(key_id,data).then((res)=>{
|
||||
handelResponse(res,(req,msg)=>{
|
||||
|
||||
|
||||
|
@ -437,7 +437,7 @@ phoneChange=(e)=>
|
|||
this.setState({phone_list:req.contact_phone})
|
||||
this.setState({email_list:req.contact_email})
|
||||
this.setState({audit_visible:true})
|
||||
|
||||
sessionStorage.setItem("key_batch_id",row.id)
|
||||
},(err)=>{
|
||||
Notify.error(err)
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue