!144 fix(xispeak): 统计标签随搜索/筛选/增删改同步刷新

Merge pull request !144 from wsm/fix/xi_speak_status
This commit is contained in:
wsm
2026-08-10 09:49:12 +00:00
committed by Gitee
+10
View File
@@ -259,6 +259,7 @@ import { PARTY_COMMITTEE_DEPT_ID, SDW_LEADER_ROLE_ID } from '/@/constant/supervi
queryParam.value[k] = params[k]; queryParam.value[k] = params[k];
}); });
reload(); reload();
fetchStatusStats();
} }
async function fetchStatusStats() { async function fetchStatusStats() {
@@ -326,6 +327,7 @@ import { PARTY_COMMITTEE_DEPT_ID, SDW_LEADER_ROLE_ID } from '/@/constant/supervi
if (res.success) { if (res.success) {
createMessage.success(res.message || '删除流程成功'); createMessage.success(res.message || '删除流程成功');
reload(); reload();
fetchStatusStats();
} else { } else {
createMessage.error(res.message || '删除流程失败'); createMessage.error(res.message || '删除流程失败');
} }
@@ -345,6 +347,7 @@ import { PARTY_COMMITTEE_DEPT_ID, SDW_LEADER_ROLE_ID } from '/@/constant/supervi
function success() { function success() {
selectedRowKeys.value = []; selectedRowKeys.value = [];
reload(); reload();
fetchStatusStats();
} }
/** /**
@@ -372,6 +375,7 @@ import { PARTY_COMMITTEE_DEPT_ID, SDW_LEADER_ROLE_ID } from '/@/constant/supervi
} }
} }
} }
fetchStatusStats();
} }
/** /**
@@ -795,6 +799,7 @@ import { PARTY_COMMITTEE_DEPT_ID, SDW_LEADER_ROLE_ID } from '/@/constant/supervi
createMessage.error(`所有部门流程发起失败(共 ${total} 个)`); createMessage.error(`所有部门流程发起失败(共 ${total} 个)`);
} }
reload(); reload();
fetchStatusStats();
return; return;
} }
@@ -824,6 +829,7 @@ import { PARTY_COMMITTEE_DEPT_ID, SDW_LEADER_ROLE_ID } from '/@/constant/supervi
await saveOrUpdateDict({ id: record.id, bpmStatus: '3', supervisionCount: nextSuperviseCount, completionStatus: 0 }, true); await saveOrUpdateDict({ id: record.id, bpmStatus: '3', supervisionCount: nextSuperviseCount, completionStatus: 0 }, true);
createMessage.success('发起成功'); createMessage.success('发起成功');
reload(); reload();
fetchStatusStats();
} }
async function handlePreviewPic(record) { async function handlePreviewPic(record) {
@@ -905,6 +911,7 @@ import { PARTY_COMMITTEE_DEPT_ID, SDW_LEADER_ROLE_ID } from '/@/constant/supervi
*/ */
function searchQuery() { function searchQuery() {
reload({ page: 1 }); reload({ page: 1 });
fetchStatusStats();
} }
// 输入框逐字触发的查询做防抖,查询按钮仍走未防抖的 searchQuery // 输入框逐字触发的查询做防抖,查询按钮仍走未防抖的 searchQuery
@@ -920,6 +927,7 @@ import { PARTY_COMMITTEE_DEPT_ID, SDW_LEADER_ROLE_ID } from '/@/constant/supervi
selectedImplDept.value = []; selectedImplDept.value = [];
selectedRowKeys.value = []; selectedRowKeys.value = [];
reload({ page: 1 }); reload({ page: 1 });
fetchStatusStats();
} }
function handleImplDeptChange(values) { function handleImplDeptChange(values) {
@@ -929,6 +937,7 @@ import { PARTY_COMMITTEE_DEPT_ID, SDW_LEADER_ROLE_ID } from '/@/constant/supervi
delete queryParam.value.implDept; delete queryParam.value.implDept;
} }
reload({ page: 1 }); reload({ page: 1 });
fetchStatusStats();
} }
function handleBpmStatusChange(value) { function handleBpmStatusChange(value) {
@@ -938,6 +947,7 @@ import { PARTY_COMMITTEE_DEPT_ID, SDW_LEADER_ROLE_ID } from '/@/constant/supervi
delete queryParam.value.bpmStatus; delete queryParam.value.bpmStatus;
} }
reload({ page: 1 }); reload({ page: 1 });
fetchStatusStats();
} }
</script> </script>