refactor: remove unused

This commit is contained in:
Methapon Metanipat 2024-10-17 09:17:54 +07:00
parent 624d6facd4
commit b1cbb8cad3

View file

@ -69,9 +69,8 @@ const selectedEmployee = ref<Employee[]>([]);
const pageState = reactive({
hideStat: false,
inputSearch: '',
statusFilter: 'all',
fieldSelected: [],
gridView: false,
gridView: true,
currentTab: 'all',
addModal: false,
@ -378,29 +377,10 @@ watch(() => pageState.currentTab, fetchQuotationList);
</q-input>
<div
class="row col-12 col-md-5"
class="row col-12 col-md-4 justify-end"
:class="{ 'q-pt-xs': $q.screen.lt.md }"
style="white-space: nowrap"
>
<q-select
v-model="pageState.statusFilter"
outlined
dense
option-value="value"
option-label="label"
class="col"
:class="{ 'offset-md-5': pageState.gridView }"
map-options
emit-value
:for="'field-select-status'"
:hide-dropdown-icon="$q.screen.lt.sm"
:options="[
{ label: $t('general.all'), value: 'all' },
{ label: $t('general.active'), value: 'active' },
{ label: $t('general.inactive'), value: 'inactive' },
]"
></q-select>
<q-select
v-if="!pageState.gridView"
id="select-field"
@ -493,7 +473,6 @@ watch(() => pageState.currentTab, fetchQuotationList);
pageState.currentTab = tab;
pageState.inputSearch = '';
pageState.statusFilter = 'all';
flowStore.rotate();
}