Refactor code to update version numbers and fix bugs in Gangguan and Monalisa components

This commit is contained in:
Dede Fuji Abdul
2024-04-19 19:34:54 +07:00
parent 3a891bf159
commit ee034bacf9
28 changed files with 570 additions and 205 deletions

View File

@@ -734,7 +734,6 @@ import {
DxExport,
DxGroupItem,
DxGrouping,
DxLoadPanel,
DxPager,
DxPaging,
DxScrolling,
@@ -783,7 +782,7 @@ const dialogDetail = ref(false)
const closedialogDetail = () => (dialogDetail.value = false)
const loadingData = ref(false)
const loadingSubData = ref(false)
const agreeToShowDialog = ref(false)
const isDialogEnabled = ref(false)
const mediaSelected = ref<any>(null)
const reportMeta = ref<any>(computed(() => props.filters))
const groupDialog = ref(false)
@@ -794,9 +793,9 @@ const setParameterRequest = (media: any) => {
mediaSelected.value = media
if (media != null) {
agreeToShowDialog.value = true
isDialogEnabled.value = true
} else {
agreeToShowDialog.value = false
isDialogEnabled.value = false
}
}
@@ -1066,7 +1065,7 @@ const showDetail = () => {
clearSelection()
dataSub.value = []
dataSubSelected.value = null
if (agreeToShowDialog.value) {
if (isDialogEnabled.value) {
getDetail()
}
}