From 132d5990c4c4d4905bd1e4d1167dd3a02a68a5ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=A3=95=E8=B4=A2?= Date: Sun, 6 Mar 2022 20:29:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../XmIterationForProjectComplex.vue | 20 +++++++++++-------- .../xmProduct/XmProductForProjectComplex.vue | 6 +++--- .../xm/core/xmProject/XmProjectComplex.vue | 6 +++--- 3 files changed, 18 insertions(+), 14 deletions(-) diff --git a/src/views/xm/core/xmIteration/XmIterationForProjectComplex.vue b/src/views/xm/core/xmIteration/XmIterationForProjectComplex.vue index 15c494a9..09d7d907 100644 --- a/src/views/xm/core/xmIteration/XmIterationForProjectComplex.vue +++ b/src/views/xm/core/xmIteration/XmIterationForProjectComplex.vue @@ -5,17 +5,16 @@ - - - - 隐藏左边迭代列表 - 展开左边迭代列表 + + + 隐藏 + 展开 - + @@ -144,9 +143,14 @@ if(this.xmIteration==null || !this.xmIteration.id){ this.iterationVisible=true; this.$notify({showClose: true, message:"请先选中左边迭代", type: 'warning' }); + return; + } + + if(tab.name=='iterations'){ + this.iterationVisible=!this.iterationVisible; + return; } - return false; - this.showPanel=tab.name + this.showPanel=tab.name }, doDelXmIterationProductLink(){ this.$confirm('移出后,迭代试图将看不到该产品信息,确认将产品【'+this.xmProduct.productName+'】从迭代【'+this.xmIteration.iterationName+'】移出吗?', '提示', {}).then(() => { diff --git a/src/views/xm/core/xmProduct/XmProductForProjectComplex.vue b/src/views/xm/core/xmProduct/XmProductForProjectComplex.vue index cbacee54..bd3588b5 100644 --- a/src/views/xm/core/xmProduct/XmProductForProjectComplex.vue +++ b/src/views/xm/core/xmProduct/XmProductForProjectComplex.vue @@ -6,9 +6,9 @@ - - 隐藏左边产品列表 - 展开左边产品列表 + + 隐藏 + 展开 diff --git a/src/views/xm/core/xmProject/XmProjectComplex.vue b/src/views/xm/core/xmProject/XmProjectComplex.vue index 7d64f910..061e2b4c 100644 --- a/src/views/xm/core/xmProject/XmProjectComplex.vue +++ b/src/views/xm/core/xmProject/XmProjectComplex.vue @@ -6,9 +6,9 @@ - - 隐藏左边项目列表 - 展开左边项目列表 + + 隐藏 + 展开