|
|
@@ -1200,6 +1200,14 @@ const openDetailByItem = async (item: { originalData?: RawPolicyItem; support_ob
|
|
|
const openPolicyList = async () => {
|
|
|
selectedPolicyOverride.value = null;
|
|
|
panelMode.value = "list";
|
|
|
+
|
|
|
+ // 每次进入都重置筛选:部门 / 分类 / 关键词 / 页码
|
|
|
+ // 否则上次的筛选会残留,表现为"条目少"或"筛不出东西"
|
|
|
+ currentPage.value = 1;
|
|
|
+ searchKeyword.value = "";
|
|
|
+ currentDeptFilter.value = "全部部门";
|
|
|
+ currentFilterOption.value = "所有分类";
|
|
|
+
|
|
|
const openTicket = modalMutex?.requestOpen(policyModalId);
|
|
|
await nextTick();
|
|
|
if (modalMutex && openTicket !== undefined && !modalMutex.isCurrentRequest(policyModalId, openTicket)) return;
|