feat(xispeak): 牵头部门筛选支持多选,FIND_IN_SET AND 逻辑

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
wsm
2026-07-23 11:17:38 +08:00
co-authored by Claude Opus 4.7
parent bb6fbbc7e8
commit 0fd3029105
+12 -1
View File
@@ -11,7 +11,7 @@
</a-col>
<a-col :lg="6" :md="8" :sm="12">
<a-form-item label="牵头部门" name="implDept">
<SzSelectDept v-model:value="queryParam.implDept" placeholder="选择牵头部门" allow-clear style="width: 100%" @change="searchQuery" />
<SzSelectDept v-model:value="selectedImplDept" :multiple="true" placeholder="选择牵头部门" allow-clear style="width: 100%" @change="handleImplDeptChange" />
</a-form-item>
</a-col>
<a-col :lg="6" :md="8" :sm="12">
@@ -181,6 +181,7 @@ import { PARTY_COMMITTEE_DEPT_ID, SDW_LEADER_ROLE_ID } from '/@/constant/supervi
const feedbackRightNowModalRef = ref();
const businessProcessListModalRef = ref();
const bpmStatusFilter = ref();
const selectedImplDept = ref([]);
const currentBusinessId = ref('');
const pendingFeedbackRightNow = ref(0);
const statsData = reactive({ notStarted: 0, inProgress: 0, overdue: 0, completed: 0 });
@@ -895,10 +896,20 @@ import { PARTY_COMMITTEE_DEPT_ID, SDW_LEADER_ROLE_ID } from '/@/constant/supervi
formRef.value?.resetFields();
clearQueryParams();
bpmStatusFilter.value = undefined;
selectedImplDept.value = [];
selectedRowKeys.value = [];
reload({ page: 1 });
}
function handleImplDeptChange(values) {
if (values && values.length > 0) {
queryParam.value.implDept = values.join(',');
} else {
delete queryParam.value.implDept;
}
reload({ page: 1 });
}
function handleBpmStatusChange(value) {
if (value != null) {
queryParam.value.bpmStatus = value;