[subTask] v-select employee, [refactor], [masterTaskDetail] formattedDates

This commit is contained in:
romankko2 committed 2023-01-20 11:19:58 +01:00
1 parent e941534b5e
commit 0a842dcb32
41 files changed
+558 -965

No files matched your search

+14 -5
View File
@@ -1,12 +1,13 @@
<template>
<form>
<A-search-result-team />
<A-search-result-team v-if="searchResults?.teams" :teams="searchResults.teams" />
<A-search-result-tasks v-if="searchResults?.tasks" :tasks="searchResults.tasks" />
</form>
</template>
<script>
import { debounce } from 'lodash-es'
import ASearchResultTeam from '@/plugins/lib@search/search/_components/a-seach-result-team.vue'
import ASearchResultTeam from '@/plugins/lib@search/search/_components/a-search-result-team.vue'
export default {
components: {
@@ -15,11 +16,19 @@ export default {
data() {
return {
search: null
searchResults: [],
search: ''
}
},
created() {
try {
this.searchResults = this.$axios.get_auth_data('v1/search')
console.log(this.searchResults)
} catch (error) {
this.$toast.error(error)
}
this.eventBus.on('onSearch', (search) => {
this.search = search
})
@@ -27,8 +36,8 @@ export default {
methods: {
debounceSearch: debounce(function () {
console.log("object")
}, 2000),
this.search
}, 300),
}
}
</script>