ver "0.5.8"
Lista movimenti in formato Tabella
This commit is contained in:
@@ -21,7 +21,7 @@ import { CNotifAtTop } from '@src/components/CNotifAtTop'
|
||||
import { costanti } from '@costanti'
|
||||
import { ICity, IFriends, ICircuit, ISearchList, IUserFields, IAccount } from 'model'
|
||||
import { shared_consts } from '@/common/shared_vuejs'
|
||||
import { colmyUserPeople, colmyUserCircuit, colmyMovement } from '@store/Modules/fieldsTable'
|
||||
import { colmyUserPeople, colmyUserCircuit, colmyMovement, colmyMovementTable } from '@store/Modules/fieldsTable'
|
||||
import { useNotifStore } from '@store/NotifStore'
|
||||
import { useCircuitStore } from '@store/CircuitStore'
|
||||
|
||||
@@ -39,6 +39,9 @@ export default defineComponent({
|
||||
const $q = useQuasar()
|
||||
const { t } = useI18n()
|
||||
|
||||
const showonlymine = ref(true)
|
||||
const tabellare = ref(false)
|
||||
|
||||
const animation = ref('fade')
|
||||
|
||||
const path = computed(() => $route.params.path ? $route.params.path.toString() : '')
|
||||
@@ -161,13 +164,21 @@ export default defineComponent({
|
||||
}
|
||||
}
|
||||
|
||||
function extraparams_movs() {
|
||||
return {
|
||||
querytype: shared_consts.QUERYTYPE_LIST_MOVEMENTS,
|
||||
myid: circuit.value ? circuit.value._id : '',
|
||||
username: userStore.my.username,
|
||||
const extraparams_movs = (() => {
|
||||
if (showonlymine.value) {
|
||||
return {
|
||||
querytype: shared_consts.QUERYTYPE_LIST_MOVEMENTS,
|
||||
myid: circuit.value ? circuit.value._id : '',
|
||||
username: userStore.my.username,
|
||||
}
|
||||
} else {
|
||||
return {
|
||||
querytype: shared_consts.QUERYTYPE_LIST_ALLMOVEMENTS,
|
||||
myid: circuit.value ? circuit.value._id : '',
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
function extraparams_refused() {
|
||||
return {
|
||||
@@ -209,6 +220,7 @@ export default defineComponent({
|
||||
filtercustom_rich,
|
||||
searchList,
|
||||
colmyMovement,
|
||||
colmyMovementTable,
|
||||
colmyUserPeople,
|
||||
colmyUserCircuit,
|
||||
extraparams,
|
||||
@@ -230,6 +242,8 @@ export default defineComponent({
|
||||
circuitStore,
|
||||
qtarem,
|
||||
saldo,
|
||||
showonlymine,
|
||||
tabellare,
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user