diff --git a/src/views/xm/core/xmIterationMenu/XmIterationMenuMng.vue b/src/views/xm/core/xmIterationMenu/XmIterationMenuMng.vue index 724c87c8..ac679453 100644 --- a/src/views/xm/core/xmIterationMenu/XmIterationMenuMng.vue +++ b/src/views/xm/core/xmIterationMenu/XmIterationMenuMng.vue @@ -1,53 +1,69 @@ @@ -61,7 +77,7 @@ import XmIterationMng from '@/views/xm/core/components/XmIterationSelect';//修改界面 import { mapGetters } from 'vuex' import xmMenuSelect from '../xmMenu/XmMenuSelect'; - + import XmEpicFeaturesSelect from '../xmMenu/XmEpicFeaturesSelect' export default { props:['xmIteration'], @@ -84,7 +100,8 @@ data() { return { filters: { - key: '' + key: '', + pmenuId:'', }, xmIterationMenus: [],//查询结果 pageInfo:{//分页数据 @@ -121,6 +138,15 @@ } },//end data methods: { + onEpicFeatureSelect(parentMenu){ + if(parentMenu && parentMenu.menuId){ + this.filters.pmenuId=parentMenu.menuId + }else{ + this.filters.pmenuId='' + } + this.searchXmIterationMenus(); + + }, handleSizeChange(pageSize) { this.pageInfo.pageSize=pageSize; this.getXmIterationMenus(); @@ -171,6 +197,9 @@ this.$notify({position:'bottom-left',showClose:true,message: "请先在左边选择迭代", type: 'success' }); return; } + if(this.filters.pmenuId){ + params.pmenuId=this.filters.pmenuId + } this.load.list = true; listXmIterationMenu(params).then((res) => { var tips=res.data.tips; @@ -286,6 +315,7 @@ components: { XmIterationMng, xmMenuSelect, + XmEpicFeaturesSelect, //在下面添加其它组件 }, mounted() { diff --git a/src/views/xm/core/xmMenu/XmEpicFeaturesSelect.vue b/src/views/xm/core/xmMenu/XmEpicFeaturesSelect.vue index 4d68bf6b..9cead8d5 100644 --- a/src/views/xm/core/xmMenu/XmEpicFeaturesSelect.vue +++ b/src/views/xm/core/xmMenu/XmEpicFeaturesSelect.vue @@ -28,8 +28,13 @@ {{scope.row.seqNo}}   {{scope.row.menuName}} + + {{ (scope.row.finishRate != null ? scope.row.finishRate : 0) + "%" }} + - +