This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script setup lang="ts"> | |
import { ref, onMounted } from 'vue' | |
import { storeToRefs } from 'pinia'; | |
import { useContractorStore } from '@/stores/contractor'; | |
import { useFilter } from '@/composables/useFilter'; | |
import ContractorModal from '@/components/modals/ContractorModal.vue' | |
const contractorStore = useContractorStore(); | |
const { setSelectedContractor, getContractors, getStatusName } = contractorStore; | |
const { Contractors } = storeToRefs(contractorStore) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
//SIMPLIFICADO AQUI PUEDE HABER COSAS MAL PORQUE LO HAGO UN POCO DE CABEZA | |
<select placeholder="Select country" | |
@change="filterList(testing2,filters,details, selectedFilter)" | |
name="details" | |
id="details" | |
class="details form-sel" | |
v-model="selectedFilter"> | |
<option value="All">details List</option> | |
<option v-for="item of testing2" :value="item"> {{ item }}</option> |