-
+ class="relative w-full cursor-default overflow-hidden rounded-lg bg-gray-200 text-left focus:outline-none focus-visible:ring-2 focus-visible:ring-white focus-visible:ring-opacity-75 focus-visible:ring-offset-2 focus-visible:ring-offset-teal-300 sm:text-sm">
+
-
-
-
+
+
+
Nothing found.
-
-
-
-
- {{ item.value }}
+
+
+
+
+ {{ item.name }}
-
+
diff --git a/src/stores/date.ts b/src/stores/date.ts
new file mode 100644
index 0000000..c1083db
--- /dev/null
+++ b/src/stores/date.ts
@@ -0,0 +1,16 @@
+import { ref } from 'vue'
+import { defineStore } from 'pinia'
+
+export const useDateStore = defineStore('date', () => {
+ const dateValue = ref('')
+ const setDateValue = (value: string) => {
+ dateValue.value = value
+ }
+ const getDateValue = () => {
+ return dateValue.value
+ }
+ return {
+ setDateValue,
+ getDateValue,
+ }
+})
\ No newline at end of file
diff --git a/src/stores/filtersAction.ts b/src/stores/filtersAction.ts
new file mode 100644
index 0000000..3f60e22
--- /dev/null
+++ b/src/stores/filtersAction.ts
@@ -0,0 +1,9 @@
+import { ref } from 'vue'
+import { defineStore } from 'pinia'
+
+
+export const useSearchStore = defineStore('dateTest', () => {
+ return {
+ isTriggerChange: ref(false),
+ }
+})
\ No newline at end of file
diff --git a/src/stores/posts.ts b/src/stores/posts.ts
new file mode 100644
index 0000000..b8ae4db
--- /dev/null
+++ b/src/stores/posts.ts
@@ -0,0 +1,16 @@
+import { ref } from 'vue'
+import { defineStore } from 'pinia'
+
+export const usePostsStore = defineStore('posts', () => {
+ const posts = ref('')
+ const setData = (value: string) => {
+ posts.value = value
+ }
+ const getData = () => {
+ return posts.value
+ }
+ return {
+ setData,
+ getData,
+ }
+})
\ No newline at end of file
diff --git a/src/stores/region.ts b/src/stores/region.ts
new file mode 100644
index 0000000..33c362d
--- /dev/null
+++ b/src/stores/region.ts
@@ -0,0 +1,16 @@
+import { ref } from 'vue'
+import { defineStore } from 'pinia'
+
+export const useRegionStore = defineStore('region', () => {
+ const region = ref()
+ const setData = (value: Number) => {
+ region.value = value
+ }
+ const getData = () => {
+ return region.value
+ }
+ return {
+ setData,
+ getData,
+ }
+})
\ No newline at end of file
diff --git a/src/stores/up3.ts b/src/stores/up3.ts
new file mode 100644
index 0000000..3139ec9
--- /dev/null
+++ b/src/stores/up3.ts
@@ -0,0 +1,16 @@
+import { ref } from 'vue'
+import { defineStore } from 'pinia'
+
+export const useUp3Store = defineStore('up3', () => {
+ const up3 = ref()
+ const setData = (value: number) => {
+ up3.value = value
+ }
+ const getData = () => {
+ return up3.value
+ }
+ return {
+ setData,
+ getData,
+ }
+})
\ No newline at end of file
diff --git a/src/utils/network.ts b/src/utils/network.ts
new file mode 100644
index 0000000..670425c
--- /dev/null
+++ b/src/utils/network.ts
@@ -0,0 +1,13 @@
+import axios from "axios";
+
+const instance = axios.create({
+ baseURL: 'http://localhost:8443'
+});
+
+
+const getUid = async () => await instance.get('/uid');
+const getUp3 = async (
+ uid: number,
+) => await instance.get('/up3?uid=' + uid);
+const getPosko = async (uppp: number) => await instance.get('/posko?up3=' + uppp);
+export { getUid, getUp3, getPosko };