|
|
|
@ -298,22 +298,22 @@ |
|
|
|
</el-tab-pane> |
|
|
|
|
|
|
|
<el-tab-pane label="迭代详情" lazy name="detail" v-if="xmIteration&&xmIteration.id"> |
|
|
|
<xm-iteration-edit v-if="showPanel=='detail'" :xm-iteration="xmIteration" @edit-fields="onEditFields"></xm-iteration-edit> |
|
|
|
<xm-iteration-edit v-if="showPanel=='detail'" :xm-iteration="xmIteration" @edit-fields="onEditFields" :xm-product="xmProductCpd"></xm-iteration-edit> |
|
|
|
</el-tab-pane> |
|
|
|
<el-tab-pane label="需求列表" lazy name="menus" v-if="xmIteration&&xmIteration.id"> |
|
|
|
<xm-menu-mng v-if="xmIteration && showPanel=='menus'" :xm-product="xmProduct" :xm-iteration="xmIteration" :sel-project="projectInfo"></xm-menu-mng> |
|
|
|
<xm-menu-mng v-if="xmIteration && showPanel=='menus'" :xm-product="xmProductCpd" :xm-iteration="xmIteration" :sel-project="projectInfo"></xm-menu-mng> |
|
|
|
</el-tab-pane> |
|
|
|
<el-tab-pane label="配置需求范围" lazy name="iterationMenuMng" v-if="xmIteration&&xmIteration.id"> |
|
|
|
<xm-iteration-menu-mng v-if="showPanel=='iterationMenuMng'" :xm-iteration="xmIteration"></xm-iteration-menu-mng> |
|
|
|
<xm-iteration-menu-mng v-if="showPanel=='iterationMenuMng'" :xm-iteration="xmIteration" :xm-product="xmProductCpd"></xm-iteration-menu-mng> |
|
|
|
</el-tab-pane> |
|
|
|
<el-tab-pane label="任务列表" lazy name="tasks" v-if="xmIteration&&xmIteration.id"> |
|
|
|
<xm-task-mng v-if="xmIteration && showPanel=='tasks'" :xm-product="xmProduct" :xm-iteration="xmIteration" :sel-project="projectInfo"></xm-task-mng> |
|
|
|
<xm-task-mng v-if="xmIteration && showPanel=='tasks'" :xm-product="xmProductCpd" :xm-iteration="xmIteration" :sel-project="projectInfo"></xm-task-mng> |
|
|
|
</el-tab-pane> |
|
|
|
<el-tab-pane label="缺陷列表" lazy name="bugs" v-if="xmIteration&&xmIteration.id"> |
|
|
|
<xm-question-mng v-if="xmIteration && showPanel=='bugs'" :xm-product="xmProduct" :xm-iteration="xmIteration" :sel-project="projectInfo"></xm-question-mng> |
|
|
|
<xm-question-mng v-if="xmIteration && showPanel=='bugs'" :xm-product="xmProductCpd" :xm-iteration="xmIteration" :sel-project="projectInfo"></xm-question-mng> |
|
|
|
</el-tab-pane> |
|
|
|
<el-tab-pane label="效能分析" lazy name="效能" v-if="xmIteration&&xmIteration.id"> |
|
|
|
<xm-report v-if="xmIteration && showPanel=='效能'" :xm-iteration="xmIteration" ></xm-report> |
|
|
|
<xm-report v-if="xmIteration && showPanel=='效能'" :xm-project="projectInfo" :xm-iteration="xmIteration" :xm-product="xmProductCpd" category="迭代级"></xm-report> |
|
|
|
</el-tab-pane> |
|
|
|
</el-tabs> |
|
|
|
<el-row> |
|
|
|
@ -373,6 +373,14 @@ |
|
|
|
return 0; |
|
|
|
} |
|
|
|
}, |
|
|
|
xmProductCpd(){ |
|
|
|
if(this.xmProduct && this.xmProduct.id){ |
|
|
|
return this.xmProduct |
|
|
|
} |
|
|
|
if(this.xmIteration && this.xmIteration.id && this.xmIteration.productId){ |
|
|
|
return {id:this.xmIteration.productId,productName:this.xmIteration.productName} |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
props:['visible'], |
|
|
|
watch:{ |
|
|
|
|