fix: error not defined
This commit is contained in:
parent
4b2760b500
commit
5885b3e11c
1 changed files with 11 additions and 17 deletions
|
|
@ -1,7 +1,6 @@
|
|||
<script setup lang="ts">
|
||||
import { ref, onMounted } from 'vue';
|
||||
import useUserStore from 'stores/user';
|
||||
import { Status } from 'stores/types';
|
||||
import { storeToRefs } from 'pinia';
|
||||
|
||||
import PersonCard from 'src/components/home/PersonCard.vue';
|
||||
|
|
@ -18,23 +17,18 @@ onMounted(async () => {
|
|||
await userStore.fetchList();
|
||||
});
|
||||
|
||||
const branchStat = ref([
|
||||
{ label: 'Branch A', amount: 1 },
|
||||
{ label: 'Branch B', amount: 5 },
|
||||
{ label: 'Branch C', amount: 3 },
|
||||
]);
|
||||
|
||||
const selectorLabel = ref('');
|
||||
const selectorList = [
|
||||
{
|
||||
label: 'personnelSelector1',
|
||||
count: 0,
|
||||
},
|
||||
{
|
||||
label: 'personnelSelector2',
|
||||
count: 0,
|
||||
},
|
||||
{
|
||||
label: 'personnelSelector3',
|
||||
count: 0,
|
||||
},
|
||||
{
|
||||
label: 'personnelSelector4',
|
||||
count: 0,
|
||||
},
|
||||
{ label: 'personnelSelector1', count: 0 },
|
||||
{ label: 'personnelSelector2', count: 0 },
|
||||
{ label: 'personnelSelector3', count: 0 },
|
||||
{ label: 'personnelSelector4', count: 0 },
|
||||
] satisfies InstanceType<typeof SelectorList>['$props']['list'];
|
||||
</script>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue