|
@@ -100,7 +100,7 @@
|
|
|
import vanRate from "../../../wxcomponents/weapp/dist/rate/index";
|
|
|
import dynamic from "./dynamic.vue";
|
|
|
import Activity from "./activity.vue";
|
|
|
-import { getUserPower, getUserLocalStorageInfo, newNotice,getUserMainHouseKeeper, activityList, ParkInfoControllerListAll} from "@/js_sdk/http";
|
|
|
+import { getUserPower, getUserLocalStorageInfo, newNotice,getUserMainHouseKeeper, activityList, ParkInfoControllerListAll, getByGroupId} from "@/js_sdk/http";
|
|
|
export default {
|
|
|
components: {
|
|
|
Activity,
|
|
@@ -212,6 +212,7 @@ export default {
|
|
|
this.getNotice()
|
|
|
this.getActiveList()
|
|
|
this.getParkList()
|
|
|
+ this.getInfoByGroupId()
|
|
|
// this.getHouseKeeper()
|
|
|
},
|
|
|
methods: {
|
|
@@ -240,6 +241,20 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
+ getInfoByGroupId() {
|
|
|
+ const data = {
|
|
|
+ groupId : JSON.parse(uni.getStorageSync('selectGroup')).groupId
|
|
|
+ }
|
|
|
+ getByGroupId(data).then((res)=>{
|
|
|
+ this.briefImg = JSON.parse(res.briefImg)
|
|
|
+ console.log('this.briefImg',this.briefImg)
|
|
|
+ this.briefImg.forEach(item=>{
|
|
|
+ console.log('item', item)
|
|
|
+ this.envList.push({imgUrl:item.url})
|
|
|
+ })
|
|
|
+ })
|
|
|
+ console.log('this.envList', this.envList)
|
|
|
+ },
|
|
|
getActiveList(){
|
|
|
activityList(this.pages).then(res=>{
|
|
|
if (res.data.total > 0){
|