แก้พัฒนา
This commit is contained in:
parent
f228ca20e9
commit
2695c07f7c
5 changed files with 96 additions and 17 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue