修改导出接口

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

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

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

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

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

Loading…
Cancel
Save