refactor: remove in-country-notice group from meta manager and file
This commit is contained in:
parent
ba717813a1
commit
5237d2cd5b
1 changed files with 2 additions and 8 deletions
|
|
@ -21,14 +21,8 @@ const useEmployeeStore = defineStore('api-employee', () => {
|
||||||
const data = ref<Pagination<Employee[]>>();
|
const data = ref<Pagination<Employee[]>>();
|
||||||
const globalOption = ref();
|
const globalOption = ref();
|
||||||
const ownerOption = ref<CustomerBranch[]>();
|
const ownerOption = ref<CustomerBranch[]>();
|
||||||
const fileManager = manageFile<'passport' | 'visa' | 'in-country-notice'>(
|
const fileManager = manageFile<'passport' | 'visa'>(api, 'employee');
|
||||||
api,
|
const metaManager = manageMeta<'passport' | 'visa'>(api, 'employee');
|
||||||
'employee',
|
|
||||||
);
|
|
||||||
const metaManager = manageMeta<'passport' | 'visa' | 'in-country-notice'>(
|
|
||||||
api,
|
|
||||||
'employee',
|
|
||||||
);
|
|
||||||
|
|
||||||
async function fetchById(id: string) {
|
async function fetchById(id: string) {
|
||||||
const res = await api.get<Employee>(`/employee/${id}`);
|
const res = await api.get<Employee>(`/employee/${id}`);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue