diff --git a/openhis-ui-vue3/src/views/inpatientDoctor/home/components/adviceBaseList.vue b/openhis-ui-vue3/src/views/inpatientDoctor/home/components/adviceBaseList.vue index 3802ebdab..8bc5c4de9 100755 --- a/openhis-ui-vue3/src/views/inpatientDoctor/home/components/adviceBaseList.vue +++ b/openhis-ui-vue3/src/views/inpatientDoctor/home/components/adviceBaseList.vue @@ -51,7 +51,7 @@ const currentSelectRow = ref({}); const queryParams = ref({ pageSize: 100, pageNo: 1, - adviceTypes: '1,2,3,6', + adviceTypes: [1, 2, 3, 6], searchKey: '', organizationId: '', categoryCode: '', @@ -88,10 +88,10 @@ const tableColumns = computed(() => [ function refresh(adviceType: any, categoryCode: string, searchKey: string) { // 有搜索词时跨类型搜索,避免用户输入"级护理"但因当前adviceType为药品而搜不到诊疗类护理项目 if (searchKey) { - queryParams.value.adviceTypes = '1,2,3,6'; + queryParams.value.adviceTypes = [1, 2, 3, 6]; } else { queryParams.value.adviceTypes = - adviceType !== undefined && adviceType !== '' ? String(adviceType) : '1,2,3,6'; + adviceType !== undefined && adviceType !== '' ? [parseInt(adviceType)] : [1, 2, 3, 6]; } queryParams.value.categoryCode = categoryCode || ''; queryParams.value.searchKey = searchKey || '';