From 8eb4f2814bea972a784e895090aef287f4f8ec62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=A3=95=E8=B4=A2?= Date: Thu, 31 Mar 2022 04:09:04 +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 --- src/views/xm/core/xmProduct/XmProductInfo.vue | 6 ++++++ src/views/xm/core/xmTask/XmTaskMng.vue | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/views/xm/core/xmProduct/XmProductInfo.vue b/src/views/xm/core/xmProduct/XmProductInfo.vue index 4d8384e1..5af77ddc 100644 --- a/src/views/xm/core/xmProduct/XmProductInfo.vue +++ b/src/views/xm/core/xmProduct/XmProductInfo.vue @@ -25,6 +25,11 @@ 需求 + + + 任务 + + 缺陷 diff --git a/src/views/xm/core/xmTask/XmTaskMng.vue b/src/views/xm/core/xmTask/XmTaskMng.vue index a9a6b1e5..d93056d4 100644 --- a/src/views/xm/core/xmTask/XmTaskMng.vue +++ b/src/views/xm/core/xmTask/XmTaskMng.vue @@ -1289,6 +1289,7 @@ export default { }else if(this.queryScope==='task'){ params.ntype="0" } + if(this.ptype==='1'){ if(!params.productId){ this.$notify.warning("请先选中产品") @@ -1300,7 +1301,7 @@ export default { return; } } - params.ptype=this.ptype + //params.ptype=this.ptype getTask(params) .then((res) => { @@ -2490,6 +2491,7 @@ export default { this.searchXmTasks(); }, onTaskWorkloadSubmit(){ + this.taskWorkloadVisible=false; this.searchXmTasks(); treeTool.reloadAllChildren(this.$refs.table,this.maps,[this.editForm],'parentTaskid',this.loadXmTaskLazy) },