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,
|
||||
passport: true,
|
||||
customerBranchId: props.customerBranchId,
|
||||
activeOnly: true,
|
||||
});
|
||||
|
||||
if (!ret) return false;
|
||||
|
|
|
|||
|
|
@ -44,6 +44,7 @@ const useEmployeeStore = defineStore('api-employee', () => {
|
|||
zipCode?: string;
|
||||
customerId?: string;
|
||||
customerBranchId?: string;
|
||||
activeOnly?: boolean;
|
||||
payload?: { passport?: string[] };
|
||||
}) {
|
||||
const { payload, ...params } = opts || {};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue