fix(qc): 科研捐赠协议状态空选不限制,mine 请求带上过滤

空协议状态改为不限制而非无结果,避免搜索像失效;我的质检任务
mine 接口与前端请求补传 protocolStatus,与质检工单列表语义对齐。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
zlwuandCursor committed 2026-11-21 06:33:51 +08:00
1 parent 95b07639e8
commit 2bc20e695f
10 files changed
+36 -21

No files matched your search

@@ -153,6 +153,10 @@ export function useQcWorkOrderTabPage(
keyword: searchForm.keyword || undefined,
taskStatus: searchForm.taskStatus || undefined,
taskType: searchForm.taskType || undefined,
protocolStatus:
tabKey.value === 'inbound_research_donation'
? joinProtocolStatusFilter(searchForm.protocolStatus)
: undefined,
tabKey: tabKey.value
})
let entries = groupMineTasksByWorkOrder(tasks)
@@ -172,12 +176,6 @@ export function useQcWorkOrderTabPage(
}
const tab = tabConfig.value
if (tabKey.value === 'inbound_research_donation' && !searchForm.protocolStatus.length) {
tableData.value = []
presetBatchesByWorkOrderId.value = undefined
pagination.total = 0
return
}
const timeParams =
isAllQcWorkOrderTab(tabKey.value) || !tabUsesInfusionTimeFilter(tab)
? {