This commit is contained in:
2024-07-12 15:13:58 +08:00
parent 97d5b8e484
commit 541c4db0d0
2 changed files with 2 additions and 4 deletions

View File

@ -592,11 +592,9 @@ export default {
this.departmentlist = res.data this.departmentlist = res.data
}) })
if (this.$route.query.departmentId) { if (this.$route.query.departmentId) {
this.list.departmentId = Number(this.$route.query.departmentId)
this.changedepartment(this.$route.query.departmentId) this.changedepartment(this.$route.query.departmentId)
} }
if (this.$route.query.adddepartmentId) {
this.list.departmentId = Number(this.$route.query.adddepartmentId)
}
}, },
computed: { computed: {
questionnaireTotalScore: function () { questionnaireTotalScore: function () {

View File

@ -344,7 +344,7 @@ export default {
query: { query: {
path: "/knowledge/question", path: "/knowledge/question",
hospitalAgencyId: this.queryParams.hospitalAgencyId, hospitalAgencyId: this.queryParams.hospitalAgencyId,
adddepartmentId: this.queryParams.departmentId departmentId: this.queryParams.departmentId
}, },
}); });
// }) // })