From c859bd7cd2808ff05b4ade11193307747b00483b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=A3=95=E8=B4=A2?= Date: Sat, 18 Jun 2022 11:05:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/xm/rpt/reportIndex.vue | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/views/xm/rpt/reportIndex.vue b/src/views/xm/rpt/reportIndex.vue index cb40cbc0..0b1268da 100644 --- a/src/views/xm/rpt/reportIndex.vue +++ b/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