@@ -160,14 +160,14 @@
}
})
},
- toTeamPerformance(){
- // this.$router.push({
- // path: '/teamPerformance',
- // query: {
- // // type: type,
- // // level_id: id,
- // }
- // })
+ toTeamPerformance(id){
+ // console.log(id,'---id');
+ this.$router.push({
+ path: '/teamPerformance',
+ query: {
+ lid:id,
+ }
+ })
},
}
}
diff --git a/src/views/teamList/index.vue b/src/views/teamList/index.vue
index dbb9a4e..dd139ee 100644
--- a/src/views/teamList/index.vue
+++ b/src/views/teamList/index.vue
@@ -46,7 +46,7 @@
error: false,
type:'',
level_id:'',
- today_month:this.$route.query.today_month,
+ id:'',
}
},
filters: {
@@ -69,6 +69,10 @@
}
},
created() {
+ if(this.$route.query.id){
+ console.log(`2222222222222222`);
+ this.id = this.$route.query.id
+ }
this.getList()
},
methods: {
@@ -76,6 +80,7 @@
const res = await data.poxyList({
type: this.$route.query.type,
level_id: this.$route.query.level_id,
+ user_id:this.id,
page:++this.list.curPage,
})
const information = res.data.data
diff --git a/src/views/teamPerformance/index.vue b/src/views/teamPerformance/index.vue
index 283b115..7aed746 100644
--- a/src/views/teamPerformance/index.vue
+++ b/src/views/teamPerformance/index.vue
@@ -134,6 +134,7 @@
data() {
return {
list: {},
+ id:'',
}
},
filters: {
@@ -142,6 +143,8 @@
},
},
created() {
+ this.id = this.$route.query.lid
+ console.log(this.id,'-----------------');
this.getData()
},
methods: {
@@ -151,13 +154,14 @@
console.log(this.list, '---this.list');
},
toTeamList(type, id) {
- // this.$router.push({
- // path: '/teamList',
- // query: {
- // type: type,
- // level_id: id,
- // }
- // })
+ this.$router.push({
+ path: '/teamList',
+ query: {
+ type: type,
+ level_id: id,
+ id:this.id,
+ }
+ })
},
}
}