Browse Source

优化迭代

master
陈裕财 4 years ago
parent
commit
727d0661f0
  1. 13
      src/views/xm/core/xmIteration/XmIterationInfo.vue
  2. 2
      src/views/xm/core/xmProject/XmProjectInfo.vue

13
src/views/xm/core/xmIteration/XmIterationInfo.vue

@ -85,15 +85,6 @@
]), ]),
}, },
watch:{ watch:{
xmIteration:function(xmIteration){
var oldInfotype=this.infotype
this.infotype=''
this.$nextTick(()=>{
this.infotype=oldInfotype
})
}
}, },
data() { data() {
return { return {
@ -159,8 +150,10 @@
if(infotype=='返回'){ if(infotype=='返回'){
this.goBack() this.goBack()
}
}else{
localStorage.setItem('iteration-infotype',infotype); localStorage.setItem('iteration-infotype',infotype);
}
}, },
handleExport() { handleExport() {
this.downloadLoading = true this.downloadLoading = true

2
src/views/xm/core/xmProject/XmProjectInfo.vue

@ -250,11 +250,11 @@ import XmPlan from '../xmTask/XmPlan.vue';
}, },
setInfotype(infotype){ setInfotype(infotype){
this.infotype=infotype;
if(infotype=='返回'){ if(infotype=='返回'){
this.goBack() this.goBack()
}else{ }else{
this.infotype=infotype;
localStorage.setItem('project-infotype',infotype); localStorage.setItem('project-infotype',infotype);
} }
}, },

Loading…
Cancel
Save