Merge branch 'cobaTampilan' of https://git.rssa.top/dwi.firman/cobaKeuangan into keycloak

# Conflicts:
#	components/Master/CardList.vue
#	pages/Setting/typeUser/index.vue
This commit is contained in:
2025-06-04 09:26:54 +07:00
13 changed files with 384 additions and 48 deletions

View File

@@ -0,0 +1,4 @@
export default defineEventHandler(async(event)=> {
const a = await $fetch("http://10.10.150.131:8080/api/menu/getlist")
return a
})

View File

@@ -0,0 +1,11 @@
export default defineEventHandler(async(event)=> {
const body = await readBody(event)
console.log(body)
const a = await $fetch(`http://10.10.150.131:8080/api/menu/role/type/${body}`,{
headers: {
"Content-Type": "application/json",
},
method: "GET",
})
return a
})

View File

@@ -0,0 +1,4 @@
export default defineEventHandler(async(event)=> {
const a = await $fetch("http://10.10.150.131:8080/api/menu/type")
return a
})