This commit is contained in:
shidongli 2024-06-06 15:08:49 +08:00
parent f93fbe89c3
commit 04b76ddc4c

View File

@ -100,7 +100,7 @@
<script>
import { listQuestion, getQuestion, delQuestion, addQuestion, updateQuestion, getDepartmentList, selectUserDepartment, diseaseList, updateclassification } from "@/api/system/question";
import Cookies from 'js-cookie'
export default {
name: "Question",
data() {
@ -258,8 +258,7 @@ export default {
/** 查询科室下拉树结构 */
getTreeselect() {
getDepartmentList({
departmentName: this.departmentName,
userId:Cookies.get('userId')
departmentName: this.departmentName
}).then(response => {
// response.data.forEach(e => {
// e.label = e.departmentName
@ -370,4 +369,4 @@ export default {
}
}
}
</style>
</style>