diff --git a/src/views/xm/core/xmIteration/XmIterationInfo.vue b/src/views/xm/core/xmIteration/XmIterationInfo.vue index 12ba0dce..44366b66 100644 --- a/src/views/xm/core/xmIteration/XmIterationInfo.vue +++ b/src/views/xm/core/xmIteration/XmIterationInfo.vue @@ -3,27 +3,24 @@ - + - {{selProject.name.substring(0,10)}} - {{selProject.name}} + {{xmIteration.iterationName.substring(0,10)}} + {{xmIteration.iterationName}} 概览 - - - 迭代 - + + + + 项目 - 产品 - + 产品 - 故事 - - + 故事 任务 @@ -141,27 +138,28 @@ - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + - + @@ -197,17 +195,18 @@ import XmIterationForProjectComplex from '../xmIteration/XmIterationForProjectComplex.vue'; import XmProjectOverviewComplex from '../xmProject/XmProjectOverviewComplex.vue'; import XmProductForProjectComplex from '../xmProduct/XmProductForProjectComplex.vue'; + import XmProjectForLink from '../xmProject/XmProjectForLink.vue'; export default { - props: ["selProject","visible"], + props: ["xmIteration","visible"], computed: { ...mapGetters([ 'userInfo','roles' ]), }, watch:{ - selProject:function(selProject){ + xmIteration:function(xmIteration){ var oldInfotype=this.infotype this.infotype='' this.$nextTick(()=>{ @@ -221,7 +220,7 @@ return { platformViewVisible:false, tabPosition:'left', - infotype:"项目概览", + infotype:"迭代概览", load:{list:false,edit:false}, groupUserVisible:false, exportArr: ['任务', '阶段计划', '故事监控'] @@ -303,7 +302,7 @@ list = this.$refs.xmMenuWithPlan.xmMenusTreeData; pageNum = this.$refs.xmMenuWithPlan.pageInfo.pageNum; } - const filename = `${this.selProject.name}_${this.infotype}_第${pageNum}页`; + const filename = `${this.xmIteration.iterationName}_${this.infotype}_第${pageNum}页`; const data = this.formatJson(keyList, list); import('@/vendor/Export2Excel').then(excel => { @@ -419,6 +418,7 @@ XmIterationForProjectComplex, XmProjectOverviewComplex, XmProductForProjectComplex, + XmProjectForLink, //在下面添加其它组件 }, mounted() { diff --git a/src/views/xm/core/xmIteration/XmIterationMng.vue b/src/views/xm/core/xmIteration/XmIterationMng.vue index 2342fdb1..0491758d 100644 --- a/src/views/xm/core/xmIteration/XmIterationMng.vue +++ b/src/views/xm/core/xmIteration/XmIterationMng.vue @@ -85,7 +85,7 @@ @@ -361,6 +361,13 @@ import XmIterationSelect from './XmIterationSelect.vue'; afterEditSubmit(){ this.editFormVisible=false; }, + + //进入info界面 + intoInfo(row) { + this.editForm = row; + this.$router.push({ name:'XmIterationInfoRoute', params: row }) + //this.showInfo = true; + }, //选择行xmIteration selsChange: function (sels) { this.sels = sels;