ver 1.0.19
This commit is contained in:
@@ -312,6 +312,8 @@ export default defineComponent({
|
||||
|
||||
const addRow = ref('Aggiungi')
|
||||
const actmonth = ref('')
|
||||
const drawmonth = ref(true)
|
||||
|
||||
|
||||
const newRecordBool = ref(false)
|
||||
const newRecordBoolOld = ref(false)
|
||||
@@ -331,6 +333,9 @@ export default defineComponent({
|
||||
const showSpin = ref(false)
|
||||
const showNotification = ref(false)
|
||||
|
||||
// const withdate = computed(() => shared_consts.TABLES_WITH_DATE.includes(tablesel.value))
|
||||
const withdate = ref(false)
|
||||
|
||||
const loading = ref(false)
|
||||
const alreadymounting = ref(false)
|
||||
const editOn = computed({
|
||||
@@ -2274,6 +2279,21 @@ export default defineComponent({
|
||||
}
|
||||
}
|
||||
|
||||
function setShowMonth(row: any, index: number) {
|
||||
if (actmonth.value !== tools.getstrMonth(row.dateTimeStart)) {
|
||||
actmonth.value = tools.getstrMonth(row.dateTimeStart)
|
||||
drawmonth.value = true
|
||||
} else {
|
||||
drawmonth.value = false
|
||||
}
|
||||
|
||||
return drawmonth.value
|
||||
}
|
||||
|
||||
function ifShowMonth() {
|
||||
return drawmonth.value
|
||||
}
|
||||
|
||||
/*function showNotification() {
|
||||
$router.push('/notifs')
|
||||
} */
|
||||
@@ -2386,6 +2406,9 @@ export default defineComponent({
|
||||
getNumRecFromQuery,
|
||||
actmonth,
|
||||
alreadymounting,
|
||||
withdate,
|
||||
setShowMonth,
|
||||
ifShowMonth,
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user