diff --git a/index.html b/index.html index f939995..52d9075 100644 --- a/index.html +++ b/index.html @@ -5,10 +5,25 @@ BMA ระบบลงเวลาเข้า-ออกงาน +
+ + diff --git a/package.json b/package.json index 4d6a5c0..fe271a7 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ "format": "prettier . --write" }, "dependencies": { + "@arcgis/core": "^4.28.10", "@fullcalendar/core": "^6.1.8", "@fullcalendar/daygrid": "^6.1.8", "@fullcalendar/interaction": "^6.1.8", @@ -24,6 +25,8 @@ "@googlemaps/js-api-loader": "^1.16.2", "@quasar/extras": "^1.15.8", "@vuepic/vue-datepicker": "^5.2.1", + "arcgis-js-api": "^4.28.10", + "esri-loader": "^3.7.0", "keycloak-js": "^22.0.2", "moment": "^2.29.4", "pinia": "^2.1.4", @@ -39,7 +42,7 @@ "@quasar/vite-plugin": "^1.3.0", "@rushstack/eslint-patch": "^1.1.4", "@types/jsdom": "^20.0.1", - "@types/node": "^18.11.12", + "@types/node": "^18.18.10", "@vitejs/plugin-vue": "^4.0.0", "@vitejs/plugin-vue-jsx": "^3.0.0", "@vue/eslint-config-prettier": "^7.0.0", diff --git a/src/components/AscMaps.vue b/src/components/AscMaps.vue new file mode 100644 index 0000000..47386d9 --- /dev/null +++ b/src/components/AscMaps.vue @@ -0,0 +1,119 @@ + + + + diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue index 3052078..0f74c14 100644 --- a/src/views/HomeView.vue +++ b/src/views/HomeView.vue @@ -13,6 +13,7 @@ import type { notiType } from '@/interface/index/Main' // import components import MapCheck from '@/components/MapCheckin.vue' +// import AscMaps from '@/components/AscMaps.vue' // import Stores import { useCounterMixin } from '@/stores/mixin' @@ -362,6 +363,7 @@ onMounted(async () => {
+
diff --git a/vite.config.js b/vite.config.js index d2ecaff..6cdfa18 100644 --- a/vite.config.js +++ b/vite.config.js @@ -60,4 +60,7 @@ export default defineConfig({ server: { port: 3008, }, + optimizeDeps: { + include: ['esri-loader'], + }, })