|
@@ -155,7 +155,8 @@ export default {
|
|
|
input:'',
|
|
|
token:'',
|
|
|
fullscreenLoading:false,
|
|
|
- userid:''
|
|
|
+ userid:'',
|
|
|
+ pageId:''
|
|
|
}
|
|
|
},
|
|
|
methods:{
|
|
@@ -171,6 +172,8 @@ export default {
|
|
|
},
|
|
|
data: {
|
|
|
portType: 1,
|
|
|
+ pageId:that.pageId,
|
|
|
+ userId:that.userid,
|
|
|
pageIndex: that.currentPage,
|
|
|
pageSize: that.pageSize,
|
|
|
isSure: that.value,
|
|
@@ -179,7 +182,7 @@ export default {
|
|
|
}).then(function (res) {
|
|
|
console.log(res)
|
|
|
if (res.data.code == 200) {
|
|
|
- that.groupDatas=res.data.data
|
|
|
+ that.groupDatas=res.data.data.data
|
|
|
that.count=res.data.count
|
|
|
}
|
|
|
console.log(that.count)
|
|
@@ -309,6 +312,7 @@ export default {
|
|
|
},
|
|
|
mounted(){
|
|
|
this.token=JSON.parse(localStorage.getItem('userinif')).token;
|
|
|
+ this.pageId=Number(localStorage.getItem('indexs').split('-')[1]);//页面id
|
|
|
this.userid=JSON.parse(localStorage.getItem('userinif')).userInfo.userId;
|
|
|
this.PostGroupPageList();
|
|
|
}
|