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
@@ -26,22 +26,30 @@ export default {
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
created() {
|
||||
this.startLoading()
|
||||
async created() {
|
||||
await this._startLoading()
|
||||
},
|
||||
|
||||
methods: {
|
||||
async startLoading() {
|
||||
if (!this.content)
|
||||
this.loader = await this.$loading.show()
|
||||
async _startLoading() {
|
||||
this.loader = await this.$loading.show()
|
||||
},
|
||||
|
||||
_stopLoading() {
|
||||
this.loader.hide()
|
||||
}
|
||||
},
|
||||
|
||||
watch: {
|
||||
content(newValue) {
|
||||
if (newValue)
|
||||
this.loader.hide()
|
||||
content(value) {
|
||||
console.log(`XX: ${value}`)
|
||||
|
||||
if (value) {
|
||||
this._stopLoading()
|
||||
console.log(' STOP LOADING')
|
||||
}
|
||||
else
|
||||
this._startLoading()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user