แก้พัฒนา

This commit is contained in:
setthawutttty 2025-04-10 17:21:12 +07:00
parent f228ca20e9
commit 2695c07f7c
5 changed files with 96 additions and 17 deletions

View file

@ -180,7 +180,7 @@ async function getOrg(id: string) {
.get(config.API.orgByIdSystem(id, route.meta.Key as string))
.then(async (res) => {
const data = await res.data.result.map((item: ResOrg) => ({
id: item.orgTreeId,
id: item.orgTreeDnaId,
name: item.orgName,
}));
organizationOpsMain.value = data;

View file

@ -64,7 +64,7 @@ async function fetchReport() {
await http
.get(
config.API.evaluationReport +
`?year=${year.value + 543}&rootId=${nodeId.value}`
`?year=${year.value}&rootId=${nodeId.value}`
)
.then(async (res) => {
const data = await res.data.result;