fix:API plan role special edit-indicator

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2026-02-06 10:53:50 +07:00
parent 2f060d2522
commit 597cbc4ed3

View file

@ -299,10 +299,10 @@ function clickList(id: string, isData: boolean = false) {
showLoader();
const url =
numpage.value === 1
? config.API.kpiPlan + `/edit`
? config.API.kpiPlan + `/edit-indicator`
: numpage.value === 2
? config.API.kpiRole + `/edit`
: config.API.kpiSpecial + `/edit`;
? config.API.kpiRole + `/edit-indicator`
: config.API.kpiSpecial + `/edit-indicator`;
http
.get(`${url}/${id}`)
.then((res) => {