Browse Source

优化

master
陈裕财 5 years ago
parent
commit
cc120de768
  1. 10
      src/views/xm/core/xmIteration/XmIterationComplex.vue

10
src/views/xm/core/xmIteration/XmIterationComplex.vue

@ -5,13 +5,13 @@
<xm-iteration-select :sel-project="selProject" @row-click="onIterationRowClick" @clear-select="onIterationClearSelect"></xm-iteration-select> <xm-iteration-select :sel-project="selProject" @row-click="onIterationRowClick" @clear-select="onIterationClearSelect"></xm-iteration-select>
</el-col> </el-col>
<el-col :span="iterationVisible==true?18:24" > <el-col :span="iterationVisible==true?18:24" >
<el-tabs type="border-card">
<el-tabs type="border-card" @tab-click="tabClick">
<el-tab-pane label="产品、战略" lazy> <el-tab-pane label="产品、战略" lazy>
<span v-show="iterationVisible==true" slot="label" ><i class="el-icon-d-arrow-left" @click.stop="iterationVisible=false"></i> 产品战略</span> <span v-show="iterationVisible==true" slot="label" ><i class="el-icon-d-arrow-left" @click.stop="iterationVisible=false"></i> 产品战略</span>
<span v-show="iterationVisible==false" slot="label" ><i class="el-icon-d-arrow-right" @click.stop="iterationVisible=true"></i> 产品战略</span> <span v-show="iterationVisible==false" slot="label" ><i class="el-icon-d-arrow-right" @click.stop="iterationVisible=true"></i> 产品战略</span>
<xm-product-mng v-if="xmIteration" :xm-iteration="xmIteration" :sel-project="selProject"></xm-product-mng> <xm-product-mng v-if="xmIteration" :xm-iteration="xmIteration" :sel-project="selProject"></xm-product-mng>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="需求" lazy>
<el-tab-pane label="故事" lazy >
<xm-menu-mng v-if="xmIteration" :xm-iteration="xmIteration" :sel-project="selProject"></xm-menu-mng> <xm-menu-mng v-if="xmIteration" :xm-iteration="xmIteration" :sel-project="selProject"></xm-menu-mng>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="任务" lazy > <el-tab-pane label="任务" lazy >
@ -124,11 +124,17 @@ import XmQuestionMng from '../xmQuestion/XmQuestionMng.vue';
/**end 自定义函数请在上面加**/ /**end 自定义函数请在上面加**/
onIterationRowClick(iteration){ onIterationRowClick(iteration){
this.xmIteration=iteration this.xmIteration=iteration
}, },
onIterationClearSelect(){ onIterationClearSelect(){
this.iteration=null; this.iteration=null;
},
tabClick(tab){
if(tab.label=='任务' || tab.label=='故事'){
this.iterationVisible=false;
}
} }
},//end methods },//end methods
components: { components: {

Loading…
Cancel
Save