refactor: use alias
This commit is contained in:
parent
f9494dc845
commit
be7a036b8d
31 changed files with 77 additions and 77 deletions
|
|
@ -5,10 +5,10 @@ import useAddressStore, {
|
|||
District,
|
||||
Province,
|
||||
SubDistrict,
|
||||
} from 'src/stores/address';
|
||||
import { EmployeeCheckupCreate } from 'src/stores/employee/types';
|
||||
} from 'stores/address';
|
||||
import { EmployeeCheckupCreate } from 'stores/employee/types';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import { checkTabBeforeAdd, selectFilterOptionRefMod } from 'src/stores/utils';
|
||||
import { checkTabBeforeAdd, selectFilterOptionRefMod } from 'stores/utils';
|
||||
import { QSelect } from 'quasar';
|
||||
import {
|
||||
AddButton,
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
<script setup lang="ts">
|
||||
import { QSelect } from 'quasar';
|
||||
import { selectFilterOptionRefMod } from 'src/stores/utils';
|
||||
import { selectFilterOptionRefMod } from 'stores/utils';
|
||||
import { dateFormat, parseAndFormatDate } from 'src/utils/datetime';
|
||||
import { ref } from 'vue';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import useOptionStore from 'src/stores/options';
|
||||
import useOptionStore from 'stores/options';
|
||||
import { watch } from 'vue';
|
||||
import { onMounted } from 'vue';
|
||||
|
||||
|
|
|
|||
|
|
@ -6,10 +6,10 @@ import useAddressStore, {
|
|||
District,
|
||||
Province,
|
||||
SubDistrict,
|
||||
} from 'src/stores/address';
|
||||
} from 'stores/address';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import { selectFilterOptionRefMod } from 'src/stores/utils';
|
||||
import useOptionStore from 'src/stores/options';
|
||||
import { selectFilterOptionRefMod } from 'stores/utils';
|
||||
import useOptionStore from 'stores/options';
|
||||
import { watch } from 'vue';
|
||||
|
||||
const optionStore = useOptionStore();
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
<script setup lang="ts">
|
||||
import { onMounted, ref } from 'vue';
|
||||
import { dateFormat, parseAndFormatDate } from 'src/utils/datetime';
|
||||
import { EmployeeWorkCreate } from 'src/stores/employee/types';
|
||||
import { EmployeeWorkCreate } from 'stores/employee/types';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import { checkTabBeforeAdd, selectFilterOptionRefMod } from 'src/stores/utils';
|
||||
import { checkTabBeforeAdd, selectFilterOptionRefMod } from 'stores/utils';
|
||||
import {
|
||||
AddButton,
|
||||
EditButton,
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
<script setup lang="ts">
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import { QTableColumn } from 'quasar';
|
||||
import { EmployeeHistory, NewEmployeeHistory } from 'src/stores/employee/types';
|
||||
import { EmployeeHistory, NewEmployeeHistory } from 'stores/employee/types';
|
||||
import { dateFormat } from 'src/utils/datetime';
|
||||
import NoData from '../NoData.vue';
|
||||
import { computed, onMounted, ref, watch } from 'vue';
|
||||
import useOptionStore from 'src/stores/options';
|
||||
import useOptionStore from 'stores/options';
|
||||
|
||||
const { t } = useI18n();
|
||||
const optionStore = useOptionStore();
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<script setup lang="ts">
|
||||
import { QSelect } from 'quasar';
|
||||
import { CustomerBranch } from 'src/stores/customer/types';
|
||||
import { selectFilterOptionRefMod } from 'src/stores/utils';
|
||||
import { CustomerBranch } from 'stores/customer/types';
|
||||
import { selectFilterOptionRefMod } from 'stores/utils';
|
||||
import { onMounted, ref, watch } from 'vue';
|
||||
import {
|
||||
EditButton,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue