diff --git a/src/views/xm/core/xmProduct/XmProductMng.vue b/src/views/xm/core/xmProduct/XmProductMng.vue index 64a86586..2adbdcb6 100644 --- a/src/views/xm/core/xmProduct/XmProductMng.vue +++ b/src/views/xm/core/xmProduct/XmProductMng.vue @@ -5,11 +5,8 @@ - - - - - + + @@ -19,78 +16,95 @@ - - {{templateVisible?"隐藏模板":"显示模板"}} - 新手导航 - - - - - - - 产品查询范围: - - - - - - - - - - 产品编号: - - - - - - - 产品名称: - - - - - - - 产品经理: - - {{filters.pmUser.username}} - 选责任人 - 我的 - - - - - 项目 {{selProject?selProject.name:''}} - - - - - 迭代 {{xmIteration.iterationName}} - - - - - 创建时间: - - - - 查询 - - + width="600" + trigger="click" > + + + {{templateVisible?'隐藏模板':'显示模板'}} + 新手导航 + + + + + 显示方式 + + 表格 + 卡片 + + + + + 查询范围 + + + + + + + + + + + 当前项目 + + {{selProject?selProject.name:''}} + + + + + 当前迭代 + + {{xmIteration.iterationName}} + + + + + 产品经理 + + {{filters.pmUser.username}} + 选责任人 + 我的 + + + + + 创建时间 + + + + + + + + 产品编号 + + + + + + + 产品名称 + + + + + + 查询 + + @@ -119,7 +133,8 @@ - + + @@ -205,9 +220,9 @@ - + - + @@ -224,34 +239,32 @@ - - - - - + {{scope.row.productName}} + + - - {{formatPstatus(null,null,scope.row.pstatus)}} - {{formatPstatus(null,null,scope.row.pstatus)}} - {{formatPstatus(null,null,scope.row.pstatus)}} - {{formatPstatus(null,null,scope.row.pstatus)}} - {{formatPstatus(null,null,scope.row.pstatus)}} - + + - + - {{scope.row.finishRate}}% + + {{ getProgress(scope.row) }}% + - + 超前{{ getPlanRealProgress(scope.row) }}% + 落后{{ 0-getPlanRealProgress(scope.row) }}% + + 未开始 + - - + @@ -286,12 +299,10 @@ {{scope.row.bugCnt>0?scope.row.closedBugs+' / '+scope.row.bugCnt:''}} - - - - - - + + + + 取消关注 关注 @@ -301,6 +312,7 @@ + @@ -452,13 +464,10 @@ iterationSelectVisible:false, productStateVisible:false, selectFiltersPmUserVisible:false, - maxTableHeight:300, - dateRanger: [ - ], - pickerOptions: util.getPickerOptions('datarange'), + maxTableHeight:300, projectVisible:false, productSelectVisible:false, - showType:true, + showType:false, xmProductCopy:{ id:'',productName:'',code:'',isTpl:'',copyMenu:'1',copyPhase:'1',copyGroup:'1',copyGroupUser:'0' }, @@ -541,11 +550,9 @@ if(this.filters.queryScope=="branchId"){ params.branchId=this.userInfo.branchId } - if(this.dateRanger && this.dateRanger.length==2){ - - params.ctimeStart=this.dateRanger[0] - params.ctimeEnd=this.dateRanger[1] - } + + params.ctimeStart=this.filters.ctimeStart + params.ctimeEnd=this.filters.ctimeEnd if(this.xmIteration){ params.iterationId=this.xmIteration.id } diff --git a/src/views/xm/core/xmProject/XmProjectMng.vue b/src/views/xm/core/xmProject/XmProjectMng.vue index 52f8e295..7521e5da 100644 --- a/src/views/xm/core/xmProject/XmProjectMng.vue +++ b/src/views/xm/core/xmProject/XmProjectMng.vue @@ -27,7 +27,6 @@ {{templateVisible?'隐藏模板':'显示模板'}} 新手导航 - 查询 @@ -73,6 +72,10 @@ + + + 查询 + @@ -210,10 +213,12 @@ - + {{scope.row.name}} + + @@ -225,11 +230,11 @@ - + - + {{getProgress(scope.row)}} %