活动页面完善
This commit is contained in:
@@ -81,6 +81,7 @@
|
||||
totalPage: 0,
|
||||
dataListLoading: false,
|
||||
dataListSelections: [],
|
||||
listIndex: -1
|
||||
}
|
||||
},
|
||||
create(){
|
||||
@@ -94,7 +95,7 @@
|
||||
this.$bus.$on("getListInMes", (data) => {
|
||||
this.selectTitle = data.selectTitle
|
||||
this.oldSelected = data.ProductList
|
||||
|
||||
this.listIndex = data.ProductListIndex
|
||||
});
|
||||
},methods:{
|
||||
// 判断初始选中的产品
|
||||
@@ -117,7 +118,8 @@
|
||||
},
|
||||
sedSelectPro(){
|
||||
console.log(this.dataListSelections)
|
||||
this.$bus.$emit('haveSelected', {title:this.selectTitle,list:this.dataListSelections})
|
||||
this.$bus.$emit('haveSelected', {title:this.selectTitle,list:this.dataListSelections, listIndex: this.listIndex})
|
||||
this.listIndex = null
|
||||
this.handleClose()
|
||||
},
|
||||
// 获取数据列表
|
||||
|
||||
Reference in New Issue
Block a user