-
+
{{
isNumber(data.text)
? data.column.caption == '%'
@@ -181,9 +181,9 @@
@@ -204,10 +204,10 @@
column-resizing-mode="widget"
>
-
+
()
const dataSubSelected = ref()
const data = ref([])
const dataSub = ref([])
-const dialogDataSelected = ref(false)
+const dialogDetail = ref(false)
const loadingData = ref(false)
const loadingSubData = ref(false)
-const closeDialogDataSelected = () => (dialogDataSelected.value = false)
+const closedialogDetail = () => (dialogDetail.value = false)
const getDetail = () => {
loadingSubData.value = true
@@ -857,8 +857,6 @@ const getDetail = () => {
query
)
- refetch(query)
-
onResult((queryResult) => {
if (queryResult.data != undefined) {
dataSub.value = queryResult.data.detailGangguan
@@ -873,11 +871,11 @@ const getDetail = () => {
loadingSubData.value = value
})
}
-const showDialogDataSelected = () => {
+const showDetail = () => {
if (dataSelected.value != null) {
dataSub.value = []
dataSubSelected.value = null
- dialogDataSelected.value = true
+ dialogDetail.value = true
getDetail()
}
}
@@ -913,7 +911,7 @@ const onExporting = (e: any) => {
const onDataSelectionChanged = ({ selectedRowsData }: any) => {
dataSelected.value = selectedRowsData[0]
- showDialogDataSelected()
+ showDetail()
}
const onDataSubSelectionChanged = ({ selectedRowsData }: any) => {
diff --git a/src/components/Pages/Gangguan/Daftar/DGangguan_BM.vue b/src/components/Pages/Gangguan/Daftar/DGangguan_BM.vue
index 553ee14..f0f8607 100755
--- a/src/components/Pages/Gangguan/Daftar/DGangguan_BM.vue
+++ b/src/components/Pages/Gangguan/Daftar/DGangguan_BM.vue
@@ -20,10 +20,10 @@
column-resizing-mode="widget"
>
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+