From c246877ba79c86bd57306ee1d4cd3f5ccfb82739 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=A3=95=E8=B4=A2?= Date: Fri, 16 Jul 2021 14:45:33 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E9=A1=B9=E7=9B=AE=E5=8F=98?= =?UTF-8?q?=E6=9B=B4=E5=AE=A1=E6=89=B9=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/xm/core/xmProject/XmProjectEdit.vue | 104 +++++++------- src/views/xm/core/xmProject/XmProjectInfo.vue | 22 ++- .../xmProject/XmProjectOveriewComplex.vue | 130 ++++++++++++++++++ .../xm/core/xmProject/XmProjectOverview.vue | 11 +- 4 files changed, 192 insertions(+), 75 deletions(-) create mode 100644 src/views/xm/core/xmProject/XmProjectOveriewComplex.vue diff --git a/src/views/xm/core/xmProject/XmProjectEdit.vue b/src/views/xm/core/xmProject/XmProjectEdit.vue index a1168960..d9f4fc3d 100644 --- a/src/views/xm/core/xmProject/XmProjectEdit.vue +++ b/src/views/xm/core/xmProject/XmProjectEdit.vue @@ -1,44 +1,35 @@ @@ -263,6 +245,20 @@ totalReceivables:function(){ return this.editForm.totalReceivables }, + calcProjectStatusStep(){ + if(this.options['projectStatus'] && this.editForm){ + var index=this.options['projectStatus'].findIndex(i=>{ + if(i.optionValue==this.editForm.status){ + return true; + }else{ + return false; + } + }) + return index+1; + }else{ + return 0; + } + } }, props:['selProject','visible'], watch: { diff --git a/src/views/xm/core/xmProject/XmProjectInfo.vue b/src/views/xm/core/xmProject/XmProjectInfo.vue index d66899e8..5abc4bf1 100644 --- a/src/views/xm/core/xmProject/XmProjectInfo.vue +++ b/src/views/xm/core/xmProject/XmProjectInfo.vue @@ -140,10 +140,8 @@ - - + + @@ -195,11 +193,10 @@ import xmMenuMng from '../xmMenu/XmMenuMng'; import xmMenuWithPlan from '../xmMenu/XmMenuWithPlan'; import xmProjectStateMng from '../xmProjectState/XmProjectStateMng'; - import xmTestCaseExecMng from '../xmTestCaseExec/XmTestCaseExecMng'; - import xmIterationMng from '../xmIteration/XmIterationMng'; + import xmTestCaseExecMng from '../xmTestCaseExec/XmTestCaseExecMng'; import xmProductMng from '../xmProduct/XmProductMng'; - import XmIterationComplex from '../xmIteration/XmIterationComplex.vue'; - import XmProjectOverview from "./XmProjectOverview"; + import XmIterationComplex from '../xmIteration/XmIterationComplex.vue'; + import XmProjectOveriewComplex from './XmProjectOveriewComplex.vue'; export default { @@ -400,8 +397,7 @@ } },//end methods - components: { - XmProjectOverview, + components: { xmTaskMng, xmProjectPhaseMng, xmGroupMng, @@ -420,9 +416,9 @@ xmProjectStateMng, xmTestCaseExecMng, xmProjectGroupSelect, - xmIterationMng, - xmProductMng, -XmIterationComplex, + XmIterationComplex, + xmProductMng, + XmProjectOveriewComplex, //在下面添加其它组件 }, mounted() { diff --git a/src/views/xm/core/xmProject/XmProjectOveriewComplex.vue b/src/views/xm/core/xmProject/XmProjectOveriewComplex.vue new file mode 100644 index 00000000..974a6b14 --- /dev/null +++ b/src/views/xm/core/xmProject/XmProjectOveriewComplex.vue @@ -0,0 +1,130 @@ + + + + + diff --git a/src/views/xm/core/xmProject/XmProjectOverview.vue b/src/views/xm/core/xmProject/XmProjectOverview.vue index f9dda87f..b0e02796 100644 --- a/src/views/xm/core/xmProject/XmProjectOverview.vue +++ b/src/views/xm/core/xmProject/XmProjectOverview.vue @@ -1,11 +1,6 @@