Browse Source

优化迭代

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

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

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

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

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

Loading…
Cancel
Save