diff --git a/src/views/xm/core/xmMenu/XmMenuMng.vue b/src/views/xm/core/xmMenu/XmMenuMng.vue index 5fc6ae44..b44d2848 100644 --- a/src/views/xm/core/xmMenu/XmMenuMng.vue +++ b/src/views/xm/core/xmMenu/XmMenuMng.vue @@ -67,40 +67,41 @@ 责任人: {{filters.mmUser.username}} - 选责任人 - 我的 + 选责任人 + 我的 故事名称: - + - 查询 - 导出 - 由模板快速导入 + 查询 + 导出 + 由模板快速导入 - 由任务汇总统计数据 + 由任务汇总统计数据 - - + + + 上级故事: + + {{item.menuName}}/ + + - + + + + + + + + + + + @@ -278,6 +298,9 @@ mmUser:null, iterationFilterType:'',//join、not-join、'' taskFilterType:'',//join、not-join、'' + + parentMenu:null, + parentMenuList:[], }, xmMenus: [],//查询结果 pageInfo:{//分页数据 @@ -403,6 +426,10 @@ if(this.selProject){ params.projectId=this.selProject.id } + + if(this.filters.parentMenu){ + params.pmenuId=this.filters.parentMenu.menuId + } params.ctimeStart=this.dateRanger[0]+" 00:00:00" params.ctimeEnd=this.dateRanger[1]+" 23:59:59" let callback= (res)=>{ @@ -471,6 +498,8 @@ }, onProductSelected:function(product){ this.filters.product=product + this.filters.parentMenu=null; + this.filters.parentMenuList=[]; this.productVisible=false; this.getXmMenus() }, @@ -798,6 +827,24 @@ }, toSelectProduct(){ this.productVisible=true; + }, + searchSubMenus(row,index){ + + this.filters.parentMenu=row + this.filters.parentMenuList.push(row); + this.pageInfo.count=true; + this.searchXmMenus(); + }, + clearParentMenu(menu,index){ + if(index==1){ + this.filters.parentMenu=null; + }else{ + this.filters.parentMenu=this.filters.parentMenuList[index-1]; + } + + this.filters.parentMenuList.splice(index,this.filters.parentMenuList.length-index) + this.pageInfo.count=true + this.searchXmMenus(); } },//end methods components: {