Update version.json to 0.0.129-vm

This commit is contained in:
Dede Fuji Abdul
2024-04-20 16:05:55 +07:00
parent 050e0b93a0
commit 50a6eb0a07
7 changed files with 41 additions and 28 deletions

View File

@ -15,22 +15,38 @@ import { onMounted, ref, watch } from 'vue'
const uidPlaceholder = 'Semua Unit Induk Distribusi/Wilayah'
const up3placeholder = 'Semua Unit Pelaksanaan Pelayanan Pelanggan'
const poskoPlaceholder = 'Semua Posko'
const up3 = ref({ id: 0, name: up3placeholder })
const uid = ref({ id: 0, name: uidPlaceholder })
const posko = ref({ id: 0, name: poskoPlaceholder })
const props = defineProps({
uid: {
type: Object,
default: { id: 0, name: uidPlaceholder }
},
up3: {
type: Object,
default: { id: 0, name: up3placeholder }
},
posko: {
type: Object,
default: { id: 0, name: poskoPlaceholder }
},
periode: {
type: String,
default: `${new Date().getDate().toString().length == 1 ? `0${new Date().getDate()}` : new Date().getDate()}-${(new Date().getMonth() + 1).toString().length == 1 ? `0${new Date().getMonth() + 1}` : new Date().getMonth() + 1}-${new Date().getFullYear()} s/d ${new Date().getDate().toString().length == 1 ? `0${new Date().getDate()}` : new Date().getDate()}-${(new Date().getMonth() + 1).toString().length == 1 ? `0${new Date().getMonth() + 1}` : new Date().getMonth() + 1}-${new Date().getFullYear()}`
},
showPosko: {
type: Boolean,
default: true
}
})
const up3 = ref(props.up3)
const uid = ref(props.uid)
const posko = ref(props.posko)
const emit = defineEmits(['update:filters'])
const data = ref({
uid: uid.value,
up3: up3.value,
posko: posko.value,
periode: ''
})
defineProps({
showPosko: {
type: Boolean,
default: true
}
periode: props.periode
})
watch(data.value, (value) => {