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

Loading…
Cancel
Save