diff --git a/src/views/xm/core/xmIteration/XmIterationForProjectComplex.vue b/src/views/xm/core/xmIteration/XmIterationForProjectComplex.vue index 16f16a15..0692b673 100644 --- a/src/views/xm/core/xmIteration/XmIterationForProjectComplex.vue +++ b/src/views/xm/core/xmIteration/XmIterationForProjectComplex.vue @@ -1,40 +1,40 @@ @@ -47,23 +47,24 @@ import XmIterationSelect from './XmIterationSelect.vue' import XmMenuMng from '../xmMenu/XmMenuMng.vue' import XmIterationStateShow from '../xmIterationState/XmIterationStateShow.vue' - import { mapGetters } from 'vuex' + import { mapGetters } from 'vuex' import XmProductMng from '../xmProduct/XmProductMng.vue'; import XmProjectForLink from '../xmProject/XmProjectForLink.vue'; import XmTaskMng from '../xmTask/XmTaskMng.vue'; import XmQuestionMng from '../xmQuestion/XmQuestionMng.vue'; - + import XmIterationOverview from "./XmIterationOverview"; + export default { computed: { ...mapGetters([ 'userInfo','roles' - ]), + ]), }, props:['visible','selProject','xmProduct'], watch:{ visible:function(visible){ - if(visible==true){ + if(visible==true){ } } }, @@ -72,7 +73,7 @@ xmIteration:null, showPanel:'iterationOverview',//menus,tasks,bugs,iterationStateShow topModules: - [ + [ { moduleName:"项目", topModuleId:'xm', @@ -127,46 +128,47 @@ } },//end data methods: { - - /**end 自定义函数请在上面加**/ - onIterationRowClick(iteration){ - this.xmIteration=iteration + /**end 自定义函数请在上面加**/ + onIterationRowClick(iteration){ + + this.xmIteration=iteration }, - + onIterationClearSelect(){ - this.iteration=null; + this.iteration=null; }, - tabClick(tab){ + tabClick(tab){ this.showPanel=tab.name }, doDelXmIterationProductLink(){ - this.$confirm('移出后,迭代试图将看不到该产品信息,确认将产品【'+this.xmProduct.productName+'】从迭代【'+this.xmIteration.iterationName+'】移出吗?', '提示', {}).then(() => { + this.$confirm('移出后,迭代试图将看不到该产品信息,确认将产品【'+this.xmProduct.productName+'】从迭代【'+this.xmIteration.iterationName+'】移出吗?', '提示', {}).then(() => { var params={iterationId:this.xmIteration.id,productId:this.xmProduct.id} delXmIterationProductLink(params).then(res=>{ var tips = res.data.tips; if(tips.isOk){ - this.$message({showClose: true, message:"移出成功", type: tips.isOk?'success':'error' }); + this.$message({showClose: true, message:"移出成功", type: tips.isOk?'success':'error' }); } }) }) } },//end methods - components: { + components: { + XmIterationOverview, //在下面添加其它组件 XmIterationSelect, XmMenuMng, - XmIterationStateShow, + XmIterationStateShow, XmProductMng, XmTaskMng, XmQuestionMng, - XmProjectForLink, + XmProjectForLink, }, - mounted() { + mounted() { this.$nextTick(() => { - + }); - + } } @@ -177,5 +179,5 @@ text-align:center; float:left; padding-top:5px; - } + } diff --git a/src/views/xm/core/xmIteration/XmIterationOverview.vue b/src/views/xm/core/xmIteration/XmIterationOverview.vue index bcda8ac5..0afa9d3a 100644 --- a/src/views/xm/core/xmIteration/XmIterationOverview.vue +++ b/src/views/xm/core/xmIteration/XmIterationOverview.vue @@ -191,11 +191,11 @@ 项目预计进度 - + 项目实际进度 - + diff --git a/src/views/xm/core/xmProduct/XmProductForProjectComplex.vue b/src/views/xm/core/xmProduct/XmProductForProjectComplex.vue index 98994a2a..9b2203dd 100644 --- a/src/views/xm/core/xmProduct/XmProductForProjectComplex.vue +++ b/src/views/xm/core/xmProduct/XmProductForProjectComplex.vue @@ -1,50 +1,51 @@