diff --git a/src/views/xm/core/xmIteration/XmIterationBox.vue b/src/views/xm/core/xmIteration/XmIterationBox.vue new file mode 100644 index 00000000..7eb31372 --- /dev/null +++ b/src/views/xm/core/xmIteration/XmIterationBox.vue @@ -0,0 +1,506 @@ + + + + + diff --git a/src/views/xm/core/xmMenu/XmMenuBox.vue b/src/views/xm/core/xmMenu/XmMenuBox.vue index 624d3e36..6888b6f6 100644 --- a/src/views/xm/core/xmMenu/XmMenuBox.vue +++ b/src/views/xm/core/xmMenu/XmMenuBox.vue @@ -2,10 +2,13 @@
- + + + + - - + +
@@ -18,10 +21,11 @@ import XmEpicFeatures from '@/views/xm/core/xmMenu/XmEpicFeatures';//新增界面 import XmMenuMng from '@/views/xm/core/xmMenu/XmMenuMng';//新增界面 + import XmProductSelect from '@/views/xm/core/components/XmProductSelect';//新增界面 export default { components: { - XmEpicFeatures,XmMenuMng + XmEpicFeatures,XmMenuMng,XmProductSelect }, props:['xmProduct','selProject'], computed: { @@ -32,10 +36,18 @@ }, watch: { - + xmProduct:{ + handler(){ + this.filters.xmProduct=this.xmProduct + }, + deep:true, + } }, data() { return { + filters:{ + xmProduct:null, + }, parentMenu:null, dicts:{},//下拉选择框的所有静态数据 params=[{categoryId:'0001',itemCode:'sex'}] 返回结果 {'sex':[{optionValue:'1',optionName:'男',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'女',seqOrder:'2',fp:'',isDefault:'0'}]} load:{ list: false, edit: false, del: false, add: false },//查询中... @@ -45,10 +57,16 @@ methods: { onEpicFeaturesRowClick(menu){ this.parentMenu=menu + }, + onProductSelected(product){ + this.filters.xmProduct=product + }, + onProductClearSelect(){ + this.filters.xmProduct=null; } },//end method mounted() { - + this.filters.xmProduct=this.product }//end mounted } diff --git a/src/views/xm/core/xmProduct/XmProductInfo.vue b/src/views/xm/core/xmProduct/XmProductInfo.vue index f41dffe6..4907969f 100644 --- a/src/views/xm/core/xmProduct/XmProductInfo.vue +++ b/src/views/xm/core/xmProduct/XmProductInfo.vue @@ -540,7 +540,7 @@ import xmEnvList from "../xmEnvList/XmEnvListMng"; import xmMenuWithPlan from "../xmMenu/XmMenuWithPlan"; import xmProjectStateMng from "../xmProjectState/XmProjectStateMng"; import xmTestCaseExecMng from "../xmTestCaseExec/XmTestCaseExecMng"; -import XmIterationForLinkComplex from "../xmIteration/XmIterationForLinkComplex.vue"; +import XmIterationForLinkComplex from "../xmIteration/XmIterationBox.vue"; import XmProductOverviewComplex from "../xmProduct/XmProductOverviewComplex.vue"; import XmProductForLinkComplex from "./XmProductForLinkComplex.vue"; import XmProjectForLink from "../xmProject/XmProjectForLink.vue"; diff --git a/src/views/xm/core/xmProject/XmProjectInfo.vue b/src/views/xm/core/xmProject/XmProjectInfo.vue index b70bf7bf..94782586 100644 --- a/src/views/xm/core/xmProject/XmProjectInfo.vue +++ b/src/views/xm/core/xmProject/XmProjectInfo.vue @@ -53,12 +53,10 @@ 产品 - - + 计划 @@ -162,8 +160,7 @@ 环境清单 进入售前 - - 产品管理 + 关联产品 环境清单 @@ -399,11 +396,11 @@ import xmCost from "./XmProjectCost"; import xmBudget from "./XmProjectBudgetCost"; import xmContract from "../xmContract/XmContractMng"; import xmEnvList from "../xmEnvList/XmEnvListMng"; -import xmMenuMng from "../xmMenu/XmMenuMng"; +import xmMenuMng from "../xmMenu/XmMenuBox"; import xmTestCaseExecMng from "../xmTestCaseExec/XmTestCaseExecMng"; -import XmIterationForLinkComplex from "../xmIteration/XmIterationForLinkComplex.vue"; +import XmIterationForLinkComplex from "../xmIteration/XmIterationMng.vue"; import XmProjectOverviewComplex from "./XmProjectOverviewComplex.vue"; -import XmProductForLinkComplex from "../xmProduct/XmProductForLinkComplex.vue"; +import XmProductForLinkComplex from "../xmProductProjectLink/XmProductProjectLinkMng.vue"; import XmWorkloadSetDayList from "../xmTaskWorkload/WorkloadSetDayList.vue"; import XmWorkloadSetMonthList from "../xmTaskWorkload/WorkloadSetMonthList.vue"; @@ -810,11 +807,7 @@ export default { }, showMenusPage(){ - this.infotype='产品' - this.$nextTick(()=>{ - this.$refs['xmProductComplex'].showPanel="menus" - }) - + this.infotype='需求' }, linkProduct(){ this.$refs['项目概览'].showPanelName='productProjectLink' @@ -847,7 +840,7 @@ export default { XmReport, XmPlan, XmWorkloadSetDayList, - XmWorkloadSetMonthList + XmWorkloadSetMonthList, //在下面添加其它组件 }, mounted() {