refactor: add byArea
This commit is contained in:
parent
c92c3601c3
commit
58fc722c41
1 changed files with 17 additions and 0 deletions
|
|
@ -25,6 +25,8 @@ const props = defineProps<{
|
||||||
const userStore = useUserStore();
|
const userStore = useUserStore();
|
||||||
const optionStore = useOptionStore();
|
const optionStore = useOptionStore();
|
||||||
|
|
||||||
|
const modelByArea = ref<boolean>(true);
|
||||||
|
|
||||||
const userInTable = defineModel<WorkflowUserInTable[]>('userInTable', {
|
const userInTable = defineModel<WorkflowUserInTable[]>('userInTable', {
|
||||||
default: [],
|
default: [],
|
||||||
});
|
});
|
||||||
|
|
@ -464,6 +466,21 @@ onMounted(async () => {
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</q-item>
|
</q-item>
|
||||||
|
|
||||||
|
<span class="text-caption app-text-muted-2 q-px-md">
|
||||||
|
{{ $t('general.area') }}
|
||||||
|
</span>
|
||||||
|
<q-item clickable class="column">
|
||||||
|
<div class="row items-center">
|
||||||
|
<q-checkbox
|
||||||
|
v-model="modelByArea"
|
||||||
|
size="xs"
|
||||||
|
></q-checkbox>
|
||||||
|
<div class="column q-pl-md">
|
||||||
|
<span>{{ $t('general.byArea') }}</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</q-item>
|
||||||
</q-list>
|
</q-list>
|
||||||
</q-menu>
|
</q-menu>
|
||||||
</q-field>
|
</q-field>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue