From 06abb3ffda64be26455d6b1fa30ad327f4e2193a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=A3=95=E8=B4=A2?= Date: Fri, 11 Mar 2022 18:10:09 +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 --- .../XmIterationLinkForProduct.vue | 21 ++++++++++++------- .../XmIterationLinkForProject.vue | 5 +++-- 2 files changed, 17 insertions(+), 9 deletions(-) diff --git a/src/views/xm/core/xmIterationLink/XmIterationLinkForProduct.vue b/src/views/xm/core/xmIterationLink/XmIterationLinkForProduct.vue index 105eebbb..79c2ae48 100644 --- a/src/views/xm/core/xmIterationLink/XmIterationLinkForProduct.vue +++ b/src/views/xm/core/xmIterationLink/XmIterationLinkForProduct.vue @@ -3,12 +3,14 @@ 选择更多产品加入迭代 选择更多迭代加入产品 + 新增迭代 - - + + + @@ -28,6 +30,11 @@ + + + + + @@ -37,12 +44,13 @@ import config from '@/common/config';//全局公共库 import { listOption } from '@/api/mdp/meta/itemOption';//下拉框数据查询 import { listXmIterationLinkWithProductInfo,addXmIterationLink, delXmIterationLink, batchDelXmIterationLink } from '@/api/xm/core/xmIterationLink'; - import XmIterationLinkAdd from './XmIterationLinkAdd';//新增界面 - import XmIterationLinkEdit from './XmIterationLinkEdit';//修改界面 + import { mapGetters } from 'vuex' import XmProductSelect from '../xmProduct/XmProductSelect.vue'; import XmIterationSelect from '../xmIteration/XmIterationSelect.vue'; + import XmIterationAdd from '../xmIteration/XmIterationAdd';//新增界面 + export default { props:['xmIteration','xmProduct'], watch:{ @@ -268,11 +276,10 @@ /**end 自定义函数请在上面加**/ },//end methods - components: { - 'xm-iteration-link-add':XmIterationLinkAdd, - 'xm-iteration-link-edit':XmIterationLinkEdit, + components: { XmProductSelect, XmIterationSelect, + XmIterationAdd, }, mounted() { this.$nextTick(() => { diff --git a/src/views/xm/core/xmIterationLink/XmIterationLinkForProject.vue b/src/views/xm/core/xmIterationLink/XmIterationLinkForProject.vue index b21394a2..2b1155ec 100644 --- a/src/views/xm/core/xmIterationLink/XmIterationLinkForProject.vue +++ b/src/views/xm/core/xmIterationLink/XmIterationLinkForProject.vue @@ -8,8 +8,9 @@ - - + + +