This commit is contained in:
姜棚 2022-01-05 16:42:27 +08:00
parent 73df3831b5
commit acd0a5a6d2
2 changed files with 4 additions and 4 deletions

View File

@ -490,7 +490,7 @@ export default class acclist extends React.Component{
addKeysBatchInfo(id,data).then((res)=>{ addKeysBatchInfo(id,data).then((res)=>{
handelResponse(res,(req,msg)=>{ handelResponse(res,(req,msg)=>{
Notify.success("创建key成功"); Notify.success("成功发起审批");
setTimeout(()=>{ setTimeout(()=>{
this.props.history.push('/home/key-list/'); this.props.history.push('/home/key-list/');

View File

@ -568,7 +568,7 @@ export default class acclist extends React.Component{
} }
putKeyBatchDetail(id,data).then((res)=>{ putKeyBatchDetail(id,data).then((res)=>{
handelResponse(res,(req,msg)=>{ handelResponse(res,(req,msg)=>{
Notify.success("更新key成功"); Notify.success("成功发起审批");
setTimeout(()=>{ setTimeout(()=>{
window.history.back() window.history.back()
},1000); },1000);
@ -601,7 +601,7 @@ export default class acclist extends React.Component{
} }
putKeyBatchDetail(id,data).then((res)=>{ putKeyBatchDetail(id,data).then((res)=>{
handelResponse(res,(req,msg)=>{ handelResponse(res,(req,msg)=>{
Notify.success("更新key成功"); Notify.success("成功发起审批");
setTimeout(()=>{ setTimeout(()=>{
window.history.back() window.history.back()
},1000); },1000);
@ -632,7 +632,7 @@ export default class acclist extends React.Component{
let id = sessionStorage.getItem("key_plan_id") let id = sessionStorage.getItem("key_plan_id")
addKeysBatchInfo(id,data).then((res)=>{ addKeysBatchInfo(id,data).then((res)=>{
handelResponse(res,(req,msg)=>{ handelResponse(res,(req,msg)=>{
Notify.success("创建key成功"); Notify.success("成功发起审批");
setTimeout(()=>{ setTimeout(()=>{
window.history.back() window.history.back()
},1000); },1000);