删除测试调试语句

This commit is contained in:
Euni4U 2025-02-28 10:32:53 +08:00
parent d0aa46f87d
commit 2bb287dda9

View File

@ -75,14 +75,9 @@ async function handleSearch() {
if (searchForm.department) {
queryParams.sectionID = searchForm.department
console.log('选中的科室ID:', searchForm.department)
}
console.log('查询参数:', queryParams)
try {
const res = await itemsApi.getitemsPage(queryParams)
console.log('查询结果:', res)
if (res) {
tableData.value = res.list || []
total.value = res.total || 0
@ -107,7 +102,6 @@ const getDepartmentList = async () => {
value: item.departmentCode,
label: item.departmentName
}))
console.log('科室列表数据:', departmentOptions.value)
} catch (error) {
console.error('获取科室列表错误:', error)
ElMessage.error('获取科室列表失败')