mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-22 06:49:35 +00:00
[subTask] v-select employee, [refactor], [masterTaskDetail] formattedDates
This commit is contained in:
1 parent
e941534b5e
commit
0a842dcb32
41 files changed
+558
-965
No files matched your search
@@ -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>
|
||||
Reference in new issue
Block a user