|
|
|
@ -62,6 +62,7 @@ |
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
<script> |
|
|
|
|
import Setting from "@/setting"; |
|
|
|
|
import util from "@/libs/util"; |
|
|
|
|
import echarts from "echarts"; |
|
|
|
|
|
|
|
|
@ -79,7 +80,8 @@ export default { |
|
|
|
|
pageSize: 10, |
|
|
|
|
total: 0, |
|
|
|
|
peopleNum: 0, // 总人数 |
|
|
|
|
avgScore: 0 // 平均分 |
|
|
|
|
avgScore: 0, // 平均分 |
|
|
|
|
token: btoa(util.local.get(Setting.tokenKey)), |
|
|
|
|
}; |
|
|
|
|
}, |
|
|
|
|
watch: { |
|
|
|
@ -91,6 +93,7 @@ export default { |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
mounted() { |
|
|
|
|
console.log(this.$route.query.permissions) |
|
|
|
|
this.getData(); |
|
|
|
|
}, |
|
|
|
|
methods: { |
|
|
|
@ -124,9 +127,9 @@ export default { |
|
|
|
|
let ids = this.multipleSelection.map(item => { |
|
|
|
|
return item.reportId; |
|
|
|
|
}); |
|
|
|
|
location.href = `${this.api.exportPracticeInfo}?projectId=${this.projectId}&ids=${ids.toString()}`; |
|
|
|
|
location.href = `${this.api.exportPracticeInfo}?projectId=${this.projectId}&token=${this.token}&ids=${ids.toString()}`; |
|
|
|
|
} else { |
|
|
|
|
location.href = `${this.api.exportPracticeInfo}?projectId=${this.projectId}`; |
|
|
|
|
location.href = `${this.api.exportPracticeInfo}?projectId=${this.projectId}&token=${this.token}&ids=`; |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
handleDelete(row) { |
|
|
|
|