Browse Source

优化

master
陈裕财 5 years ago
parent
commit
4f9ad0f89b
  1. 4
      src/views/xm/core/xmIteration/XmIterationInfo.vue
  2. 16
      src/views/xm/core/xmProduct/XmProductForProjectComplex.vue

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

@ -192,7 +192,7 @@
import xmProjectStateMng from '../xmProjectState/XmProjectStateMng'; import xmProjectStateMng from '../xmProjectState/XmProjectStateMng';
import xmTestCaseExecMng from '../xmTestCaseExec/XmTestCaseExecMng'; import xmTestCaseExecMng from '../xmTestCaseExec/XmTestCaseExecMng';
import XmIterationForProjectComplex from '../xmIteration/XmIterationForProjectComplex.vue'; import XmIterationForProjectComplex from '../xmIteration/XmIterationForProjectComplex.vue';
import XmProjectOverviewComplex from '../xmProject/XmProjectOverviewComplex.vue';
import XmIterationOverviewComplex from '../xmIteration/XmIterationOverviewComplex.vue';
import XmProductForProjectComplex from '../xmProduct/XmProductForProjectComplex.vue'; import XmProductForProjectComplex from '../xmProduct/XmProductForProjectComplex.vue';
import XmProjectForLink from '../xmProject/XmProjectForLink.vue'; import XmProjectForLink from '../xmProject/XmProjectForLink.vue';
@ -415,7 +415,7 @@
xmTestCaseExecMng, xmTestCaseExecMng,
xmProjectGroupSelect, xmProjectGroupSelect,
XmIterationForProjectComplex, XmIterationForProjectComplex,
XmProjectOverviewComplex,
XmIterationOverviewComplex,
XmProductForProjectComplex, XmProductForProjectComplex,
XmProjectForLink, XmProjectForLink,
// //

16
src/views/xm/core/xmProduct/XmProductForProjectComplex.vue

@ -2,7 +2,7 @@
<section class="page-container border"> <section class="page-container border">
<el-row> <el-row>
<el-col :span="productVisible==true?3:0" > <el-col :span="productVisible==true?3:0" >
<xm-product-select :sel-project="selProject" @row-click="onProductRowClick" @clear-select="onProductClearSelect"></xm-product-select>
<xm-product-select :sel-project="selProject" :xm-iteration="xmIteration" @row-click="onProductRowClick" @clear-select="onProductClearSelect"></xm-product-select>
</el-col> </el-col>
<el-col :span="productVisible==true?21:24" > <el-col :span="productVisible==true?21:24" >
<el-tabs type="border-card" :v-model="showPanel" activate-name="productOverview" @tab-click="tabClick"> <el-tabs type="border-card" :v-model="showPanel" activate-name="productOverview" @tab-click="tabClick">
@ -11,20 +11,20 @@
<span v-show="productVisible==false" slot="label" ><i class="el-icon-d-arrow-right" @click.stop="productVisible=true"></i> 产品概览</span> <span v-show="productVisible==false" slot="label" ><i class="el-icon-d-arrow-right" @click.stop="productVisible=true"></i> 产品概览</span>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="迭代" name="iterations">
<xm-iteration-mng v-show=" xmProduct && showPanel=='iterations'" :xm-product="xmProduct" :sel-project="selProject"></xm-iteration-mng>
<el-tab-pane label="迭代" name="iterations" v-if=" !xmIteration" >
<xm-iteration-mng v-show=" xmProduct && showPanel=='iterations' && !xmIteration" :xm-product="xmProduct" :xm-iteration="xmIteration" :sel-project="selProject"></xm-iteration-mng>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="项目" lazy name="projects"> <el-tab-pane label="项目" lazy name="projects">
<xm-product-project-for-link v-show="xmProduct && showPanel=='projects'" :xm-product="xmProduct" :sel-project="selProject"></xm-product-project-for-link>
<xm-product-project-for-link v-show="xmProduct && showPanel=='projects'" :xm-product="xmProduct" :xm-iteration="xmIteration" :sel-project="selProject"></xm-product-project-for-link>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="故事" lazy name="menus" > <el-tab-pane label="故事" lazy name="menus" >
<xm-menu-mng v-show="xmProduct && showPanel=='menus'" :xm-product="xmProduct" :sel-project="selProject"></xm-menu-mng>
<xm-menu-mng v-show="xmProduct && showPanel=='menus'" :xm-product="xmProduct" :xm-iteration="xmIteration" :sel-project="selProject"></xm-menu-mng>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="任务" lazy name="tasks" > <el-tab-pane label="任务" lazy name="tasks" >
<xm-task-mng v-show="xmProduct && showPanel=='tasks'" :xm-product="xmProduct" :sel-project="selProject"></xm-task-mng>
<xm-task-mng v-show="xmProduct && showPanel=='tasks'" :xm-product="xmProduct" :xm-iteration="xmIteration" :sel-project="selProject"></xm-task-mng>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="缺陷" lazy name="bugs" > <el-tab-pane label="缺陷" lazy name="bugs" >
<xm-question-mng v-show="xmProduct && showPanel=='bugs'" :xm-product="xmProduct" :sel-project="selProject"></xm-question-mng>
<xm-question-mng v-show="xmProduct && showPanel=='bugs'" :xm-product="xmProduct" :xm-iteration="xmIteration" :sel-project="selProject"></xm-question-mng>
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>
<el-row> <el-row>
@ -61,7 +61,7 @@ import XmProductProjectForLink from './XmProductProjectForLink.vue';
'userInfo','roles' 'userInfo','roles'
]), ]),
}, },
props:['visible','selProject'],
props:['visible','selProject','xmIteration'],
watch:{ watch:{
visible:function(visible){ visible:function(visible){
if(visible==true){ if(visible==true){

Loading…
Cancel
Save