|
|
|
@ -83,7 +83,7 @@ export default { |
|
|
|
|
total: 0, |
|
|
|
|
peopleNum: 0, // 总人数 |
|
|
|
|
avgScore: 0, // 平均分 |
|
|
|
|
token: btoa(util.local.get(Setting.tokenKey)), |
|
|
|
|
token: util.local.get(Setting.tokenKey), |
|
|
|
|
}; |
|
|
|
|
}, |
|
|
|
|
watch: { |
|
|
|
@ -95,7 +95,6 @@ export default { |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
mounted() { |
|
|
|
|
console.log(this.$route.query.permissions) |
|
|
|
|
this.getData(); |
|
|
|
|
}, |
|
|
|
|
methods: { |
|
|
|
@ -117,7 +116,6 @@ export default { |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
show(row) { |
|
|
|
|
console.log(row) |
|
|
|
|
if (this.permissions) { |
|
|
|
|
this.$router.push(`show?id=${row.projectId}&projectId=${this.projectId}&reportId=${row.reportId}`); |
|
|
|
|
} else { |
|
|
|
@ -215,7 +213,7 @@ export default { |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
goBack() { |
|
|
|
|
this.$router.back(); |
|
|
|
|
this.$router.push("/achievement/list?per=2"); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|