dev_2022-05-11
e 3 years ago
parent b7f2939295
commit 4c8932f465
  1. 9
      src/pages/achievement/vir/index.vue

@ -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) {

Loading…
Cancel
Save