view workflow leave perm
This commit is contained in:
parent
d5a4541830
commit
79f829fa3d
1 changed files with 13 additions and 0 deletions
|
|
@ -235,6 +235,18 @@ function filterSelector(val: string, update: Function, refData: string) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function updatedLists() {
|
||||||
|
console.log(formFilter.name);
|
||||||
|
|
||||||
|
if (formFilter.name == "SYS_LEAVE_LIST_EMP") {
|
||||||
|
formFilter.type = "EMP";
|
||||||
|
formFilter.level = "EMP";
|
||||||
|
} else {
|
||||||
|
formFilter.type = "";
|
||||||
|
formFilter.level = "";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
onMounted(async () => {
|
onMounted(async () => {
|
||||||
showLoader();
|
showLoader();
|
||||||
await Promise.all([fetchType(), fetchWorkflowList()]).finally(() => {
|
await Promise.all([fetchType(), fetchWorkflowList()]).finally(() => {
|
||||||
|
|
@ -275,6 +287,7 @@ onMounted(async () => {
|
||||||
@filter="(inputValue: string,
|
@filter="(inputValue: string,
|
||||||
doneFn: Function) => filterSelector(inputValue, doneFn, 'name'
|
doneFn: Function) => filterSelector(inputValue, doneFn, 'name'
|
||||||
)"
|
)"
|
||||||
|
@update:model-value="updatedLists()"
|
||||||
>
|
>
|
||||||
<template v-slot:no-option>
|
<template v-slot:no-option>
|
||||||
<q-item>
|
<q-item>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue