refactor: remove unused
This commit is contained in:
parent
624d6facd4
commit
b1cbb8cad3
1 changed files with 2 additions and 23 deletions
|
|
@ -69,9 +69,8 @@ const selectedEmployee = ref<Employee[]>([]);
|
||||||
const pageState = reactive({
|
const pageState = reactive({
|
||||||
hideStat: false,
|
hideStat: false,
|
||||||
inputSearch: '',
|
inputSearch: '',
|
||||||
statusFilter: 'all',
|
|
||||||
fieldSelected: [],
|
fieldSelected: [],
|
||||||
gridView: false,
|
gridView: true,
|
||||||
|
|
||||||
currentTab: 'all',
|
currentTab: 'all',
|
||||||
addModal: false,
|
addModal: false,
|
||||||
|
|
@ -378,29 +377,10 @@ watch(() => pageState.currentTab, fetchQuotationList);
|
||||||
</q-input>
|
</q-input>
|
||||||
|
|
||||||
<div
|
<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 }"
|
:class="{ 'q-pt-xs': $q.screen.lt.md }"
|
||||||
style="white-space: nowrap"
|
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
|
<q-select
|
||||||
v-if="!pageState.gridView"
|
v-if="!pageState.gridView"
|
||||||
id="select-field"
|
id="select-field"
|
||||||
|
|
@ -493,7 +473,6 @@ watch(() => pageState.currentTab, fetchQuotationList);
|
||||||
|
|
||||||
pageState.currentTab = tab;
|
pageState.currentTab = tab;
|
||||||
pageState.inputSearch = '';
|
pageState.inputSearch = '';
|
||||||
pageState.statusFilter = 'all';
|
|
||||||
|
|
||||||
flowStore.rotate();
|
flowStore.rotate();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue