修改导出接口

dev_2022-05-11
e 3 years ago
parent 0974ad6b2e
commit bd93eb4dd7
  1. 10
      src/pages/achievement/list/index.vue
  2. 2
      src/pages/achievement/teach/index.vue
  3. 6
      src/pages/achievement/vir/index.vue
  4. 2
      src/pages/project/add/index.vue
  5. 2
      src/pages/project/add/index.vue.copy

@ -106,7 +106,7 @@ export default {
classList: [], classList: [],
curriculumId: "", curriculumId: "",
curriculumList: [], curriculumList: [],
projectPermissions: this.$route.query.per ? Number(this.$route.query.per) : 0, projectPermissions: 0,
keyword: "", keyword: "",
searchTimer: null, searchTimer: null,
startingtime: "", startingtime: "",
@ -169,6 +169,14 @@ export default {
} }
}, },
mounted() { mounted() {
let per = this.$route.query.per
console.log(per)
if(per == '1'){
per = 1
}else{
per = 0
}
this.projectPermissions = per
this.getschoolCourse(); this.getschoolCourse();
this.getClassData(); this.getClassData();
}, },

@ -101,7 +101,7 @@ export default {
total: 0, total: 0,
peopleNum: 0, // peopleNum: 0, //
avgScore: 0, // avgScore: 0, //
token: btoa(util.local.get(Setting.tokenKey)), token: util.local.get(Setting.tokenKey),
}; };
}, },
watch: { watch: {

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

@ -194,7 +194,7 @@ export default {
return { return {
projectId: this.$route.query.projectId, projectId: this.$route.query.projectId,
systemList: [], systemList: [],
token: btoa(util.local.get(Setting.tokenKey)), token: util.local.get(Setting.tokenKey),
isDetail: Boolean(this.$route.query.show), isDetail: Boolean(this.$route.query.show),
projectManage: { projectManage: {

@ -279,7 +279,7 @@ export default {
isHh: Setting.isHh, isHh: Setting.isHh,
id: this.$route.query.id, id: this.$route.query.id,
systemList: Setting.systemList, systemList: Setting.systemList,
token: btoa(util.local.get(Setting.tokenKey)), token: util.local.get(Setting.tokenKey),
userIdEd: this.userId, userIdEd: this.userId,
systemId: this.$store.state.project.lastSystemId, systemId: this.$store.state.project.lastSystemId,
isDetail: Boolean(this.$route.query.show), isDetail: Boolean(this.$route.query.show),

Loading…
Cancel
Save