From c102d3bb669a7db2679cc9604146e2ce7b066783 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Fri, 15 Sep 2023 12:40:12 +0700 Subject: [PATCH] select insigia --- src/modules/07_insignia/components/2_Manage/Tab1.vue | 4 ++-- src/modules/07_insignia/components/2_Manage/Tab2.vue | 4 ++-- src/modules/07_insignia/components/2_Manage/Tab3.vue | 4 ++-- src/modules/07_insignia/store.ts | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/modules/07_insignia/components/2_Manage/Tab1.vue b/src/modules/07_insignia/components/2_Manage/Tab1.vue index ca40c434b..3d0e9f617 100644 --- a/src/modules/07_insignia/components/2_Manage/Tab1.vue +++ b/src/modules/07_insignia/components/2_Manage/Tab1.vue @@ -581,9 +581,9 @@ const closeModalEdit = () => { :options="organizationOptions" option-value="id" option-label="name" lazy-rules hide-bottom-space :readonly="false" :borderless="false" :outlined="true" :hide-dropdown-icon="false" style="min-width: 150px" @update:model-value="changtypeOc" /> - { :borderless="false" :outlined="true" :hide-dropdown-icon="false" - style="min-width: 150px" + style="min-width: 180px" @update:model-value=" DataStore.searchDataTable( DataStore.typeinsignia, diff --git a/src/modules/07_insignia/components/2_Manage/Tab3.vue b/src/modules/07_insignia/components/2_Manage/Tab3.vue index 834f1f600..ba0b431b1 100644 --- a/src/modules/07_insignia/components/2_Manage/Tab3.vue +++ b/src/modules/07_insignia/components/2_Manage/Tab3.vue @@ -231,7 +231,7 @@ const closeReson = () => { /> { :borderless="false" :outlined="true" :hide-dropdown-icon="false" - style="min-width: 150px" + style="min-width: 180px" @update:model-value=" DataStore.searchDataTable( DataStore.typeinsignia, diff --git a/src/modules/07_insignia/store.ts b/src/modules/07_insignia/store.ts index 024062a6b..6890179ff 100644 --- a/src/modules/07_insignia/store.ts +++ b/src/modules/07_insignia/store.ts @@ -85,9 +85,9 @@ export const useInsigniaDataStore = defineStore("insignia", () => { }; const searchDataTable = async (type: string, employeeClass: string) => { if (type !== 'all' && employeeClass !== 'all') { - rows.value = listinsignia.value.filter((e: any) => e.insigniaType === type && e.employeeType === profileType(employeeClass)) + rows.value = listinsignia.value.filter((e: any) => e.insigniaSend === type && e.employeeType === profileType(employeeClass)) } else if (type !== 'all' && employeeClass === 'all') { - rows.value = listinsignia.value.filter((e: any) => e.insigniaType === type) + rows.value = listinsignia.value.filter((e: any) => e.insigniaSend === type) } else if (type === 'all' && employeeClass !== 'all') { rows.value = listinsignia.value.filter((e: any) => e.employeeType === profileType(employeeClass)) } else if (type === 'all' && employeeClass === 'all') {