Browse Source

优化

master
陈裕财 4 years ago
parent
commit
c859bd7cd2
  1. 10
      src/views/xm/rpt/reportIndex.vue

10
src/views/xm/rpt/reportIndex.vue

@ -121,7 +121,7 @@
data() {
return {
filters:{
category:'',
category:'项目级',
},
dicts:{},// params=[{categoryId:'0001',itemCode:'sex'}] {'sex':[{optionValue:'1',optionName:'',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'',seqOrder:'2',fp:'',isDefault:'0'}]}
load:{ list: false, edit: false, del: false, add: false },//...
@ -172,7 +172,13 @@
this.dicts=res.data.data;
})
*/
if(this.xmIteration && this.xmIteration.id){
this.filters.category="迭代级"
}else if(this.xmProject && this.xmProject.id){
this.filters.category="项目级"
}else if(this.xmProduct && this.xmProduct.id){
this.filters.category="产品级"
}
this.maxTableHeight = this.source == 'GZT' ? this.maxTableHeight : util.calcTableMaxHeight(this.$refs.table.$el);
}//end mounted

Loading…
Cancel
Save