diff --git a/.env.development b/.env.development
old mode 100644
new mode 100755
diff --git a/.env.production b/.env.production
old mode 100644
new mode 100755
diff --git a/.eslintrc.cjs b/.eslintrc.cjs
old mode 100644
new mode 100755
diff --git a/.github/workflows/docker-image-development.yml b/.github/workflows/docker-image-development.yml
old mode 100644
new mode 100755
diff --git a/.github/workflows/docker-image-release.yml b/.github/workflows/docker-image-release.yml
old mode 100644
new mode 100755
diff --git a/.gitignore b/.gitignore
old mode 100644
new mode 100755
diff --git a/.prettierrc.json b/.prettierrc.json
old mode 100644
new mode 100755
diff --git a/.tw-patch/tw-class-list.json b/.tw-patch/tw-class-list.json
old mode 100644
new mode 100755
diff --git a/.vscode/extensions.json b/.vscode/extensions.json
old mode 100644
new mode 100755
diff --git a/Dockerfile b/Dockerfile
old mode 100644
new mode 100755
diff --git a/README.md b/README.md
old mode 100644
new mode 100755
diff --git a/deployment.yaml b/deployment.yaml
old mode 100644
new mode 100755
diff --git a/env.d.ts b/env.d.ts
old mode 100644
new mode 100755
diff --git a/index.html b/index.html
old mode 100644
new mode 100755
diff --git a/nginx.conf b/nginx.conf
old mode 100644
new mode 100755
diff --git a/package-lock.json b/package-lock.json
old mode 100644
new mode 100755
index baae450..d1e3ff7
--- a/package-lock.json
+++ b/package-lock.json
@@ -30,6 +30,7 @@
"graphql": "^16.8.1",
"graphql-tag": "^2.12.6",
"jspdf": "^2.5.1",
+ "nvm": "^0.0.4",
"pinia": "^2.1.3",
"qs": "^6.11.2",
"react": "^18.2.0",
@@ -6905,6 +6906,15 @@
"url": "https://github.com/fb55/nth-check?sponsor=1"
}
},
+ "node_modules/nvm": {
+ "version": "0.0.4",
+ "resolved": "https://registry.npmjs.org/nvm/-/nvm-0.0.4.tgz",
+ "integrity": "sha512-jvmyELykYcdyd0VCGY0E8Aqe5MngEasVvlPvrcJHbwBMUbVqa72mPdQuPzyTcykEtEx7jDrMY0QA5MoV+8EhgA==",
+ "deprecated": "This is NOT the correct nvm. Visit https://nvm.sh and use the curl command to install it.",
+ "bin": {
+ "nvm": "bin/nvm"
+ }
+ },
"node_modules/nwsapi": {
"version": "2.2.7",
"resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.7.tgz",
diff --git a/package.json b/package.json
old mode 100644
new mode 100755
index 81bf18d..5cd537e
--- a/package.json
+++ b/package.json
@@ -37,6 +37,7 @@
"graphql": "^16.8.1",
"graphql-tag": "^2.12.6",
"jspdf": "^2.5.1",
+ "nvm": "^0.0.4",
"pinia": "^2.1.3",
"qs": "^6.11.2",
"react": "^18.2.0",
diff --git a/postcss.config.js b/postcss.config.js
old mode 100644
new mode 100755
diff --git a/public/assets/css/loader.css b/public/assets/css/loader.css
old mode 100644
new mode 100755
diff --git a/public/assets/images/favicon.ico b/public/assets/images/favicon.ico
old mode 100644
new mode 100755
diff --git a/public/assets/images/pln.ico b/public/assets/images/pln.ico
old mode 100644
new mode 100755
diff --git a/src/App.vue b/src/App.vue
old mode 100644
new mode 100755
diff --git a/src/assets/css/base.css b/src/assets/css/base.css
old mode 100644
new mode 100755
diff --git a/src/assets/css/main.css b/src/assets/css/main.css
old mode 100644
new mode 100755
diff --git a/src/assets/css/style.css b/src/assets/css/style.css
old mode 100644
new mode 100755
diff --git a/src/assets/css/tailwind.css b/src/assets/css/tailwind.css
old mode 100644
new mode 100755
diff --git a/src/assets/icons/dot-outline.svg b/src/assets/icons/dot-outline.svg
old mode 100644
new mode 100755
diff --git a/src/assets/icons/gauge.svg b/src/assets/icons/gauge.svg
old mode 100644
new mode 100755
diff --git a/src/assets/icons/lightning-slash.svg b/src/assets/icons/lightning-slash.svg
old mode 100644
new mode 100755
diff --git a/src/assets/icons/monitor.svg b/src/assets/icons/monitor.svg
old mode 100644
new mode 100755
diff --git a/src/assets/icons/plugs.svg b/src/assets/icons/plugs.svg
old mode 100644
new mode 100755
diff --git a/src/assets/icons/smiley-sad.svg b/src/assets/icons/smiley-sad.svg
old mode 100644
new mode 100755
diff --git a/src/assets/icons/swap.svg b/src/assets/icons/swap.svg
old mode 100644
new mode 100755
diff --git a/src/assets/images/hero.png b/src/assets/images/hero.png
old mode 100644
new mode 100755
diff --git a/src/assets/images/pln-with-text.png b/src/assets/images/pln-with-text.png
old mode 100644
new mode 100755
diff --git a/src/assets/images/pln.png b/src/assets/images/pln.png
old mode 100644
new mode 100755
diff --git a/src/components/Button.vue b/src/components/Button.vue
old mode 100644
new mode 100755
diff --git a/src/components/Buttons/ButtonDropdown.vue b/src/components/Buttons/ButtonDropdown.vue
old mode 100644
new mode 100755
diff --git a/src/components/Buttons/ButtonPrimary.vue b/src/components/Buttons/ButtonPrimary.vue
old mode 100644
new mode 100755
diff --git a/src/components/CommandPalettes.vue b/src/components/CommandPalettes.vue
old mode 100644
new mode 100755
diff --git a/src/components/DatePicker.vue b/src/components/DatePicker.vue
old mode 100644
new mode 100755
diff --git a/src/components/Dialogs/ActionDialog.vue b/src/components/Dialogs/ActionDialog.vue
old mode 100644
new mode 100755
diff --git a/src/components/Dialogs/DetailDialog.vue b/src/components/Dialogs/DetailDialog.vue
old mode 100644
new mode 100755
diff --git a/src/components/Form/Filters.vue b/src/components/Form/Filters.vue
old mode 100644
new mode 100755
diff --git a/src/components/Form/FiltersType/Type1.vue b/src/components/Form/FiltersType/Type1.vue
old mode 100644
new mode 100755
index f1a85c4..d72c584
--- a/src/components/Form/FiltersType/Type1.vue
+++ b/src/components/Form/FiltersType/Type1.vue
@@ -17,7 +17,7 @@ const uppPlaceholder = 'Semua Unit Pelaksanaan Pelayanan Pelanggan'
const poskoPlaceholder = 'Semua Posko'
const uppp = ref({ id: 0, name: uppPlaceholder })
const uid = ref({ id: 0, name: uidPlaceholder })
-const posko = ref({ id: 0, name: poskoPlaceholder })
+const posko = ref({ id: "", name: poskoPlaceholder })
const emit = defineEmits(['update:filters'])
const data = ref({
uid: uid.value,
@@ -40,7 +40,7 @@ const setUid = (value: any) => {
const setUp3 = (value: any) => {
uppp.value = value
selectedUp3Posko(value)
- posko.value = { id: 0, name: poskoPlaceholder }
+ posko.value = { id: "", name: poskoPlaceholder }
data.value.up3 = value
}
diff --git a/src/components/Form/FiltersType/Type10.vue b/src/components/Form/FiltersType/Type10.vue
old mode 100644
new mode 100755
index c892fd5..e9ae3b0
--- a/src/components/Form/FiltersType/Type10.vue
+++ b/src/components/Form/FiltersType/Type10.vue
@@ -20,7 +20,7 @@ const up3Placeholder = 'Semua Unit Pelaksanaan Pelayanan Pelanggan';
const ulpPlaceholder = 'Semua Unit Layanan Pelanggan';
const uppp = ref({ id: 0, name: up3Placeholder });
const uid = ref({ id: 0, name: uidPlaceholder });
-const ulp = ref({ id: 0, name: ulpPlaceholder });
+const ulp = ref({ id: "", name: ulpPlaceholder });
const emit = defineEmits(['update:filters'])
const data = ref({
uid: uid.value,
@@ -40,7 +40,7 @@ const setUid = (value: any) => {
const setUp3 = (value: any) => {
uppp.value = value;
selectedUp3Ulp(value);
- ulp.value = { id: 0, name: ulpPlaceholder };
+ ulp.value = { id: "", name: ulpPlaceholder };
data.value.up3 = value;
};
diff --git a/src/components/Form/FiltersType/Type11.vue b/src/components/Form/FiltersType/Type11.vue
old mode 100644
new mode 100755
index ac02e78..24144c8
--- a/src/components/Form/FiltersType/Type11.vue
+++ b/src/components/Form/FiltersType/Type11.vue
@@ -13,14 +13,13 @@ import {
import Select from '@/components/Select.vue'
import DatePicker from '@/components/DatePicker.vue'
-import InputNumber from '@/components/Form/InputNumber.vue'
const uidPlaceholder = 'Semua Unit Induk Distribusi/Wilayah';
const up3Placeholder = 'Semua Unit Pelaksanaan Pelayanan Pelanggan';
const ulpPlaceholder = 'Semua Unit Layanan Pelanggan';
const uppp = ref({ id: 0, name: up3Placeholder });
const uid = ref({ id: 0, name: uidPlaceholder });
-const ulp = ref({ id: 0, name: ulpPlaceholder });
+const ulp = ref({ id: "", name: ulpPlaceholder });
const emit = defineEmits(['update:filters'])
const sla = [
{
@@ -50,7 +49,7 @@ const setUid = (value: any) => {
const setUp3 = (value: any) => {
uppp.value = value;
selectedUp3Ulp(value);
- ulp.value = { id: 0, name: ulpPlaceholder };
+ ulp.value = { id: "", name: ulpPlaceholder };
data.value.up3 = value;
};
diff --git a/src/components/Form/FiltersType/Type12.vue b/src/components/Form/FiltersType/Type12.vue
old mode 100644
new mode 100755
index 742b0f2..207f1f2
--- a/src/components/Form/FiltersType/Type12.vue
+++ b/src/components/Form/FiltersType/Type12.vue
@@ -9,13 +9,15 @@ const up3Placeholder = 'Semua Unit Pelaksanaan Pelayanan Pelanggan';
const ulpPlaceholder = 'Semua Unit Layanan Pelanggan';
const uppp = ref({ id: 0, name: up3Placeholder });
const uid = ref({ id: 0, name: uidPlaceholder });
-const ulp = ref({ id: 0, name: ulpPlaceholder });
+const ulp = ref({ id: "", name: ulpPlaceholder });
const emit = defineEmits(['update:filters'])
const data = ref({
uid: uid.value,
up3: uppp.value,
posko: ulp.value,
- periode: ''
+ periode: '',
+ minDurasiResponseTime: 1,
+ maxDurasiResponseTime: 1
})
const setUid = (value: any) => {
uid.value = value;
@@ -27,7 +29,7 @@ const setUid = (value: any) => {
const setUp3 = (value: any) => {
uppp.value = value;
selectedUp3Ulp(value);
- ulp.value = { id: 0, name: ulpPlaceholder };
+ ulp.value = { id: "", name: ulpPlaceholder };
data.value.up3 = value;
};
@@ -36,6 +38,40 @@ const setUlp = (value: any) => {
selectedUlp(value);
data.value.posko = value;
};
+const triggerInput = ref(false)
+const sla = [
+ {
+ id: 0,
+ name: 'Durasi Menit'
+ },
+ {
+ id: 1,
+ name: 'Dibawah / Sesuai SLA (<= 45 menit)'
+ },
+ {
+ id: 2,
+ name: 'Melebihi SLA (> 45 menit)'
+ }
+];
+const changeDuration = (value: any) => {
+ if (value.id === 0) {
+ console.log('Durasi Menit')
+ data.value.minDurasiResponseTime = 0
+ data.value.maxDurasiResponseTime = 5
+ triggerInput.value = false
+ } else if (value.id === 1) {
+ data.value.minDurasiResponseTime = 0
+ data.value.maxDurasiResponseTime = 45
+ console.log('Dibawah / Sesuai SLA (<= 45 menit)')
+ triggerInput.value = true
+ } else {
+ data.value.minDurasiResponseTime = 46
+ data.value.maxDurasiResponseTime = 99999 * 60 * 24
+ triggerInput.value = true
+ console.log('Melebihi SLA (> 45 menit)')
+ }
+
+}
onMounted(() => {
emit('update:filters', data.value)
fetchUid()
@@ -90,12 +126,30 @@ onMounted(() => {
Durasi:
-
+
-
+ {
+ data.minDurasiResponseTime =value
+ }
+ "
+ @value="data.minDurasiResponseTime"
+ :disabled=triggerInput />
s/d
-
+ {
+ data.maxDurasiResponseTime = value
+ }
+ "
+ @value="data.maxDurasiResponseTime"
+ :disabled="triggerInput" />
diff --git a/src/components/Form/FiltersType/Type13.vue b/src/components/Form/FiltersType/Type13.vue
old mode 100644
new mode 100755
index c4ec4df..d495e4b
--- a/src/components/Form/FiltersType/Type13.vue
+++ b/src/components/Form/FiltersType/Type13.vue
@@ -9,7 +9,7 @@ const up3Placeholder = 'Semua Unit Pelaksanaan Pelayanan Pelanggan';
const ulpPlaceholder = 'Semua Unit Layanan Pelanggan';
const uppp = ref({ id: 0, name: up3Placeholder });
const uid = ref({ id: 0, name: uidPlaceholder });
-const ulp = ref({ id: 0, name: ulpPlaceholder });
+const ulp = ref({ id: "", name: ulpPlaceholder });
const emit = defineEmits(['update:filters'])
const data = ref({
uid: uid.value,
@@ -28,7 +28,7 @@ const setUid = (value: any) => {
const setUp3 = (value: any) => {
uppp.value = value;
selectedUp3Ulp(value);
- ulp.value = { id: 0, name: ulpPlaceholder };
+ ulp.value = { id: "", name: ulpPlaceholder };
data.value.up3 = value;
};
diff --git a/src/components/Form/FiltersType/Type14.vue b/src/components/Form/FiltersType/Type14.vue
old mode 100644
new mode 100755
index e405774..ebdab50
--- a/src/components/Form/FiltersType/Type14.vue
+++ b/src/components/Form/FiltersType/Type14.vue
@@ -1,27 +1,39 @@
Distribusi/Wilayah:
-
+
- Area:
+ Area:
- Posko:
+ Posko:
@@ -29,9 +41,9 @@
Periode Tanggal:
- {
- data.periode = value
- }
+ {
+ data.periode = value
+ }
" />
diff --git a/src/components/Form/FiltersType/Type15.vue b/src/components/Form/FiltersType/Type15.vue
old mode 100644
new mode 100755
index 5492379..3a99461
--- a/src/components/Form/FiltersType/Type15.vue
+++ b/src/components/Form/FiltersType/Type15.vue
@@ -2,6 +2,21 @@
import InputWithFilter from '../InputWithFilter.vue'
import DatePicker from '@/components/DatePicker.vue'
import InlineRadioGroup from '@/components/Form/InlineRadioGroup.vue'
+import { ref } from 'vue';
+const uidPlaceholder = 'Semua Unit Induk Distribusi/Wilayah';
+const up3Placeholder = 'Semua Unit Pelaksanaan Pelayanan Pelanggan';
+const ulpPlaceholder = 'Semua Unit Layanan Pelanggan';
+ const uppp = ref({ id: 0, name: up3Placeholder });
+const uid = ref({ id: 0, name: uidPlaceholder });
+const ulp = ref({ id: "", name: ulpPlaceholder });
+const emit = defineEmits(['update:filters'])
+const data = ref({
+ uid: uid.value,
+ up3: uppp.value,
+ posko: ulp.value,
+ periode: '',
+ group: 1
+})
diff --git a/src/components/Form/FiltersType/Type16.vue b/src/components/Form/FiltersType/Type16.vue
old mode 100644
new mode 100755
index ad275f9..d314b3f
--- a/src/components/Form/FiltersType/Type16.vue
+++ b/src/components/Form/FiltersType/Type16.vue
@@ -19,7 +19,7 @@ const poskoPlaceholder = 'Semua Posko'
const mediaPlaceholder = 'Semua Media'
const up3 = ref({ id: 0, name: up3Placeholder })
const uid = ref({ id: 0, name: uidPlaceholder })
-const posko = ref({ id: 0, name: poskoPlaceholder })
+const posko = ref({ id: "", name: poskoPlaceholder })
const media = ref({ id: 0, name: mediaPlaceholder })
const emit = defineEmits(['update:filters'])
const data = ref({
@@ -44,7 +44,7 @@ const setUid = (value: any) => {
const setUp3 = (value: any) => {
up3.value = value
selectedUp3Posko(value)
- posko.value = { id: 0, name: poskoPlaceholder }
+ posko.value = { id: "", name: poskoPlaceholder }
data.value.up3 = value
}
diff --git a/src/components/Form/FiltersType/Type17.vue b/src/components/Form/FiltersType/Type17.vue
old mode 100644
new mode 100755
diff --git a/src/components/Form/FiltersType/Type18.vue b/src/components/Form/FiltersType/Type18.vue
old mode 100644
new mode 100755
diff --git a/src/components/Form/FiltersType/Type2.vue b/src/components/Form/FiltersType/Type2.vue
old mode 100644
new mode 100755
index 7bf7f2f..d6ad074
--- a/src/components/Form/FiltersType/Type2.vue
+++ b/src/components/Form/FiltersType/Type2.vue
@@ -1,6 +1,6 @@
@@ -45,6 +40,7 @@ watch(() => props.defaultValue, (newValue) => {
inputmode="numeric"
pattern="[0-9.]*"
:disabled="disabled"
+ :defaultValue="props.defaultValue"
oninput="this.value = this.value.replace(/[^0-9.]/g, '')"
onblur="this.value = this.value ? this.value + ' Menit' : ''"
onfocus="this.value = this.value.replace(/[^0-9.]/g, '')"
diff --git a/src/components/Input.vue b/src/components/Input.vue
old mode 100644
new mode 100755
diff --git a/src/components/InputText.vue b/src/components/InputText.vue
old mode 100644
new mode 100755
diff --git a/src/components/Navigation/Aside/Aside.vue b/src/components/Navigation/Aside/Aside.vue
old mode 100644
new mode 100755
diff --git a/src/components/Navigation/Aside/AsideMenuMultiple.vue b/src/components/Navigation/Aside/AsideMenuMultiple.vue
old mode 100644
new mode 100755
diff --git a/src/components/Navigation/Aside/AsideMenuSingle.vue b/src/components/Navigation/Aside/AsideMenuSingle.vue
old mode 100644
new mode 100755
diff --git a/src/components/Navigation/Header.vue b/src/components/Navigation/Header.vue
old mode 100644
new mode 100755
diff --git a/src/components/Navigation/Navigation.vue b/src/components/Navigation/Navigation.vue
old mode 100644
new mode 100755
diff --git a/src/components/Notification/Notification.vue b/src/components/Notification/Notification.vue
old mode 100644
new mode 100755
diff --git a/src/components/Notification/NotificationProvider.vue b/src/components/Notification/NotificationProvider.vue
old mode 100644
new mode 100755
diff --git a/src/components/Notification/icons/CloseIcon.vue b/src/components/Notification/icons/CloseIcon.vue
old mode 100644
new mode 100755
diff --git a/src/components/Notification/icons/ErrorIcon.vue b/src/components/Notification/icons/ErrorIcon.vue
old mode 100644
new mode 100755
diff --git a/src/components/Notification/icons/InfoIcon.vue b/src/components/Notification/icons/InfoIcon.vue
old mode 100644
new mode 100755
diff --git a/src/components/Notification/icons/SuccessIcon.vue b/src/components/Notification/icons/SuccessIcon.vue
old mode 100644
new mode 100755
diff --git a/src/components/Notification/icons/WarningIcon.vue b/src/components/Notification/icons/WarningIcon.vue
old mode 100644
new mode 100755
diff --git a/src/components/Notification/icons/index.ts b/src/components/Notification/icons/index.ts
old mode 100644
new mode 100755
diff --git a/src/components/Notification/index.ts b/src/components/Notification/index.ts
old mode 100644
new mode 100755
diff --git a/src/components/Notification/interfaces/Notification.interface.ts b/src/components/Notification/interfaces/Notification.interface.ts
old mode 100644
new mode 100755
diff --git a/src/components/Notification/interfaces/NotificationConfig.interface.ts b/src/components/Notification/interfaces/NotificationConfig.interface.ts
old mode 100644
new mode 100755
diff --git a/src/components/Notification/interfaces/NotificationsState.interface.ts b/src/components/Notification/interfaces/NotificationsState.interface.ts
old mode 100644
new mode 100755
diff --git a/src/components/Notification/interfaces/index.ts b/src/components/Notification/interfaces/index.ts
old mode 100644
new mode 100755
diff --git a/src/components/Notification/store/index.ts b/src/components/Notification/store/index.ts
old mode 100644
new mode 100755
diff --git a/src/components/Pages/Anomali/Table_61.vue b/src/components/Pages/Anomali/Table_61.vue
old mode 100644
new mode 100755
index 0cac13c..f18c375
--- a/src/components/Pages/Anomali/Table_61.vue
+++ b/src/components/Pages/Anomali/Table_61.vue
@@ -101,7 +101,7 @@
\ No newline at end of file
diff --git a/src/components/Pages/Cico/index.ts b/src/components/Pages/Cico/index.ts
old mode 100644
new mode 100755
diff --git a/src/components/Pages/Ctt/Table_67.vue b/src/components/Pages/Ctt/Table_67.vue
old mode 100644
new mode 100755
index 65a1a3b..a8ed96e
--- a/src/components/Pages/Ctt/Table_67.vue
+++ b/src/components/Pages/Ctt/Table_67.vue
@@ -1,5 +1,11 @@
-
+
filterData(filters)" class="mb-4">
+ {
+ filters = value
+ }
+ " />
+
+
\ No newline at end of file
diff --git a/src/components/Pages/Ctt/index.ts b/src/components/Pages/Ctt/index.ts
old mode 100644
new mode 100755
diff --git a/src/components/Pages/EmptyPage.vue b/src/components/Pages/EmptyPage.vue
old mode 100644
new mode 100755
diff --git a/src/components/Pages/Gangguan/Table_1.vue b/src/components/Pages/Gangguan/Table_1.vue
old mode 100644
new mode 100755
index edde852..7153880
--- a/src/components/Pages/Gangguan/Table_1.vue
+++ b/src/components/Pages/Gangguan/Table_1.vue
@@ -1,12 +1,12 @@
filterData(filters)" class="mb-4">
{
- filters = value
- }
+ filters = value
+ }
" />
-
+
Tanggal Respon:
-
+
@@ -111,21 +111,21 @@
Durasi Response Time:
-
+
Durasi Recovery Time:
-
+
Posko Awal:
-
+
@@ -139,14 +139,14 @@
Status:
-
+
IDPEL/NO METER:
-
+
@@ -181,14 +181,14 @@
Sumber Laporan:
-
+
Posko:
-
+
@@ -221,7 +221,8 @@ import DetailDialog from '@/components/Dialogs/DetailDialog.vue'
import InputText from '@/components/InputText.vue'
import { useQuery } from '@vue/apollo-composable'
import gql from 'graphql-tag'
-const position = { of: '#data' }
+import { fetchStatus } from '@/components/Form/FiltersType/reference'
+const position = { of: '#dataTable' }
const showIndicator = ref(true)
const shading = ref(true)
const showPane = ref(true)
@@ -293,16 +294,14 @@ const GET_GANGGUAN_DATA_DI_ALIHAN_KE_POSKO_LAIN = gql`
}
`
const filterData = (params: any) => {
+ const { posko, uid, up3 } = params
const dateValue = params.periode.split(' s/d ')
- const posko = params.posko ? params.posko.id : ''
- const uid = params.uid ? params.uid.id : 0
- const up3 = params.up3 ? params.up3.id : 0
refetch({
dateFrom: dateValue[0] ? dateValue[0].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
- dateTo: dateValue[1] ? dateValue[1].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
- posko: posko,
- idUid: uid,
- idUp3: up3
+ dateTo: dateValue[1] ? dateValue[1].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
+ posko: posko ? posko.id : "",
+ idUid: uid ? uid.id : 0,
+ idUp3: up3 ? up3.id : 0
})
onResult((queryResult) => {
if (queryResult.data != undefined) {
@@ -313,6 +312,8 @@ const filterData = (params: any) => {
...item,
pembuat_laporan: '-',
waktu_lapor: '-',
+ status_akhir: fetchStatus(item.status_akhir),
+ posko: item.posko_asal
}
]
})
diff --git a/src/components/Pages/Gangguan/Table_10.vue b/src/components/Pages/Gangguan/Table_10.vue
old mode 100644
new mode 100755
index e1fb885..470e115
--- a/src/components/Pages/Gangguan/Table_10.vue
+++ b/src/components/Pages/Gangguan/Table_10.vue
@@ -188,16 +188,13 @@ const { onResult, onError, loading, refetch } = useQuery(GET_REKAP_JENIS_GANGGUA
})
const filterData = (params: any) => {
const dateValue = params.periode.split(' s/d ')
- const posko = params.posko ? params.posko.id : ''
- const uid = params.uid ? params.uid.id : 0
- const up3 = params.up3 ? params.up3.id : 0
+ const { posko, uid, up3 } = params
refetch({
dateFrom: dateValue[0] ? dateValue[0].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
dateTo: dateValue[1]? dateValue[1].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
posko,
- idUid: uid,
- idUp3: up3
- })
+ idUid: uid ? uid.id :0,
+ idUp3: up3? up3.id:0})
onResult((queryResult) => {
if (queryResult.data != undefined) {
diff --git a/src/components/Pages/Gangguan/Table_11.vue b/src/components/Pages/Gangguan/Table_11.vue
old mode 100644
new mode 100755
index 4e7ece9..e450aa5
--- a/src/components/Pages/Gangguan/Table_11.vue
+++ b/src/components/Pages/Gangguan/Table_11.vue
@@ -257,15 +257,13 @@ const { onResult, onError,loading,refetch } = useQuery(GET_REKAPITULASI_GANGGUAN
})
const filterData = (params: any) => {
const dateValue = params.periode.split(' s/d ')
- const posko = params.posko ? params.posko.id : ''
- const uid = params.uid ? params.uid.id : 0
- const up3 = params.up3 ? params.up3.id : 0
+ const { posko, uid, up3 } = params
refetch({
dateFrom: dateValue[0] ? dateValue[0].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
dateTo: dateValue[1]? dateValue[1].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
- posko: posko,
- idUid: uid,
- idUp3: up3,
+ posko: posko ? posko.id : "",
+ idUid: uid ? uid.id :0,
+ idUp3: up3? up3.id:0,
})
onResult(queryResult => {
if (queryResult.data != undefined) {
diff --git a/src/components/Pages/Gangguan/Table_12.vue b/src/components/Pages/Gangguan/Table_12.vue
old mode 100644
new mode 100755
index 7171732..0686f3c
--- a/src/components/Pages/Gangguan/Table_12.vue
+++ b/src/components/Pages/Gangguan/Table_12.vue
@@ -184,15 +184,13 @@ const { onResult, onError,loading,refetch } = useQuery(GET_REKAPITULASI_GANGGUAN
})
const filterData = (params: any) => {
const dateValue = params.periode.split(' s/d ')
- const posko = params.posko ? params.posko.id : ''
- const uid = params.uid ? params.uid.id : 0
- const up3 = params.up3 ? params.up3.id : 0
+ const { posko, uid, up3 } = params
refetch({
dateFrom: dateValue[0] ? dateValue[0].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
dateTo: dateValue[1]? dateValue[1].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
- posko: posko,
- idUid: uid,
- idUp3: up3,
+ posko: posko ? posko.id : "",
+ idUid: uid ? uid.id :0,
+ idUp3: up3? up3.id:0,
})
onResult(queryResult => {
if (queryResult.data != undefined) {
diff --git a/src/components/Pages/Gangguan/Table_13.vue b/src/components/Pages/Gangguan/Table_13.vue
old mode 100644
new mode 100755
index d3f24e9..dbb2d33
--- a/src/components/Pages/Gangguan/Table_13.vue
+++ b/src/components/Pages/Gangguan/Table_13.vue
@@ -186,15 +186,13 @@ query rekapitulasiGangguanPerTanggal(
})
const filterData = (params: any) => {
const dateValue = params.periode.split(' s/d ')
- const posko = params.posko ? params.posko.id : ''
- const uid = params.uid ? params.uid.id : 0
- const up3 = params.up3 ? params.up3.id : 0
+ const { posko, uid, up3 } = params
refetch({
dateFrom: dateValue[0] ? dateValue[0].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
dateTo: dateValue[1]? dateValue[1].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
- posko: posko,
- idUid: uid,
- idUp3: up3,
+ posko: posko ? posko.id : "",
+ idUid: uid ? uid.id :0,
+ idUp3: up3? up3.id:0,
})
onResult(queryResult => {
if (queryResult.data != undefined) {
diff --git a/src/components/Pages/Gangguan/Table_14.vue b/src/components/Pages/Gangguan/Table_14.vue
old mode 100644
new mode 100755
index 805f843..b764a8e
--- a/src/components/Pages/Gangguan/Table_14.vue
+++ b/src/components/Pages/Gangguan/Table_14.vue
@@ -1,10 +1,10 @@
filterData(filters)" class="mb-4">
- {
- filters = value
- }
- " />
-
+ {
+ filters = value
+ }
+ " />
+
{
const dateValue = params.periode.split(' s/d ')
- const posko = params.posko ? params.posko.id : ''
- const uid = params.uid ? params.uid.id : 0
- const up3 = params.up3 ? params.up3.id : 0
+ const { posko, uid, up3 } = params
refetch({
dateFrom: dateValue[0] ? dateValue[0].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
- dateTo: dateValue[1]? dateValue[1].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
- posko: posko,
- idUid: uid,
- idUp3: up3,
+ dateTo: dateValue[1] ? dateValue[1].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
+ posko: posko ? posko.id : "",
+ idUid: uid ? uid.id : 0,
+ idUp3: up3 ? up3.id : 0,
})
@@ -177,7 +175,7 @@ const filterData = (params: any) => {
onError((error) => {
console.log(error)
})
-
+
}
const filters = ref();
diff --git a/src/components/Pages/Gangguan/Table_15.vue b/src/components/Pages/Gangguan/Table_15.vue
old mode 100644
new mode 100755
index 2c8fc3c..eb4420c
--- a/src/components/Pages/Gangguan/Table_15.vue
+++ b/src/components/Pages/Gangguan/Table_15.vue
@@ -120,15 +120,13 @@ const { onResult, onError,loading,refetch } = useQuery(GET_REKAPITULASI_GANGGUAN
const filterData = (params: any) => {
const dateValue = params.periode.split(' s/d ')
- const posko = params.posko ? params.posko.id : ''
- const uid = params.uid ? params.uid.id : 0
- const up3 = params.up3 ? params.up3.id : 0
+ const { posko, uid, up3 } = params
refetch({
dateFrom: dateValue[0] ? dateValue[0].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
dateTo: dateValue[1]? dateValue[1].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
- posko: posko,
- idUid: uid,
- idUp3: up3,
+ posko: posko ? posko.id : "",
+ idUid: uid ? uid.id :0,
+ idUp3: up3? up3.id:0,
})
diff --git a/src/components/Pages/Gangguan/Table_16.vue b/src/components/Pages/Gangguan/Table_16.vue
old mode 100644
new mode 100755
index 9ea618f..b818e32
--- a/src/components/Pages/Gangguan/Table_16.vue
+++ b/src/components/Pages/Gangguan/Table_16.vue
@@ -271,15 +271,13 @@ const { onResult, onError, loading, refetch } = useQuery(GET_REKAPITULASI_GANGGU
})
const filterData = (params: any) => {
const dateValue = params.periode.split(' s/d ')
- const posko = params.posko ? params.posko.id : ''
- const uid = params.uid ? params.uid.id : 0
- const up3 = params.up3 ? params.up3.id : 0
+ const { posko, uid, up3 } = params
refetch({
dateFrom: dateValue[0] ? dateValue[0].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
dateTo: dateValue[1] ? dateValue[1].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
- posko: posko,
- idUid: uid,
- idUp3: up3,
+ posko: posko ? posko.id : "",
+ idUid: uid ? uid.id :0,
+ idUp3: up3? up3.id:0,
})
const filters = useFiltersStore()
diff --git a/src/components/Pages/Gangguan/Table_17.vue b/src/components/Pages/Gangguan/Table_17.vue
old mode 100644
new mode 100755
index c4f12f0..e4f02f1
--- a/src/components/Pages/Gangguan/Table_17.vue
+++ b/src/components/Pages/Gangguan/Table_17.vue
@@ -201,15 +201,13 @@ const { onResult, onError,loading,refetch } = useQuery(GET_REKAPITULASI_GANGGUAN
})
const filterData = (params: any) => {
const dateValue = params.periode.split(' s/d ')
- const posko = params.posko ? params.posko.id : ''
- const uid = params.uid ? params.uid.id : 0
- const up3 = params.up3 ? params.up3.id : 0
+ const { posko, uid, up3 } = params
refetch({
dateFrom: dateValue[0] ? dateValue[0].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
dateTo: dateValue[1] ? dateValue[1].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
- posko: posko,
- idUid: uid,
- idUp3: up3,
+ posko: posko ? posko.id : "",
+ idUid: uid ? uid.id :0,
+ idUp3: up3? up3.id:0,
})
onResult(queryResult => {
if (queryResult.data != undefined) {
diff --git a/src/components/Pages/Gangguan/Table_18.vue b/src/components/Pages/Gangguan/Table_18.vue
old mode 100644
new mode 100755
index f45dab6..2089acc
--- a/src/components/Pages/Gangguan/Table_18.vue
+++ b/src/components/Pages/Gangguan/Table_18.vue
@@ -177,15 +177,13 @@ const { onResult, onError,loading,refetch } = useQuery(GET_REKAPITULASI_GANGGUAN
const filterData = (params: any) => {
const dateValue = params.periode.split(' s/d ')
- const posko = params.posko ? params.posko.id : ''
- const uid = params.uid ? params.uid.id : 0
- const up3 = params.up3 ? params.up3.id : 0
+ const { posko, uid, up3 } = params
refetch({
dateFrom: dateValue[0] ? dateValue[0].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
dateTo: dateValue[1] ? dateValue[1].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
- posko: posko,
- idUid: uid,
- idUp3: up3,
+ posko: posko ? posko.id : "",
+ idUid: uid ? uid.id :0,
+ idUp3: up3? up3.id:0,
})
onResult((queryResult) => {
if (queryResult.data != undefined) {
diff --git a/src/components/Pages/Gangguan/Table_19.vue b/src/components/Pages/Gangguan/Table_19.vue
old mode 100644
new mode 100755
index 7aca001..826845b
--- a/src/components/Pages/Gangguan/Table_19.vue
+++ b/src/components/Pages/Gangguan/Table_19.vue
@@ -150,15 +150,13 @@ const { onResult, onError, loading, refetch } = useQuery(GET_REKAPITULASI_GANGGU
const filterData = (params: any) => {
const dateValue = params.periode.split(' s/d ')
- const posko = params.posko ? params.posko.id : ''
- const uid = params.uid ? params.uid.id : 0
- const up3 = params.up3 ? params.up3.id : 0
+ const { posko, uid, up3 } = params
refetch({
dateFrom: dateValue[0] ? dateValue[0].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
dateTo: dateValue[1] ? dateValue[1].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
- posko: posko,
- idUid: uid,
- idUp3: up3,
+ posko: posko ? posko.id : "",
+ idUid: uid ? uid.id :0,
+ idUp3: up3? up3.id:0,
})
onResult(queryResult => {
diff --git a/src/components/Pages/Gangguan/Table_2.vue b/src/components/Pages/Gangguan/Table_2.vue
old mode 100644
new mode 100755
diff --git a/src/components/Pages/Gangguan/Table_20.vue b/src/components/Pages/Gangguan/Table_20.vue
old mode 100644
new mode 100755
index af9cb86..c7deac2
--- a/src/components/Pages/Gangguan/Table_20.vue
+++ b/src/components/Pages/Gangguan/Table_20.vue
@@ -155,15 +155,13 @@ const { onResult, onError, loading, refetch } = useQuery(GET_REKAPITULASI_GANGGU
})
const filterData = (params: any) => {
const dateValue = params.periode.split(' s/d ')
- const posko = params.posko ? params.posko.id : ''
- const uid = params.uid ? params.uid.id : 0
- const up3 = params.up3 ? params.up3.id : 0
+ const { posko, uid, up3 } = params
refetch({
dateFrom: dateValue[0] ? dateValue[0].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
dateTo: dateValue[1] ? dateValue[1].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
- posko: posko,
- idUid: uid,
- idUp3: up3,
+ posko: posko ? posko.id : "",
+ idUid: uid ? uid.id :0,
+ idUp3: up3? up3.id:0,
})
onResult((queryResult) => {
if (queryResult.data != undefined) {
diff --git a/src/components/Pages/Gangguan/Table_3.vue b/src/components/Pages/Gangguan/Table_3.vue
old mode 100644
new mode 100755
index 2f727f7..ea4ab88
--- a/src/components/Pages/Gangguan/Table_3.vue
+++ b/src/components/Pages/Gangguan/Table_3.vue
@@ -68,6 +68,7 @@ const showPane = ref(true);
const data = ref([])
const filterData = (params: any) => {
const { minTime, maxTime, posko, uid, up3 } = params;
+ console.log(params)
const dateValue = params.periode.split(' s/d ')
refetch({
dateFrom: dateValue[0] ? dateValue[0].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
diff --git a/src/components/Pages/Gangguan/Table_4.vue b/src/components/Pages/Gangguan/Table_4.vue
old mode 100644
new mode 100755
diff --git a/src/components/Pages/Gangguan/Table_5.vue b/src/components/Pages/Gangguan/Table_5.vue
old mode 100644
new mode 100755
diff --git a/src/components/Pages/Gangguan/Table_6.vue b/src/components/Pages/Gangguan/Table_6.vue
old mode 100644
new mode 100755
diff --git a/src/components/Pages/Gangguan/Table_7.vue b/src/components/Pages/Gangguan/Table_7.vue
old mode 100644
new mode 100755
index 5086c33..b3880ab
--- a/src/components/Pages/Gangguan/Table_7.vue
+++ b/src/components/Pages/Gangguan/Table_7.vue
@@ -105,15 +105,14 @@ const { onResult, onError, loading, refetch } = useQuery(GET_DAFTAR_GANGGUAN_DI_
})
const filterData = (params: any) => {
const dateValue = params.periode.split(' s/d ')
- const posko = params.posko ? params.posko.id : ''
- const uid = params.uid ? params.uid.id : 0
- const up3 = params.up3 ? params.up3.id : 0
+ const { posko, uid, up3 } = params
+
refetch({
dateFrom: dateValue[0] ? dateValue[0].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
dateTo: dateValue[1] ? dateValue[1].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
- posko: posko,
- idUid: uid,
- idUp3: up3
+ posko: posko ? posko.id : "",
+ idUid: uid ? uid.id : 0,
+ idUp3: up3?.id ? up3.id : 0,
})
onResult((queryResult) => {
if (queryResult.data != undefined) {
diff --git a/src/components/Pages/Gangguan/Table_8.vue b/src/components/Pages/Gangguan/Table_8.vue
old mode 100644
new mode 100755
index 9d4ffb5..f3168e8
--- a/src/components/Pages/Gangguan/Table_8.vue
+++ b/src/components/Pages/Gangguan/Table_8.vue
@@ -155,8 +155,8 @@ const filterData = (param: any) => {
dateFrom: dateValue[0] ? dateValue[0].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
dateTo: dateValue[1] ? dateValue[1].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
posko,
- idUid: uid,
- idUp3: up3,
+ idUid: uid ? uid.id :0,
+ idUp3: up3? up3.id:0,
})
onResult(queryResult => {
if (queryResult.data != undefined) {
diff --git a/src/components/Pages/Gangguan/Table_9.vue b/src/components/Pages/Gangguan/Table_9.vue
old mode 100644
new mode 100755
index efdc5b8..cac2c04
--- a/src/components/Pages/Gangguan/Table_9.vue
+++ b/src/components/Pages/Gangguan/Table_9.vue
@@ -240,15 +240,14 @@ const onSelectionChanged = ({ selectedRowsData }: any) => {
const filterData = (params: any) => {
const dateValue = params.periode.split(' s/d ')
- const posko = params.posko ? params.posko.id : ''
- const uid = params.uid ? params.uid.id : 0
- const up3 = params.up3 ? params.up3.id : 0
+ const { posko, uid, up3 } = params
+
refetch({
dateFrom: dateValue[0] ? dateValue[0].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
dateTo: dateValue[1] ? dateValue[1].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
- posko: posko,
- idUid: uid,
- idUp3: up3
+ posko: posko ? posko.id : "",
+ idUid: uid ? uid.id : 0,
+ idUp3: up3 ? up3.id : 0
})
onResult((queryResult) => {
if (queryResult.data != undefined) {
diff --git a/src/components/Pages/Gangguan/index.ts b/src/components/Pages/Gangguan/index.ts
old mode 100644
new mode 100755
diff --git a/src/components/Pages/HomeEmpty.vue b/src/components/Pages/HomeEmpty.vue
old mode 100644
new mode 100755
diff --git a/src/components/Pages/Keluhan/Table_21.vue b/src/components/Pages/Keluhan/Table_21.vue
old mode 100644
new mode 100755
index f7b69a7..f4f0a12
--- a/src/components/Pages/Keluhan/Table_21.vue
+++ b/src/components/Pages/Keluhan/Table_21.vue
@@ -81,7 +81,10 @@ import { saveAs } from 'file-saver'
import { Workbook } from 'exceljs'
import { useQuery } from '@vue/apollo-composable'
import gql from 'graphql-tag'
-
+const position = { of: '#data' };
+const showIndicator = ref(true);
+const shading = ref(true);
+const showPane = ref(true);
const onExporting = (e: any) => {
if (e.format === 'pdf') {
const doc = new jsPDF()
@@ -164,16 +167,13 @@ const { onResult, onError, loading, refetch } = useQuery(GET_DAFTAR_KELUHAN_DIPI
const filterData = (params: any) => {
const dateValue = params.periode.split(' s/d ')
- const posko = params.posko ? params.posko.id : ''
- const uid = params.uid ? params.uid.id : 0
- const up3 = params.up3 ? params.up3.id : 0
+ const { posko, uid, up3 } = params
refetch({
dateFrom: dateValue[0] ? dateValue[0].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
dateTo: dateValue[1] ? dateValue[1].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
- posko: posko,
- idUid: uid,
- idUp3: up3
- })
+ posko: posko ? posko.id : "",
+ idUid: uid ? uid.id :0,
+ idUp3: up3? up3.id:0})
onResult((queryResult) => {
if (queryResult.data != undefined) {
data.value = queryResult.data.daftarKeluhanDipindahkanKePoskoLain
diff --git a/src/components/Pages/Keluhan/Table_22.vue b/src/components/Pages/Keluhan/Table_22.vue
old mode 100644
new mode 100755
index 01388bb..42b5a58
--- a/src/components/Pages/Keluhan/Table_22.vue
+++ b/src/components/Pages/Keluhan/Table_22.vue
@@ -84,7 +84,10 @@ import { saveAs } from 'file-saver'
import { Workbook } from 'exceljs'
import { useQuery } from '@vue/apollo-composable'
import gql from 'graphql-tag'
-
+const position = { of: '#data' };
+const showIndicator = ref(true);
+const shading = ref(true);
+const showPane = ref(true);
const onExporting = (e: any) => {
if (e.format === 'pdf') {
const doc = new jsPDF()
@@ -170,9 +173,7 @@ const { onResult, onError, loading, refetch } = useQuery(GET_DATA, {
const filterData = (params: any) => {
const dateValue = params.periode.split(' s/d ')
- const posko = params.posko ? params.posko.id : ''
- const uid = params.uid ? params.uid.id : 0
- const up3 = params.up3 ? params.up3.id : 0
+ const { posko, uid, up3 } = params
const minJmlLapor = params.minJmlLapor ? params.minJmlLapor : 1;
const maxJmlLapor = params.maxJmlLapor ? params.maxJmlLapor : 100;
refetch({
@@ -180,10 +181,9 @@ const filterData = (params: any) => {
maxJmlLapor: maxJmlLapor,
dateFrom: dateValue[0] ? dateValue[0].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
dateTo: dateValue[1] ? dateValue[1].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
- posko: posko,
- idUid: uid,
- idUp3: up3
- })
+ posko: posko ? posko.id : "",
+ idUid: uid ? uid.id :0,
+ idUp3: up3? up3.id:0})
onResult((queryResult) => {
if (queryResult.data != undefined) {
data.value = queryResult.data.daftarKeluhanMelaporLebihDariSatuKali
diff --git a/src/components/Pages/Keluhan/Table_23.vue b/src/components/Pages/Keluhan/Table_23.vue
old mode 100644
new mode 100755
index e8a6eda..a62a677
--- a/src/components/Pages/Keluhan/Table_23.vue
+++ b/src/components/Pages/Keluhan/Table_23.vue
@@ -80,7 +80,10 @@ import { saveAs } from 'file-saver'
import { Workbook } from 'exceljs'
import { useQuery } from '@vue/apollo-composable'
import gql from 'graphql-tag'
-
+const position = { of: '#data' };
+const showIndicator = ref(true);
+const shading = ref(true);
+const showPane = ref(true);
const onExporting = (e: any) => {
if (e.format === 'pdf') {
const doc = new jsPDF()
@@ -163,9 +166,7 @@ const { onResult, onError, loading, refetch } = useQuery(GET_DATA, {
})
const filterData = (params: any) => {
const dateValue = params.periode.split(' s/d ')
- const posko = params.posko ? params.posko.id : ''
- const uid = params.uid ? params.uid.id : 0
- const up3 = params.up3 ? params.up3.id : 0
+ const { posko, uid, up3 } = params
const minDurasiResponseTime = params.minDurasiResponseTime ? params.minDurasiResponseTime : 0
const maxDurasiResponseTime = params.maxDurasiResponseTime ? params.maxDurasiResponseTime : 0
refetch({
@@ -173,10 +174,9 @@ const filterData = (params: any) => {
dateTo: dateValue[1] ? dateValue[1].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
minDurasiResponseTime: minDurasiResponseTime,
maxDurasiResponseTime: maxDurasiResponseTime,
- posko: posko,
- idUid: uid,
- idUp3: up3
- })
+ posko: posko ? posko.id : "",
+ idUid: uid ? uid.id :0,
+ idUp3: up3? up3.id:0})
onResult((queryResult) => {
if (queryResult.data != undefined) {
diff --git a/src/components/Pages/Keluhan/Table_24.vue b/src/components/Pages/Keluhan/Table_24.vue
old mode 100644
new mode 100755
index e749520..72f20c3
--- a/src/components/Pages/Keluhan/Table_24.vue
+++ b/src/components/Pages/Keluhan/Table_24.vue
@@ -82,7 +82,10 @@ import { saveAs } from 'file-saver'
import { Workbook } from 'exceljs'
import { useQuery } from '@vue/apollo-composable'
import gql from 'graphql-tag'
-
+const position = { of: '#data' };
+const showIndicator = ref(true);
+const shading = ref(true);
+const showPane = ref(true);
const onExporting = (e: any) => {
if (e.format === 'pdf') {
const doc = new jsPDF()
@@ -167,9 +170,7 @@ const { onResult, onError, loading, refetch } = useQuery(GET_DATA, {
const filterData = (params: any) => {
const dateValue = params.periode.split(' s/d ')
- const posko = params.posko ? params.posko.id : ''
- const uid = params.uid ? params.uid.id : 0
- const up3 = params.up3 ? params.up3.id : 0
+ const { posko, uid, up3 } = params
const minDurasiRecoveryTime = params.minDurasiRecoveryTime ? params.minDurasiRecoveryTime : 0
const maxDurasiRecoveryTime = params.maxDurasiRecoveryTime ? params.maxDurasiRecoveryTime : 0
refetch({
@@ -177,10 +178,9 @@ const filterData = (params: any) => {
dateTo: dateValue[1] ? dateValue[1].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
minDurasiRecoveryTime: minDurasiRecoveryTime,
maxDurasiRecoveryTime: maxDurasiRecoveryTime,
- posko: posko,
- idUid: uid,
- idUp3: up3
- })
+ posko: posko ? posko.id : "",
+ idUid: uid ? uid.id :0,
+ idUp3: up3? up3.id:0})
onResult((queryResult) => {
if (queryResult.data != undefined) {
data.value = queryResult.data.daftarKeluhanRecoveryTime
diff --git a/src/components/Pages/Keluhan/Table_25.vue b/src/components/Pages/Keluhan/Table_25.vue
old mode 100644
new mode 100755
index a333140..9881a3c
--- a/src/components/Pages/Keluhan/Table_25.vue
+++ b/src/components/Pages/Keluhan/Table_25.vue
@@ -84,7 +84,10 @@ import { saveAs } from 'file-saver'
import { Workbook } from 'exceljs'
import { useQuery } from '@vue/apollo-composable'
import gql from 'graphql-tag'
-
+const position = { of: '#data' };
+const showIndicator = ref(true);
+const shading = ref(true);
+const showPane = ref(true);
const onExporting = (e: any) => {
if (e.format === 'pdf') {
const doc = new jsPDF()
@@ -163,16 +166,13 @@ const { onResult, onError,loading,refetch } = useQuery(GET_DATA, {
const filterData = (params: any) => {
const dateValue = params.periode.split(' s/d ')
- const posko = params.posko ? params.posko.id : ''
- const uid = params.uid ? params.uid.id : 0
- const up3 = params.up3 ? params.up3.id : 0
+ const { posko, uid, up3 } = params
refetch({
dateFrom: dateValue[0] ? dateValue[0].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
dateTo: dateValue[1] ? dateValue[1].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
- posko: posko,
- idUid: uid,
- idUp3: up3
- })
+ posko: posko ? posko.id : "",
+ idUid: uid ? uid.id :0,
+ idUp3: up3? up3.id:0})
onResult((queryResult) => {
if (queryResult.data != undefined) {
diff --git a/src/components/Pages/Keluhan/Table_26.vue b/src/components/Pages/Keluhan/Table_26.vue
old mode 100644
new mode 100755
index ad45849..16a0128
--- a/src/components/Pages/Keluhan/Table_26.vue
+++ b/src/components/Pages/Keluhan/Table_26.vue
@@ -80,7 +80,10 @@ import { saveAs } from 'file-saver'
import { Workbook } from 'exceljs'
import { useQuery } from '@vue/apollo-composable'
import gql from 'graphql-tag'
-
+const position = { of: '#data' };
+const showIndicator = ref(true);
+const shading = ref(true);
+const showPane = ref(true);
const onExporting = (e: any) => {
if (e.format === 'pdf') {
const doc = new jsPDF()
@@ -161,16 +164,13 @@ const { onResult, onError, loading, refetch } = useQuery(GET_DATA, {
const filterData = (params: any) => {
const dateValue = params.periode.split(' s/d ')
- const posko = params.posko ? params.posko.id : ''
- const uid = params.uid ? params.uid.id : 0
- const up3 = params.up3 ? params.up3.id : 0
+ const { posko, uid, up3 } = params
refetch({
dateFrom: dateValue[0] ? dateValue[0].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
dateTo: dateValue[1] ? dateValue[1].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
- posko: posko,
- idUid: uid,
- idUp3: up3
- })
+ posko: posko ? posko.id : "",
+ idUid: uid ? uid.id :0,
+ idUp3: up3? up3.id:0})
onResult((queryResult) => {
if (queryResult.data != undefined) {
diff --git a/src/components/Pages/Keluhan/Table_27.vue b/src/components/Pages/Keluhan/Table_27.vue
old mode 100644
new mode 100755
index a4fbce7..4def93a
--- a/src/components/Pages/Keluhan/Table_27.vue
+++ b/src/components/Pages/Keluhan/Table_27.vue
@@ -14,8 +14,8 @@
-
+
@@ -58,7 +58,6 @@
import Filters from '@/components/Form/Filters.vue'
import Type3 from '@/components/Form/FiltersType/Type3.vue'
import { onMounted, ref } from 'vue'
-import { useFiltersStore } from '@/stores/filters'
import { DxDataGrid } from 'devextreme-vue'
import {
DxColumn,
@@ -78,7 +77,10 @@ import { saveAs } from 'file-saver'
import { Workbook } from 'exceljs'
import { useQuery } from '@vue/apollo-composable'
import gql from 'graphql-tag'
-
+const position = { of: '#data' };
+const showIndicator = ref(true);
+const shading = ref(true);
+const showPane = ref(true);
const onExporting = (e: any) => {
if (e.format === 'pdf') {
const doc = new jsPDF()
@@ -149,7 +151,7 @@ const GET_DATA = gql`
}
`
-const { onResult, onError ,loading,refetch} = useQuery(GET_DATA, {
+const { onResult, onError, loading, refetch } = useQuery(GET_DATA, {
dateFrom: new Date('2023-10-01').toISOString().slice(0, 10),
dateTo: new Date('2023-10-01').toISOString().slice(0, 10),
posko: '',
@@ -161,16 +163,14 @@ const filters = ref();
const filterData = (params: any) => {
const dateValue = params.periode.split(' s/d ')
- const posko = params.posko ? params.posko.id : ''
- const uid = params.uid ? params.uid.id : 0
- const up3 = params.up3 ? params.up3.id : 0
+ const { posko, uid, up3 } = params
const media = params.media ? params.media.id : ''
refetch({
dateFrom: dateValue[0] ? dateValue[0].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
dateTo: dateValue[1] ? dateValue[1].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
- posko: posko,
- idUid: uid,
- idUp3: up3,
+ posko: posko ? posko.id : "",
+ idUid: uid ? uid.id : 0,
+ idUp3: up3 ? up3.id : 0,
media: media
})
diff --git a/src/components/Pages/Keluhan/Table_28.vue b/src/components/Pages/Keluhan/Table_28.vue
old mode 100644
new mode 100755
index c6ca6de..f7f4c5d
--- a/src/components/Pages/Keluhan/Table_28.vue
+++ b/src/components/Pages/Keluhan/Table_28.vue
@@ -62,7 +62,6 @@
import Filters from '@/components/Form/Filters.vue'
import Type3 from '@/components/Form/FiltersType/Type3.vue'
import { onMounted, ref } from 'vue'
-import { useFiltersStore } from '@/stores/filters'
import { DxDataGrid } from 'devextreme-vue'
import {
DxColumn,
@@ -176,16 +175,13 @@ query rekapitulasiKeluhanAll
const filterData = (params: any) => {
const dateValue = params.periode.split(' s/d ')
- const posko = params.posko ? params.posko.id : ''
- const uid = params.uid ? params.uid.id : 0
- const up3 = params.up3 ? params.up3.id : 0
+ const { posko, uid, up3 } = params
refetch({
dateFrom: dateValue[0] ? dateValue[0].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
dateTo: dateValue[1] ? dateValue[1].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
- posko: posko,
- idUid: uid,
- idUp3: up3
- })
+ posko: posko ? posko.id : "",
+ idUid: uid ? uid.id :0,
+ idUp3: up3? up3.id:0})
onResult((queryResult) => {
if (queryResult.data != undefined) {
diff --git a/src/components/Pages/Keluhan/Table_29.vue b/src/components/Pages/Keluhan/Table_29.vue
old mode 100644
new mode 100755
index b3ab454..bf4f5f1
--- a/src/components/Pages/Keluhan/Table_29.vue
+++ b/src/components/Pages/Keluhan/Table_29.vue
@@ -144,14 +144,14 @@ const onSelectionChanged = ({ selectedRowsData }: any) => {
const data = ref([])
const GET_DATA = gql`
- query rekapitulasiKeluhanPerFungsiBidang(
+ query rekapitulasiKeluhanPenyelesaianPerFungsiBidang(
$dateFrom: Date!
$dateTo: Date!
$posko: String!
$idUid: Int!
$idUp3: Int!
) {
- rekapitulasiKeluhanPerFungsiBidang(
+ rekapitulasiKeluhanPenyelesaianPerFungsiBidang(
dateFrom: $dateFrom
dateTo: $dateTo
posko: $posko
@@ -190,21 +190,18 @@ const filters = ref();
const filterData = (params: any) => {
const dateValue = params.periode.split(' s/d ')
- const posko = params.posko ? params.posko.id : ''
- const uid = params.uid ? params.uid.id : 0
- const up3 = params.up3 ? params.up3.id : 0
+ const { posko, uid, up3 } = params
refetch({
dateFrom: dateValue[0] ? dateValue[0].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
dateTo: dateValue[1] ? dateValue[1].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
- posko: posko,
- idUid: uid,
- idUp3: up3
- })
+ posko: posko ? posko.id : "",
+ idUid: uid ? uid.id :0,
+ idUp3: up3? up3.id:0})
onResult((queryResult) => {
if (queryResult.data != undefined) {
- data.value = queryResult.data.rekapitulasiKeluhanPerFungsiBidang
+ data.value = queryResult.data.rekapitulasiKeluhanPenyelesaianPerFungsiBidang
}
console.log(queryResult.data)
diff --git a/src/components/Pages/Keluhan/Table_30.vue b/src/components/Pages/Keluhan/Table_30.vue
old mode 100644
new mode 100755
index 00a70a0..9ea8f91
--- a/src/components/Pages/Keluhan/Table_30.vue
+++ b/src/components/Pages/Keluhan/Table_30.vue
@@ -93,7 +93,10 @@ import { saveAs } from 'file-saver'
import { Workbook } from 'exceljs'
import { useQuery } from '@vue/apollo-composable'
import gql from 'graphql-tag'
-
+const position = { of: '#data' }
+const showIndicator = ref(true)
+const shading = ref(true)
+const showPane = ref(true)
const onExporting = (e: any) => {
if (e.format === 'pdf') {
const doc = new jsPDF()
@@ -181,16 +184,13 @@ const filters = ref();
const filterData = (params: any) => {
const dateValue = params.periode.split(' s/d ')
- const posko = params.posko ? params.posko.id : ''
- const uid = params.uid ? params.uid.id : 0
- const up3 = params.up3 ? params.up3.id : 0
+ const { posko, uid, up3 } = params
refetch({
dateFrom: dateValue[0] ? dateValue[0].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
dateTo: dateValue[1] ? dateValue[1].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
- posko: posko,
- idUid: uid,
- idUp3: up3
- })
+ posko: posko ? posko.id : "",
+ idUid: uid ? uid.id :0,
+ idUp3: up3? up3.id:0})
onResult(queryResult => {
diff --git a/src/components/Pages/Keluhan/Table_31.vue b/src/components/Pages/Keluhan/Table_31.vue
old mode 100644
new mode 100755
index a6c5bff..5b2d706
--- a/src/components/Pages/Keluhan/Table_31.vue
+++ b/src/components/Pages/Keluhan/Table_31.vue
@@ -83,8 +83,7 @@
diff --git a/src/components/Pages/Keluhan/Table_33.vue b/src/components/Pages/Keluhan/Table_33.vue
old mode 100644
new mode 100755
index f423b65..ff4d8fa
--- a/src/components/Pages/Keluhan/Table_33.vue
+++ b/src/components/Pages/Keluhan/Table_33.vue
@@ -1,10 +1,10 @@
- filterData(filters)" class="mb-4">
- {
- filters = value
- }
- " />
-
+ filterData(filters)" class="mb-4">
+ {
+ filters = value
+ }
+ " />
+
-
@@ -42,36 +42,36 @@
-
+
-
-
+
+
-
+
-
-
+
+
@@ -101,7 +101,10 @@ import { saveAs } from 'file-saver'
import { Workbook } from 'exceljs'
import { useQuery } from '@vue/apollo-composable'
import gql from 'graphql-tag'
-
+const position = { of: '#data' }
+const showIndicator = ref(true)
+const shading = ref(true)
+const showPane = ref(true)
const onExporting = (e: any) => {
if (e.format === 'pdf') {
const doc = new jsPDF()
@@ -178,7 +181,7 @@ const GET_DATA = gql`
}
}
`
-const { onResult, onError,loading,refetch } = useQuery(GET_DATA, {
+const { onResult, onError, loading, refetch } = useQuery(GET_DATA, {
dateFrom: new Date('2023-10-01').toISOString().slice(0, 10),
dateTo: new Date('2023-10-01').toISOString().slice(0, 10),
posko: '',
@@ -189,21 +192,19 @@ const filters = ref();
const filterData = (params: any) => {
const dateValue = params.periode.split(' s/d ')
- const posko = params.posko ? params.posko.id : ''
- const uid = params.uid ? params.uid.id : 0
- const up3 = params.up3 ? params.up3.id : 0
- refetch({
- dateFrom: dateValue[0] ? dateValue[0].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
- dateTo: dateValue[1] ? dateValue[1].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
- posko: posko,
- idUid: uid,
- idUp3: up3
- })
+ const { posko, uid, up3 } = params
+ refetch({
+ dateFrom: dateValue[0] ? dateValue[0].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
+ dateTo: dateValue[1] ? dateValue[1].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
+ posko: posko ? posko.id : "",
+ idUid: uid ? uid.id : 0,
+ idUp3: up3 ? up3.id : 0
+ })
onResult((queryResult) => {
if (queryResult.data != undefined) {
data.value = queryResult.data.rekapitulasiKeluhanPerUnit
-
+
}
console.log(queryResult.data)
console.log(queryResult.loading)
@@ -212,6 +213,6 @@ const filterData = (params: any) => {
onError((error) => {
console.log(error)
})
-
+
}
diff --git a/src/components/Pages/Keluhan/Table_34.vue b/src/components/Pages/Keluhan/Table_34.vue
old mode 100644
new mode 100755
index 97afa3f..5ba92df
--- a/src/components/Pages/Keluhan/Table_34.vue
+++ b/src/components/Pages/Keluhan/Table_34.vue
@@ -1,19 +1,19 @@
- filterData(filters)" class="mb-4">
- {
- filters = value
- }
- " />
-
+ filterData(filters)" class="mb-4">
+ {
+ filters = value
+ }
+ " />
+
-
+
-
@@ -23,8 +23,8 @@
caption="NO" css-class="custom-table-column" />
-
+
@@ -33,8 +33,8 @@
\ No newline at end of file
diff --git a/src/components/Pages/Keluhan/index.ts b/src/components/Pages/Keluhan/index.ts
old mode 100644
new mode 100755
diff --git a/src/components/Pages/Material/Table_68.vue b/src/components/Pages/Material/Table_68.vue
old mode 100644
new mode 100755
index d88d8a4..83ae7da
--- a/src/components/Pages/Material/Table_68.vue
+++ b/src/components/Pages/Material/Table_68.vue
@@ -1,5 +1,11 @@
-
+
filterData(filters)" class="mb-4">
+ {
+ filters = value
+ }
+ " />
+
+
@@ -36,16 +42,19 @@
\ No newline at end of file
diff --git a/src/components/Pages/Material/Table_69.vue b/src/components/Pages/Material/Table_69.vue
old mode 100644
new mode 100755
index 6cabde2..c78aa91
--- a/src/components/Pages/Material/Table_69.vue
+++ b/src/components/Pages/Material/Table_69.vue
@@ -31,10 +31,15 @@
\ No newline at end of file
diff --git a/src/components/Pages/Monalisa/Table_46.vue b/src/components/Pages/Monalisa/Table_46.vue
old mode 100644
new mode 100755
index 45217a5..f0db8f0
--- a/src/components/Pages/Monalisa/Table_46.vue
+++ b/src/components/Pages/Monalisa/Table_46.vue
@@ -6,34 +6,35 @@
" />
-
+
-
+
-
+
-
-
+
+
-
-
+
+
@@ -46,7 +47,6 @@
import Filters from '@/components/Form/Filters.vue'
import Type2 from '@/components/Form/FiltersType/Type2.vue'
import { ref } from 'vue'
-import { useFiltersStore } from '@/stores/filters'
import { DxDataGrid } from 'devextreme-vue'
import { DxColumn, DxColumnFixing, DxExport, DxLoadPanel, DxPaging, DxScrolling, DxSearchPanel, DxSelection } from 'devextreme-vue/data-grid'
import { jsPDF } from 'jspdf'
@@ -54,14 +54,19 @@ import { exportDataGrid as exportToPdf } from 'devextreme/pdf_exporter'
import { exportDataGrid as exportToExcel } from 'devextreme/excel_exporter'
import { saveAs } from 'file-saver'
import { Workbook } from 'exceljs'
+import { useQuery } from '@vue/apollo-composable'
+import gql from 'graphql-tag'
+import { getMonthName } from '@/utils/texts'
const position = { of: '#data' }
const showIndicator = ref(true)
const shading = ref(true)
const showPane = ref(true)
const data = ref([])
+const tahunSekarang = ref(new Date().getFullYear())
+const bulanSekarang = ref(new Date().getMonth())
+const tahunLalu = ref(tahunSekarang.value - 1)
const dataDetail = ref()
const showDetail = ref(false)
-const loading = ref(false)
const onExporting = (e: any) => {
if (e.format === 'pdf') {
const doc = new jsPDF()
@@ -90,14 +95,77 @@ const onExporting = (e: any) => {
e.cancel = true
}
}
-
+const monalisaDispatchingTimeKeluhan = gql`
+ query DaftarmonalisaDispatchingTimeKeluhan(
+ $regional: String
+ $posko: String
+ $idUid: Int
+ $idUp3: Int
+ $bulan: Int
+ $tahun: Int
+ ) {
+ monalisaDispatchingTimeKeluhan(
+ regional: $regional
+ posko: $posko
+ idUid: $idUid
+ idUp3: $idUp3
+ bulan: $bulan
+ tahun: $tahun
+ ) {
+ jumlah_bulan
+ jumlah_bulan_n_1
+ jumlah_tahun
+ jumlah_tahun_n_1
+ nama_posko
+ persen_bulan
+ persen_tahun
+ }
+ }
+`
+const { onResult, onError, loading, refetch } = useQuery(monalisaDispatchingTimeKeluhan, {
+ regional: '',
+ posko: '',
+ idUid: 0,
+ idUp3: 0,
+ bulan: 10,
+ tahun: 2023
+})
+const filterData = (params: any) => {
+ const { regional, posko, idUid, idUp3, bulan, tahun } = params;
+ bulanSekarang.value = bulan.id;
+ tahunSekarang.value = tahun.id;
+ tahunLalu.value = tahun.id - 1;
+ refetch({
+ regional: regional,
+ posko: posko ? posko.id : "",
+ idUid: idUid ? idUid.id : 0,
+ idUp3: idUp3 ? idUp3.id : 0,
+ bulan: bulan ? bulan.id : 10,
+ tahun: bulan ? tahun.id : 2023
+ })
+ onResult((queryResult) => {
+ if (queryResult.data != undefined) {
+ queryResult.data.monalisaDispatchingTimeKeluhan.forEach((item: any) => {
+ data.value = [
+ ...data.value,
+ {
+ ...item
+ }
+ ]
+ })
+ }
+ console.log(queryResult.data)
+ console.log(queryResult.loading)
+ console.log(queryResult.networkStatus)
+ })
+ onError((error) => {
+ console.log(error)
+ })
+}
const onSelectionChanged = ({ selectedRowsData }: any) => {
const data = selectedRowsData[0]
console.log(data)
}
-const filterData = (params:any) =>
-{
- console.log(params)
-}
+
const filters = ref()
\ No newline at end of file
diff --git a/src/components/Pages/Monalisa/Table_47.vue b/src/components/Pages/Monalisa/Table_47.vue
old mode 100644
new mode 100755
index 10e38cf..531c236
--- a/src/components/Pages/Monalisa/Table_47.vue
+++ b/src/components/Pages/Monalisa/Table_47.vue
@@ -22,18 +22,18 @@
-
-
+
+
-
-
+
+
@@ -53,6 +53,9 @@ import { exportDataGrid as exportToPdf } from 'devextreme/pdf_exporter'
import { exportDataGrid as exportToExcel } from 'devextreme/excel_exporter'
import { saveAs } from 'file-saver'
import { Workbook } from 'exceljs'
+import { useQuery } from '@vue/apollo-composable'
+import gql from 'graphql-tag'
+import { getMonthName } from '@/utils/texts'
const position = { of: '#data' }
const showIndicator = ref(true)
const shading = ref(true)
@@ -60,7 +63,9 @@ const showPane = ref(true)
const data = ref([])
const dataDetail = ref()
const showDetail = ref(false)
-const loading = ref(false)
+const tahunSekarang = ref(new Date().getFullYear())
+const bulanSekarang = ref(new Date().getMonth())
+const tahunLalu = ref(tahunSekarang.value - 1)
const onExporting = (e: any) => {
if (e.format === 'pdf') {
const doc = new jsPDF()
@@ -89,14 +94,69 @@ const onExporting = (e: any) => {
e.cancel = true
}
}
+const monalisaRecoveryTimeKeluhan = gql`
+ query DaftarmonalisaRecoveryTimeKeluhan($regional:regional, $posko: String, $idUid: Int, $idUp3: Int,$bulan: Int, $tahun: Int) {
+ monalisaRecoveryTimeKeluhan(
+ regional:$regional
+ posko: $posko
+ idUid: $idUid
+ idUp3: $idUp3
+ bulan: $bulan
+ tahun: $tahun
+ ) {
+ jumlah_bulan
+ jumlah_bulan_n_1
+ jumlah_tahun
+ jumlah_tahun_n_1
+ nama_posko
+ persen_bulan
+ persen_tahun
+ }
+ }
+`;
+const { onResult, onError, loading, refetch } = useQuery(monalisaRecoveryTimeKeluhan, {
+ regional: "",
+ posko: "",
+ idUid: 0,
+ idUp3: 0,
+ bulan: 10,
+ tahun: 2023,
+})
+const filterData = (params: any) => {
+
+ const { regional, posko, idUid, idUp3, bulan, tahun } = params;
+ bulanSekarang.value = bulan.id;
+ tahunSekarang.value = tahun.id;
+ tahunLalu.value = tahun.id - 1;
+ refetch({
+ regional: regional,
+ posko: posko ? posko.id : "",
+ idUid: idUid ? idUid.id : 0,
+ idUp3: idUp3 ? idUp3.id : 0,
+ bulan: bulan ? bulan.id : 10,
+ tahun: bulan ? tahun.id : 2023
+ })
+ onResult(queryResult => {
+ if (queryResult.data != undefined) {
+ queryResult.data.monalisaRecoveryTimeKeluhan.forEach((item: any) => {
+ data.value = [...data.value, {
+ ...item,
+ }];
+ });
+ }
+ console.log(queryResult.data)
+ console.log(queryResult.loading)
+ console.log(queryResult.networkStatus)
+ })
+ onError((error) => {
+ console.log(error)
+ })
+}
const onSelectionChanged = ({ selectedRowsData }: any) => {
const data = selectedRowsData[0]
console.log(data)
}
-const filterData = (params:any) =>
-{
- console.log(params)
-}
+
const filters = ref()
\ No newline at end of file
diff --git a/src/components/Pages/Monalisa/Table_48.vue b/src/components/Pages/Monalisa/Table_48.vue
old mode 100644
new mode 100755
index d6320e7..724976a
--- a/src/components/Pages/Monalisa/Table_48.vue
+++ b/src/components/Pages/Monalisa/Table_48.vue
@@ -6,7 +6,7 @@
" />
-
@@ -26,11 +26,11 @@
-
+
-
+
@@ -38,11 +38,11 @@
-
+
-
+
@@ -52,11 +52,11 @@
-
+
-
+
@@ -64,11 +64,11 @@
-
+
-
+
@@ -89,6 +89,8 @@ import { exportDataGrid as exportToPdf } from 'devextreme/pdf_exporter'
import { exportDataGrid as exportToExcel } from 'devextreme/excel_exporter'
import { saveAs } from 'file-saver'
import { Workbook } from 'exceljs'
+import { useQuery } from '@vue/apollo-composable'
+import gql from 'graphql-tag'
const position = { of: '#data' }
const showIndicator = ref(true)
const shading = ref(true)
@@ -96,7 +98,7 @@ const showPane = ref(true)
const data = ref([])
const dataDetail = ref()
const showDetail = ref(false)
-const loading = ref(false)
+
const onExporting = (e: any) => {
if (e.format === 'pdf') {
const doc = new jsPDF()
@@ -130,9 +132,77 @@ const onSelectionChanged = ({ selectedRowsData }: any) => {
const data = selectedRowsData[0]
console.log(data)
}
-const filterData = (params:any) =>
-{
- console.log(params)
+const monalisaJumlahDurasiRptRctKeluhan = gql`
+ query DaftarmonalisaJumlahDurasiRptRctKeluhan(
+ $regional: String
+ $posko: String
+ $idUid: Int
+ $idUp3: Int
+ $bulan: Int
+ $tahun: Int
+ ) {
+ monalisaJumlahDurasiRptRctKeluhan(
+ regional: $regional
+ posko: $posko
+ idUid: $idUid
+ idUp3: $idUp3
+ bulan: $bulan
+ tahun: $tahun
+ ) {
+ jumlah_keluhan_rct_bulan
+ jumlah_keluhan_rct_sampai_bulan
+ jumlah_keluhan_rpt_bulan
+ jumlah_keluhan_rpt_sampai_bulan
+ nama_posko
+ rct_keluhan_bulan
+ rct_keluhan_sampai_bulan
+ rpt_keluhan_bulan
+ rpt_keluhan_sampai_bulan
+ total_rct_bulan
+ total_rct_sampai_bulan
+ total_rpt_bulan
+ total_rpt_sampai_bulan
+ }
+ }
+`
+const { onResult, onError, loading, refetch } = useQuery(monalisaJumlahDurasiRptRctKeluhan, {
+ bulan: 10,
+ tahun: 2023,
+ regional: '',
+ posko: '',
+ idUid: 0,
+ idUp3: 0
+})
+const filterData = (params: any) => {
+ const { regional, posko, idUid, idUp3, bulan, tahun } = params;
+
+ refetch({
+ regional: regional,
+ posko: posko ? posko.id : "",
+ idUid: idUid ? idUid.id : 0,
+ idUp3: idUp3 ? idUp3.id : 0,
+ bulan: bulan ? bulan.id : 10,
+ tahun: bulan ? tahun.id : 2023
+ })
+ onResult((queryResult) => {
+ if (queryResult.data != undefined) {
+ queryResult.data.monalisaJumlahDurasiRptRctKeluhan.forEach((item: any) => {
+ data.value = [
+ ...data.value,
+ {
+ ...item
+ }
+ ]
+ })
+ }
+ console.log(queryResult.data)
+ console.log(queryResult.loading)
+ console.log(queryResult.networkStatus)
+ })
+onError((error) => {
+ console.log(error)
+})
}
+
const filters = ref()
\ No newline at end of file
diff --git a/src/components/Pages/Monalisa/Table_49.vue b/src/components/Pages/Monalisa/Table_49.vue
old mode 100644
new mode 100755
index 4eca558..a032329
--- a/src/components/Pages/Monalisa/Table_49.vue
+++ b/src/components/Pages/Monalisa/Table_49.vue
@@ -6,7 +6,7 @@
" />
-
@@ -18,11 +18,11 @@
-
-
-
-
-
+
+
+
+
+
@@ -39,6 +39,8 @@ import { exportDataGrid as exportToPdf } from 'devextreme/pdf_exporter'
import { exportDataGrid as exportToExcel } from 'devextreme/excel_exporter'
import { saveAs } from 'file-saver'
import { Workbook } from 'exceljs'
+import { useQuery } from '@vue/apollo-composable'
+import gql from 'graphql-tag'
const position = { of: '#data' }
const showIndicator = ref(true)
const shading = ref(true)
@@ -46,7 +48,7 @@ const showPane = ref(true)
const data = ref([])
const dataDetail = ref()
const showDetail = ref(false)
-const loading = ref(false)
+
const onExporting = (e: any) => {
if (e.format === 'pdf') {
const doc = new jsPDF()
@@ -80,9 +82,67 @@ const onSelectionChanged = ({ selectedRowsData }: any) => {
const data = selectedRowsData[0]
console.log(data)
}
-const filterData = (params:any) =>
-{
- console.log(params)
+const monalisaKeluhanPerJenisKeluhan = gql`
+ query DaftarmonalisaKeluhanPerJenisKeluhan(
+ $regional: String
+ $posko: String
+ $idUid: Int
+ $idUp3: Int
+ $bulan: Int
+ $tahun: Int
+ ) {
+ monalisaKeluhanPerJenisKeluhan(
+ regional: $regional
+ posko: $posko
+ idUid: $idUid
+ idUp3: $idUp3
+ bulan: $bulan
+ tahun: $tahun
+ ) {
+ id_keluhan
+ jumlah
+ persen_keluhan
+ tipe_permasalahan
+ }
+ }
+`
+const { onResult, onError, loading, refetch } = useQuery(monalisaKeluhanPerJenisKeluhan, {
+ bulan: 10,
+ tahun: 2023,
+ regional: '',
+ posko: '',
+ idUid: 0,
+ idUp3: 0
+})
+const filterData = (params: any) => {
+ const { regional, posko, idUid, idUp3, bulan, tahun } = params;
+
+ refetch({
+ regional: regional,
+ posko: posko ? posko.id : "",
+ idUid: idUid ? idUid.id : 0,
+ idUp3: idUp3 ? idUp3.id : 0,
+ bulan: bulan ? bulan.id : 10,
+ tahun: bulan ? tahun.id : 2023
+ })
+ onResult((queryResult) => {
+ if (queryResult.data != undefined) {
+ queryResult.data.monalisaKeluhanPerJenisKeluhan.forEach((item: any) => {
+ data.value = [
+ ...data.value,
+ {
+ ...item
+ }
+ ]
+ })
+ }
+ console.log(queryResult.data)
+ console.log(queryResult.loading)
+ console.log(queryResult.networkStatus)
+ })
+ onError((error) => {
+ console.log(error)
+ })
}
const filters = ref()
\ No newline at end of file
diff --git a/src/components/Pages/Monalisa/Table_50.vue b/src/components/Pages/Monalisa/Table_50.vue
old mode 100644
new mode 100755
index 77c4ea7..481352b
--- a/src/components/Pages/Monalisa/Table_50.vue
+++ b/src/components/Pages/Monalisa/Table_50.vue
@@ -22,18 +22,18 @@
-
-
+
+
-
-
+
+
@@ -53,6 +53,9 @@ import { exportDataGrid as exportToPdf } from 'devextreme/pdf_exporter'
import { exportDataGrid as exportToExcel } from 'devextreme/excel_exporter'
import { saveAs } from 'file-saver'
import { Workbook } from 'exceljs'
+import { useQuery } from '@vue/apollo-composable'
+import gql from 'graphql-tag'
+import { getMonthName } from '@/utils/texts'
const position = { of: '#data' }
const showIndicator = ref(true)
const shading = ref(true)
@@ -60,7 +63,9 @@ const showPane = ref(true)
const data = ref([])
const dataDetail = ref()
const showDetail = ref(false)
-const loading = ref(false)
+const tahunSekarang = ref(new Date().getFullYear())
+const bulanSekarang = ref(new Date().getMonth())
+const tahunLalu = ref(tahunSekarang.value - 1)
const onExporting = (e: any) => {
if (e.format === 'pdf') {
const doc = new jsPDF()
@@ -94,9 +99,72 @@ const onSelectionChanged = ({ selectedRowsData }: any) => {
const data = selectedRowsData[0]
console.log(data)
}
-const filterData = (params:any) =>
-{
- console.log(params)
+const monalisaRekapitulasiLaporUlangKeluhan = gql`
+ query DaftarmonalisaRekapitulasiLaporUlangKeluhan(
+ $regional: String
+ $posko: String
+ $idUid: Int
+ $idUp3: Int
+ $bulan: Int
+ $tahun: Int
+ ) {
+ monalisaRekapitulasiLaporUlangKeluhan(
+ regional: $regional
+ posko: $posko
+ idUid: $idUid
+ idUp3: $idUp3
+ bulan: $bulan
+ tahun: $tahun
+ ) {
+ jumlah_bulan
+ jumlah_bulan_n_1
+ jumlah_tahun
+ jumlah_tahun_n_1
+ nama_posko
+ persen_bulan
+ persen_tahun
+ }
+ }
+`
+const { onResult, onError, loading, refetch } = useQuery(monalisaRekapitulasiLaporUlangKeluhan, {
+ bulan: 10,
+ tahun: 2023,
+ regional: '',
+ posko: '',
+ idUid: 0,
+ idUp3: 0
+})
+const filterData = (params: any) => {
+ const { regional, posko, idUid, idUp3, bulan, tahun } = params;
+ bulanSekarang.value = bulan.id;
+ tahunSekarang.value = tahun.id;
+ tahunLalu.value = tahun.id - 1;
+ refetch({
+ regional: regional,
+ posko: posko ? posko.id : "",
+ idUid: idUid ? idUid.id : 0,
+ idUp3: idUp3 ? idUp3.id : 0,
+ bulan: bulan ? bulan.id : 10,
+ tahun: bulan ? tahun.id : 2023
+ })
+ onResult((queryResult) => {
+ if (queryResult.data != undefined) {
+ queryResult.data.monalisaRekapitulasiLaporUlangKeluhan.forEach((item: any) => {
+ data.value = [
+ ...data.value,
+ {
+ ...item
+ }
+ ]
+ })
+ }
+ console.log(queryResult.data)
+ console.log(queryResult.loading)
+ console.log(queryResult.networkStatus)
+ })
+ onError((error) => {
+ console.log(error)
+ })
}
const filters = ref()
\ No newline at end of file
diff --git a/src/components/Pages/Monalisa/Table_51.vue b/src/components/Pages/Monalisa/Table_51.vue
old mode 100644
new mode 100755
index 76c12da..694f9d6
--- a/src/components/Pages/Monalisa/Table_51.vue
+++ b/src/components/Pages/Monalisa/Table_51.vue
@@ -1,34 +1,82 @@
- filterData(filters)" class="mb-4">
- {
- filters = value
+ filterData(filters)" class="mb-4">
+ {
+ filters = value
}
- " />
-
-
-
-
-
-
-
-
-
-
+ "
+ />
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
\ No newline at end of file
+
diff --git a/src/components/Pages/Monalisa/Table_52.vue b/src/components/Pages/Monalisa/Table_52.vue
old mode 100644
new mode 100755
diff --git a/src/components/Pages/Monalisa/Table_53.vue b/src/components/Pages/Monalisa/Table_53.vue
old mode 100644
new mode 100755
diff --git a/src/components/Pages/Monalisa/Table_54.vue b/src/components/Pages/Monalisa/Table_54.vue
old mode 100644
new mode 100755
diff --git a/src/components/Pages/Monalisa/Table_55.vue b/src/components/Pages/Monalisa/Table_55.vue
old mode 100644
new mode 100755
diff --git a/src/components/Pages/Monalisa/Table_56.vue b/src/components/Pages/Monalisa/Table_56.vue
old mode 100644
new mode 100755
diff --git a/src/components/Pages/Monalisa/Table_57.vue b/src/components/Pages/Monalisa/Table_57.vue
old mode 100644
new mode 100755
diff --git a/src/components/Pages/Monalisa/Table_58.vue b/src/components/Pages/Monalisa/Table_58.vue
old mode 100644
new mode 100755
diff --git a/src/components/Pages/Monalisa/Table_59.vue b/src/components/Pages/Monalisa/Table_59.vue
old mode 100644
new mode 100755
index 331b5f7..cbfde2e
--- a/src/components/Pages/Monalisa/Table_59.vue
+++ b/src/components/Pages/Monalisa/Table_59.vue
@@ -60,6 +60,7 @@ const shading = ref(true)
const showPane = ref(true)
const dataDetail = ref()
const showDetail = ref(false)
+const loading = ref(false)
const onExporting = (e: any) => {
if (e.format === 'pdf') {
const doc = new jsPDF()
diff --git a/src/components/Pages/Monalisa/index.ts b/src/components/Pages/Monalisa/index.ts
old mode 100644
new mode 100755
diff --git a/src/components/Pages/PencarianData/Table_71.vue b/src/components/Pages/PencarianData/Table_71.vue
old mode 100644
new mode 100755
index 2af40d5..4c4edbe
--- a/src/components/Pages/PencarianData/Table_71.vue
+++ b/src/components/Pages/PencarianData/Table_71.vue
@@ -1,5 +1,11 @@
-
+
filterData(filters)" class="mb-4">
+ {
+ filters = value
+ }
+ " />
+
+
@@ -37,10 +43,11 @@
\ No newline at end of file
diff --git a/src/components/Pages/PencarianData/index.ts b/src/components/Pages/PencarianData/index.ts
old mode 100644
new mode 100755
diff --git a/src/components/Pages/Transaksi/Table_70.vue b/src/components/Pages/Transaksi/Table_70.vue
old mode 100644
new mode 100755
index 2a10496..6bb89a8
--- a/src/components/Pages/Transaksi/Table_70.vue
+++ b/src/components/Pages/Transaksi/Table_70.vue
@@ -1,5 +1,11 @@
-
+
filterData(filters)" class="mb-4">
+ {
+ filters = value
+ }
+ " />
+
+
{
- const filters = useFiltersStore()
-
- filters.setConfig({
- type: 'type-17'
- })
-})
+const filters = ref();
+const filterData = (filters: any) => {
+ console.log(filters)
+}
\ No newline at end of file
diff --git a/src/components/Pages/Transaksi/index.ts b/src/components/Pages/Transaksi/index.ts
old mode 100644
new mode 100755
diff --git a/src/components/Pages/Welcome.vue b/src/components/Pages/Welcome.vue
old mode 100644
new mode 100755
diff --git a/src/components/PictureInitial.vue b/src/components/PictureInitial.vue
old mode 100644
new mode 100755
diff --git a/src/components/Select.vue b/src/components/Select.vue
old mode 100644
new mode 100755
diff --git a/src/components/SelectMulti.vue b/src/components/SelectMulti.vue
old mode 100644
new mode 100755
diff --git a/src/components/__tests__/HelloWorld.spec.ts b/src/components/__tests__/HelloWorld.spec.ts
old mode 100644
new mode 100755
diff --git a/src/components/icons/IconBars3.vue b/src/components/icons/IconBars3.vue
old mode 100644
new mode 100755
diff --git a/src/components/icons/IconBox.vue b/src/components/icons/IconBox.vue
old mode 100644
new mode 100755
diff --git a/src/components/icons/IconCommunity.vue b/src/components/icons/IconCommunity.vue
old mode 100644
new mode 100755
diff --git a/src/components/icons/IconDatabase.vue b/src/components/icons/IconDatabase.vue
old mode 100644
new mode 100755
diff --git a/src/components/icons/IconDocumentation.vue b/src/components/icons/IconDocumentation.vue
old mode 100644
new mode 100755
diff --git a/src/components/icons/IconDotOutline.vue b/src/components/icons/IconDotOutline.vue
old mode 100644
new mode 100755
diff --git a/src/components/icons/IconEcosystem.vue b/src/components/icons/IconEcosystem.vue
old mode 100644
new mode 100755
diff --git a/src/components/icons/IconFileSearch.vue b/src/components/icons/IconFileSearch.vue
old mode 100644
new mode 100755
diff --git a/src/components/icons/IconFileX.vue b/src/components/icons/IconFileX.vue
old mode 100644
new mode 100755
diff --git a/src/components/icons/IconFilter.vue b/src/components/icons/IconFilter.vue
old mode 100644
new mode 100755
diff --git a/src/components/icons/IconGauge.vue b/src/components/icons/IconGauge.vue
old mode 100644
new mode 100755
diff --git a/src/components/icons/IconLightningSlash.vue b/src/components/icons/IconLightningSlash.vue
old mode 100644
new mode 100755
diff --git a/src/components/icons/IconLinkBreak.vue b/src/components/icons/IconLinkBreak.vue
old mode 100644
new mode 100755
diff --git a/src/components/icons/IconLockKey.vue b/src/components/icons/IconLockKey.vue
old mode 100644
new mode 100755
diff --git a/src/components/icons/IconMonitor.vue b/src/components/icons/IconMonitor.vue
old mode 100644
new mode 100755
diff --git a/src/components/icons/IconNetworkChange.vue b/src/components/icons/IconNetworkChange.vue
old mode 100644
new mode 100755
diff --git a/src/components/icons/IconNetworkDisconnected.vue b/src/components/icons/IconNetworkDisconnected.vue
old mode 100644
new mode 100755
diff --git a/src/components/icons/IconPlugs.vue b/src/components/icons/IconPlugs.vue
old mode 100644
new mode 100755
diff --git a/src/components/icons/IconSmileySad.vue b/src/components/icons/IconSmileySad.vue
old mode 100644
new mode 100755
diff --git a/src/components/icons/IconSupport.vue b/src/components/icons/IconSupport.vue
old mode 100644
new mode 100755
diff --git a/src/components/icons/IconSwap.vue b/src/components/icons/IconSwap.vue
old mode 100644
new mode 100755
diff --git a/src/components/icons/IconTooling.vue b/src/components/icons/IconTooling.vue
old mode 100644
new mode 100755
diff --git a/src/components/icons/IconWallet.vue b/src/components/icons/IconWallet.vue
old mode 100644
new mode 100755
diff --git a/src/main.ts b/src/main.ts
old mode 100644
new mode 100755
diff --git a/src/router/index.ts b/src/router/index.ts
old mode 100644
new mode 100755
diff --git a/src/stores/auth.ts b/src/stores/auth.ts
old mode 100644
new mode 100755
diff --git a/src/stores/command.ts b/src/stores/command.ts
old mode 100644
new mode 100755
diff --git a/src/stores/date.ts b/src/stores/date.ts
old mode 100644
new mode 100755
diff --git a/src/stores/dialog.ts b/src/stores/dialog.ts
old mode 100644
new mode 100755
diff --git a/src/stores/filters.ts b/src/stores/filters.ts
old mode 100644
new mode 100755
diff --git a/src/stores/filtersAction.ts b/src/stores/filtersAction.ts
old mode 100644
new mode 100755
diff --git a/src/stores/media.ts b/src/stores/media.ts
old mode 100644
new mode 100755
diff --git a/src/stores/menu.ts b/src/stores/menu.ts
old mode 100644
new mode 100755
diff --git a/src/stores/posts.ts b/src/stores/posts.ts
old mode 100644
new mode 100755
diff --git a/src/stores/queries.ts b/src/stores/queries.ts
old mode 100644
new mode 100755
diff --git a/src/stores/region.ts b/src/stores/region.ts
old mode 100644
new mode 100755
diff --git a/src/stores/totalDuration.ts b/src/stores/totalDuration.ts
old mode 100644
new mode 100755
diff --git a/src/stores/totalReport.ts b/src/stores/totalReport.ts
old mode 100644
new mode 100755
diff --git a/src/stores/ulp.ts b/src/stores/ulp.ts
old mode 100644
new mode 100755
diff --git a/src/stores/up3.ts b/src/stores/up3.ts
old mode 100644
new mode 100755
diff --git a/src/stores/user.ts b/src/stores/user.ts
old mode 100644
new mode 100755
diff --git a/src/types/gangguan.ts b/src/types/gangguan.ts
old mode 100644
new mode 100755
diff --git a/src/types/menu.ts b/src/types/menu.ts
old mode 100644
new mode 100755
diff --git a/src/utils/graphql.ts b/src/utils/graphql.ts
old mode 100644
new mode 100755
index 70a926a..c0ec287
--- a/src/utils/graphql.ts
+++ b/src/utils/graphql.ts
@@ -3,7 +3,7 @@ import { ApolloClient, createHttpLink, InMemoryCache } from '@apollo/client/core
export const apolloClient = () => {
const httpLink = createHttpLink({
- uri: 'http://10.8.0.13:8080/graphql',
+ uri: 'http://10.8.0.13:32169/graphql',
credentials: 'include', // Include credentials for cross-origin requests
});
diff --git a/src/utils/icons.ts b/src/utils/icons.ts
old mode 100644
new mode 100755
diff --git a/src/utils/network.ts b/src/utils/network.ts
old mode 100644
new mode 100755
index 9f1783f..3176707
--- a/src/utils/network.ts
+++ b/src/utils/network.ts
@@ -6,9 +6,10 @@ const instance = axios.create({
const getUid = async () => await instance.get('/uid')
const getUidRegional = async (regional: number) => await instance.get('/uid?regional=' + regional)
+const getRegional = async () => await instance.get('/regional')
const getMedia = async () => await instance.get('/media')
const getJenisTransaksi = async () => await instance.get('/jenisTransaksi')
const getUp3 = async (uid: number) => await instance.get('/up3?uid=' + uid)
const getUlp = async (up3: number) => await instance.get('/ulp?up3=' + up3)
const getPosko = async (uppp: number) => await instance.get('/posko?up3=' + uppp)
-export { getUid, getUp3, getPosko, getUlp, getMedia, getJenisTransaksi, getUidRegional}
+export { getUid, getUp3, getPosko, getUlp, getMedia, getJenisTransaksi, getUidRegional,getRegional}
diff --git a/src/utils/numbers.ts b/src/utils/numbers.ts
old mode 100644
new mode 100755
diff --git a/src/utils/route.ts b/src/utils/route.ts
old mode 100644
new mode 100755
diff --git a/src/utils/storage.ts b/src/utils/storage.ts
old mode 100644
new mode 100755
diff --git a/src/utils/texts.ts b/src/utils/texts.ts
old mode 100644
new mode 100755
diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue
old mode 100644
new mode 100755
diff --git a/src/views/LoginView.vue b/src/views/LoginView.vue
old mode 100644
new mode 100755
diff --git a/src/views/NotFoundView.vue b/src/views/NotFoundView.vue
old mode 100644
new mode 100755
diff --git a/src/views/TestView.vue b/src/views/TestView.vue
old mode 100644
new mode 100755
diff --git a/tailwind.config.js b/tailwind.config.js
old mode 100644
new mode 100755
diff --git a/tsconfig.app.json b/tsconfig.app.json
old mode 100644
new mode 100755
diff --git a/tsconfig.json b/tsconfig.json
old mode 100644
new mode 100755
diff --git a/tsconfig.node.json b/tsconfig.node.json
old mode 100644
new mode 100755
diff --git a/tsconfig.vitest.json b/tsconfig.vitest.json
old mode 100644
new mode 100755
diff --git a/vercel.json b/vercel.json
old mode 100644
new mode 100755
diff --git a/vite.config.ts b/vite.config.ts
old mode 100644
new mode 100755
diff --git a/vitest.config.ts b/vitest.config.ts
old mode 100644
new mode 100755