feat: add api param active only for employee
This commit is contained in:
parent
6c370f4020
commit
2e5f1313a5
2 changed files with 2 additions and 0 deletions
|
|
@ -228,6 +228,7 @@ async function getWorkerList() {
|
||||||
query: state.search,
|
query: state.search,
|
||||||
passport: true,
|
passport: true,
|
||||||
customerBranchId: props.customerBranchId,
|
customerBranchId: props.customerBranchId,
|
||||||
|
activeOnly: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
if (!ret) return false;
|
if (!ret) return false;
|
||||||
|
|
|
||||||
|
|
@ -44,6 +44,7 @@ const useEmployeeStore = defineStore('api-employee', () => {
|
||||||
zipCode?: string;
|
zipCode?: string;
|
||||||
customerId?: string;
|
customerId?: string;
|
||||||
customerBranchId?: string;
|
customerBranchId?: string;
|
||||||
|
activeOnly?: boolean;
|
||||||
payload?: { passport?: string[] };
|
payload?: { passport?: string[] };
|
||||||
}) {
|
}) {
|
||||||
const { payload, ...params } = opts || {};
|
const { payload, ...params } = opts || {};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue