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 @@ - - + + +