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