Refactor code to update version numbers and fix bugs in Gangguan and Monalisa components
This commit is contained in:
@@ -1053,7 +1053,6 @@ import {
|
||||
DxExport,
|
||||
DxGroupItem,
|
||||
DxGrouping,
|
||||
DxLoadPanel,
|
||||
DxPager,
|
||||
DxPaging,
|
||||
DxScrolling,
|
||||
@@ -1074,7 +1073,6 @@ import {
|
||||
exportToDOCX,
|
||||
exportDetailToDOCX
|
||||
} from '@/report/Anomali/Gangguan/Anomali_LAPPGU_LPT'
|
||||
import BufferDialog from '@/components/Dialogs/BufferDialog.vue'
|
||||
import { getDataRowGroup } from '@/utils/helper'
|
||||
|
||||
const position = { of: '#data' }
|
||||
@@ -1099,7 +1097,7 @@ const dataSubSelected = ref<any>(null)
|
||||
const dialogDetail = ref(false)
|
||||
const closedialogDetail = () => (dialogDetail.value = false)
|
||||
const loadingSubData = ref(false)
|
||||
const agreeToShowDialog = ref(false)
|
||||
const isDialogEnabled = ref(false)
|
||||
const reportMeta = ref<any>(computed(() => props.filters))
|
||||
const parameterRequest = ref<any>({
|
||||
media: null,
|
||||
@@ -1113,9 +1111,9 @@ const setParameterRequest = (data: any) => {
|
||||
parameterRequest.value = data
|
||||
const parameter = parameterRequest.value
|
||||
if (parameter.media != null && parameter.marking != null) {
|
||||
agreeToShowDialog.value = true
|
||||
isDialogEnabled.value = true
|
||||
} else {
|
||||
agreeToShowDialog.value = false
|
||||
isDialogEnabled.value = false
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1451,7 +1449,7 @@ const showDetail = () => {
|
||||
clearSelection()
|
||||
dataSub.value = []
|
||||
dataSubSelected.value = null
|
||||
if (agreeToShowDialog.value) {
|
||||
if (isDialogEnabled.value) {
|
||||
getDetail()
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user