删除测试调试语句
This commit is contained in:
parent
d0aa46f87d
commit
2bb287dda9
@ -75,14 +75,9 @@ async function handleSearch() {
|
|||||||
|
|
||||||
if (searchForm.department) {
|
if (searchForm.department) {
|
||||||
queryParams.sectionID = searchForm.department
|
queryParams.sectionID = searchForm.department
|
||||||
console.log('选中的科室ID:', searchForm.department)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log('查询参数:', queryParams)
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const res = await itemsApi.getitemsPage(queryParams)
|
const res = await itemsApi.getitemsPage(queryParams)
|
||||||
console.log('查询结果:', res)
|
|
||||||
if (res) {
|
if (res) {
|
||||||
tableData.value = res.list || []
|
tableData.value = res.list || []
|
||||||
total.value = res.total || 0
|
total.value = res.total || 0
|
||||||
@ -107,7 +102,6 @@ const getDepartmentList = async () => {
|
|||||||
value: item.departmentCode,
|
value: item.departmentCode,
|
||||||
label: item.departmentName
|
label: item.departmentName
|
||||||
}))
|
}))
|
||||||
console.log('科室列表数据:', departmentOptions.value)
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error('获取科室列表错误:', error)
|
console.error('获取科室列表错误:', error)
|
||||||
ElMessage.error('获取科室列表失败')
|
ElMessage.error('获取科室列表失败')
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user