修改问卷基本信息

This commit is contained in:
shidongli 2024-06-06 09:54:43 +08:00
parent b917a93b8d
commit f93fbe89c3

View File

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